Posts by João • 164 points
14 posts
-
0
votes2
answers301
viewsA: Select with two columns returning empty
Ola, Do you want to return data only from the right logged in user? I see no need to do Join.... Voce already has the method that returns all people and theoretically Voce already has the data of…
-
1
votes1
answer944
viewsA: Pass data to a listview in another Canvas Activity
Hello, The simplest way is to make the person class implement Serializable after this save the person in the Internet before calling the other Action i.putExtra("pessoa", pessoa); startActivity(it);…
-
1
votes1
answer588
viewsA: How to run a task in the background
Hello, You can create a service: A Service is an application component that can perform long operations and does not provide a user interface. Another application component can launch a service and…
-
0
votes1
answer398
viewsA: Voice command that triggers a button in the Android app
Hello, can you capture the right text yet? if not yet this tutorial exemplifies everything: http://www.androidhive.info/2014/07/android-speech-to-text-tutorial/ if you implemented similarly within…
-
0
votes3
answers414
viewsA: Algorithm for distributing entries from an encyclopedia based on number of characters per day
Hello, Well the entries can be read randomly? example on the same day read entries of volume 1, 2 and 3 randomly? if you can’t Voce can do something like the logic below: Variaves do script:…
-
2
votes2
answers467
viewsA: Authentication screen with Sqlite
Ola, As Voce set it Usuario usuario = new Usuario (); in the method that authenticates even if it does not exist in the bd the return will never be null, it will only be a user object without…
-
1
votes1
answer70
viewsA: How to play a sound only while an animated Textview is playing?
Hello, before calling the animation try teclado_02.setLooping(true); teclado_02.start(); after according to the adjustments of this question in the same block where we left the visible button Voce…
-
2
votes1
answer197
viewsA: How do you make a Button visible only after an animated Textview has been fully written?
Hello, I don’t know if this is the best way.... Create a Runnable class attribute responsible for action when finishing the animation private Runnable postAction = null; Then create a Setter stops…
-
1
votes1
answer173
viewsA: Login Authentication / Jsonobject
Hello, Voce returned a Jsonarray but this only using the object in Dice 1 in the comparison, try this way inside the Try: json = new JSONObject(result);…
-
0
votes2
answers65
viewsA: Android String Post http
Hello, Voce is calling Conn.connect() before creating outputStream so the connection is done without post parameters.... tries to put this snippet after close of output and see if it is right.…
-
1
votes1
answer623
viewsA: Send parameters via post json android
Ola, The.openConnection() url only creates the object, to actually make the connection add the following code after the request.close() : connection.connect();
-
1
votes1
answer1105
viewsA: Auto complete when typing any part of the word
Hello, first fill in the list then go through the items and create the filtered list Dim i As Integer 'Percorre por todos itens do listbox For i = 0 To List1.ListCount - 1 'Verifica se o item do…
-
0
votes1
answer612
viewsA: call a screen with only buttons and methods
let me see if I understand your doubt... Voce does not want to create another Activity but to change the layout of the current one without needing other classes? Anyway in Oncreate Voce did not set…
-
1
votes2
answers377
viewsA: Error converting String to int
Aline, the listLivros.getImage() returns what type of object? the ideal way to load the image in imageView from a url is to download the image and create a bitmap public static Bitmap…