Questions tagged as 'android'

2
answers

Sqlite error on Android: error code 11: database disk image is malformed

I have a version of the Application in production, where it is allowed to mark a message as a favorite, but this totally random error happens causing database corruption and resulting in application failure. I know that I do a little risky o...
asked by 15.12.2013 / 12:33
1
answer

Save value in SharedPreference

How do I save and retrieve information in an Android Prefence file. Example String a = "stack overflow" int b = 32; boolean c = true;     
asked by 11.07.2014 / 18:14
2
answers

How to develop programs for Android through Python?

To develop programs for Android in Python is it necessary to build a framework in such a way that the application is executable on Android phones? I'm new to Android programmer, I'm studying and I knew Python has great portability. How can I...
asked by 29.06.2014 / 00:19
1
answer

What is the best way to store monetary values in SQLite?

this post about the lack of precision of double , and practically all the links of the post links. So I realized that this was a vulnerability of my software in production (since I have rounds for every corner before doing...
asked by 05.08.2015 / 16:57
3
answers

What is a View on Android?

Android visual components such as EditText , Button , and others have Listeners to handle events triggered by user actions. Thus, in the method corresponding to the event, it is always necessary to pass a View as a parame...
asked by 16.09.2017 / 01:57
1
answer

Pick up news from a specific site

At the moment I'm looking for a solution to implement a module in my App to get news from a specific site and show it on the news module screen. Can anyone tell me a way?     
asked by 24.09.2015 / 13:18
2
answers

Unity 3D and Android, how to manipulate txt file?

How to do in Unity 3D read a arquivo txt line by line and store in a vector using C #. Well, I was able to manipulate arquivo .txt , however in Android it does not work. Follow the code I used. int counter; str...
asked by 03.01.2016 / 00:15
2
answers

Creating an application that runs in the background

Some famous applications, among them Facebook, WhatsApp, Hangouts, use a service running in the background that does not end even with the device's power off. My question is how to develop an application with this feature? Can anyone create a...
asked by 21.05.2014 / 18:04
4
answers

What is the difference between match_parent and fill_parent?

When editing the xml layout I always get confused when choosing between match_parent and fill_parent , and I end up always thinking that I'm doing everything wrong because I do not know what each one is or if they are the same ....
asked by 22.06.2016 / 20:03
2
answers

Enable Proguard in Android application

I did an example project, using SQLCipher , and I'm trying to obfuscate the code with Proguard , however, after exporting and signing the application, and converting classes.dex with dex2jar , I can practically see all code wit...
asked by 19.05.2015 / 13:22