Posts by Paulo Henrique Galdino • 9 points
5 posts
-
0
votes2
answers116
viewsA: Guys, does anyone know what call or perform this technique in the studio Android?
private void alertaexemplo(int position) { new AlertDialog.Builder(this).setTitle("meu titulo") .setMessage("Mensagem") .setPositiveButton("sim", new DialogInterface.OnClickListener() { @Override…
-
-1
votes1
answer837
viewsA: Preview of Android Studio is not playing
Constraintlayout is a Viewgroup that allows you to flexibly position and scale widgets. It is not in your xml code. It should be where you put the comment and the closure at the end of the code.…
-
1
votes1
answer436
viewsA: I cannot remove READ_PHONE_STATE
After a search, I managed to find a solution that is very simple. I will post here someone go through the same problem. <?xml version="1.0" encoding="utf-8"?> <manifest…
androidanswered Paulo Henrique Galdino 9 -
0
votes1
answer436
viewsQ: I cannot remove READ_PHONE_STATE
This permission is not in my Androidmanifest even so when I upload to the play store appears this image message, and my app does not use this type of data, pfv help me!…
androidasked Paulo Henrique Galdino 9 -
0
votes5
answers1896
viewsA: Change Button Background
To change the button icon of my application I used this code. if(mp.isPlaying()==true) { bTocar.setBackgroundResource(R.drawable.play); }else{ bTocar.setBackgroundResource(R.drawable.pause); }…