Questions tagged as 'android'

2
answers

How do I delete a specific item from a ListView?

I would like to ask a question: I have a ListView , where your adapter is clarified in the same activity and the contents of adapter (the strings ) are in another class, in another package. How do I delete a specific item from Li...
asked by 21.05.2014 / 17:17
1
answer

How to resolve the NetworkOnMainThreadException error?

I'm having an error in passing the HTTP Client from JSON to Android. Follow my code in JSON: // constructor public void JSONParser() {} public JSONObject getJSONFromUrl(String url) { // Making HTTP request try...
asked by 18.06.2015 / 14:27
1
answer

How to make a smooth animation on ProgressBar?

I am trying to implement a smooth animation in my ProgressBar , but if I increase the duration time, the animation will no longer be "smooth". Example with 5 seconds: Examplewith30seconds: ProgressBar background: <laye...
asked by 10.06.2015 / 22:36
1
answer

Generate an APK on a server

I was thinking of an architecture that would work as follows. The user would have a series of parameters to populate and automatically generate code there click in a Buttom, be it in web or mobile would generate an apk application with t...
asked by 10.02.2018 / 12:03
2
answers

Space between Edittext and android keyboard

I wonder if it's possible to put a margin to space the edittext keyboard so it does not look this close: ThexmlofhowIamdeclaringtheEditText:<EditTextandroid:id="@+id/editTextNome" android:layout_width="match_parent" android...
asked by 14.05.2017 / 23:41
2
answers

My app does not appear on Google Play on tablets

I developed an application, then I immediately published it on Google Play , accessed through the phone and installed correctly. However, when accessed by the tablet, the application is not listed, if accessed by the PC, the message that is n...
asked by 03.11.2014 / 18:34
2
answers

Error executing the cordova build command

I'm running the command build cordova (after finishing the settings exemplified at this link: PhoneGap The Command-Line Interface ). But Node.js returns this error:    Generating config.xml from defaults for platform "android"   P...
asked by 19.02.2014 / 15:34
1
answer

Draw route above the street on the map

I have a feature that captures gps positions every 10 seconds. Every 30 seconds or if there is a 20-degree change in bearing (I compare the last position with the current one) I store to send to the service. After, the user can vi...
asked by 01.09.2016 / 15:02
1
answer

The Horizontal ScrollView of a TextView slide automatically when inserting dynamic text

I have a simple layout as shown below that has a ScrollView horizontal when it exceeds the limit of TextView . But I would like when inserting text the focus of TextView always stays in the last value entered and do...
asked by 06.01.2016 / 22:15
1
answer

Verify that an application is installed on the device [duplicate]

I need help verifying that an application is installed on the user's device. Situation 1: I need to search the user's cell phone and check if there are some applications installed. If you find these applications installed, return a list of...
asked by 08.01.2016 / 14:53