Questions tagged as 'android'

1
answer

Change location of download file

I managed a solution to download files on android, but it downloads with a name programmed in the code, and in the root, wanted to download the original name of the file, and saved in the folder I wanted, see the code: p> public class DownloadF...
asked by 23.01.2015 / 03:50
1
answer

Using the onclick and onitemclick methods in ActionBarActivity

I'm building my app in android studio, I created a normal acitivity that has actionbar support, in that acitivity I load a list of users however I can not fire these events, how to solve this? My list is assembled through a baseadapter. public...
asked by 16.10.2014 / 04:18
2
answers

Redeem only the body of the MultiPart response

I'm trying to download a JSON file, it's sent to me via MultiPart, I can recover it however I do not want to save it to a physical file, so I'm getting the return and converting it to string. My problem is in the conversion because it brings me...
asked by 13.08.2014 / 16:38
1
answer

Error Message: "unfortunately has stopped eclipse"

I'm trying to create an android project, but this error is occurring when I run the application, "unfortunately has stopped eclipse", this is the application xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"...
asked by 28.08.2014 / 22:01
1
answer

Change TextView Text

Suppose I have text inside a TextView, there is the possibility to change android: text remotely, without touching the xml, by means of a post in an external database, for example, a phrase thrown in on a bank which can be changed any minute, ca...
asked by 28.08.2014 / 20:10
1
answer

Validation with Toast and insertion in the bank

I'm risking Android, I'm very beginner and I'm having problems with my first insertion into the database. I also need to validate the fields on my form before sending. If possible, a touch of good practice goes well too. Acquiring the form da...
asked by 06.08.2014 / 03:00
1
answer

Force Gallery app refresh on Android 4.4

I have an application that manipulates images, it has options to move and delete images, when deleting an image is sent a boradcast so that the android gallery application recognizes that the image is no longer there. It works perfectly, except...
asked by 31.10.2014 / 04:44
1
answer

Focus EditText Android

How do I get focus on EditText but still with problems? I'm doing an ordering system, I have 3 EditText (product, quantity and discount) and a Add button. I need that when the user clicks the add button, the focus goes back...
asked by 30.10.2014 / 12:07
1
answer

use ViewPager to increment variable

Well what I wanted was for my ViewPager to increment a variable within the Activity in which it was run. it is possible? I only find documentation for different layouts My application has 1 page that I simulate others, not to load too much an...
asked by 23.10.2014 / 20:31
1
answer

Add buttons in the action bar when using ListActivity?

Well I have an application that would like to keep the default format on all screens, I have a quick access menu with some items in the action bar, and another complete menu option. The problem is that since I'm using ListActivity this...
asked by 28.10.2014 / 11:30