Questions tagged as 'android'

1
answer

What is the procedure to update or re-publish my app in playstore if I do not have the signature?

Hello I need help with the update of the app I develop and google play publish does not let me upload the update. If I upload it as a new application, it eliminates it.     
asked by 19.06.2017 / 16:11
1
answer

Is it possible to initialize an Activity from a Fragment in Android?

I have this code in a fragment and I want to start an Activity: @Override public void onResume() { super.onResume(); if (!getUserVisibleHint()) { return; } MainActivity mainActivity...
asked by 20.06.2017 / 20:01
3
answers

Android Volley JsonArrayRequest

The PHP that gives me a list of records through an SQL returns the following PHP $result = $con->query($query); for ($set = array (); $row = $result->fetch_assoc(); $set[] = json_encode($row)); print_r($set); RESULTADO Array ( [0] =>...
asked by 18.07.2017 / 15:28
1
answer

Error trying to get the contact number of the calendar

I am making an application to send messages in the first two fields I want to show the contact's name and contact number the name I have already been able to capture, but when processing the number it shows me the following error, I hav...
asked by 07.07.2017 / 17:41
1
answer

Communication between two classes

I have a class A that contains an ArrayList, I also have a class B in which I want to be able to add an item to the ArrayList. How can I add the item to the array belonging to the other class? Class A: public class MainActivity extends AppC...
asked by 11.07.2017 / 00:02
2
answers

Generate Random on Android and place them in a Text box

I have 3 XML files in my resources, these are: <resources> <string-array name="nombres"> <item>Ivan</item> <item>Jose</item> ... </string-array> ... </resources&g...
asked by 14.07.2017 / 18:00
2
answers

I use a Thread Runnable or an Intent Service?

when we use for example new Thread(new Runnable() { public void run() { try { DatagramSocket clientsocket= new DatagramSocket(5005); byte[] receivedata = new byte[30];...
asked by 12.06.2017 / 19:04
1
answer

NullPointer error when ViewPager instantiates on Android

When entering an Activity and instantiating ViewPager it returns null and fails to instantiate the object. In another Activity I have exactly the same thing and if it does, what could I have wrong? I attach the code. The error starts...
asked by 23.05.2017 / 23:19
3
answers

Android Studio, problem with matrix [N] x [N]

I'm sorry to bother with the query, I have 1 data matrix, and a vector where I save the images. I fill the matrix myself entering the data, and I can not understand why the code does not work because I assign it a different place than the one sh...
asked by 06.12.2018 / 16:08
2
answers

Problems using renderscriptSupportModeEnabled true

I'm using a library to use the Blur effect in my DialogFragment and everything works perfect, but in gradle I get a warning    all com.android.support libraries must use the exact same version specification (mixing versions ca...
asked by 29.05.2017 / 15:24