Questions tagged as 'android'

1
answer

Push notification on a local network (case without internet)

I've studied the GCM services to send and receive notifications for android , but I have the following question: If I am in a local environment, and the data server is in the same environment, is there any way I can work with the aut...
asked by 24.03.2014 / 13:49
1
answer

Problem with internal database

I'm trying to manipulate an internal database with the following code: sql = "CREATE TABLE IF NOT EXISTS tipo ([codigo] integer autoincrement,nome text not null);"; bancoDados.execSQL(sql); sql = "INSERT INTO \"tipo\" VALUES(1,\"ESTADUAL\");"...
asked by 23.03.2014 / 21:29
1
answer

Daily notifications at a specific time set by the user

I've created a method to send a notification to the user with the name sendNotification() using NotificationCompat.Builder and NotificationManager . I need this notification to be launched every day at 07:30 AM , and th...
asked by 10.03.2017 / 18:16
0
answers

Android Studio - Error using BottomNavigationViewEx methods

Good afternoon, I'm using the BottomNavigationViewEx lib to make a navigation bar for an Android application, but when I use the methods "enableXXXX" and "setTextVisibility" it gives the error below. Does anyone know why and how...
asked by 31.07.2018 / 19:11
1
answer

Delete database while uninstalling app

In my app I create the database made in SQLite in the folder:    System.Environment.SpecialFolder.Personal However on some devices (Android) when uninstalling the app it seems that the bank is still in the folder, because when you install...
asked by 24.07.2018 / 15:34
0
answers

Button add app on home screen [closed]

Recently I've seen this button that is in the footer of the print Adicionar o app QuintoAndar à tela inicial present in some sites, when you click it add a site icon in the menu and in the home screen of android, I wonder if anyone knows...
asked by 02.01.2019 / 21:09
1
answer

How to implement back in the Android Webview

I have an Android Activity with just a webview inside. For example:      <WebView android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="fill_parent"/> </FrameLayout> How do I...
asked by 19.03.2014 / 21:49
1
answer

How to show the contents of an SMS received in Android in a text dialog?

I'm developing an Android application that sends an SMS request to a remote device and receives a reply, also via SMS, which should be presented to the user. In order to receive SMS I used the following code, which implements SmsReceiver...
asked by 19.03.2014 / 14:52
1
answer

City Spinner connected with State Spinner

I have 2 spinner in my application, one populated with the name of the states that I registered in the database in the firebase and another with the cities, they are linked by the state ID. I managed to get both of them popular, but I can not...
asked by 16.07.2018 / 02:02
0
answers

Change drawer menu item color - NavigationDrawer

Hello, I would like to know if it is possible to change the color of each item that comes in the standard AndroidDrawer menu. I know that by choosing a project with that slider menu the android itself already comes with the code in MainActivity:...
asked by 11.07.2018 / 22:40