Questions tagged as 'android'

3
answers

Why does the EditTexts information come up when I change my activity?

I have a problem in which information such as "name", "address" and "phone" that I type inside the EditText of the Activity principal go when I go to another Activity search for other types of information and return to the m...
asked by 14.02.2015 / 15:26
1
answer

Why does the count continue from the previous item and not from 0?

I have a problem. I made a method that calculates the count from clicks on the screen and throws that count into a EditText , but the problem is that the count continues from the previous item, 0 on the next line. Example: If th...
asked by 29.01.2015 / 20:30
1
answer

Avoid ListView overlay

I have a problem with the% s of% s which is as follows: I work with 2% with% s and I want when I click on one, that the other disappears and that they do not overlap as they have. I just want it when I click and open the first ListView an...
asked by 05.02.2015 / 03:34
1
answer

Error returning in getView method

I'm doing the app on Action Bar and I'm having a problem returning the value inside the getItem method. Here is the code: Test.java public class Teste extends Fragment { @Override public View onCreateView(LayoutInflater inflate...
asked by 17.11.2014 / 18:41
1
answer

Null pointer with Location Manager

I have the following code which returns NullPointerException in line: lat = location.getLatitude(); private GoogleMap mMap; private String provider; private LocationManager locationManager; @Override protected void onCreate(Bund...
asked by 24.05.2014 / 16:46
2
answers

Database and Android doubts

I'm developing a project for college that is about a multiplayer Android game for questions and answers (Style Asked). In game development, I need to create a database to store the questions, their answers, and the correct option. The game acces...
asked by 28.10.2014 / 13:39
1
answer

Upload Image using WebService C #

I would like some help to know how to upload an image using webservice c #, I've tried several forms and several examples but I could not. I have tried to convert an image to base64 string, I did not succeed. The form for communication betwee...
asked by 20.06.2014 / 20:27
1
answer

Spinner in Popup

I have a screen where it has a Gridview and a ImageButton . Well, by clicking on this ImageButton I open a PopUp that contains two spinner and a ImageButton . These spinners are populated thro...
asked by 26.08.2014 / 22:16
1
answer

Difference in onCreate parameter (Bundle)

I came across a doubt here reading the book by Ricardo Lecheta, android, in which I did not see an explanation in the book, nor found on the internet. Some examples it uses the onCreate function in this way: onCreate (Bundle icicle) and other on...
asked by 20.04.2014 / 02:45
1
answer

Restart the requestLocationUpdates () with Sleep

How do I start requestLocationUpdates() with Thread.sleep(); on Android ? My code: public void onLocationChanged(Location loc) { Date d = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:...
asked by 21.04.2014 / 13:55