Questions tagged as 'android'

1
answer

ADB via Wi-Fi disconnects when I connect USB accessory

I'm using ADB over Wi-Fi to work with USB (Android Open Accessory) accessories. For some tests it is necessary to disconnect and reconnect the USB cable to the mobile phone. Whenever I connect the USB accessory to the mobile phone, the ADB switc...
asked by 30.09.2014 / 16:04
1
answer

How to parse an XML response from the Web Service

Hello, I would like to know how I parse an xml response that I receive from my web service .. In case, I'm doing in Android, and wanted to transform the values and names that display in xml, into variables to be applied a graph with them .....
asked by 25.09.2014 / 15:22
1
answer

Error importing project into eclipse

I'm trying to import a project that I've saved. However, when I import, the file style.xml , gives error in this line: <style name="AppBaseTheme" parent="Theme.AppCompat.Light"> With the message:    retrieving parent for item...
asked by 21.11.2014 / 21:42
1
answer

Installation error: INSTALL_FAILED_CONTAINER_ERROR app Eclipse

Hello, I'm having problems with an app .. I'm trying to run in AVD, but it does not work in console Installation error: INSTALL_FAILED_CONTAINER_ERROR.. I've been on Android Manifest and switched android:installLocation="preferExternal"...
asked by 29.09.2014 / 01:19
2
answers

EditText is deleted when I use setSelection () within the onTextChanged

I'm trying to put a phone mask using the onTextChanged method, the text received in this method is coming back, and when I try to put the setSelection () method so that the cursor positions at the end, my EditText is off, in...
asked by 10.11.2014 / 11:37
1
answer

Using ImageView to upload photo gallery

I want to make a program that I upload a photo to a ImagemView of the Android gallery. I need a code to open the gallery and save the image as if it were for a profile.     
asked by 06.11.2014 / 01:17
1
answer

Using classes from the java.util.concurrent package to multiply arrays in android?

I was doing this program to multiply arrays, I saw that it correctly calculates the result, but there is no performance gain by putting more threads, often even worsening performance despite being running on a quad-core smartphone. I would like...
asked by 10.11.2014 / 14:43
1
answer

Web Service Java on OpenShift using Tomcat 6 (JBoss EWS 1.0)

I'm trying to create a Web Service in JAVA to be consumed by an Android application. I need to use a Cloud technology, and only found OpenShift free and best recommended for now ... Well, I've already created my project in Eclipse. I already hav...
asked by 31.03.2015 / 05:02
1
answer

Error trying to create a connection to the database (MySQL)

I tried to make a connection to the MySQL database using AsyncTask , but it is giving error in the class responsible for the connection, MysqlConnect :    The Log () constructor is not visible I'm following this tutorial and...
asked by 13.02.2015 / 20:41
1
answer

How can I generate a hexadecimal code from another sequence of numbers?

I'm doing a code generator app, I need to generate a hexadecimal code from the code entered by the user and show this generated hexadecimal code. Could someone explain to me how I can get to this? I'm a beginner in this area.     
asked by 11.02.2015 / 19:57