Questions tagged as 'android'

1
answer

NullPointerException on login screen

I'm having this error NullPointerException and I do not know why. I have only a login screen, a dao that takes two parameters, email and password: java.lang.NullPointerException at android.content.ContextWrapper.getPackageName(ContextWrapper.j...
asked by 27.11.2014 / 15:07
1
answer

Customize ProgressBar Android

I would like to develop a% custom% to use in my application, but I am not sure how to do this. Is it necessary to create a subclass of ProgressBar ? Can you only do in ProgressBar ? I would like you to give me a basic example o...
asked by 23.11.2014 / 00:25
1
answer

Export SQLite files to CSV

I need to give the user the option to export a desired database table to a file on the SD card so that it can become personal and can be imported into another device later. I have an application where I work with multiple tables in the databa...
asked by 28.10.2014 / 17:57
1
answer

The Android SDK emulator is very slow (initialization and execution), how to improve?

The Android SDK includes a mobile device emulator - a virtual mobile device that runs on your computer. The emulator allows you to develop and test Android applications without the use of a physical device. This emulator performs poorly, that is...
asked by 26.09.2014 / 15:57
1
answer

Advertisements in the Android App

Is there a Google plugin for placing ads in Android apps, and thereby gaining some value?     
asked by 06.08.2014 / 18:26
1
answer

Problem uploading APK

I'm trying to upload an apk to Google Play and got the following message:    You uploaded an APK that uses Google Play version 5208000   Services. You must use version 5100000 or lower. In my buil.gradle file I have the following dependen...
asked by 18.08.2014 / 08:05
1
answer

Which command to clear memory on Android

I am using ImageView which are calls by buttons to load the images fills the memory consisting of this error java.lang.OutOfMemoryError would have a command that would clear the memory.     
asked by 02.02.2015 / 15:40
2
answers

How to pass data from one Activity to another [duplicate]

I'm creating an app for pizzerias in my city and I'd like to know if you can send data from a ListActivity that contains pizzas to another ListActivity so that pizzas can be added to the list of favorites. How can I do this?     
asked by 29.01.2015 / 22:47
1
answer

Why is the Bitmap bigger when loading it from the res / drawable-mdpi folder?

I've developed an application where I download a JPEG image (size 184x274) from a URL. When downloading from the URL I get a bitmap of 184x274 pixels, that is it has the same dimension as the original image. If my original image is in the res /...
asked by 09.02.2015 / 14:25
1
answer

update ListView using notifyDataSetChanged ();

I have two screens, one with a main list loaded with DB data and one data file, after inserting some data, the registration screen closes and returns to the main list, I am having trouble updating the ListView screen main. I made it work,...
asked by 27.02.2016 / 14:08