Questions tagged as 'android'

1
answer

Refer to the resource directory Android module / library

I have an Android module aboutscreenlibrary , which is to implement an information activity about the app. Module: aboutscreenlibrary With a AboutActivity activity that loads a menu to see what's new, which should be obtained from...
asked by 06.06.2017 / 17:18
0
answers

Android Error: Execution failed for task ': app: mergeDebugResources'

I get this error:    Error: Execution failed for task ': app: mergeDebugResources'.       Error: java.util.concurrent.ExecutionException:   com.android.ide.common.process.ProcessException: I've tried tested Clean project y Rebuild pro...
asked by 06.06.2017 / 16:39
1
answer

Pass a photo to another layout?

What I want is that at the moment of taking a picture I am shown in an imgview but from another layout, what I have now is that I press the botton of the camera asks me permission to take the photo after I accept that photo and I the sample in a...
asked by 16.06.2017 / 09:14
1
answer

Send Text to My Band 2

I would like to send a text from an application in Android to MiBand 2 , I have managed to send numbers in the form of beats, but I do not know how to send text. contants.java public class Consts {//this is common for all BTLE devices. see...
asked by 12.06.2017 / 12:49
0
answers

MTP Host have stopped

Someone knows why when I delete my application I get this notice     
asked by 03.06.2017 / 09:25
0
answers

How to devour a GitHubUser object from the onResponse method, using retrofit2-Android Studio

I want to apply a facade (or façade) pattern to not directly access the retrofit methods from the main activity and I need to return objects. How can I do it? My facade method would be something like this: public GitHubUser getUser(String u...
asked by 12.06.2017 / 06:00
0
answers

NavigationDrawer + Google Maps problem

Hi, I have a problem pressing an option in my navigationView (R.id.create_marker) I want to create a marker in my MapFragment but I can not do it, any suggestions? public class MainActivity extends AppCompatActivity { private DrawerLayout...
asked by 22.06.2017 / 08:43
1
answer

What is the best way to get the location?

I am doing a "Tracking" app or follow-up, to get the location I use LocationListener within a service, I run the app on the device but sometimes I can notice that the location is somewhat erratic and even sometimes does not receive updates (the...
asked by 06.06.2017 / 02:56
0
answers

error when getting data from a web service with Retrofit

I have a finished app that sometimes crashes my users (he does not do it to me) ... google sends me this stack trace: java.lang.NullPointerException: at com.mal.saul.preciosbitcoinmexico.Fragment.FragmentPrincipal. realizarCambioPrecio(Fr...
asked by 01.06.2017 / 22:37
1
answer

Android Parcelable object when returning loses its value

hoping they are well, I have a concern. I have two activities 1) List of courses and their children are the activities - 2) Data and evaluation of the course activity The process is as follows. I select a course activity from a Expanda...
asked by 25.05.2017 / 20:12