Questions tagged as 'android'

2
answers

Encrypt passwords as securely as possible

I'd like to know how to encrypt passwords on Android and what are the best practices. I'm using Eclipse, SQlite database to store the password locally and MySql with PHP to store on the server via HttpClient . My application will be of...
asked by 08.01.2016 / 18:18
2
answers

When you do not type anything, do not show "Enter a name"

I'm messing with an application made in Ionic. In it, when I search for a photo in Google and select it, the field name is filled with the word that made the search. Now, when I select an image from my phone, the field to put the name is already...
asked by 16.12.2015 / 18:25
1
answer

Problem with If and Else when validating EditText fields in the android application

I'm kind of confused to do a field validation here in my people directory. The following error is appearing: Else without if on line 84. I do not have much experience and I appreciate the understanding of everyone who can help. import android...
asked by 29.12.2015 / 19:50
1
answer

Is it possible to modify any game? [closed]

Is it possible to modify an action or add some new object in any game using java? For example: add a new monster to the game, add properties, increase player speed, life etc.     
asked by 20.03.2016 / 03:44
1
answer

Navigation Drawer with duplicity

I have a NavigationDrawer with two EditText and I would like these two fields to show up the user's name and email data, however in my TelaPrincipal class when I try to throw the information to one of the two fields it is demonstrated twice in t...
asked by 22.03.2016 / 17:32
1
answer

How to eliminate extra space formed in a LinearLayout when creating ImageView via code?

I'm using this code to create an ImageView and add it to a LinearLayout : public void inserindoImage(ImageView image,int rid,LinearLayout linear ) { LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(ViewGroup.Layo...
asked by 24.03.2016 / 16:59
1
answer

Return existing dates between two other dates - Android

I would like to know if there is any class or library that returns the existing dates between two dates I pass. For example: I would pass the dates 23/02/2016 and 25/02/2016 and would return the date 02/24/2016. I saw many methods teaching...
asked by 23.02.2016 / 21:01
1
answer

Compare SMS data with txt file

I'm trying to create an application in which I get an SMS that will contain a code, example "AC0012", so I'll read this information, and compare it with with my file .txt . This .txt file will contain several lines, and each line...
asked by 23.02.2016 / 10:12
1
answer

sharedpreferences in the first Activity, show only once?

I'm developing an app where it will have the first Activity fault, and I want to show it only once, only when the app is first opened. In this case, I created a Activity by calling a layout where it contains the textview and button...
asked by 22.02.2016 / 21:16
2
answers

Message when the user is exiting the application

I know I can use AlertDialog for this, but without creating a button, only when the user is pressing the back to exit does an alert appear? Type, when it comes out (this involves the Android system in the part that does it alone) would a...
asked by 24.12.2015 / 00:48