I want to obtain the coordinates of the method onLocationChanged can compare if the distance to the previous one is greater than 2 meters, and so not register it in database.
Does anyone know how you can take a screenshot just by pressing the screen?
In the layout I only have a VideoView and I want to capture what it captures at that moment
Is it possible to concatenate a textview with a log so that it shows me the value of this in the log? That is, if a variable can be created and it is sent to the log to show the value of the textview it is receiving.
I need to convert dp to pixeles and pixeles to dp in Android Java.
I get the width of the screen of the device, I return a value float that is in dp
public static float getWidthDeviceDP(Context cont...
Boys, I have a question that I hope you will help me resolve.
The question is that if you can migrate an Android Studio application to PhoneGap?
I await your answers, greetings.
I am starting to use database style Realm after adding a new field Age to class Person
import io.realm.RealmObject;
import io.realm.annotations.Index;
import io.realm.annotations.PrimaryKey;
public class Person extends RealmOb...
I have two tabs in an Android application. One of them loads a list and the other positions me the items in this list. From tab2 I want to access the list of tab1. How can I do it?
Definition of tabs:
tabHost.addTab(tabHost.newTabSpec("tab1...
Good morning.
I just finished developing an app, and I've been testing it all the time on the same device, the Samsung glaxy S6.
In the samung everything is correct, without any problem ... I have tried it on another motorcycle and it is also...
I would like to save my push messages in SharedPreferences and then teach them in a layout as it could be.
I use firebase cloud messaging to send push messages.