Page 1 of 3

android setup

Posted: Sun Jul 28, 2013 7:00 pm
by jonasost
Hi!

Would be great if someone could post all the steps for setting it up with an android phone. Step by step and what is needed!

Dont really understand where to begin or how to install the software, and also what is needed.

Cheers.

J

Re: android setup

Posted: Sun Jul 28, 2013 7:36 pm
by Surrender
What you need:
- USB OTG Cable (Micro USB to USB
- Crazyradio
- Crazyflie
- Android Crazyflie Software

How to control your Crazyflie with Android:
- Install Software (*.apk File)
- Start Software
- Attach USB OTG Cable with Crazyradio to the Micro USB Port from your phone/tablet
- Go to settings and change Channel to your configured Channel of your Crazyflie
- Connect to Crazyflie and flie!

I hope i missed not something ;D
I can setup a page on the wiki this week :) (also with pictures)

Sent from my GT-I9100 using Tapatalk 4 Beta

Re: android setup

Posted: Sun Jul 28, 2013 8:23 pm
by jonasost
cheers thanks !

How do i install the apk ? I downloaded the folder with the files in it. what do I do next ?

Re: android setup

Posted: Sun Jul 28, 2013 9:04 pm
by Surrender
The *.apk-files are setups/installers for android, so normally you can open it by clicking on it.
You need only one file, the *.apk file. The others are files from the sourcecode which are uninteressting for a enduser.

I can look for a direkt download URL, uno momento... ;)

Sent from my GT-I9100 using Tapatalk 4 Beta

Re: android setup

Posted: Sun Jul 28, 2013 9:08 pm
by jonasost
I tried this, but it has all the files in and no apk file.

https://bitbucket.org/bitcraze/crazyflie-android-client



Is the apk released yet ?

thanks again

Re: android setup

Posted: Sun Jul 28, 2013 9:11 pm
by Surrender
Yes there are some compiled versions, but from another fork.
You can find these files here: https://bitbucket.org/fredg02/crazyflie ... /downloads

He is the main developer at the moment so these one are well developed.

Choose the newest one (17.7.), download and install it (:

EDIT: If you cannot connect with your crazyflie, force close the app, de- and attach the usb otg cable and then start the app again.
Sent from my GT-I9100 using Tapatalk 4 Beta

Re: android setup

Posted: Mon Jul 29, 2013 5:20 pm
by jonasost
Hi again!

I am having trouble installing the apk. When I put it on a sd card and try install it with ES file axplorer I get an error saying it cannot interpret the package.

Any thoughts on what it might be ?

It is a htc desire firmware 2.1

Re: android setup

Posted: Mon Jul 29, 2013 6:11 pm
by Surrender
What android version do you have?
Maybe it is not compatible with an old version.

Sent from my GT-I9100 using Tapatalk 4 Beta

Re: android setup

Posted: Mon Jul 29, 2013 6:25 pm
by DesTinY
The API (sdk) min level for the CF APP is the problem. see Code

Code: Select all

    <uses-sdk
        android:minSdkVersion="13"
        android:targetSdkVersion="15" />
For example Android 2.1.x is API level 7.

You can try this (at your one risk):
CrazyflieControl_minAPI_7.zip
CrazyflieControl.apk (29.07.2013) compiled with min API 7
(171.85 KiB) Downloaded 518 times

Re: android setup

Posted: Mon Jul 29, 2013 7:04 pm
by DesTinY
Also a possible CF APP setup with external controller (wired):
CF_Android_APP_with_Controller.jpg
Now, i use the App SixaxisController (root needed) to fly wireless (via bluetooth) with my PS3 controller and the smartphone in the pocket.