Questions tagged as 'android'

0
answers

Problems taking data from different TextView

num is a number that tells me how many textView and spinners are in use cadenaN is where I am taking the data of the spinner and chain T is where I want to store the data of textView . I have several textView with the...
asked by 07.08.2018 / 03:16
0
answers

Your application has stopped WebView

I have developed an application that consists of a Main Activity and 9 other activitys, 6 of these activitys only contain a WebView The problem: When you open one of these WebView activities, nothing happens, but when you open a WebView fo...
asked by 01.08.2018 / 17:42
0
answers

Print usb android

I am trying to print a String through a USB printer. I use the following method: public void printMessage(Context context,String msg) { // TODO Auto-generated method stub final String printdata = msg; final UsbEndpoint mEndpoint...
asked by 01.08.2018 / 15:53
1
answer

How is Google Cloud Messaging to send messages?

Someone knows how they use GCM (Google Cloud Messaging), applications like WhatsAuto or similar, to send messages to my WhatsApp contacts, I got the WhatsAuto message and I saw that they have these permissions. <uses-permission android:name...
asked by 29.07.2018 / 20:51
1
answer

How can I run a service in the background without stopping?

The problem I have, is that when you launch the service in the background after 5 min it stops. It also stops when you block your phone or close the app instead of minimizing it. What I want is to launch the service and keep it running wi...
asked by 30.07.2018 / 08:49
0
answers

Problem with calling a JSONTask within a Thread

I have a small code to connect by Bluetooth to a device and send a small string, but apart from this, I have a JSONTask in asynchronous, and I call it onPostExecute, my problem is that, I need to call it every certain interval (waiting the refre...
asked by 26.07.2018 / 00:24
0
answers

in my android studio the components that I am adding are not displayed.

[! [when I add a button or another one is not shown] [2 *     
asked by 26.07.2018 / 00:34
1
answer

One button ends the loop and the other button continues the loop, Cycle Do While

My app consists of a cycle "Do While" and two buttons, I want that when I touch the first button (finish), the cycle ends and the code of the loop is executed. But raise the other button (more), the cycle is restarted and the loop is repeated. T...
asked by 28.07.2018 / 02:27
0
answers

Change the time of Intent.ACTION_TIME_TICK

I have the following code that sends alerts when the expiration time is over, the problem is that it is sent every minute and it is very tedious since the ACTION_TIME_TICK sends the alert every minute, is there any way to send the same message b...
asked by 26.07.2018 / 17:53
0
answers

I can not update Play Services

I am using android 6.0 r3 from androi-x86.org in virtualbox and when I want to update the play services (to run any application) it pulls error -504, already try to delete account, cache, install the apk and nothing, it does not go. I have to us...
asked by 24.07.2018 / 13:22