Questions tagged as 'android'

1
answer

Android: Problem with ProgressBar

I have a problem when I show my ProgressBar what happens is that the ProgressBar appears already until the last one and its appearance of immediate that is not reached to appreciate. What I want to do is show up when I'm in AsyncTask and it actu...
asked by 14.12.2016 / 21:14
1
answer

Not shown in Fragment

I'm trying to show the interstitial on a fragment page but it does not play, this is the code I use: private InterstitialAd interstitial; public void displayInterstitial() { if (interstitial.isLoaded()) { interstitial.show();...
asked by 12.12.2016 / 14:47
1
answer

Error showing a snackBar on onRequestPermissionsResult

How can a snackbar be used within onRequestPermissionsResult as it needs a view I assign it with findViewById(R.id.root_view) @Override public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @N...
asked by 22.11.2016 / 13:01
1
answer

Deactivate slide right close app on Android Wear

I'm doing tests on Android Wear, some apps disable the "slide-right" gesture to close the app, making it only be possible to close with a long press or a physical button. How to disable the slide gesture of closing app on Android Wear?     
asked by 20.11.2016 / 19:56
3
answers

Cast ArrayList to String

I am receiving an arrangement from one Activity to another as follows: List<Producto> productos = new ArrayList<Producto>(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);...
asked by 15.10.2016 / 03:44
3
answers

Send variables to another Android Studio activity

I am programming an App in which I want that by pressing a button I send variables to an Activity but without opening the next activity, since it is like a sales cart type where the products are acomulated. I want the activity to open when th...
asked by 14.10.2016 / 17:50
1
answer

push big view style

I would like push messages to have several lines but I can not get this out, this is the code I use. NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this) .setSmallIcon(R.mipmap.ic_launcher)...
asked by 04.09.2016 / 19:56
2
answers

Fragment does not load

I have a Slide View in activity_main , when I give in the menu the fragment to load does not load follows the screen of activity_main public class BlankFragment extends Fragment { WebView mWebView; public BlankFragment()...
asked by 05.09.2016 / 07:56
1
answer

Buttons + Intents with multiple destinations

From an activity with data from one sensor and two buttons, one to show graphs and another to show its parameters. Question : How to do it so that it takes to the corresponding activity when a click is done on one of the buttons. It seems...
asked by 28.08.2016 / 18:10
2
answers

Android studio Error converting result java.lang.NullPointerException: lock == null [closed]

I was finishing programming a connection to a remote database, but as soon as I hit the app, it loads a few seconds checking the connection and closes the app, I do not know the reasons, I have downloaded several missing libraries and othe...
asked by 24.08.2016 / 23:10