Questions tagged as 'android'

3
answers

Transform a JSONArray into an ArrayObject

My problem is the following, I bring a json from my api , the same I pass it to a JSONArray the topic this is that I want to arm a Array<Especialidad> and I do not know how to do it. Specialty_connect public...
asked by 09.02.2018 / 23:18
3
answers

Android - Change Switch with Intents to For with Intents

I have a switch with many cases and same code and I want to pass it to a for to reduce code but it gives me a programming error. How can I do it? @Override public void onItemClick(AdapterView<?> parent, View view, int positio...
asked by 26.04.2018 / 19:33
1
answer

When the third Spinner data is selected, the Activity corresponding to the Spinner is closed

The window where the Spinner is located is closed when I select the third option of the Spinner, with the first and second there are no problems ... This is the error in the Logcat 05-03 00:57:29.436 11301-11301/? E/AndroidRuntime: FATAL...
asked by 03.05.2018 / 15:07
1
answer

Doing a button from another button on Android (?)

I need to trigger a button through another button on Android (?) ButtonBorrar.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { pantalla.setText("") }...
asked by 11.09.2017 / 18:32
1
answer

Error: android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProcessor' configuration instead

today I updated Android Studio from 2.3 to 3.0, likewise the Gradle plugins were updated but in this one of my projects shows me this error (Error: android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProcesso...
asked by 26.10.2017 / 16:14
2
answers

Can I use blob data with Bundle on Android?

I have to upload images to a database (with blob ), but it receives the data from Bundle , I have tried several things and I get an error due to the type of file I try to upload and I would like to know if you can use Bundle i...
asked by 27.07.2017 / 13:48
2
answers

Problem with spaces in Android

I have a form in android which communicates with a WebService to fill a database of MySql , the problem is that when I run the app and write in the editText for example the name, if I write two words the data does not reach MySQ...
asked by 24.08.2017 / 03:13
4
answers

Failed to getWritableDatabase (); Android

It gives me a mistake when it comes to establishing the database as writable in this line: SQLiteDatabase db = baseDatos.getWritableDatabase(); Android Monitor ERROR: FATAL EXCEPTION: main...
asked by 19.05.2017 / 13:33
2
answers

You can not see the HINT of an EditText on android

Good! I have an app in android studio and I can not make the HINT (default text) to be seen in the application when I run it ... it looks in android studio but in the app it does not ... EditText XML Code: <EditText android:inputType...
asked by 05.06.2017 / 04:27
1
answer

Button with round border Android Studio

How could I put a Button with round borders in Android Studio? Thank you.     
asked by 06.06.2017 / 10:50