Questions tagged as 'android-studio'

1
answer

How to keep the App always logged in with Firebase

How do I get my app logged in after waxing? Ex: I logged in once and every time I start the application again it is already logged in.     
asked by 12.11.2018 / 20:28
0
answers

How to pick the selected options in the spinner of another activity

Class I want to check the spinner place, so I can only move to another page if I have selected something, I would use the option selected in Spinner instead in another class. public static Spinner lugar; public static EditText a; @Override pro...
asked by 21.11.2018 / 20:40
0
answers

Fields overlapped and turns and some button

Good Night! I'm starting in the art of Android Studio and I'm getting a lot of it and I'm looking for help. I have a login form (Activity). 2 fields: login and password and 1 button When compiling the fields lie one over the o...
asked by 09.11.2018 / 21:38
1
answer

How to use attributes of a subclass of an abstract class?

I have the following scenario: an abstract class "ListItem" and the "HeadingItem" and "Contact" classes. The relationship between them is as follows: ... } abstract class ListItem{ } class HeadingItem implements ListItem{...
asked by 09.11.2018 / 23:39
2
answers

Error while listing SQLite direct table

asked by 15.11.2018 / 21:47
0
answers

How to use 2 databases using Room Sqlite?

Hello. Is it possible to use multiple DBs using Sqlite's Room? In my case I need to use 2 DB, if it is possible how to change from DB1 to DB2 dynamically?     
asked by 06.11.2018 / 22:25
1
answer

Problem displaying AlertDialog

I'm getting an error message when trying to show AlertDialog using Android Studio. protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_registrar_pagamento_ma...
asked by 04.11.2018 / 06:39
0
answers

Action button Bluetooth in BroadcastReceive (Android studio) ** Java **

I'm creating an app in android studio ** (Java) ** and I need to pair a button via bluetooth example: selfie stick button that when triggered open an activity even the application being minimized if possible closed I imagined in BroadcastReceive...
asked by 04.11.2018 / 15:29
1
answer

Convert URI to Bitmap

Good afternoon, I am a doubt, how can I convert a URI to Bitmap and then convert to Base64 so I can send it to the Database. private void abrirCamera() { fileUri = getOutputPictureUri("GRP"); if (fileUri != null) { // Cria...
asked by 04.11.2018 / 19:49
0
answers

Use the same name in another app in the store

I removed an app from my Google Play console account and it is now unavailable at the store - name is Black Ops fx. (I removed it in popular language and is no longer available) But I'd like to use the same name in a new app, can I? I m...
asked by 10.11.2018 / 22:32