Go Down

Topic: Welcome ArduinoDroid - Arduino IDE for Android (Read 40784 times) previous topic - next topic

jwnz

Hi.

I have isolated the probable cause as SELinux 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 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/libusb/libusb/tree/master/android
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.

mitico4

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

andyroo21

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

sweddle

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

Rushikesh

#19
Nov 19, 2015, 06:26 am Last Edit: Nov 19, 2015, 02:44 pm by Rushikesh Reason: Fogot to add attachmebt
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  )

Joseph_K

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

mPich

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

Spejs

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!  :)

Heinrich93

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

compsystems

idea: to create a library that takes advantage of the screen mobile device

Harish_Gajjar

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" ....

Harish_Gajjar

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" ....

eriksson25

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

tommie93

Hi, guys.

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



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

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

Nice work, I gotta try it.

svkrishnan

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 ?

Go Up