Questions tagged as 'android'

2
answers

Variable that needs to be declared as final

Android Studio gives me the following problem:    Error: (83, 25) error: local variable btArrayAdapter is accessed from   within inner class; needs to be final final However, if I put it out of the event of the onclick button, the error i...
asked by 18.04.2016 / 18:39
2
answers

SecurityException Permission Denial when accessing contacts

I want to show contacts in the calendar but the application closes instantly. I do not know where the error is: public class Main extends ListActivity { TextView txt; ListView list; @Override protected void onCreate(Bundle sa...
asked by 07.01.2017 / 09:05
1
answer

Problem Sign in of Facebook with Android studio

I am trying to allow the sign in through Facebook Login but the problem is repeated again and again. Once validated by Facebook the email and password and authorized to see the public information and the user's email, I return to my signin windo...
asked by 26.02.2016 / 21:18
1
answer

Android: Activity with rounded edges

I am trying to make my main activity, which handles fragments, have rounded edges, a clear example is this image How could I do that? I was trying with this that I found on the same page LINK . <?xml version="1.0" encoding="utf-8"...
asked by 16.08.2018 / 21:53
1
answer

mousePressed with Android - Processing

I'm making a mobile application with Processing 3.0.1 (latest version) for Android (the tablet I'm using is the Galaxy Tab 3 with Android 4.4.2 to run the code) When I run the code in Java Mode it goes perfectly. But when I put the Android Mo...
asked by 25.01.2016 / 20:32
1
answer

Context must not be null

You see, I have a class which works properly for me, but, the images that are not seen on the screen are happening as if I were looking for the correct one, so I added the library of Picasso : Picasso.with(context) .load(Estadisticas...
asked by 17.01.2016 / 08:26
1
answer

Change the color of the status bar in minor versions to Android 5.0

I have a question about how to change the color of the status bar (StatusBar) of my application when the SDK version on the device is greater than or equal to 4.0 (API 14) . I currently have the following for when the SDK is greater than or...
asked by 18.01.2016 / 23:58
1
answer

Android JSON No values for

Hi, I'll tell you, I have a problem extracting info from an API in an Android app. When I'm parsing the JSON, it says: "No values for movies" in this case. I'll stick the code to see if you can help me out. The fact is that this same code wor...
asked by 12.04.2016 / 13:55
2
answers

How to make an Android picker from a fixed list of items?

I need a way to select cardinal points by something like a picker. The objective is to indicate the meaning of an event that may be "NORTH-SOUTH", "EAST-WEST" ... and the opposites     
asked by 31.03.2016 / 00:10
1
answer

Android Studio 2.1 Error while Lauching activity - Default Activity not found

The problem itself what I have! It is that at the moment of compiling my application, with the AVD Manager or even with the Genymotion Device Manager plugin, it does everything it has to do but when launching the application or opening it it pul...
asked by 11.08.2016 / 06:36