Questions tagged as 'android'

1
answer

Type password in android EditText

When entering the password, I want them to leave *, periods or something so that it is not visible. I have the following editText <EditText android:id="@+id/edit1" android:layout_width="match_parent" android:layout_height="wrap_...
asked by 27.09.2018 / 17:52
1
answer

Android Studio min sdk 22 is not possible

I just downloaded the android studio but the sdk does not allow me to place the min sdk to 22, it forces me to place the 23 according to the library wear-26.1.0 My smartwatch has android 5.1 api 22 and I need to be able to create the app wi...
asked by 09.07.2018 / 16:03
1
answer

How to make call transfer

I have an app that transfers calls but from version 6+ it does not work I've tried this: btn_transfer.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent inten...
asked by 20.06.2018 / 11:17
1
answer

ERROR: java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.sqlite.SQLiteDatabase

I'm having a problem with a class I've done in Android Studio that extends from SQLiteOpenHelper . The problem is this: I have created a class that extends from SQLiteOpenHelper that handles a table from a database. I have already c...
asked by 05.07.2018 / 20:27
2
answers

Intent android error

I have a query I am creating a intent to send in email with a pdf attached but when the gmail is launched, everything is set correctly except the destination email field. My code is the following for Intent : String...
asked by 30.06.2018 / 00:21
1
answer

How to know the order in which the columns of a query arrive

I'm doing an app with Android Studio and I'm using the Volley liberty to consume a service. The web service gives me this data. in JSON format, but I would like to know how to do with a cycle to get the name of the columns, } given t...
asked by 17.08.2018 / 23:15
1
answer

Problem with Android Studio

Download today on my android studio PC and I have a rendering error. It does not let me visualize any component. This is the mistake I have: Failed to find style 'coordinatorLayoutStyle' in current theme     
asked by 16.08.2018 / 00:53
2
answers

Store data temporarily on android

I have created a shopping cart in Android, the user has the option to see a product in a ListView, then clicking on it goes to an activity where he sees the product detail and has the option to confirm the purchase, until now all right but I wan...
asked by 26.10.2018 / 23:25
1
answer

Error showing libGDX animation

When drawing the animation, just grab the first texture, do not go through the array and I do not know why ... Here I leave the fragment of the render, when I call the animation if(juegoAcabado){ // Si hi ha hagut col·lisió:...
asked by 31.05.2018 / 12:33
3
answers

Print ArrayList in TextView

Hi, I'm doing a game and I need at the end of the game to show me the last 10 scores, so I create an arraylist where I'm going to store the scores. The problem is when I want to show the scores in a textview. I can not do it. application Array...
asked by 21.05.2018 / 23:14