Questions tagged as 'android'

1
answer

Error converting to Json with Gson

Well, I'm having this error while doing the object conversion to json. I'm using gson. I tried to send the whole object and I had the same error, I changed and separated the object to try to find where the problem is, but without success. Gson...
asked by 26.05.2016 / 22:10
2
answers

How to open Calculator using intent?

I would like to know how to call a native application in my application. I would like to put a calculator menu, when the user clicked, open the android calculator. Thank you.     
asked by 30.05.2016 / 17:52
3
answers

How to know which button was clicked on my ListView?

I have a ListView, on each Line I have two buttons. How do I know which button was clicked? Follow my code: <ImageView android:id="@+id/imageView_imagen" android:layout_width="145dp" android:layout_height="145dp" andro...
asked by 04.08.2016 / 06:53
1
answer

Invisible Spinner in form

I'm developing a form where I added the spinner, the code worked, I was able to add and pick the selected item, the problem is in the spinner's visibility. It only appears on the screen when I click on it, and soon after I choose the option it g...
asked by 28.05.2016 / 17:41
1
answer

Is it possible to have interaction when updating my app?

How can I change sharedPreferences or add a folder when updating my app? I have a C app I'm running on Android with the SDL library and whenever I do an app update the application files have to be updated too (they're in a system folde...
asked by 04.08.2016 / 18:49
4
answers

How to open a keyboard when "focus" on an EditText?

I have an EditText where I used requestFocus() to get focus from it. I put setFocus(true) and setFocusableInTouchMode too. When I open the activity, requestFocus() works, but does not open the keyboard and TextWatc...
asked by 03.08.2016 / 22:06
2
answers

Event Listening in a lib

I am building a lib but at the end of the process it performs I need to let me know that it has finished, how can I implement this? Any ideas? In the project that uses lib I do this: Lib lib= new Lib (getActivity()); lib.iniciaInterat...
asked by 02.08.2016 / 18:25
1
answer

Android - problems in streaming AAC streaming

I have a problem with streaming audio, it runs perfectly on some devices and on others it does not run, I wonder if there is any way to resolve this. It runs for example in a Galaxy Ace 4 neo, but does not run on an eternum c3 tech tablet. Af...
asked by 15.04.2016 / 15:43
2
answers

How to pass the response received by the volley to a Global variable?

Good afternoon, I wanted to know how I can pass%% of the received volley to a global variable: public class ReceberObjeto { private JSONObject res; public ReceberObjeto(String URL, Context context, Map<String,String> params) {...
asked by 13.05.2016 / 21:16
1
answer

Coordinate - Latitude and Longitude Android

I need when recording a client on Android, pick up the location where the phone was when it was recorded. My question is: How to get latitude and longitude on Android (ex: getLatitude ())? How to display it on Google Maps (via Android)?...
asked by 07.04.2016 / 18:28