Go Down

Topic: Welcome ArduinoDroid - Arduino IDE for Android (Read 20374 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

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy