Posts by Thiago Queiroz • 133 points
8 posts
-
1
votes2
answers69
viewsQ: How to open a project directly from the explorer
I was left with the following doubt these days and I could not find a solution to it. Next, I have several projects in Android Studio (all have already been imported and are working perfectly),…
-
0
votes2
answers1887
viewsA: How do I save an image to a newly created folder by my code?
Follow an example to open the camera and save with the name you want. File file = new File(Environment.getExternalStorageDirectory() + "/arquivo.jpg"); Uri outputFileUri = Uri.fromFile(file); Intent…
-
2
votes2
answers154
viewsA: How to turn a system out to string?
Apart from the option to put the message in a Textview, you can also use a "Toast" Example //Toast.makeText(<Context>, <Mensagem>, <Duração>).show(); Toast.makeText(this, "this is…
-
1
votes1
answer350
viewsA: Can you create an Expandablelistview with the Swipe effect?
I had a problem similar to yours, and I was able to solve it using a Recyclerview and a custom Adapter. I was able to do it based on the library android-advancedrecyclerview and I was changing what…
-
0
votes2
answers739
viewsA: Comparing typed string with string in database
The Error is happening because you are initiating the "local" object only if the query brings data, if it does not bring you never initialize it and therefore always stays as "null", before the…
androidanswered Thiago Queiroz 133 -
0
votes1
answer291
viewsA: Android error with KSOP2 value Double java.lang.Runtimeexception: Cannot serialize:4.0
I had the same problem and solved using the solution of the link below, I will paste the post here if it stops working. Basically, after you assemble your envelope, you need to serialize it in order…
-
4
votes1
answer4355
viewsA: How to chart a route using Google Maps?
I don’t understand exactly what you need, but I’ll try to answer. Option 1 - If you have a GPS control and want to show on the map the route that the user has made from point A to point B, just take…
-
2
votes1
answer4956
viewsA: How do I open the android camera and take the photo and upload the photo to the server?
You can open the camera automatically using the correct Intent, Android will open the camera screen alone and you can treat the photo the way you want, save locally, convert to Base64, etc. and then…