Arduino Forum

Development => Other Software Development => Topic started by: 4ntoine on Apr 12, 2013, 03:59 pm

Title: Welcome ArduinoDroid - Arduino IDE for Android
Post by: 4ntoine on Apr 12, 2013, 03:59 pm
Hi, guys.

I'm happy to announce ArduinoDroid - Arduino IDE for Android.

(http://2.bp.blogspot.com/-VsqWpE8xBxM/UWesuGDiLsI/AAAAAAAAAa0/9lPjMtXQ2p0/s400/1.png)

Features:


On first launch ArduinoDroid downloads and extracts SDK (about 30Mb), so about 100Mb on sdcard is required.

@ Google Play:
https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid (https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid)

Blog:
http://arduinodroid.blogspot.com (http://arduinodroid.blogspot.com)
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: CrossRoads on Apr 12, 2013, 04:04 pm
Lets see how popular this is - you've certainly posted it in enough places!
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: 4ntoine on Apr 13, 2013, 04:50 am

Lets see how popular this is - you've certainly posted it in enough places!

You're right
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: CrossRoads on Apr 13, 2013, 05:11 am
I have a Galazy S3, looking forward to trying it out tomorrow afternoon.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: rmm200 on May 09, 2013, 07:12 am
Only thing I see that may be missing is a serial monitor.
Works great on the Nexus 7 to an Arduino Uno R3 (needs OTG USB adapter) - but I sure would like to see debugging messages.
Or can I do that with ArduinoCommander?
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: md10bldr on May 09, 2013, 09:01 pm
4ntoine -

I'd really like to give this app a try on my Kindle Fire HD. Although the OS is Android based, Google (and likely Amazon) doesn't allow the kindle fire to download Apps from  Google play. Any chance you could post the .apk file elsewhere in addition to Google play?

Thanks!
Paul G.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: 4ntoine on May 15, 2013, 01:47 pm

Only thing I see that may be missing is a serial monitor.
Works great on the Nexus 7 to an Arduino Uno R3 (needs OTG USB adapter) - but I sure would like to see debugging messages.
Or can I do that with ArduinoCommander?


I'm going to add integration code fpr 3rd-party apps so you will be able to use any existing serial monitor for this.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: 4ntoine on May 15, 2013, 01:49 pm

4ntoine -

I'd really like to give this app a try on my Kindle Fire HD. Although the OS is Android based, Google (and likely Amazon) doesn't allow the kindle fire to download Apps from  Google play. Any chance you could post the .apk file elsewhere in addition to Google play?

Thanks!
Paul G.


I don't have such plans as there are more important tasks: autocomplete and another boards support. Probably this will be done after all and Play-independent version will containt PayPal integration instead of Google Play.
Title: Arduinodroid support for Sil Labs CP210X ?
Post by: p00ky on Oct 15, 2013, 03:19 pm
I recently downloaded Arduinodroid on my generic Android tablet. The idea of being able to write and upload sketches while on the move is very appealing. Sadly I've killed all my Original Arduinos & only have ones that i have built. All of these are normally programmed using a Silicon labs CP210X i have lying around.  The tablet has a full USB port which so far has worked with all other devices (gamepads, memory sticks, etc). I ran "USB Host Diagnostics 1.3" & that gave the port a general thumbs up. The tablet has not been rooted.
When i try and upload a sketch it  says "Unable to find endpoints".
Is the Cp210 supported? Is it a Driver problem?bAm i barking up the wrong tree?

Managed to get hold of the dmesg.log file from android just after plugging the device in.
usb 2-1: new full speed USB device number 2 using usb20_host <6>[ 476.820001] usb 2-1: New USB device found, idVendor=10c4, idProduct=ea60 <6>[ 476.820065] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 <6>[ 476.820112] usb 2-1: Product: CP2102 USB to UART Bridge Controller <6>[ 476.820152] usb 2-1: Manufacturer: Silicon Labs <6>[ 476.820185] usb 2-1: SerialNumber: 0001 <4>[ 519.054606]

it says a bit more but the copy function would not grab it, but it seems to onpw what the device is at least.


Thanks in advance :)
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: ReneHitz on Jan 05, 2014, 05:49 pm
Hi, is it possible to use the arduino robot with this tool? Can i copy the libraries from the PC?
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: boi_goog on Mar 07, 2014, 12:33 am
I. Like this ide but it has a lot of bugs, I could not save sketch, it can already detect the usb port but avrdude is always out of sync, it hungs and exit if the "code completed" , "softwre settings" are selected from its pulldown menu. It really needs so much improvement. I also experience the same with code commander, it always says board is not suported.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: lukeparker on Dec 18, 2014, 02:19 pm
HI Guys,

