Questions tagged as 'android'

0
answers

WebView Block React Native advertising

Hello to the whole community, I am programming an application in native react and I am using WebView to show a player, here the problem arises. the player has a lot of publicity that when clicking to play WebView changes to the advertising page,...
asked by 27.02.2018 / 01:15
0
answers

How to fill a my recyclerview with picasso in a fragment?

This is my adapter: public class AdapterMarcas extends RecyclerView.Adapter<AdapterMarcas.ViewHolderMarcas> { List<Marcas> listMarcas = new ArrayList<>(); Context context; public AdapterMarcas(Context context, ArrayList...
asked by 26.02.2018 / 23:01
0
answers

Percentage with ProgressBar

What's up with friends? I would like to know how I can do it based on the code that I will attach here, so that in a progressbar I show the percentage if for example I do I want to take the percentage of an amount X and that percentage is X% as...
asked by 25.02.2018 / 20:53
0
answers

Unable to add window - token null is not valid; is your activity running?

The fact is that I have a ProgressDialog within a class AsyncTask and the case is that when it is executed, to make a connection, the first time I get the Progress correctly, but if I do a search again (this is what the Asynctas...
asked by 27.02.2018 / 11:45
0
answers

Upload image to Firebase Database

I'm having trouble uploading an image to Firebase Database with Android Studio, could it be uploaded by converting it first to String in this way? private void cargarimagen(){ Intent intent=new Intent(Intent.ACTION_PICK); intent.setTyp...
asked by 28.02.2018 / 16:54
1
answer

How to auto select an item from an 'AutocompleteTextView' or simulate a click? ANDROID STUDIO

As an achievement that self-selects an item of ACTV without clicking, just setting the text that I need. that is automatically. If the received text is the same or if it shows an option that selects the first or the only one that it finds....
asked by 28.02.2018 / 16:11
1
answer

Android Studio: Layout [duplicated]

I have a small problem that is that I can not adjust the Button to the screen despite adjusting the layouts, even using the magnet. Come on, there's no way. The funny thing is that the text is accommodated when I open the emulator. I've been w...
asked by 26.02.2018 / 05:14
0
answers

Put a text under an ImageView

as it would be to do something like this: Thank you.     
asked by 26.02.2018 / 09:52
0
answers

Android class diagram (uml)

I want to generate the uml diagram of an android app. I added the plugin SimpleUML and generated the uml from Android studio, but the classes are not related. Is there any way for them to come out already related?     
asked by 25.02.2018 / 15:36
1
answer

Blocked button

I would like to know how I can do on android a button that says accept and another to buy and that its function is that for example I enter certain amounts in a form and first I must click on accept, if I click on the buy button I just have to t...
asked by 25.02.2018 / 18:38