Questions tagged as 'android'

2
answers

Error when setting Background [closed]

When you try to change the background (image or color) the following error occurs. What can it be? MY XML 07-22 20:29:52.223 4967-4967/? E/AndroidRuntime﹕ FATAL EXCEPTION: main java.lang.RuntimeException: Unable to start activity C...
asked by 22.07.2015 / 22:37
1
answer

How do I get the string of a parent JSon or JSon in array format?

I have the following JSON : String json = "{\n" + "\n" + " \"Pessoas\":[\n" + " {\n" + " \"NomeHomem\":{\n" + " \"Idade\":1\n" + "...
asked by 18.06.2015 / 16:13
1
answer

Android and HTTP request field X-auth-token

I'm trying to send a token through an Android application in the 'X-auth-token' field of the header. This request is sent to a PHP server, in which I use CodeIgniter. Android HttpClient httpClient = new DefaultHttpClient(); HttpPost...
asked by 19.05.2015 / 21:47
0
answers

Credit Card Payment [closed]

You can make a payment system via credit card , but without using PayPal , PagSeguro , PagamentoDigital or Other? Card Companies provide some kind of Code , API in>, or SDK ?     
asked by 08.09.2014 / 20:37
2
answers

Quick Scroll Bar in alphabetical order

I've already found some examples with a custom view from a list with an quick scroll bar , but I did not really find a scroll bar that really looks like the one in the contacts list my kitkat I do not understand why this is not a native elem...
asked by 15.04.2014 / 22:31
1
answer

In-app purchases via the operator

Nowadays in my application, I use the in-app-billing system, but I would like to know if there is any possibility of selling and charging for the user's device operator credit. Is it possible? At one time I was able to make purchases through...
asked by 26.11.2014 / 20:00
2
answers

Android with Web Service PHP [duplicate]

Does anyone have an example of what it takes to retrieve data from an external database without needing to use JDBC?     
asked by 12.12.2014 / 20:40
2
answers

Error adb: The connection to adb is down, and a severe error has occurred

I'm developing for Android and am having the following error: The connection to adb is down, and a severe error has occurred. -You must restart adb and Eclipse. Please ensure that adb is correctly located at 'C:\Program Files\Java\adt-bundle...
asked by 19.11.2014 / 20:39
1
answer

NotificationManager causes error java.util.ArrayList can not be cast to java.lang.CharSequence [closed]

I'm doing an Android app and am having a question while generating a notification. Here's a snippet of code: public void gerarNotificacao(View view) { NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);...
asked by 07.12.2014 / 19:01
1
answer

Send and receive image via WebService

I'm developing an app where I need to convert an image to JSON and send it to a WebService. Afterwards I will need to perform the inverse path, that is, receive a JSON image from a WebService and present it to the application user. Well, to s...
asked by 20.05.2014 / 06:41