Questions tagged as 'android-studio'

0
answers

ObtainMessage does not call Handler

I'm doing a communication between arduino and android, the android already manages to send command to the arduino quietly, however now I want to read commands received from arduino. I managed to make it work however with a class that extends thr...
asked by 28.09.2018 / 23:36
0
answers

Problem creating project in Firebase

When I add the dependencies that firebase requests to create the file and give Sync Project, it gives me the error "Failed to resolve: com.android.support:appcompat-v7:28.1.0"     
asked by 18.09.2018 / 01:47
1
answer

ListView with JSON + PHP

I want to appear in a ListView all the information of a select that I gave. I can do just with txt appearing an information: public void sendjsonrequest() { JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(Request.Method....
asked by 21.09.2018 / 16:00
1
answer

Login error with Google firebase

I'm new to Android programming and would be grateful if you could help me. I made an app that uses login with Google firebase, works perfectly when I run directly on the mobile but when I generate the signed APK and put it in the internal test o...
asked by 24.09.2018 / 18:22
0
answers

Upload Image ImageView to DB

How can I send a ImageView to DB? I'm trying to declare it to connect to the WebService and send the data but I'm having this doubt, code follows: // Tirar foto e aparecer numa ImageView chamada: ATESTADO protected void onActivityResul...
asked by 17.09.2018 / 14:40
1
answer

Normal and long click only work after first clicking ImageView

I have a problem that when I click on the image, the first time nothing happens, only after the first click that the simple click function works and long click. XML Code: <ImageView android:id="@+id/idimagem" android:layout_width="wrap...
asked by 16.09.2018 / 17:54
0
answers

Insert in SQLiteDatabase executes but does not insert into the database

Hello, I have an application in android studio that connects to an external SQLite database and is stored in the Assets of my project. In order for me to be able to use this external database within Assets, I needed a class named SQLiteAs...
asked by 10.09.2018 / 15:29
0
answers

How to make a sound when the stopwatch is finished in the ANDROID STUDIO?

Good evening! I am developing a timer and I do not know how to enter a warning sound to notify that the timer has zeroed. Could you help me? Follow the code: package coleti.a.homebrew; import android.content.Context; import androi...
asked by 13.09.2018 / 03:48
0
answers

Error Compiling Android - firebase

I'm having trouble compiling APK for ionic. I already removed Android Studio and downloaded it again. I've already removed and reinstalled Android. But it did not work. ionic cordova build android Returns the following error: :app:preDe...
asked by 17.09.2018 / 21:09
0
answers

Action Bar is transparent but buttons do not work

I use a Toolbar in which I wanted to be transparent, until I did however the button burger n is clickable, can anyone help? It looks something like this: Myxml:<?xmlversion="1.0" encoding="utf-8"?> <android.support.design.widget.Coo...
asked by 04.09.2018 / 15:21