I'm currently using sqlLite for some things, but I was wondering if there is any simple way to save for example a STRING in the internal base of the phone without the need to use external libraries,?
Good morning, I am developing an application where I get the user's location through the LocationListener class of Android Java, the problem is that sometimes it locates me correctly, sometimes it locates me to more or less 10 or 20 meters of er...
I was trying some things in android studio and I realize that it does not run on Android 5.0 or 6.0, it only runs on 7.0.
I am using compileSdkVersion 26, minSdkVersion 21 and targetSdkVersion 26 so it should not have any problem.
The error of t...
I have 2 buttons that get the start, end and duration timestamp of an event, but they look like java.text.SimpleDateFormat@f17b4ca5, but I do not know how to calculate the difference between them.
I would like it to look like this: "2018-04-1...
I have the following method that makes a call to a service by volley
public GenericController(boolean flag) {
if(flag) {
objectRequest = new ObjetRequest(1, "", BaseRequest.class, "", new Response.Listener<BaseRequest>...
My problem is as follows, create a menu with Material desing and I do not know how to link the url of my profiles to the buttons that are displayed
BELOW I LEAVE MY CODE
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:...
I have a background service that lasts approximately 5 minutes and executes X methods every X time each, it is necessary that those times are fulfilled and go consecutive.
The problem is that Android 7 kills the service by "turning off the sc...
I am practicing with the example of a videoturorial, I have reviewed the code several times, but the application does not work, in the video tutorial if it is seen to work, but when I show the map the application closes.
I try to see the oper...
I have the following code
public void servicio_GET_MOVS(final Context context, String request, final Response.Listener<GetMovements> listener, final Response.ErrorListener errorListener) {
HashMap<String, String> headerParams...
I have a couple of problems with the ListView
1) In the ListView there are subjects and I want that if they have a warning they are marked with a different color, either changing the background or the colored letters.
I receive the parameter...