Questions tagged as 'android'

1
answer

Open HTML via asset

How do I open html via asset? I'm trying to create a text editor for my application.     
asked by 12.04.2018 / 04:03
1
answer

Change shadow color of ViewPager

How do I make this viewpager shadow change color?     
asked by 12.04.2018 / 02:25
1
answer

PublicKey for String

I have a server that uses RSA and an Android app. I want the server to pass its PublicKey to the Android application. I'm trying to pass PublicKey as a string, but when I send something encrypted with this key to the server and try to decipher i...
asked by 10.04.2018 / 13:31
1
answer

Dynamically change the image of an imageView (Android Studio)?

I have an imageview with two buttons, forward and backward. In a gallery of 5 photos I would like to be changing the image so that one button advances one image and the other one goes back. I know how to just jump to a specific image. Can anyone...
asked by 09.04.2018 / 18:37
2
answers

Return message if no checkbox is selected

How do I make the treatment in this code so that it returns a message to the user to select at least one checkbox if he does not select any? public void verificaCheckBox(){ Listcheck.clear(); if (cbPapel.isChecked()) List...
asked by 20.04.2018 / 17:02
1
answer

Recover Firebase Data in RecyclerView

I need to retrieve user request requests from the Firebase in the RecyclerView so that they organize those requests in the list without overwriting the other. For now my list is static. Each user has an id in the DB and each request has tbm....
asked by 27.04.2018 / 09:32
1
answer

I can not remove READ_PHONE_STATE

This permission is not in my AndroidManifest even so when I upload to the play store appears this message of the image, and my app does not use this kind of data, pfv help me!     
asked by 25.03.2018 / 19:12
1
answer

How to hide all buttons with foreach?

Follow the code below: FindViewById<Button>(Resource.Id.Button_1).Visibility = ViewStates.Gone; The code above is to hide a "button 1" and I have more than 50 buttons. I do not want to copy all this line and do up to 50 times, it's ve...
asked by 25.03.2018 / 05:13
2
answers

Is it possible to call a method inside another instance?

I have a Activity that shows a custom AlertDialog , as the class of Activity was kind of big I put the call of this Alert in another class in a static method. When I clicked on a certain Alert button (or when I closed it) I w...
asked by 26.03.2018 / 04:41
2
answers

Create frame for item list

I need to create a frame for an item in a listView but I have no idea how to do this     
asked by 25.04.2018 / 05:38