Questions tagged as 'android'

4
answers

Work with dp on Android

My question I think should be simple to answer, but I really do not know the answer so it goes there: I am trying to subtract the original height of a layout 50 dps . Right now I do it in the following way: v.getLayoutParams()....
asked by 20.01.2017 / 21:57
2
answers

How to generate a dynamic menu with NavigationView that contains a notification counter?

I am developing an Android application that contains a menu that is generated dynamically, so the menu is generated by programming: private void cargarAvisosMenu() { // Menu final Menu menu = this.mNavigationView.getMenu(); // C...
asked by 10.12.2015 / 10:25
3
answers

notification push android do something when it arrives push closed app

I have in my app configured push notifications with firebase, all right here, I receive notifications with the app turned on and off, when it is open and something arrives I ask for the body to do certain actions for example to open another acti...
asked by 30.03.2018 / 19:41
5
answers

Bold in a part of a TextView

Good, I wanted to know if in a TextView you could put only a part of it in bold, like for example: Hello world , my name is Pepe .     
asked by 17.11.2016 / 16:48
2
answers

Update an app already uploaded to the play-store

I have an app uploaded to the play-store of Google , which I have been updating several times, without problems. While I was creating the update from the existing code with the Eclipse , every time I tried my application on my mobile, it era...
asked by 26.10.2016 / 12:17
5
answers

"NullPointerException" error when running an AsyncTask on Android

I am working on an Android activity that consults a database to fill a ListView, I leave the code: private class EjecutoConsulta extends AsyncTask<Void,Void,List<Comunicado>>{ @Override protected void onPostExecute(List...
asked by 08.06.2016 / 09:18
0
answers

Display object always in front of the camera Google Cardboard VR SDK

Good! I'm developing a virtual reality app using Google's VR SDK for Android, the problem is that I have an object that I show in my application, but that object is static, I need to know how to handle the functions provided by the HeadTransform...
asked by 06.06.2016 / 23:31
2
answers

Save SharedPreferences by assigning a key using getDefaultSharedPreferences ()

I have a class to save the email and user that connect in the application with sharedpreferences , but I save the data without any key reference so when I want to save a different data without overwriting the previous one I do not i...
asked by 27.04.2016 / 00:32
2
answers

Problems with AVD in Android Studio

I need a little help, the android studio emulator is presenting me with a particular error, when launching a avd nexus_5 with API 21 , this appears: and then the emulator starts but on the black screen ... what could it be?...
asked by 17.12.2015 / 20:57
4
answers

API for Android to interact with WhatsApp

The initial idea is to connect or have an application Android so you can interact with WhatsApp (for example, send text to WhatsApp, activate or deactivate functions for a specific user ect). I searched for some API for t...
asked by 11.01.2016 / 18:37