I have a custom listview in my android application, but I have a question I want to know how I show the data I add to that list from the bottom up like chat apps.
Below I share my code
<?xml version="1.0" encoding="utf-8"?>
<Linear...
I have created an icon by entering a png image for the application using "image assets", launcher icons and meta the image that you put, in the mobile appears the small icon, much smaller than the normal applications that I have installed....
tvTotalCommande.setText(String.valueOf(totalCommande)+"€");
tvTotalRegler.setText(String.valueOf(totalDescuento+"€"));
tvRemises.setText(String.valueOf((totalCommande-totalDescuento)+"€"));
In TotalCommande write me 5.5
In Remises...
I am implementing sqlite in app, but the insert returns -1, as I interpret the messages.
That's how it works
public long IngCliente(SQLiteDatabase db, cliente cliente) {
return db.insert(
clienterEntry.TABLE_CLIENTE,...
I just installed Android Studio 2.3 and when creating a new project I get the following error with gradle. I already managed to download manually but still I still get the same error
Error:Failed to resolve: junit:junit:4.12
Error:Failed to re...
I am using the following code but it does not show me the BSSID in the list of Wifi networks,
public class MainActivity extends AppCompatActivity {
ListView lv;
WifiManager wifi;
String wifis[];
WifiScanReceiver wifiReciever;
@Override
protec...
I have the following spinner
<android.support.v7.widget.AppCompatSpinner
android:id="@+id/origin_account"
android:layout_width="match_parent"
android:spinnerMode="dialog"
android:la...
Is there any way to get the contacts that have Whatsapp between all the contacts obtained from the phone?
My tests have only been to obtain all the contacts and obtain their fields, to see if there were any "whatsapp ...":
ContentResolver c...
Hello friends, I have a question for you. I have an android app which basically are two activities the main_activity and a details activity . The first has a recyclerView with elements and when I touch one I enter the activit...