Questions tagged as 'android'

1
answer

Get AndroidManifest meta-data

I'm developing a library. In order to use, the developer must inform a use key. I would like to use the same form as Google maps: <meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/goog...
asked by 01.12.2016 / 19:18
2
answers

Error: android.database.sqlite.SQLiteException: no such column:

I added a column in the Users table, invited is an integer. I need to do a select in the table by filtering this field, and I get the following error: android.database.sqlite.SQLiteException: no such column: invited (code 1):, while compiling...
asked by 28.11.2016 / 21:39
1
answer

Working with high-quality images in sqlite3

In my application I make the selection of an image of the gallery, then I save it in the bank, but if the image has a high quality the app does not save, besides saving it stops working, has some way of save that image in the bank even if it is...
asked by 19.10.2016 / 20:22
1
answer

Connect to Current Location Android Studio

I am developing a App Android that contains a map and that takes my location, but in some devices it does not activate this function, so that it works you have to click on the Local button, for example Samsung J5 . How can I...
asked by 02.11.2016 / 18:05
1
answer

Open intent of a listview

I have a list of clients. I would like when I clicked on a client it would open a new intent. But I did something wrong. Here are the codes: list.setOnClickListener(new View.OnClickListener(){ @Override public void onClick(Vie...
asked by 16.09.2016 / 15:21
1
answer

How to recognize the native "back" button of the android device in an application.

I would like to know how do I detect in an application that the user clicked the "Back" button native to the device. Well, I need to take action if that happens.     
asked by 15.09.2016 / 23:01
1
answer

Problems with AsyncTask

I'm trying to make a request for JSON along with AsyncTask. With this, I made the JSON call in the InBackground method, however, the code executes the onResponse method of the JsonArrayRequest after calling the onPostExecute, not at the time of...
asked by 16.09.2016 / 19:17
2
answers

Run Service with a BroadcastReceiver

I need to execute a Service through a BroadcastReceiver , but the error occurs: android.os.NetworkOnMainThreadException . To "deviate" from the error, I'm using the code below, but I want to do it the right way. StrictMod...
asked by 11.03.2018 / 00:09
1
answer

Explanation about tags of Android components

I'm developing an app for android. I found some tutorials to help me in the development but I found some tags that did not understand their due explanations and when should I use each of them. They are: Thread SurfaceView Surface holder Ho...
asked by 16.06.2016 / 14:38
2
answers

Error importing csv files from FTP into the application

I'm creating an application and I'm trying to import some csv files that are on ftp into the android. Then I have hers as follows: InSpinnerwilllistallthefilespresentinthe"import" folder that is inside my FTP. But when this listing is...
asked by 15.06.2016 / 14:38