Questions tagged [looper]

A JQuery plugin for carousel. No coding required.

It is a JQuery carousel plugin to cycle through content with minimal coding. It has minimal transition effects and uses JQuery's animate function. Keyboard navigation is also available.

190 questions
0
votes
2 answers

When should we use Looper in Android?

Can someone please tell me when we should use Looper in Handlers? I have a codebase in which there are multiple threads and handlers. But Looper.prepare() and Looper.loop() is not called for all of them. My doubt is do we need looper to continously…
Shamy
  • 379
  • 3
  • 15
0
votes
1 answer

Broadcast Receiver and Toasting

All, I have a broadcast receiver that does not have an associated layout or any activities. It is listening for some to unplug something from the audio jack. I have been able to get my receiver to work and raise a notification. My question is how…
ControlAltDelete
  • 3,576
  • 5
  • 32
  • 50
0
votes
2 answers

AsyncTask cancel method throws handler error

I have a simple activity in which I start an AsyncTask with a button and stop it with another. In AsyncTask I use a LocationListner to get updates from the GPS sensor and calculate the distance between obtained Locations. When I press the start…
-1
votes
1 answer

I want to take input for while loop by user and i want download the end result

Actually I was writing a program in python to create a audio lopper I want to take input from user for no of times to loop and and i want to download the file can any one help me count = 0 while count < 108: import playsound import…
-1
votes
1 answer

Can't create handler inside thread that has not called Looper.prepare() for weather app

I am making a weather app for a school project and ran into a little problem. I saw a lot of people asking this question and i tried many answers but it didn't work me. I am really new to this stuff and so its possible i didn't implement those…
-1
votes
1 answer

How can i handle my Looper in an OnClick method to run a function with delay?

I would like to be able to run my specific method in background through a looper in an on click event, is this the right way to do this? myThread = new LooperThread(); myThread.start(); upload.setOnClickListener(new OnClickListener() { …
-1
votes
1 answer

looper.prepare an ui thread

I am trying to use an SDK that seems to need to create a handler into my service. A error message appeared saying that I can't create handler if the thread has not called Looper.prepare(), so I do call Looper.prepare() and this problem…
Laetan
  • 879
  • 9
  • 26
-1
votes
1 answer

Can't create handler inside thread that has not called Looper.prepare() Xposed

I 'm starting with Xposed module and gives me an error I do not understand . Use a ColorPicker to choose a color and then use the module, colorPicker works perfect I then apply the code if I put the color in the code,Color.Black works... …
-1
votes
1 answer

Recording and playing byte list in pyaudio/wave

I want to record and play my voice using pyaudio and wave lib but I don't know how to do it because wave lib requires a path to a file and even if I'm trying to set it as a variable with list of bytes recorded a few second ago, still doesn't work…
Kamil Zieliński
  • 357
  • 6
  • 13
-3
votes
1 answer

NullPointerException with Looper

please help me with this. I created a progress bar and update its progress programmatically every 100ms as soon as the application starts(Yeah, it sounds odd, but just for messing-around purposes only). But everytime I run it, I keep getting a…
Biu
  • 1,066
  • 10
  • 18
1 2 3
12
13