Questions tagged as 'android'

1
answer

Extracting file with ProgressDialog

Hello, I need to implement ProgressDialog while the file is being extracted. My extraction code is next. Now I just need to implement ProgressDialog , remembering that the code I've tried has been tried to be implemented ProgressDial...
asked by 27.05.2016 / 18:54
1
answer

Framework Ionic http request mobile [closed]

I have an ionic page that requests a page in codeigniter, I send the data and I receive it correctly, without problems in the browser, however when I transform in .apk and squeeze in the mobile the application until it turns however any button t...
asked by 27.05.2016 / 22:46
1
answer

How to add a ProgressBar in a PagerAdapter?

I have a ViewPager that uses a PagerAdapter to make an image slide. In my class that extends PagerAdapter I have an AsyncTask that loads the images from the internet and plays in ImageView. How can I put a ProgressBar spinner to stay running whi...
asked by 05.04.2016 / 12:46
1
answer

Can a service be killed by the android?

I know that depending on how long an Activity is onPause () and if the device needs to free memory it will kill that Activity / em>. I wonder if the same thing happens with the service that runs in the background? When Activity is killed,...
asked by 06.04.2016 / 14:05
1
answer

How to make a simple image gallery for Android?

I need to create an image gallery where I slide my finger to move to the next image. I've been researching and found several ways to do something similar to what I want, but I was very confused. What would be the best way to do this? Here'...
asked by 21.03.2016 / 23:57
1
answer

How to access SQLite data from Android in real time (DEBUG)

How can I access the data contained in the local bank of the Android device, ensuring that the information is up-to-date? My IDE is IntelliJ IDEA and I use the Database connection feature of it to Debug, but sometimes the tool loses communica...
asked by 03.05.2016 / 17:09
1
answer

How to access a local server from an Android device

I have a server in Django running on my computer "localhost: 8000 / posts", and I'm creating an Android client to access it. Debugging my application on a real device, I tried to access my IPv4 knowing that both the computer and the cell phon...
asked by 03.05.2016 / 18:14
3
answers

how to show data from a sharedPreferences in a ListActivity

I'm starting to work with SharedPreferences on android, a simple and fast way to store static and primitive data. However, my problem is in showing these saved values in a ListActivity. I have already searched here in the forum, google tutoria...
asked by 02.03.2016 / 15:59
1
answer

Add days to a date in EditText

I have a date in the format dd-MM-yyyy in an EditText with InputType="date" called "start". I want to get this date, put its contents in the variable Date called "inifer" and on this date add an integer variable called "diafer" and subtract 1...
asked by 10.05.2016 / 15:53
1
answer

Place fixed cryptographic key

The code below is working perfectly for both encryption and decryption, however, when I close the app and put the generated code before it closes it (I open the cryptographic app one word and I close the app and when I go back to decipher the me...
asked by 24.02.2016 / 15:37