Questions tagged as 'android'

2
answers

Bring QR Code data to my fields

I'm reading a QR Code as per the code below: // Botão para abrir câmera e usar o QR Code (Irá abrir a Store para baixar um app nativo) btnQR = (Button) findViewById(R.id.btnQR); btnQR.setOnClickListener(new OnClickListener() {...
asked by 28.10.2015 / 12:07
1
answer

Custom ListView

Well, I have a listview that loads data from a database. These data are numbers themselves, and I would like to be able to differentiate them. Type ... if the number is zero I would like it to be a specific color or bold. Or anything else that s...
asked by 23.05.2015 / 23:22
2
answers

Convert JSON to UTF-8 on Android

I have JSON Array and when it is displayed in ListView on Android, it appears with special characters: JSONgeneratedbyphp:[{"id":"1","titulo":"X-Burg","descricao":"Hambúrguer,...","preco":"R$ 7,50","tipo":"0"},{"id":"2","titulo"...
asked by 03.09.2014 / 14:09
3
answers

Parse JSON Complex

I'm trying to parse a JSON, using GSON, but there is a complex part, because I do not know the name of the keys, so I do not know what names to use in the variables for GSON to parse. I searched and it looks like I have to use Map < & gt ;, b...
asked by 27.08.2014 / 16:58
1
answer

Failed to install OlaMundo.apk on device 'emulator-5554': EOF

Occasionally when trying to run my application in the emulator I run into the error:    [2014-07-23 20:59:09 - OlaWorld] Failed to install OlaWorld.apk on device 'emulator-5554': EOF   [2014-07-23 20:59:09 - OlaWorld] java.io.IOException: EO...
asked by 24.07.2014 / 02:24
2
answers

How to leave responsive components in various screen sizes

Hello, I wanted to know how to leave the components responsive to various screen sizes, eg: I have an imageview but it gets a size on the tablet, and the same size on a small cell phone, ie on the small cell phone it will get great. I would like...
asked by 24.07.2014 / 07:44
1
answer

How to change the version of the application in android studio? [duplicate]

I'm about to launch an application and I know that at some point I will make updates, but I did not find in the tool the place to change the version of the app, since it is different from Eclipse ADT, which was in the androidmanifest itself. A...
asked by 05.03.2015 / 21:21
1
answer

How to customize the row of a ListVIew according to the value in the ArrayAdapter

Assuming that I have an object called Item, and that it has text, id, and validation properties, in this case, text is a string, id is an integer, and validation is a Boolean value. class Item { private int id; private String texto;...
asked by 25.09.2014 / 15:03
2
answers

Database in hybrid app using Cordova

What are the most feasible and feasible solutions for using a database in a Hybrid APP (Android / iOS) made in Intel XDK (Cordova)?     
asked by 11.03.2015 / 12:50
2
answers

How to update the APK of my application, when the user requests?

Explanation: I have an application that is constantly made enough changes, and every time I do, I generate a new version with the same Private Key ( Keystore ), ie when I send the new < strong> *. APK install on the device no configuration i...
asked by 12.03.2014 / 15:28