Questions tagged as 'android-studio'

1
answer

error loading APK on device

This having the following error when I install the apk on my device the log throws this error: Logcat error 09-11 11:59:11.218 16688-16688/com.example.g_talent.myapplication E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.g_tal...
asked by 11.09.2018 / 17:03
2
answers

how to change the icons of the notification bar on android

I want to change the color of the icons of notifications in the status bar and I do not know which property the color changes.     
asked by 14.05.2018 / 22:30
1
answer

How to walk a Json with Array

Good I am having problems to travel a json with array or that I think, I leave you the code json: { "username": "Pepiko", "platform": "pc", "stats": { "kills_solo": 1, "placetop1_solo": 0, "placetop10_solo"...
asked by 29.09.2018 / 21:24
1
answer

Block the comma key "," in Android Studio XML

I want to prevent a user from entering a comma "," in a EditText , investigate what can be done with the property of android:digits=”” but you have to enter the remaining characters, there will be a property to block that property i...
asked by 27.02.2018 / 21:09
2
answers

android studio error Unable to locate adb

I am starting the development of app with android studio with jre and jvm that I copy below. Android Studio 3.2.1 Build #AI-181.5540.7.32.5056338, built on October 8, 2018 JRE: 1.8.0_152-release-1136-b06 amd64 JVM: OpenJDK 64-Bit Server VM by...
asked by 19.10.2018 / 21:36
2
answers

I have a question about Android Studio

Why when I put num2 = calificacion.getText().toString() and num3 =Double.parseDouble(num2) where it is shown in the code gives me error; but when I put it before the If the program works for me without problems? Thanks for y...
asked by 26.10.2018 / 12:26
1
answer

implement performClick on android?

when I use the setOnTouchListener on a button, when I overwrite the onTouch method it tells me this    Custom View ImageView has setOnTouchListener enabled but does not replace performClick If a view that overrides onTouchEvent or uses an...
asked by 06.12.2017 / 05:04
3
answers

Android Studio: pass the value of an edittext to a textview of another activity

I want to pass the value that a user puts on an edittext to a textview that is in another activity (the textview is in the main one, and the edittext in the second). This code belongs to the second activity, where is the edittext where the us...
asked by 25.09.2017 / 14:27
2
answers

Enable or disable an edittext with the selection of a spinner

The problem is that it disables text editing but in case 1 of Switch when you have to activate it again it does not This is the code I'm using. public class ejemolo extends AppCompatActivity { String[] Items = { "Dc...
asked by 11.05.2017 / 20:15
2
answers

Difference between Clean Project, Rebuild Project and Reformat Code in Android Studio

I have this little doubt that there is a difference between these IDE options. What is the difference between them?     
asked by 16.05.2017 / 13:12