Posts by Artur Gaspar • 31 points
9 posts
-
0
votes0
answers78
viewsQ: Keep Adnroid connected to ESP8266 as access point
First of all all the code works perfectly on any phone that uses an android version prior to Lollipop. From it to the most recent is that the problem occurs. What happens is that my app connects…
-
0
votes1
answer208
viewsA: Open a file passed via Intent on Android 7
I got a not pretty outline but it worked for Telegram and the file manager: caminho = caminho.replace("/media","/storage/emulated/0"); caminho =…
-
0
votes1
answer208
viewsQ: Open a file passed via Intent on Android 7
The program works on previous versions of Android, only on Nougat that does not. I get the file from some program, for example the file manager: Uri arqUri = intent.getData(); And get the path to…
-
0
votes0
answers586
viewsQ: Socket error only on Android 7
This problem occurs only on Android 7! In other versions the operation is perfect. And performing the tests on an S8 with the intelligent network exchange, by the reports of a friend, is also…
-
2
votes1
answer477
viewsQ: Read another variable in Activity that is updated in Mainactivity
I have a function that runs every second. This function sends a request for information via socket to a device. This information is received on a AsyncTask that makes the calculations and updates…
-
0
votes2
answers446
viewsQ: Intent. Filter program that appears in the "open with" option
Today the option to "open with" lists several programs that are installed on mobile and including my app. I would like my app to be an option only for the files of the extension it works, in this…
-
0
votes1
answer199
viewsQ: Problem when receiving, via Intent, a file shared by another app
I’m having trouble opening the shared file via Intent. I can properly receive the path to the file but mine app closes the execution. And unfortunately I’m not able to capture the error generated.…
-
0
votes2
answers656
viewsA: List my app in the list of programs that can open a document
I managed to make it work if in the program that lists the purchases of the phone I select the option "share with". My program appears in the list and runs (now I’m having trouble getting the file…
-
1
votes0
answers27
viewsQ: Use my program to open a particular file
I’m trying to make my app an option (or default) when opening a file. This is the manifest menu: <?xml version="1.0" encoding="utf-8"?> <uses-permission…