I am trying to consume a api of a localhost , once created generate the following JSON
{"Users":[
{"id":1,
"username":"pepe123",
"fname":"pepe",
"lname":"jose",
"dispositivo"...
I would like to ask about how to place a StringRequest inside a class, because it usually shows an error showing that it needs a Context to be able to work. I do not seem to ask for a Context context as a parameter. To be able to call a class th...
I have some data that I want to insert in my BD, but the problem is that they are not inserted.
Table creation in BD:
public class DB extends SQLiteOpenHelper{
String tabla ="CREATE TABLE Datos (Id INTEGER PRIMARY KEY AUTOINCREMENT...
I'm using the Android Studio template and adding this method to the main class:
@Override
public void onBackPressed() {
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
if (drawer.isDrawerOpen(GravityC...
In a class I am validating the connection to the network in Android, and I would like to validate if the true value of that method in another class is executed by another method.
Class 1
public static boolean isConnectedWifi(Context context...
I am working on building a platform that allows to connect via bluetooth and until now I have worked with an AND device but it is very tiring.
Does anyone have any suggestions for a device that they can use for this case?
I want to read and edit (write) the mp4 metadata. In particular, I want to read / write metadata tags in Android as shown in the following image.
I searched this on the Internet and found mp4Parser, but I do not think you write mp4Parse...
You see, I have a Json that works correctly for me being this:
{
"codCompeticion": "284",
"nomCompeticion": "2ª.Cadete I \"Copa Coca Cola\" Valencia",
"jornadas": [
{
"jornada": "1",
"idClubLocal": "020121...