Questions tagged as 'android'

2
answers

Android Studio does not recognize the getRating () method

When I try to use the getRating () method in the FormHelper class, Android Studio reports that "Can not resolve method 'getRating ()'". I'm importing the View and RatingBar package, and Android Studio does not recognize this method anyway....
asked by 17.12.2018 / 14:38
1
answer

Get permission status when user has given runtime location access permission on Android

I'm picking up location data using LocationManager on Android and would like to know how I can get the action only if the user allows the app to access your data location. For example, using the code below, I can pick up according...
asked by 31.10.2018 / 00:51
2
answers

How to do a Select in a query

I'm wondering how to do a SELECT in my database. Here are the classes I use: DBHELPER public class DBHelper extends SQLiteOpenHelper { private static String NAME = "sqlitejuh.db"; private static int VERSION = 1; publi...
asked by 22.11.2018 / 21:34
1
answer

Firebase does not save data

So I'm having a problem and I can not solve it in order to study. I'm creating an already famous app and my doubt is the following when registering a user. Your name and email are not saved in the database. all the codes for this function: re...
asked by 24.12.2018 / 20:54
1
answer

Error saying that Activity was not declared in Androidmanifest.xlm?

This is the code for my Androidmanifest.xml: <uses-permission android:name="android.permission.INTERNET" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"...
asked by 25.12.2018 / 20:19
1
answer

Regex special characters required

I need to create a regex to validate password. It must contain at least 8 characters, which must have at least 1 letter, 1 number and 1 special character.     
asked by 01.12.2018 / 01:20
1
answer

How to create a slideview cardview (similar to Nubank)? [closed]

I'm trying to make a layout similar to cardview of the main screen of nubank, however, I'm not able to find reference to base myself. What I'm having trouble finding, is like leaving cardview with these "dots". Can anyone point me...
asked by 10.11.2018 / 12:45
1
answer

Button to return to an attempt

My problem is: Return from an Activity to an intent. I have the following sequence of pages: -MainActivity -Intent(Escolher foto) -DadosActivity In MainActivity I have a button to open an intent for the user to select a photo, with the f...
asked by 23.10.2018 / 12:51
1
answer

How do I download a file that is in Storage by my app (Adnroid Studio)

I took a look at the documentation provided by Firebase and even then I did not understand how to download a file that is in Storage by my app using Android Studio, can anyone help me?     
asked by 13.10.2018 / 17:49
1
answer

Switch from second to third activity [Android Studio]

How do I change from the second to the third screen ?? I was able to switch from screen1 to screen2 (from Main to CadastroActivity ) Except that, using the same code, I can not get from screen 2 to 3 (from CadastroActivity...
asked by 13.10.2018 / 02:10