Questions tagged as 'android'

2
answers

Problems with SetTag () in Android Studio

I am filling out data in a listview and I get an error when I'm making the following code with the error:    FATAL EXCEPTION: main Process: com.tuinen.carlosvilla.tuinensoft, PID:   21682 java.lang.NullPointerException: Attempt to read from f...
asked by 19.12.2016 / 17:42
1
answer

Google Maps on Android Studio

I download the information from the url in json and full variables private static PostResponseAsyncTask task; OnCreate task = new PostResponseAsyncTask(this); task.execute(url_localizacion+Dispositivo); I run the task in the url +...
asked by 28.12.2016 / 19:57
3
answers

ERROR when compiling my code in Android Studio

When compiling my Android code, I'm getting the following error:    Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:   Error: Execution failed for task ': app: mergeDebugResources'.    Error:...
asked by 27.12.2016 / 20:26
1
answer

Android: Delete server image

I need to delete an image from the server, before what I did was to make an instance of CheckIn which is where I have my Getts and Setts then called checkIn.getImages (). remove (positionPicture); and it removes from the ArrayList of Bitmasp the...
asked by 16.12.2016 / 20:15
1
answer

android.content.ActivityNotFoundException: No Activity found to handle Intent

I am learning to program on android and I get an error: the error in the debugger:    E / AndroidRuntime: FATAL EXCEPTION: main                     Process: com.android.octa.appprueba3, PID: 4131                     Theme: themes: {}      ...
asked by 01.02.2017 / 21:25
2
answers

Android: Problems with AsyncTask when launching items

I have a problem what happens is that I create an intent after I start it and at the end the MainActivity must be destroyed but all that process is marking me an error because I am in the SearchData class and not in MainActivity in the same way...
asked by 15.12.2016 / 18:59
1
answer

Get the id of my ArrayList and put it in a TexView

I would like to get the id of the selected item in a Spinner ArrayAdapter adapter=new ArrayAdapter(c,android.R.layout.simple_list_item_1,spacecrafts); sp.setAdapter(adapter); sp.setOnItemSelectedListener(new AdapterView.OnIt...
asked by 04.12.2016 / 18:39
1
answer

Android - Problem replacing Fragment

I'm doing a practice with Fragments. There is only one activity with a vertical LinearLayout. When executing the App, a fragment is loaded with a TextView that can be modified using the buttons that contain a second fragment. In principle two...
asked by 26.11.2016 / 00:50
3
answers

Compatibility of api 22 with api 19

I generated an application which runs very well on systems with api levels higher than 20, I wanted to try an android s4 mini which has an api level 19 (Kit-Kat) someone can help me to give compatibility with this system. I have reviewed some...
asked by 28.11.2016 / 16:54
1
answer

button return Toolbar to the previous activity "without Reloading the Activity again

I have this code in the AndroidManifest.xml but when I press the Go back button, I recharge the activity and since I have a query it is generated again, making the process a little delayed. AndroidManifest.xml code: <uses-permission a...
asked by 27.11.2016 / 17:01