No serial library Processing for smartphone. Help

I read I understand

where’s the place? Not found!

It’s beautiful!
the whole folder outside has formed, APDE5.2

Try.

1 Like

Let me explain something to you

In the processing system for Windows, there is also an Android system. You can design applications and transfer them as a phone application and dispense with Windows afterwards.

Working from Windows is much easier than applying to phone application and the end result is the same as you get through the APDE application.
If you don’t have a computer, you can borrow

I felt that you might not know this point because of the reason I said it to you
ِ
same result on Windows is same on Android APDE both gives android ِ APK

1 Like

i did compile sketch with processing it generated automatically

1 Like

I am forever forbidden to use any computers. But I have a phone and sometimes a tablet, I want to write several programs to communicate with microcontrollers. I have no choice.

Summary

images (1)

this is not my first or even my second home computer, I started with more ancient
932071be548a6dab761572b7861d9144

as i said before the main issue is how to setup the library

and the sketch requirements

1 Like

@paulgoux

can you explain how to add this step to the sketch

Add library to dependencies

dependencies {
implementation ‘com.github.mik3y:usb-serial-for-android:3.3.1’
}

1 Like

i have worked with XT PC with 6 mhz speed it was with 4 megabyte harddrive with monochrome green screen :smile: :smile: :smile: :smile: :smile: :smile: :smile: :smile: :heart: :heart: :heart: :heart: :heart:

1 Like
Summary

yes it’s a rocket!

“specialist”+TV<-made in USSR
“ZX-spectrum”+TV <-made in USSR
“EC-1840” <-made in USSR
XT, 286,386 SX, 386, 486…
…PENTIUM IV WINDOWS XP OR 2000 STOP
WIFE
Here I am a little behind technical progress, by 20 years.
:slight_smile:

1 Like

clearly understood.
I move in three directions. Since programming is not my strong point, I choose to modify apk and the file system, I made a root on the old phone and got normal access to everything. at the same time I read and understand what you write to me here, as far as I understand. I haven’t programmed for 20 years. Then there was linear programming, now object programming is a big difference, although the operators are the same. It’s still difficult for me.
And I do all this on my small screen phone.

processing is very easy but need practicing

1 Like

I’ve been training for a week now. I didn’t draw flying balls and cubes, I need to update my old systems with microcontrollers.
The examples for the computer are clear and understandable, but they did not work on the phone, so I had to figure it out. I thought it would be quick. I accidentally learned about the processing from a video on YouTube, it suits me perfectly for my tasks. It is especially great that it is multiplatform (phones, microcontrollers, computers), I do not have the opportunity to learn many languages, I have neither the time nor the energy, I hope that this is the last language that I will master for myself.

especially after assembler!!!
:grinning:

edit any manifest

if you add more lines, then it starts looking for a file device_filter.xml that cannot be added and an error.

yes sure

it is close to basic language next for goto line etc :smile:

1 Like

@ZENAR57

@glv is Very smart and has extensive experience with Arduino and a great programmer

And he has a tremendous amount of ideas that I think can provide the needed help for this topic

@paulgoux also has great knowledge with Android

1 Like

Here is an all in one solution to save and read files on android. It might be restricted in some locations but for it writes to external storage no problem and will request permissions for you. Also I have packaged the permission class inside of the jar so if you want to you can simply call a new permission as follows;

Permission p;

void setup(){
p = new Permission("CAMERA");
}

make sure your permission is also requested in your ide, whichever version that is. No need to make any changes to the xml file, good to go from the start.

1 Like

The serial library programmer has an application on the playstore that uses the same library i connected Arduino and recognized it so fast





2 Likes

I found this file in the application usb_device_filter

and here is the extension
SimpleUsbTerminal-master\app\src\main\res\xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- - - - default prober - - - -->

    <!-- 0x0403 / 0x60??: FTDI -->
    <usb-device vendor-id="1027" product-id="24577" /> <!-- 0x6001: FT232R -->
    <usb-device vendor-id="1027" product-id="24592" /> <!-- 0x6010: FT2232H -->
    <usb-device vendor-id="1027" product-id="24593" /> <!-- 0x6011: FT4232H -->
    <usb-device vendor-id="1027" product-id="24596" /> <!-- 0x6014: FT232H -->
    <usb-device vendor-id="1027" product-id="24597" /> <!-- 0x6015: FT230X, FT231X, FT234XD -->

    <!-- 0x10C4 / 0xEA??: Silabs CP210x -->
    <usb-device vendor-id="4292" product-id="60000" /> <!-- 0xea60: CP2102 and other CP210x single port devices -->
    <usb-device vendor-id="4292" product-id="60016" /> <!-- 0xea70: CP2105 -->
    <usb-device vendor-id="4292" product-id="60017" /> <!-- 0xea71: CP2108 -->

    <!-- 0x067B / 0x2303: Prolific PL2303 -->
    <usb-device vendor-id="1659" product-id="8963" />

    <!-- 0x1a86 / 0x?523: Qinheng CH34x -->
    <usb-device vendor-id="6790" product-id="21795" /> <!-- 0x5523: CH341A -->
    <usb-device vendor-id="6790" product-id="29987" /> <!-- 0x7523: CH340 -->

    <!-- CDC driver -->
    <usb-device vendor-id="9025" />                   <!-- 0x2341 / ......: Arduino -->
    <usb-device vendor-id="5824" product-id="1155" /> <!-- 0x16C0 / 0x0483: Teensyduino  -->
    <usb-device vendor-id="1003" product-id="8260" /> <!-- 0x03EB / 0x2044: Atmel Lufa -->
    <usb-device vendor-id="7855" product-id="4"    /> <!-- 0x1eaf / 0x0004: Leaflabs Maple -->
    <usb-device vendor-id="3368" product-id="516"  /> <!-- 0x0d28 / 0x0204: ARM mbed -->

    <!-- - - - custom prober - - - -->

    <!-- CDC driver -->
    <usb-device vendor-id="5840" product-id="2174" /> <!-- 0x16d0 / 0x087e: Digispark -->
</resources>

1 Like

and here is Android Studio project

1 Like