Questions tagged as 'android'

2
answers

do not delete SQLITE-Android database

It occurred to me to create an application that allows recovering user data when reinstalling it on the device. All the apps that I have previously created keep the information in a database and the information is lost when I uninstall the appli...
asked by 13.01.2017 / 19:43
1
answer

Error showing image on Android

Android is marking this error, but I really do not have the slightest idea why it is doing my process correctly and it shows me the image:    E / BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: http: /www.paisajesboni...
asked by 23.12.2016 / 17:17
1
answer

Get the currency defined in Android

Is it possible to obtain in any way the currency that the user uses, that is, the symbol: $, € .... ?     
asked by 01.12.2016 / 15:27
2
answers

Error generating APK: "All com.google.android.gms libraries must use the exact same version specification"

When I try to generate the APK in Android studio I get this error message: Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: dupl...
asked by 20.02.2017 / 16:17
3
answers

Activate Call action in Texview

I am modifying a project, I need to make the Text Number activate when I press it. The call will be made from the activity LeadsFragment , here is the activity . starting where I need help import android.content.Intent; import android.n...
asked by 11.01.2017 / 22:34
2
answers

Problem receiving data by GET on android

private static PostResponseAsyncTask task; task = new PostResponseAsyncTask(Registrados_HassMovil.this); task.execute(url_mostrarinformacion+"?fecha="+registro.getText().toString()+"&huerto="+huerto.getText().toString());    Here the probl...
asked by 10.01.2017 / 09:18
1
answer

Xamarin- No buttons or text shown

I just downloaded Xamarin for Visual Studio for the first time, connect my Inco tablet. Create a project Blank App (android) and in the main.axml drag a button and a text, but when you run the application on my tablet you could only see the name...
asked by 18.11.2016 / 07:44
1
answer

No static method getDefaultAPIVersion when calling FacebookSdk.sdkInitialize

I have migrated a project I had done 2 years ago from Eclipse to Android Studio, and in doing so I realized that Facebook classes no longer work the same. After also migrating the classes to the Facebook v4.0 API and getting the Android Studio t...
asked by 26.10.2016 / 14:14
1
answer

I get a null value of getFragmentManager ()

I have a activity that is the menu and in the onCreate() I have: PedirTaxiFragment pedirTaxiActivity = new PedirTaxiFragment(); getSupportFragmentManager().beginTransaction().add(R.id.content_frame, pedirTaxiActivity).commit();...
asked by 18.11.2016 / 02:51
2
answers

consume Json in android studio FATAL EXCEPTION: Thread-13149

I have the following code to consume data from a webservice: public String enviardatosGet(String user, String pass){ URL url = null; String linea = ""; int respuesta = 0; StringBuilder resul = null; try { url = new...
asked by 24.11.2016 / 22:32