| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Installing the Android, Palm, and Blackberry SDKs

Page history last edited by Lee Barney 13 years, 9 months ago

In order to use the Android and Palm templates described in the cross platform mobile development posting you must first have installed the supporting SDKs.  These instructions will guild you.

 

 

 

Installing the Android SDK

for

the QuickConnectFamily

 

  1. Go to http://developer.android.com/sdk/index.html and download and unzip the android SDK toolset.  The unzipped folder is called android-skd-mac.  This toolset is used to download and update the Android packages.
  2. Rename the android-sdk-mac folder to AndroidSDK
  3. Move the AndroidSDK folder to the /Developer directory (no spaces)
  4. Open the terminal application
  5. Change directories into the AndroidSDK folder (Enter:  cd /Developer/AndroidSDK)
  6. Run the Android SDK downloader (Enter:   tools/android update sdk)
  7. If you get the https failure message, which is common :
    1. Select the settings option in the left menu and select Force http.  Then click Save & Apply.
    2. Select Available Packages and click the Refresh button.
  8. Select the Available Pages option in the left menu.  Google servers are contacted and you are presented with a screen that looks like this:
  9. Select the all versions of the Android and Google APIs.  Be aware that versions earlier that 5 don't have vital components for creating QuickConnectFamily applications.  After making the selection the application looks like this:
  10. Click Install Selected and then click the Accept All radio button in the new view presented to you.  Then click Install Accepted.  The view looks like this:
  11. When Install Accepted is clicked the application begins to download the accepted libraries.  This takes a while.  Google's servers seem a little slow.  The fastest download speeds I've seen are around 35 KiB/s and the libraries are very large.  When installation is complete and you click on Installed Packages it will look like this: 
  12. Create a Virtual Device by selecting Virtual Device in the left panel and then the New button on the right.
  13. Name the Virtual Device QCAndroidVirtualDevice
  14. Select the Google APIs level that you downloaded.  The older level 5 is shown in the image below.
  15. Select Create AVD at the bottom of the screen.

 

 

 

Important Android Notice!

 

The Android tools from Google have some stability issues.  The emulator will regularly become unresponsive to the Android command line tools used by the QCAndroid template and the Eclipse plugin.  When this happens the emulator may not respond to uninstall, install, or launch application commands.  When the emulator becomes unresponsive you must quit and restart the emulator application.  Then re-run from within Xcode or eclipse.

 

 

 

 

Installing the Palm SDK

for

the QuickConnectFamily

Installation of the Palm SDK requires that you download VirtualBox as well as register with Palm.  Installation is significantly easier than the Android installation and the tools are much more robust.  Here are the installation steps:

 

  1. Go to http://developer.palm.com/ and select Download.
  2. Follow the instructions given to download the SDK
  3. Download and install VirtualBox.  The Palm emulator is a virtual machine.
  4. Run the Palm installer.  This will do all of the setup of the VirtualBox VM required to run the Palm emulator.

 

 

 

 

Installing the Blackberry SDK

for

the QuickConnectFamily

Blackberry is the least Mac friendly of these development environments.  It requires that you run a virtual machine with Windows 7 as the guest OS and then run the Blackberry emulator within this Windows 7 installation.  At least 4 and preferably 8 Gig of RAM is needed to develop for Blackberry on OS X.

 

Here are the installation steps:

 

 

  1. Install Windows 7 into VirtualBox
  2. Create a folder on the OS X side named QCShare
  3. Create a shared folder in VirtualBox using QCShare as the folder to be shared
  4. In stall the latest Windows version of Java
  5. Download the Blackberry Widget SDK.  http://na.blackberry.com/eng/developers/browserdev/widgetsdk.jsp
  6. Install the Blackberry Widget SDK.  It installs into C:/Program Files (x86)/Research In Motion/BlackBerry Widget Packager
  7. Download and install the 9500 simulator http://na.blackberry.com/eng/developers/resources/simulators.jsp 
  8. On the Windows Desktop create a Folder called QCBlackberryApps 

 

 

 

 

Comments (0)

You don't have permission to comment on this page.