Questions tagged as 'android-studio'

1
answer

Delete sms from the received message tray

Good morning everyone, I'm doing an app in Android Studio that exchanges SMS, but I would like it to read the message and automatically delete it in the SMS tray received. I use the following code but it does not work for me: Cursor cu...
asked by 24.01.2018 / 17:12
0
answers

How to call TextView from ActivityDataSource

I have a query to see that the article code is not repeated but I can not find a way to call the TextView of the other class'introduce the code here. I tried to do the query in the Activity but I can not call dbRead (SQLiteDatabase) public boo...
asked by 18.01.2018 / 20:48
0
answers

How to get the last record of a table in SQLite

Greetings ... I would like someone to help me with a question about getting the last record of a table please. I have been using the following code but it is not working properly for me. Any help is very welcome, thanks in advance. public clas...
asked by 15.01.2018 / 01:20
1
answer

Convert string base64 into an image on android

I have the string code of a base64 image, the problem is this code I need to pass it to image, I have seen that online platforms make it perfect, but in Android? how could you insert this base64 code and turn it into an image showing it in Image...
asked by 08.01.2018 / 23:02
1
answer

Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayHomeAsUpEnabled (boolean)' on a null object reference

Good afternoon! I'm getting the following error, I look for other forums and I can not fix it, hopefully someone can help me. Error: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionB...
asked by 05.01.2018 / 19:33
0
answers

gradle sync error

Since I updated to android studio 3.0.1 I can not continue with my application. Gradle throws the following error: Gradle Sync Issues    Error: Unable to load class 'groovy.lang.GroovyObject' . Possible causes   for this unexpected er...
asked by 23.01.2018 / 21:22
0
answers

How to create a TXT from information from Firebase in android studio and save it in an FTP

I have a app to sell items that store the information in Firebase but at the end of the order I need to generate a .txt file with the articles and properties example I have in firebase Articles and inside I have color, price...
asked by 23.01.2018 / 22:05
1
answer

Read a JSON hosted in an FTP protocol URL

I want to do an App with Android Studio to see a JSON hosted on a FTP . What would that connection be like?     
asked by 01.01.2018 / 01:16
1
answer

Help adb: CreateFileW 'nul' failed: The system can not find the specified file. (two)

Dear, I need your help. Install Android Studio 3.0.1 in windows 10 and it turns out that I can not launch any emulator, even though you create them, they are not displayed and I get the following error: 10:10 * daemon not running; starting...
asked by 01.01.2018 / 15:17
1
answer

Avoid losing data from one activity when opening another

I have an activity where they have images and text. The problem is that when you open the next one, you lose the information. Intent i = new Intent(getApplicationContext(), Numeros_App.class); startActivity(i); How can I keep the informatio...
asked by 03.01.2018 / 06:34