Page 1 of 1
How to run cf android client on eclipse
Posted: Tue Aug 06, 2013 11:54 pm
by martin914
Hi all~
I want to read the coding of crazyflie android client and run it on eclipse, what should i do for doing this? and i downloaded the file from this link
https://bitbucket.org/bitcraze/crazyflie-android-client, and after this how can it be running on eclipse?
Thanks.
Re: How to run cf android client on eclipse
Posted: Wed Aug 07, 2013 9:46 am
by ssams
You need to download the
Android SDK and install the
Android Development Tools (ADT) plugin for Eclipse in order to run it on your phone (in theory it's possible without the Eclipse plugin, but it's much more comfortable when using it). After installing the SDK, open the SDK Manager (there's a button in the toolbar of Eclipse when the plugin is installed) and install the SDK Platform for API Level 14 (Android 4.0) together with all tools which are marked as "required".
The repository contains the full Eclipse project, so just import it in Eclipse. To run it, select the project and click run; select run as "Android Application" if Eclipse asks you in a dialog. If your phone is connected via USB and debugging enabled (
http://developer.android.com/tools/devi ... setting-up) it should automatically install the App and start it on the phone.
Re: How to run cf android client on eclipse
Posted: Wed Aug 07, 2013 12:32 pm
by derf
If you want to checkout the code from BitBucket directly you would also need to install the Eclipse Mercurial plug-in (Update site:
http://mercurialeclipse.eclipselabs.org ... ite/stable).
I'll try to add instructions to the wiki how to setup a development environment for the Crazyflie Android client.
Update: Added correct update site for Eclipse Mercurial plug-in.
Re: How to run cf android client on eclipse
Posted: Wed Aug 07, 2013 11:58 pm
by martin914
thanks alot..the problem is solved..
Re: How to run cf android client on eclipse
Posted: Tue Oct 15, 2013 3:35 pm
by derf
As promised, I added a page in the wiki "Setting up an development environment for the Crazyflie Android client" (
http://wiki.bitcraze.se/projects:crazyf ... :dev_guide).
Please let me know, if anything is missing or incorrect.
Re: How to run cf android client on eclipse
Posted: Mon Oct 21, 2013 7:13 am
by tobias
Great!