Questions tagged as 'android'

0
answers

Error: android.os.NetworkOnMainThreadException AndroidStudio

I am trying to send two parameters to my webservice through POST and I am presented with the error android.os.NetworkOnMainThreadException , when trying to execute the line of code      String respuesta = mRequest.execute(nameValuePairs...
asked by 30.10.2018 / 14:40
1
answer

Problem when putting admob in android studio

I have created an application in android studio and it works fine but when you put the ad theme with admob it can not even be opened and it comes out all the time the application has stopped working. I have followed guides, tutorials, etc. I...
asked by 19.10.2018 / 11:43
2
answers

Consume Json object nested inside another object using Volley

Dear liking in greeting you, I am trying to consume an object Json through Volley using Android , however I only get to consume a part of Json . I am new to this, I hope you can help me, Thanks in advance.    ...
asked by 27.09.2018 / 19:57
0
answers

Android sqlite INNER JOIN that returns an array

I'm using sqlite for android and I want a function that returns an array with all the objects that meet a condition. Let me explain: I have two tables: Movies private static final String CREATE_PELICULAS_TABLE = "CREATE TABLE " + PE...
asked by 27.09.2018 / 17:23
2
answers

Enter and show dates SQLITE Android studio

I have 3 fields that are (code, name, career) those fields are saved by a button and saved in a database SQLite , so all right, but I need that too have the date on which those data were entered, how could I do that? The idea was to see...
asked by 26.09.2018 / 00:32
2
answers

You doubt about simultaneous connections in firebase

I have a question about the simultaneous connections in the free firebase plan. I understand by simultaneous connection to a request that is made when there is another running. In the firebase document, they say the following: What is...
asked by 25.09.2018 / 18:58
1
answer

Android the dark theme does not activate with MODE_NIGHT_AUTO

I'm implementing to change the theme of the app depending on whether it's day or night, with NightMode of Android I have defined the two themes, day and night, that work correctly To activate the dark / night AppCompatDelegate.s...
asked by 25.10.2018 / 21:43
1
answer

Problems with Intent.SetPackage ("com.whatsapp")

I'm doing a mini test app that shares a text string, and I wanted it to do it directly by whatsapp, skipping the step of deploying the app choice to share with. I found that the intent could be made a intent.setPackage("com.whatsapp")...
asked by 24.10.2018 / 19:35
1
answer

Android Studio error: java.lang.ArrayIndexOutOfBoundsException: length = 1; index = 1

I am having a problem that has been going on for hours and I can not solve it. The error that gives me when compiling the program is the title. This is my class: public class ElegirCuidados extends AppCompatActivity { private String elegir...
asked by 14.11.2018 / 16:39
1
answer

Layout that occupies the entire screen in any terminal

I find that when trying my app on the mobile, or when changing the emulator with other larger dimensions. there is a screen, that is to say that the screen remains blank. And if I emulate or try in smaller terminals, it is cut What guidelines do...
asked by 14.11.2018 / 18:26