I have two TabView and the problem is that if for example I have a Toast in Tab2 when opening Tab1 is executed, how can I make it so that it does not "exchange data", that is, if I am in Tab1 or Tab2 th...
I have a app in android showing images with this plugin . The problem is that I have added a .htpasswd to protect the images and now it does not show them to me, I have added to the url the parameters user:passwor...
I want to change the color of the status bar of my app on android. I have this code but it does not work:
Log.e("Resultado", Build.VERSION.SDK_INT +">="+ Build.VERSION_CODES.LOLLIPOP);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOL...
I have the method well implemented to extract the imei in my application. The issue is that it shows me the imei: 52b3f8b114ff321f and what I need is the numeric format like 35232143423546.
Can someone help me solve this execution error please, I'm trying to show a map, in a fragment, I'm working from the template of a navigationDrawer.
I have generated a fragment that contains the following code:
import android.net.Uri;
import a...
I have a Spinner with three positions 0, 1, 2 and what I want to do is create more positions with a list that I have in my Sqlite :
final List lista = mDatabase.ReadCategorias();
Activity
int flags[] = {R.draw...
I have this simple database and I want to backup the sd card, how can I do it?
public class Usuario extends SQLiteOpenHelper {
String sql ="CREATE TABLE Cliente (id INTEGER, nombre TEXT, apellido TEXT)";
public Usuario(Context contex...
I have a Raspberry sending some data to my Android APP and the only way it works for me is the following APP:
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {...
Good, I would like to know how to get the id of a series of layouts that have names of similar variables, in this case their suffix is a number.
I want to store your IDs in an array. But obviously I can not change the number by a concatenatio...
Hi, I have the following activity that creates a list with data brought by php and mysql .
How can I make this list update every so often or refresh the activity without having to use the button something like a meta refresh?...