I am having trouble uploading to my uno rev 3 it keeps telling me that there was a problem uploading I am using the Asus TF201 transformer prime with the keyboard where am I going wrong?

Kind Regards

Luke
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: johnnybra on Mar 09, 2015, 03:36 pm
Hi guys,
I have Moto G 2014 and Arduino Leonardo. In the Arduinodroid when uploading there is an error: closing port
Error: Processe returned not zero result code:11
Has anyone any idea?
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: tandukion on Apr 27, 2015, 01:57 pm
I really hope there will be an update which cover:
- arduino Yun board
- serial monitor
- or maybe upload and serial monitor over IP (using bonjour like in Arduino IDE, but I don't know whether it is possible or not)

Because the idea of using arduino in android is the best match with the IoT, and Yun is the best partner I think.

Keep the good work!
Thanks before!
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: jwnz on Jul 07, 2015, 01:38 pm
Hi guys,
I have Moto G 2014 and Arduino Leonardo. In the Arduinodroid when uploading there is an error: closing port
Error: Processe returned not zero result code:11
Has anyone any idea?

Hi. Which version of Android are you using? Is your device rooted? And does the error code have a line:

failed to init libusb: -99 ?

I'm working on resolving this issue and without rooting the device it is proving to be quite a handful. All additional information would be very helpful for it seems that this is a Lollipop specific (Android version 5.0.1 or higher) problem. -99, only confirms it is LIBUSB_ERROR_OTHER.

I ran into this using LG G3, version 5.0.1.

All the best,
Joonas Tuomi.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: jwnz on Jul 13, 2015, 02:36 pm
Hi.

I have isolated the probable cause as SELinux (https://source.android.com/devices/tech/security/selinux/index.html) being set to enforcing since Android version 4.4.2 instead of permissive which it was set to previously. This commands it to stop anything that it seems harmful or doesn't know about. The problem is libusb (http://sourceforge.net/p/libusb/mailman/message/33106829/) and that libusb_init() is being blocked.

There are many different android libusb 1.0.9-patches found in GitHub:
https://github.com/Gritzman/libusb (https://github.com/Gritzman/libusb)
https://github.com/libusb/libusb/tree/master/android (https://github.com/libusb/libusb/tree/master/android)
https://github.com/martinmarinov/rtl_tcp_andro-/tree/master/jni/libusb-andro (https://github.com/martinmarinov/rtl_tcp_andro-/tree/master/jni/libusb-andro)

But it currently seems like you are forced to root your device in order to use them. If your device is rooted the easiest solution would be setting SELinux back to permissive, but I can't recommend as I have not tried this and it possibly weakens your security.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: mitico4 on Jul 13, 2015, 08:29 pm
Hi guys, no news about uploding on arduino clone? What can we do to upload a sketch to a ch340g usb-to-serial chip?
Thanka so much
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: andyroo21 on Oct 12, 2015, 02:17 pm
hi ive recently downloaded this app and purchased an otg cable,
I currently have a Samsung S5 running lollipop.
i have followed all the instructions to selecting the right board connected it up selected and compiled the blink sketch and went to upload the sketch to the arduino, but i get and end process error everytime,


Can anybody shed some light on this problem and help me out ?

Thanks in advance


Andy
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: sweddle on Oct 15, 2015, 11:10 pm
how can i select port???

I have a USB hub with 3 arduinos.. it see's each but ArduinoDroid auto selects and use the last one i plug in.

Thanks
Shane
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Rushikesh on Nov 19, 2015, 06:26 am
I am using lenovo a7000(not yet rooted) and I have ft232 chip an arduino mini pro.
My phone supports  has otg support too. I have tried using usb terminal app and shorted tx rx pins. It works like a echo code as it should work. Dtr pin too works. I have tried using a multimeter and my ardiuno too, it works.
But I am not able to upload sketch only from my phone using Arduinodroid. At present  5.0 lollipop is running.
I am able to upload sketchs from my Moto G 4g. It too runs lollipop os.
I am getting this error-  (see Attachment  )
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Joseph_K on Dec 01, 2015, 06:42 am
Hi all,
I just tried Arduinodroid with my smartphone, and the first couple of sketches worked great.
I'm running into difficuties however when I try to add libraries.
I wanted to add the TFT libraries, so I copied the whole folder to the "libraries" directory.
But whenever I try to include the TFT.h file, I get a compilation error saying that the library cannot be found.
Tried to copy the TFT.h and TFT.cpp to the main libraries folder, but that did not work either.
Does anyone know how to fix this?
Kind regards,
Joseph
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: mPich on Mar 10, 2016, 02:10 pm
Hi all,
I just tried Arduinodroid with my smartphone, and the first couple of sketches worked great.
I'm running into difficuties however when I try to add libraries.
I wanted to add the TFT libraries, so I copied the whole folder to the "libraries" directory.
But whenever I try to include the TFT.h file, I get a compilation error saying that the library cannot be found.
Tried to copy the TFT.h and TFT.cpp to the main libraries folder, but that did not work either.
Does anyone know how to fix this?
Kind regards,
Joseph
I have same problem.
But library - NewliquidCrystal and file LCD.h
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Spejs on Jun 20, 2016, 11:58 am
I had a bit of trouble there too including a mozzi library.
I have copied all the files and folders from the library folder then inserted into a mozzi folder in the libraries folder... in the ide i just type #include<mozziGuts.h> without specifying the subfolder...works like a charm...watch out if you have a folder inside a folder it wont work.... have a nice day!  :)
Title: Problem uploading to Redboard
Post by: Heinrich93 on Aug 28, 2016, 02:22 am
Hi, I am still new to this. I downloaded the app on my Samsung Galaxy S3 I9300 Android 4.3, Samsung Galaxy tab 3 p5220 Android 4.2.2 (then later updated to 4.4.2) and on a friend's Xperia z running Android 5 and I tried to upload a sketch to the redboard and got this message from avrdude: stk500_getsync(): not in sync: resp=0x00 then Error: Process returned not zero result code: 1. I have tried switching to internal uploader and I have ticked every board on the list and still nothing. I have attached screenshots from the Galaxy tab 3.

Thanks in advance
Heinrich
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: compsystems on Aug 28, 2016, 08:11 pm
idea: to create a library that takes advantage of the screen mobile device
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Harish_Gajjar on Dec 03, 2016, 03:18 pm
Hi
I saw many video on YouTube  for how to connect&Program Ardunio Using Android Device(ArdunioDroid Apk).

I have an Android device who Support  USB Host. and i am able to use my pendrive with my mobile.

But when i connect My Ardunio Uno R3 with my android device  ardunio light  blinks that means it is able use power from my android device . But when i try to program my ardunio with "arduniodroid" it show error like "No Board Found". Am using old version  of arduniodroid but when i trying to install the latest  version of this apk unfortunately it creash.

So plz help me how i can solve error "No board Found" ....
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: eriksson25 on Dec 21, 2016, 02:19 pm
Anyone have code uploading working with this app?


Monitor, and code compilation seems to work fine, but the upload is broken. Have tried with 2 diffrent Android units (5.1.1 and 6.0.1) and on both a pro mini and Uno, with and without external power.
Uploading just gives me: Error:length=1;index=1
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: tommie93 on Dec 26, 2016, 12:31 am
Hi, guys.

I'm happy to announce ArduinoDroid - Arduino IDE for Android.

(http://2.bp.blogspot.com/-VsqWpE8xBxM/UWesuGDiLsI/AAAAAAAAAa0/9lPjMtXQ2p0/s400/1.png)

Features:
  • open/edit arduino sketches
  • example sketches and libraries included
  • code syntax highlighting
  • compile sketches (no root required)
  • upload sketches (FTDI-based board and Arduino Uno are supported at this time only, android devices with USB-host support required)
    works offline (internet connection is not required)


On first launch ArduinoDroid downloads and extracts SDK (about 30Mb), so about 100Mb on sdcard is required.

@ Google Play:
https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid (https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid)

Blog:
http://arduinodroid.blogspot.com (http://arduinodroid.blogspot.com)
Hey 4ntoine,

Nice work, I gotta try it.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: svkrishnan on Jan 25, 2017, 08:00 am
I have the same problem of " No Board Found ". I even tried different Arduino boards and even reloaded the ArduinoDroid App. I get same error message every time. Can any one help ?
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: lbresolin on Mar 06, 2017, 04:13 pm
Hi everyone!

I need help to develop and android app that is capable to upload a new firmware (.hex) to an arduino board, via bluetooth.

The idea behind this app is to be able to replace an arduino firmware that contains problems (bugs) with a fixed one, that was previously downloaded on a mobile device with android.

Would anyone please help me?

Thank you guys!
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: msillano on Mar 20, 2017, 12:22 pm
I used ArduinoDroid on MXQ (Android TV BOX)  with no big problems.
The Android on MXQ is 4.4.2 so I used an older version version of ArduinoDroid (sob).

Using it I developped  an app  to control Arduino UNO board via USB from PHP (USPphpTunnel)
see it here https://github.com/msillano/USBphpTunnel

About Arduino console terminal: the only terminal app that worked with my Arduino board is
"Serial USB terminal" https://play.google.com/store/apps/details?id=de.kai_morich.serial_usb_terminal.

thanks.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: rccarroll on Apr 19, 2017, 08:50 pm
Does not reliably see/recognize genuine Arduino Uno under Nougat (7.1.2) Occasionally, the ArduinoDroid sees the Uno, and I can compile an unmodified blink and send it to the Uno.  It compiles and appears to download and sends messages that it was received.  Change the code by only a single digit (changing the delay from 1000 to 100, or 1 second to 0.1 second) also compiles and downloads, and gives no errors at all.  Everything APPEARS to work well, except the LED 13 continues with a flash of 1 second on, 1 second off.  Obviously, with Nougat, it fails to actually update the Uno.  I am using a Google Nexus 5x with Android 7.1.2 and a Genuine Arduino Uno.  Software author has been unresponsive so far, likely aware that Nougat is a problem.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: ballscrewbob on Apr 19, 2017, 10:12 pm
Does anyone have the current app link for this (not blog) as the one in the initial post seems dead.

EDIT.

THIS is the current link (https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid2&hl=en)
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Ruturaj on May 14, 2017, 02:47 pm
Hi, Arduino Droid is a great software, but I'm finding trouble uploading codes to my Arduino Uno. Sometimes it works just fine, but most of the times, the following error occurs =>

Uploading error

avrdude done. Thank you.

Error: Process returned not 0 result code: 1

How can I solve this problem.
Title: Big problem with library install
Post by: Ti-Matelot on Jun 21, 2017, 04:40 pm
Hello, I'm newbie in Arduino programming, but I try...

My problem...  I made a Outside Geocache for Geocaching Game, then I made, compile and upload my code to my Arduino UNO, but sometime I have to make some change in the code and the Geocache is already in the outside field, so I can't bring it back to home and plug it in my PC.

So I found Adruino Droid for my cell phone, I was happy to know I skould be able to make my change in the field, but the library I use in my code can't be install in my Arduino Droid because they dont have the Library.Properties file then I received error message and I can do nothing with the app.

I search in the library list but I can't found the one I need, then I should have to redo the coding and I'm not able to do that alone.

So is therre a method to bypass this type of error concerning the Library.Properties file by making one by myself then add it to the zip file.

I'll wait for your answer.  Thank you
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: djordjemilanovic on Jun 22, 2017, 05:55 pm
I have installed ArduinoDroid on my tablet, which is rooted.
Basic sketches I can upload, but when I try to include library(such as DHT), it can't find files(in this case, DHT.h).
Names of folders are only letters of english alphabet, no other characters.
Can someone help me with this? Thank you.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Ti-Matelot on Jun 23, 2017, 04:27 pm
Bad app....   >:(

I have Arduino on my pc and my sketch work perfectly, now I have installed ArduinoDroid on my Galaxy S5 Neo, I installed all the library I need for my sketch ans when I open my sketch, a lot of errors appear and I can't compile it.

So why it works on Arduino PC and not on ArduinoDroid?

I had flush it from my mobile!
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: ballscrewbob on Jun 23, 2017, 06:03 pm
Because its not from Arduino themselves.

In this case it might be better to direct questions to the developer on thier website  (http://www.arduinodroid.info/)

Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Col68 on Sep 21, 2017, 10:16 am
Hello, I am amateur and discover the world Arduino thanks to your share and thanks to you all for mutual assistance, seeing on Yout. a programming video from a smartphone This has motivated me a lot,

I wanted to use the Uno since an Android Tablet Asus Zenpad 10 compatible OTG USB 16GB internal memory.

I make cheese at home my objective was to build a digital thermostat to manage the temperature and humidity of the fridge but I join the family of compilation errors. My Uno is a Funduino clone that does not compile.

In the comments of the application (in French) a person says to have succeeded by installing the Pack Driver but does not give more detail. The problem is that I have ordered everything as a donkey :-)

instead of first understanding the system so I am stuck because I do not have a PC. After researches, as my Uno is a clone and can be the clone clones I was advised to use an FTDI converter for ease of compilation,

Of course the first tip is utility a PC even a Netbook or a tablet Windows but I wanted to use the Tablet Asus in my possession avoiding having to bought a new devices.

My question is, how found the Pack Driver to download on the tablet? Can the Ftdi converter module set the compiler error problem? I thank you in advance for your advice and information.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Col68 on Sep 21, 2017, 06:07 pm

Re: Hello, then I have news that I wanted to share with the galleys "Error compilation" like me,

there is another application of Anton Smirnov named (ArduinoCommander) thanks to ArduinoCommander

I managed to compiled the sketch (demo blink) present in the application, then I put the Uno in factory setting

mode with the sketch (Firmata) also present in the application, there are 3 possibilities Blink demo led 13

Sketch Firmata I have not tried yet, one thing is clear now,

I can compiled from my tablet with ArduinoCommander even if I have not already saved code in my phonebook.

I would have preferred to use Arduinodroid I'm happy for the moment of the result :-) go courage one can be succeed,

to finish Great thanks to Anton Smirnov who shares his immense work, it is a genius of electronics, sorry for mistakes because I use a translator, cordially.


Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Col68 on Sep 28, 2017, 10:59 am
Hello since the beautiful France that starts to refresh, I wanted to share the end of my adventure, finally I managed to compile a skit, after changing my Asus Zenpadn10 against a Samsung Galaxy Tab. everything is in order

I can use my Uno clone and even those with chip CH340, so very expensive ANTON SMIRNOV you are a genius and the only real Arduino IDE Director on Android with "ArduinoDroid". When I figured out how to import the external libraries on the ArduinoDroid folder

I would buy the full app 2,99Eur is worth more as the work is huge, I do not know if you have time to read this message, Great respect a you Anton Smirnov I wish you happiness, Thank you.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: pegnose on Feb 18, 2019, 09:40 am
This app works like a charm! For a scientific project I would like to create my own app interfacing an Arduiono Nano. I don't understand how to deal with USB Host permissions in Android 9. I would very much like to know how this app is dealing with the permissions.
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: AbuSaldzi on Feb 20, 2019, 05:10 am
Hi all

I do like arduinodroid even i new in this environment,  but when I try to compile sample or other projects using this library  Adafruit_ssd1306 always comes with error message : class 'Adafruit_SSD1306' does not any field named wireClk and restoreClk.
And when I look into file Adafruit_SSD1306.cpp there is in last line writes ;

#if ARDUINO >= 157
  uint32_t     wireClk;    // Wire speed for SSD1306 transfers
  uint32_t     restoreClk; // Wire speed following SSD1306 transfers
#endif

So I wondering what is wrong with this lines?
I try to compile on laptop with Arduino IDE 1.8.8 is just fine.
Please help how to pass through compiling with this kind of library.

Best regards

Abu
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: jimmy_YEAH on Apr 22, 2019, 10:18 am
I nave problem with processi return not zero ,code result:1
How can i solve this problemi???
 
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: jonisonvespa on Jul 18, 2019, 04:32 pm
Hi, wonder if this is any good and worth using ?
And does it actially work?
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: Eugene1991 on Aug 20, 2019, 10:56 am
hi, is it possible to use  not default libraries in this app?
for example: Liquid crystal ets.
how to upload it in the app?

thanks
Title: Re: Welcome ArduinoDroid - Arduino IDE for Android
Post by: kokosgt on Sep 11, 2019, 10:49 pm
App looks dead, it hasn't been updated for a year.
Some popular libraries (like "wire.h") don't work.