Questions tagged as 'android'

1
answer

The files of my Android project have disappeared

Yesterday I formatted my windows. I kept my project in D:\AndroidStudioProjects Today I installed Android Studio on my new operating system but the "drawable" nor the project classes DO NOT APPEAR Only this appears to me: I do not u...
asked by 17.07.2018 / 05:21
1
answer

How to get the data saved in Sqlite

How can I get the data saved in the Sqlite database and display it in a Textview by pressing the button. Code: package BSHELPER; public class Usuarios { private int idusuario,edad; private String nombre,apellidos; public Usu...
asked by 17.07.2018 / 02:33
1
answer

Pass a class dynamically in an Intent object

I'm doing ListView dynamically. When you click on any option, you connect to a database to bring the name of a class. My question is how to send that name dynamically to an object intent and address me to that class that sends the...
asked by 13.07.2018 / 00:38
0
answers

ListView on customPin onClick in Xamarin.Forms.Maps

I created an app in Xamarin.Forms with personalized pins, and clicking on them leaves a small window with the desired layout. The problem I have is that I want that layout to contain a listview with several elements, but I am not able to crea...
asked by 12.07.2018 / 09:36
1
answer

"Failed to instantiate one or more classes" Android Studio new projects

I really do not know how to catalog the error, I installed the Android Studio for the first time on this computer and I get this error (Image), I really do not know why, I was supposed to do a normal installation. At the end of the desc...
asked by 12.07.2018 / 02:08
0
answers

Assign variable php and retrieve it by json and android studio

I have the following query in php: $SQL_select="SELECT SUM(TIMESTAMPDIFF(minute, reserva_estacionamiento.hora_reserva,reserva_estacionamiento.hora_salida) * estacionamiento.tarifa) as resultado FROM reserva_estacionamiento inner join estaciona...
asked by 12.07.2018 / 03:03
0
answers

What are the methods to stop a class?

The problem that occurs to me is that I have a class called Localizacion in which I implement LocationListener with their respective methods onLocationChanged , onProviderDisabled , onProviderEnabled and onSta...
asked by 11.07.2018 / 20:48
0
answers

Background for dialog on Android 4.x appcompat

I'm developing an apk and I want the dialogues to have an appearance like this is now ready but in Android 4.x it is not shown that way. It looks like this <style name="AppTheme_AlertDialog" parent="Theme.AppCompat.Light.Dialog...
asked by 11.07.2018 / 16:30
0
answers

How to maintain the context of the main activity in all the elements of the ViewPager?

I had my application in a single layout, in order to improve it I am trying to implement a main layout with a ViewPager and through it access the different layout in which I divided the app. When I had everything in one layout, it did not presen...
asked by 11.07.2018 / 17:54
0
answers

error signing apk release

I'm trying to sign the apk but in release I get an error while in debug the apk is fine, the bad thing that the playstore debug me rejects this is the fault Any idea where the fault might be? and why do you let me sign in debug...
asked by 10.07.2018 / 20:48