Install Your App in Android Emulator

Collapse
X
Collapse
  •  

  • Install App in Android Emulator

    Don't have an Android device and want to see your vBulletin Mobile Suite app before it gets published? Then use the Android Emulator!

    Below is a tutorial on how to run your apk file in the Android emulator. Note: Extra step for Windows 7/Vista users! All the way at bottom of the post!

    For Mac Users check the second comment made by Lynne below.

    Thank you so much to botskool for basically helping me compile this article!
    -----------------------------------------------------------------------
    Step 1: Download and install the Android SDK Package. Click here to download.


    -----------------------------------------------------------------------
    Step 2: Download the Android app that vBulletin provided to you and unzip.




    -----------------------------------------------------------------------
    Step 3: Create and Launch the emulator.
    Go to your SDK Manager -> Virtual Devices -> New -> See Screenshot Below.



    -----------------------------------------------------------------------
    Step 4: Copy .APK Files and paste it to the C:\Android\android-sdk\tools folder.



    -----------------------------------------------------------------------
    Step 5: Go to Start -> All Programs -> Accessories -> Command Prompt



    -----------------------------------------------------------------------
    Step 6: Type:
    Code:
    cd locationofandroidskdfolder
    See screenshots below for example.

    To get the location of the tools folder Right Click Address Bar -> and Choose "Copy Address as Text"


    In the command prompt, type "cd" and then press "space button" and paste the location of the tools folder into the command prompt and press enter. (See Screenshot below)





    -----------------------------------------------------------------------
    Step 7: Type "adb install yourbundleid.apk" Make sure to change yourbundleid to the appropriate file name. See Screenshot below.



    -----------------------------------------------------------------------
    Step 8 Final: Go to your Android emulator and click the menu button. You should see your vBulletin application there.



    Congrats!!


    -----------------------------------------------------------------------
    Extra step for Windows 7/Vista Users...
    Download the adb.zip file provided by botskool and unzip it. http://www.botskool.com/downloads/geeks/android/adb.zip and upload the files inside to the "C:\Android\android-sdk\tools"

    Follow Step 1 to 8 after.
    Attached Files

    • Lynne
      #1
      Lynne commented
      Editing a comment
      For the mac, starting at step 4.

      Step 4 - open a terminal window

      Step 5 - cd to the /Applications/Android/platform-tools directory (you may drag/drop the directory into the terminal window after typing "cd ")
      Code:
      cd /Applications/Android/platform-tools directory
      Step 6 - Start abd
      Code:
      ./adb
      Step 7 - Verify the emulator is running
      Code:
      ./adb devices
      You should get a response ending like this:
      Code:
      List of devices attached  
      emulator-5554	device
      Step 8 - Install the app (you may drag/drop the apk file into the terminal window after typing "./adb install ")
      Code:
      ./adb install /Volumes/full/path/here/appname.apk
      You should get a response similar to this:
      Code:
      419 KB/s (1444917 bytes in 3.359s) 	
      pkg: /data/local/tmp/appname.apk 
      Success
      Now it will be availble for use in your emulator.

    • rinkrat
      #2
      rinkrat commented
      Editing a comment
      adb.zip in the above Windows 7 inscruction is a bad zip.Anywhere else to get it?

    • pokesph
      #3
      pokesph commented
      Editing a comment
      note that in the newest Android SDK adb has moved to platform-tools directory use the full path method or copy/pasta the apk into platform-tools directory and go from there.
    Posting comments is disabled.

About the Author

Collapse

Jasper Aguila I've worked with the vBulletin software for years. To be involved with the process of delivering the product is a dream come true to me. Find out more about Jasper Aguila

Article Tags

Collapse

administration (1) beginner (3) calendar (1) cloud (1) Custom (1) database (2) Google (1) how-to (2) howto (1) how to (1) https (1) Intermediate (4) MYSQL (2) performance (2) recovery tools (1) security (2) seo (1) server information (1) sftp (1) ssl (1) style (1) tls (1) tutorial (4) vb5howto (5) vbcloud (1)

Latest Articles

Collapse

  • Enabling Push Notifications in vBulletin 5.3.2 and Mobile Suite 1.16
    by Wayne Luke
    vBulletin Mobile Suite 1.16 includes functionality for Push Notifications. One of the requirements to add this functionality is that you must be running vBulletin 5.3.2 Connect on your site and create a project with Google's Firebase Cloud Messaging (FCM) platform. The steps below will walk you through the process of enabling this functionality in vBulletin and in your Mobile Apps.

    Add a project to your Firebase account








    ...
    Thu 27 Jul '17, 8:56am
  • How to Alert and Redirect users to Mobile App
    by SteveLV702
    Here are instructions on how to display an alert on your users phone when they attempt to browse your site from their phones browser.

    open up the "header" template and at the very bottom add this code:

    Code:
    <body onload="iPhoneAlert( );">
    then open up "headinclude" template and at the very bottom add this code:

    Code:
    <script type="text/javascript">
    function iPhoneAlert( )
    {
    if ( navigator.userAgent.match(/iPhone/i)
    ...
    Mon 16 May '11, 12:01pm
  • Install App in Android Emulator
    by Jasper Aguila
    Don't have an Android device and want to see your vBulletin Mobile Suite app before it gets published? Then use the Android Emulator!

    Below is a tutorial on how to run your apk file in the Android emulator. Note: Extra step for Windows 7/Vista users! All the way at bottom of the post!

    For Mac Users check the second comment made by Lynne below.

    Thank you so much to botskool for basically helping me compile this article!
    ----------------------------------------------------------------------- ...
    Fri 13 May '11, 1:52pm
  • Installing Your App on your iPhone
    by SteveLV702
    So you got the new Mobile Suite, compiled your App and submitted to Apple but don't wanna wait for Apple to Approve it and get in the store which can take like 6 weeks... You wanna use your app NOW... well you can here is the instructions... * Login to your iOS Provisioning Portal > Devices > Add Device > enter your Phones UID to get your phones UID connect to iTunes in the Phone Summery page click on serial number and while change to UID. * go to Provisioning > Distribution tab > N...
    Fri 22 Apr '11, 12:23pm
  • Recovering App Crash Reports
    by Wayne Luke
    In order to help diagnose bugs and error reports it would be very helpful if you submitted the bug and crash reports generated by the apps in your JIRA issue report. These crash reports will be located within your Apple App Store or Android Marketplace developer's sites. Below, we have outlined the steps to recover these. Once recovered, you will need to either copy and paste them into the JIRA issue report as a comment or attach the resulting file to the JIRA Issue Report.

    iOS Issue...
    Mon 18 Apr '11, 9:06am
  • 12. Create an Android Application
    by Wayne Luke
    This article tells you how to create your Android Application. This is the second step in getting your vBulletin App submitted to Google for Approval. ...
    Wed 13 Apr '11, 9:06am
Working...