Posts by Fábio Azevedo • 167 points
10 posts
-
3
votes0
answers71
viewsQ: Event triggering multiple times when using Recyclerview
I’m having a problem working with RecyclerView. Man Adapter has the following code: public class CustomAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> { private…
-
2
votes2
answers336
viewsQ: Multi-device layout display problem
I’m having trouble putting together a layout. In emulated it stays the way I want as below: But in the cell phone is completely disfigured as below: XML code: <?xml version="1.0"…
-
0
votes0
answers38
viewsQ: Problems with uploading video to ftp
I have the following class: public class CameraReceiver extends BroadcastReceiver { private Cursor cursor; private MetodosUtils metodosUtils = new MetodosUtils(); private Context context; @Override…
-
1
votes2
answers136
viewsQ: Android file monitor
I need to develop an application for android where the same work monitoring a certain directory with a certain periodicity and sending new files from this directory to an FTP or any other folder of…
-
-1
votes4
answers2941
viewsA: Split String using comma as parameter
In addition to the @Onaiggac response, it is possible as follows (as @Math returned in another question): int iniPerRef = retorno.toString().indexOf("perref=")+7; int fimPerRef =…
-
0
votes4
answers2941
viewsQ: Split String using comma as parameter
I am trying to get the values of a Listview to send them to another screen by clicking on the item. So I have the following code: @Override public void onItemClick(AdapterView<?> parent, View…
-
1
votes0
answers105
viewsQ: Problem with List and Hashmap
I have a list as stated below: List<Map<String, String>> lista = new ArrayList<Map<String, String>>(); Map as declared below: Map<String, String> mapa = new…
-
1
votes1
answer380
viewsQ: Error while consuming webservice Soap on android
I have a web service whose wsdl is this: which rotor the next one runs in the browser: <!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Metro/2.2.0-1 (tags/2.2.0u1-7139;…
-
1
votes0
answers919
viewsQ: Consuming webservice Soap on android
I’m trying to consume a webservice but I’m in trouble. I already tested in soapUI and the webservice is perfect, the problem is time to consume in Android Studio. I got the following wsdl: This XML…
-
6
votes2
answers1113
viewsQ: How to retrieve specific parts/values/os from a string?
I have a ArrayList where I assemble a custom list that is displayed on a ListView. What I need is to pass the value of the selected item to another screen. See below the method that will call the…