Questions tagged as 'android'

1
answer

SQLite Database is not entering values

I'm creating a simple application that involves the SQLite database and throughout the development my insert function in the table has stopped working. Through the debug I noticed that it is running to the end but the data is not being inserted....
asked by 20.11.2017 / 04:42
1
answer

How to add Firebase data to a RecycleView and show on the Android screen with Kotlin?

How to bring this list from fire to the screen of cel? val store = Shop("Fique Linda", "Temos o melhor!", R.drawable.storefiquelinda) val dataBase = FirebaseDatabase.getInstance() val myRef = dataBase.getReference("mensagens") myRef.child("...
asked by 24.10.2017 / 12:30
1
answer

How to prevent a Checkbox from receiving click events?

I want to create a list where each item has a purely informative checkbox, so that when the user accesses this item, the checkbox is marked. But after a test implementation, I noticed that when I use the checkbox, the system does not run OnIt...
asked by 23.10.2017 / 04:01
1
answer

Elevation in Button is not showing the Shadow

Hello, I'm trying to use Elevation on the buttons on the following screen: Butitisnotworking,Elevationisnotformingashadow.FollowtheXML:<?xmlversion="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:androi...
asked by 30.10.2017 / 15:22
2
answers

Passing values between screens [duplicate]

I would like help, I'm new to android development and I'm trying to develop an app. Basically I will need 4 "screens" where 1 is typed one value, next to next, in this "screen" choose one option and goes to the next one, depending on the optio...
asked by 19.10.2017 / 18:55
2
answers

How to hide the keyboard the moment the user presses a button?

I would like my application to force the cellphone to close whenever the user presses a button (above and next to the edit).     
asked by 18.10.2017 / 17:48
1
answer

How to securely save a private key?

I'm developing an application for Android / iOS mobile devices, in this application the communication with the server is done in encrypted form. The user application, when first started, generates a public / private key. The public key is sent t...
asked by 05.11.2017 / 13:58
1
answer

How to send a GIF in Whatsapp programmatically on Android?

How can I send a GIF located in the internal memory of the My application directly to WhatsApp programmatically?     
asked by 29.11.2017 / 15:43
1
answer

Is it usual to deal with sessions in an Android application?

My question is this: I have a Rails server and I make queries on that server using an Android application. If I were creating a web system, I would use session to manage the permissions of my system. However, as I have the application, I make th...
asked by 28.11.2017 / 20:06
1
answer

Conversion String to Double returning null

I have an application in android that I need to capture the entries and store in my Order object, but I need to convert the entries (Strings) to Double numbers, but with the following error: java.lang.NumberFormatException: empty String. Where a...
asked by 09.11.2017 / 15:13