Questions tagged as 'android'

1
answer

How to return a string from the method that SQLite queries?

How to make a method that returns a string with a single result? I'm trying something like this: public String getString(String var) { String selectQuery = "SELECT * FROM "+TABLE_STATUS+" WHERE "+KEY_STATUS_KEY+"='"+var+"'...
asked by 10.07.2014 / 17:26
3
answers

Connect android screen

Next, I have a BroadCast and I want it when it runs the phone screen to be turned on! Probably the phone will be in sleep, so I want it to turn on the screen of the device! I think it's simple, but I'm not finding a solution!     
asked by 06.06.2014 / 04:10
1
answer

Exception when searching the SQLite database

12-10 09:25:36.029: D/dalvikvm(21543): VFY: replacing opcode 0x6e at 0x0002 12-10 09:25:36.279: I/Adreno-EGL(21543): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: () 12-10 09:25:36.279: I/Adreno-EGL(21543): OpenGL ES Shader Compi...
asked by 10.12.2014 / 18:32
2
answers

More than one * Layout * in the app

How do I instantiate a new screen, I have the Main.axml and wanted it when I clicked the button to call my Result.axml . I would like to know how I do this in Xamarin in C #. What if I need 2 Activity's one for each screen. I also need t...
asked by 02.08.2014 / 23:39
2
answers

How to implement the verifyDeveloperPayload method?

Does anyone know how I can implement this function when working with Google Billing? I saw that a token should be generated for license checking and avoiding fraud. But someone knows how to implement, why implement and the risks that run,...
asked by 01.08.2014 / 02:52
1
answer

AVD Android 4.0+ Does not start

When I try to start an AVD with Android 4.0+ on Windows of my two notebooks does not work, but with Linux it works. The screen goes black, it does not even enter the opening screen of Android even leaving it open for hours. I've never been ab...
asked by 18.07.2014 / 05:19
2
answers

App Closes when I'm going to test

I am a beginner and already in my first tutorial I have this error I made the whole process as it is in the video tutorial, and when I try to test it on my phone, it compiles, installs, opens and closes the application. I looked everywhere...
asked by 28.10.2018 / 16:05
1
answer

Unable to instantiate activity ComponentInfo; java.lang.IllegalStateException: System services not available to Activities before onCreate ()

I have a project of a chat socket running in Swing and now I'm passing it to Android. It was all working perfectly until I put the code that makes the magic happen. The application closed and I did not know why it had already fixed all the er...
asked by 26.10.2018 / 02:50
1
answer

Error running Android Studio

When you opened Android Studio, there was a warning screen describing:    Internal error. Please report to link java.lang.RuntimeException: Duplicate registration for EP: Designer.customizations at com.intellij.openapi.extensions....
asked by 07.07.2014 / 02:47
1
answer

Using Spinner on Android

I'm developing an Android application, and in it I have a Spinner and from the choice the user makes in that Spinner it goes to a certain page. I had done so: //Acionando_Items_no_Spinner public void addListenerOnSpinnerItem...
asked by 19.06.2014 / 00:42