Questions tagged as 'android'

1
answer

Color on the buttons of the Android notification

I have the following notification, and I would like to put a background color to the buttons that say accept and read more. How do you set them?    NotificationCompat.BigTextStyle style = new NotificationCompat.BigTextStyle (); style.s...
asked by 20.06.2016 / 19:09
1
answer

How to save the coordinates of a circle of google maps in the database?

As I can save the coordinates of a circle of google maps in the database, I already load the map and with the function onMapLongClickListener it allows to draw a new circle to the user. Now what I would like to do is to be able to store those va...
asked by 02.07.2016 / 02:25
0
answers

Camera to take picture on android

I have a functional code where I can take a photo from the PC by pulling the file from localhost, you can try it to see its functionality, the problem is when I pass the code to my cell phone and it does not work, I do not know if I should downl...
asked by 06.03.2018 / 17:08
0
answers

Facebook Api problems when it is executed from cell phone browser

I made a login with facebook and it's perfect in the web browser but when I try to run it from my cell phone in chrome android it says there are problems with URL, which does not allow the URI entered. In the web of pc this does not happen....
asked by 25.08.2017 / 17:27
2
answers

problems with SharedPreferences the application stopped!

My class: conf.java public class conf extends AppCompatActivity { EditText idplacatxt; Button guardar_btn; TextView idplacalbl; private configuracion conf; @Override protected void onCreate(Bundle savedInstanceState)...
asked by 03.10.2017 / 16:04
1
answer

Change list background color (AlertDialog) when selecting an option, and keep it when reopening

I have doubts about how to do a alertdialog custom, where I can make that when I select an item of the alertDialog when I reopen it has the background of another color, indicating that this item was selected, and if I select another item,...
asked by 06.09.2017 / 06:30
0
answers

"Intercept" incoming SMS from Android Studio app, Android 6.0 [closed]

I would like to know how I can intercept an SMS in Android 6.0 from my app, since it is a tracker service and receives the maps link from an SMS that we previously sent "Where" to the tracker and he responds, I am interested in giving it to the...
asked by 30.05.2017 / 15:19
1
answer

OnItemClick () for multiple views in a ListView

I have a% custom% co within a snippet, which takes the data from ListView . In each row of CursorAdapter there are several ListView , one TextView (a check box) and a button. What I want is to attend to the clicks of...
asked by 03.12.2016 / 19:03
1
answer

facebook login android

I want to obtain the data of the public profile {email, id and the profile picture}, but when I start my application it falls, then I will leave my code @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(...
asked by 03.11.2016 / 20:16
2
answers

Error showing a Flutter image

Hello community, I hope you are having a good day. Sorry for the inconvenience, what happens is that I am new to the development with Flutter and I am trying to display an image but it does not show it and it does not stop throwing a warn...
asked by 01.11.2018 / 17:12