Posts by JoaoLopesF • 129 points
7 posts
-
0
votes2
answers219
viewsA: Is it possible to call a method within another instance?
Leonardo, I had a solution similar to yours in Java, when migrating to Kotlin, I migrated what I could to Extensions (I created a directory with this name to put all the extensions) For alerts…
-
1
votes1
answer131
viewsA: Arduino Leonardo error when compiling a code for the tft 2.4 Shield display
This lib is my own, I managed to change the codes of Adafruit, to my old TFT 2.4. But this only works with the SPFD5408 controller! In the second batch I bought, this did not work anymore, the…
arduinoanswered JoaoLopesF 129 -
-1
votes3
answers542
viewsA: Bluetooth communication between android and Arduino for interaction with grbl
Rodolfo, I am now using Esp32 for projects with Arduino and bluetooth. To make the application on android and Ios, I was based on the source codes of Nordic (manufacturer of Esp32). The simplest…
-
0
votes2
answers988
viewsA: Message when user is exiting application
To complement the response of Androiderson, you can do so: In the main activity define the following: // Tratamento do back private boolean backPressedOnce = false; private Handler…
-
0
votes1
answer674
viewsA: Receive a Long String with esp 01
Hi, I don’t work with ESP-01, just the Esp-8266 and Esp-32, but if you have the 32 byte limit, you can do the following: Set Python to send in 32-byte blocks (n or ( r n) will only go in the final…
-
2
votes2
answers1039
viewsA: How to force the Landscape/Landscape position?
Hello, this can also be done on Androidmanifest, no need to do it in the code: <activity android:name="..." android:label=".." android:configChanges="orientation"…
-
0
votes4
answers7507
viewsA: Arduino and Android Bluetooth Connection (Java) - Inputstream storing old data
I’ve been through this myself. My solution was similar to what was suggested by Caio What I did was this: Create a message type, for example: a numeric code or String, as you prefer. In the Android…