Questions tagged as 'android-studio'

0
answers

How can I fix this android notification error for services?

I'm making an app that uses audio, and I need to include a service so that when the app is exited, it will still work like the players. But it turns out that it only brings me the audio list but when I click it it sends me a message that says "D...
asked by 11.10.2018 / 20:51
0
answers

E / AndroidRuntime: FATAL EXCEPTION: main

I'm doing an app with google maps and when I try to load the map it shows me the following error and the app is closed D/AndroidRuntime: Shutting down VM E/AndroidRuntime: FATAL EXCEPTION: main Process: bog.skate.eris.goskate, PID: 6063...
asked by 14.10.2018 / 17:58
0
answers

Android 8.0 Admob Not working

I wanted to tell you about an error that I have noticed in the Android 8.0 versions, since a few months ago I have not been able to show any type of ad in my native apps and games. The ad load code I have not updated because it has always gon...
asked by 14.10.2018 / 14:49
1
answer

when replacing one fragment with another gives me error in the new fragment to insert

I have an activity that contains a fragment and a button outside of that fragment, I need to create an event that, by clicking on the button, replaces this fragment with another one. Here is a piece of code for you to see, the fragment " Fragmen...
asked by 11.10.2018 / 15:36
1
answer

How do I stop a class that I inherited from AsyncTask in Android Studio

Hi, I'm programming a button in Android Studio and I want you to send me a message after the button is pressed for 2 seconds, but when my counter reaches 2 and I want to show a Toast the application stops me. I create a Boolean variable to know...
asked by 19.10.2018 / 00:13
0
answers

Send email automatically androidStudio

I have this code, which allows me to send an email with an attachmen of an .html public void clickbutton(View v) { try { strFile = strFile + "/report.html"; File file = new File(strFile); if (!file.exists()) file.mkdirs(); strFile = strFi...
asked by 10.10.2018 / 15:25
0
answers

What happens is that Android studio does not recognize me the physical device

Good thing that happens is that when I connect my Samsung j1 physical device to test my applications in android studio, I do not recognize the device and I do not get anything, I do not know if I have the SDKs that are : I would greatly a...
asked by 10.10.2018 / 02:32
1
answer

Display a value of Firestore in a TextView - Android Studio

I have a collection stored in Firestore, which is called "Score", there I have saved different values (all are int). What I want is to show the values in another simple activity. I tried the following code: public void Resultado(View...
asked by 08.10.2018 / 03:06
0
answers

daemon problem

I have a query ... every time I change something like the minimum api or when I add a library I get this message, what can be done? Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For...
asked by 25.10.2018 / 00:01
1
answer

Compare a SQLite field in Android Studio

I am trying to compare a field named NAME of type TEXT with a variable that I have in another activity, how could I get that field that contains the name of a user and be able to compare it?     
asked by 25.10.2018 / 01:42