Questions tagged as 'android'

1
answer

Find APK .keystore

Does anyone know where I find the .keystore file of my digitally signed APK? Is it the same .jks?     
asked by 14.07.2017 / 17:55
1
answer

Call screen with fragment

I created a screen with a list view based on the native fragment of android studio, but I did not find a solution to "call" this screen from a button. public boolean onNavigationItemSelected(MenuItem item) { // Handle navigation view item...
asked by 05.07.2017 / 21:10
1
answer

Prepend on an EditText using TextWatcher

How to make a prepend on Android? I currently do some append , but did not see how to do a prepend in the onTextChanged event. The reason is to put a ( before the first 2 digits of a phone, to get the (xx) x xxxx - xx...
asked by 30.05.2017 / 20:37
1
answer

Change the look of AlertDialog to the old one

I have this code that creates an AlertDialog public void mostrar_popup(){ AlertDialog.Builder dlg = new AlertDialog.Builder(getActivity()); dlg.setCancelable(false); //impede que a janela seja fechada ao clikcar fora dlg.setMessage...
asked by 20.05.2017 / 19:23
1
answer

Rating rounds to fixed stars

Good for example:    Fill four and a half stars To set the value I do this: ratingBar.setRating((float) restaurante.getMedia()); When it comes to information such as 4.5 it rounds up thus putting 5 estrelas ja when I sa...
asked by 23.05.2017 / 21:21
1
answer

How to share an image (ImageView) using Intent?

I'm having a hard time sharing an image from an ImageView from a button, tried several methods, but none worked. Here is an example of what I want to share: link I have an array with the path of the images in Drawable final int[] photo...
asked by 10.05.2017 / 21:08
1
answer

How to send Push notification [closed]

I'm currently checking when the user opens the app . First it checks to see if it is connected. If it is not, do not compare it. If it is connected, it compares the current version with the version that is in the Play Store. So I send a T...
asked by 09.05.2017 / 19:19
1
answer

ListView inside a TabView with Firebase data

I'm trying to input data from the firebase into a listView that is already inside a TabView, but when I try to load the data from the firebase nothing comes. I started the ListView within the onCreateView method, like this: Firebase dref;...
asked by 14.06.2017 / 06:43
1
answer

Problems with Alert Dialog

I'm having a problem picking up a text entry in a dialog box in AndroidStudio. I want to receive the quantity of a product and add it to a ArrayList , however the function does not wait for the insert in the EditText that I added in...
asked by 13.06.2017 / 16:43
1
answer

Base64.decode specific

I'm trying to load a string I get from the WebService into an ImageView of the Android. I made some comparisons and found that the string I get is correct, but it's a string and as such I can not load it into the imageView. But by transformin...
asked by 28.04.2017 / 20:37