Questions tagged as 'android'

2
answers

Draw path on the map

How do I draw a certain route using the Maps API V2? What I want is something like this: I go to street A and street B and get the picture of the route between these two streets. I do not want API to give me a hint about the best path but the ex...
asked by 25.02.2014 / 15:58
2
answers

How to avoid an IllegalStateException: The content of the adapter has changed but ListView did not receive a notification?

I have Activity that displays a ListView , which is associated with Adapter "backed by" ArrayList global. If I add an element to this ArrayList , ideally I do it on the main thread and immediately call Adapter...
asked by 14.01.2014 / 12:39
2
answers

Differences and use of Strings vs. CharSequence

Many methods in Java expect parameters CharSequence , but the code runs normally when I pass String without conversion, for example: String mensagem = intent.getStringExtra(MainActivity.MENSAGEM); TextView t = (TextView)findViewB...
asked by 17.01.2014 / 12:43
2
answers

Divide a String dynamically based on screen size

I'm working on an android app and at some point I get a String from a web-service that is pretty big, and the client wants that String (which will be shown in an EditText ) is divided into multiple parts, forming a pagination type (I thought...
asked by 18.05.2015 / 20:43
1
answer

Push android with SNS Amazon

I'm trying to push an android app, but I'm not getting the push in my app. Manifest.xml <?xml version="1.0" encoding="utf-8"?> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission a...
asked by 18.09.2015 / 02:28
3
answers

Problem with click on input

I'm developing a hybrid application for mobile, using HTML5 and JS. I have the following problem: when I click, for example, in Nickname, it opens the Sex part. However, it is very strange behavior, it only happens when it is the first time the...
asked by 15.10.2015 / 14:47
1
answer

Why serialize object to send in another Activity?

What is the explanation for serializing the object either using the serializable or Parcelable implementation. I know this serves to create a new instance of the object in the other activity, but why "can not" use the same instance...
asked by 20.08.2015 / 00:35
1
answer

Developing Android Applications Using Python

Is it possible to create Android applications with the Python language? If so, how does it work?     
asked by 14.02.2014 / 20:46
3
answers

What better way to create an app that works offline and synchronize data with the server? [closed]

I'm digging into the Mobile world, where I had the first challenge, which is to create an Android App for basic registration, name, age, etc. The complicated (at least for me) is that I have to update this data saved in SQLite from Android to...
asked by 20.05.2015 / 23:27
2
answers

How to make the use-instructions screen when starting an app

When we download an app, often when it launches it displays a screen (or several) of the app's own usage instructions ?! I would like to know how to do that. If you can not put some code or tutorial address, at least the correct name so you can...
asked by 07.08.2015 / 19:05