Questions tagged as 'android'

1
answer

How do I display a layout in the HomeScreen Widget for each day of the week?

I would like to show a particular layout in the HomeScreen Widget for each day of the week. I have the 5 days, and when I identify them, the device should update the layout of the widget. How could I do it?     
asked by 20.02.2014 / 00:30
1
answer

How do I save an image from the gallery and load it into the activity?

I would like to know how to save an image from the gallery and load the activity in version 2.3.3 of the Eclipse emulator, because my code only works when I test it on my Android 4.1 device and even then when I load a large image it leaves a hug...
asked by 24.01.2016 / 21:22
1
answer

Differentiate View accessed by a reused ContextMenu in several Views

I'm developing an Android app in which I have two images on a screen, client and your vehicle. I want to show a menu by giving a long click on both images and so on, by clicking on both imageView the same menu is shown, however, how do I di...
asked by 14.12.2014 / 12:23
1
answer

Json error org.json.JSONException: Unterminated object at character [closed]

I can not find the error when I get this json link look at what's coming out in the log 12-19 13:39:53.589 9554-9564/json.exemplo.com.cortecabelo E/DEVMEDIA﹕ Erro no parsing do JSON org.json.JSONException: Unterminated object at cha...
asked by 19.12.2014 / 16:44
2
answers

How to copy a database from SQLiteStudio to eclipse?

I have a table created from SQLiteStudio that when copied to the assets folder in an Eclipse application does not work. In case my bank class will only have one method list (which is what I need) because the bank is already created...
asked by 17.12.2014 / 06:48
2
answers

Task with AsyncTask only runs once, then does not arrive on doInBackground

I'm facing a strange problem in my application, since I'm testing on 4 different devices but only two of them have the expected behavior. Scenery / Devices: Nexus 4 / Android 5.0 - Ok Galaxy Tab 2 / Android 4.2.2 - Ok LG Optimus /...
asked by 18.12.2014 / 17:34
1
answer

"Bundle identifier has not been setup correctly" when exporting game for Android

I'm doing a 2D Android game (still learning) with Unity, but I had problems when I tried to export to see how the Android home screen was going to be. Unity gave this error:    Bundle identifier has not been setup correctly       Please set...
asked by 12.04.2014 / 01:27
1
answer

Android Widget - Permission Denial

I'm having a permission problem that has slipped a bit from my knowledge. Inside a widget I inserted a button, which when pressing I get the following message:    04-13 14: 10: 44.340: E / DatabaseUtils (2362): java.lang.SecurityException: Pe...
asked by 13.04.2014 / 19:35
2
answers

Display ListView with available networks

I'm trying to populate a ListView with the List returned by the getScanResults() method of the WifiManager class. However, I would not want to have to go through this list, after all, all the information I need is already in...
asked by 31.01.2014 / 14:57
1
answer

Android Development Standards

Does anyone know where I meet the standards for Android development? From: Views Name Class Name Activities Resources
asked by 24.12.2014 / 10:38