Questions tagged as 'android'

1
answer

How to customize the current location marker (GPS) in Maps api v2 android?

Well folks I want to customize the blue dot of the GPS in Maps and I want that I can move it to any place of the map, as well as it works in the applications of Taxi.     
asked by 26.02.2015 / 03:21
1
answer

Error converting String to JSONObject

I'm trying to develop an android application that consumes a Web-Service but whenever I try to run a query in the database it returns me this error:    Error parsing data org.json.JSONException: Value In my LogCat: 02-22 15:37:32.250: I...
asked by 22.02.2015 / 16:51
4
answers

How to identify a change in the state of Internet connectivity to execute a method when connecting?

I'm trying to implement this train and not getting it. I wanted to do the same thing as the colleague who opened the thread, but I could not even follow these examples. I have some questions: In what class do I set this Calendar bid? On the r...
asked by 23.09.2015 / 20:05
2
answers

How to return strings that are in ascending date format in SQLite?

I've taken a long and recorded in the database with this format SimpleDateFormat("dd/MM/yyyy") which is a string and now I need to organize the dates. I tried to use this command but it comes in descending order ORDER BY date (data_c...
asked by 05.10.2015 / 17:14
1
answer

Change TextView Text in an Android Fragment

I have TextView within a Fragment (a flip). How do I change the text of this TextView ? Here you are giving NullPointer qtAllImagensLabel = (TextView)findViewById(R.id.qtAllImagensLabel); qtAllImagensLabel.setText("...
asked by 15.07.2014 / 18:17
1
answer

Is there a session variable in Json [web service]?

Well, the mini world of my project is as follows:    I'm creating an application, where I will consume a database using the json method, where I validate the logged in user, but when asked to add some other information in the database, how wi...
asked by 04.08.2015 / 16:29
2
answers

How to finish Android App layout?

How to customize the layout of an Android application. I have seen Apps so well finished and wanted to learn how to give such refinement to my Apps. The App Toshi Finance is a good example of what I I'm talking.     
asked by 01.02.2014 / 13:44
2
answers

How to send calculation made in a Service to Activity?

I would like to do a simple calculation in a Service and return the value to the Activity that called it. To get the value of the Activity variables I call the getDoubleExtra(double) of intent , but to send the result I should d...
asked by 17.01.2015 / 13:52
2
answers

Equivalent of onCreate ()

I'm rebuilding a set of objects so I can reuse them in other applications. These objects are not activities and only have a set of practical functions that I want to call at any point in the execution of an activity. How can I have a onCre...
asked by 09.01.2015 / 12:53
1
answer

Difficulty understanding "extends Application"

Good evening, I'm having trouble understanding an example I will try to explain without posting the entire source I think it will be easier to understand I have a class called GLOBAL that extends Application I have 3 methods inside it...
asked by 04.06.2014 / 03:47