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
1
vote
1 answer

Transferring Cell Values Between Worksheets | Str Looper

Intended Result If a row in a table contains any of the listed strings in column L on Sheet1, Then copy the entire row from Sheet1 and paste the row into a duplicate table on Sheet2 (which would be blank at the beginning). (UNINTERESTED,…
Kobetron
  • 31
  • 4
1
vote
2 answers

Calling Looper more than once causes "sending message to a Handler on a dead thread"

I am using an Executor [fixed thread pool] with my own ThreadFactory that adds a Looper: Handler HANDLER = new Handler(); Executor THREADS = Executors.newFixedThreadPool(THREAD_POOL_SIZE, new ThreadFactory() { @Override public Thread…
Nate
  • 93
  • 2
  • 9
1
vote
1 answer

Android Starting activity from GCM

I need to run the following when i get a message from my GCM listner: public void GetInfo1 (Bundle data){ Log.d("Get Messages", "Data: " + String.valueOf(data)); final String uid = data.getString("uid"); final String infoid =…
Tanya Visagie
  • 41
  • 1
  • 2
1
vote
1 answer

Looper.prepare exception using LocationManager in external Service

I am getting the following exception when I try to use LocationManager within a custom class running in an external service: *** Uncaught remote exception! (Exceptions are not yet supported across processes.) java.lang.RuntimeException:…
1
vote
1 answer

looper.js with controls in codeigniter

I'm working on a website and I have to implement a carousel of images. My choice fell on looper.js since it is simple and lightweight. But I'm having problems in codeigniter: - I imported the style sheet. - I imported the javascript file. - The…
denis
  • 37
  • 6
1
vote
1 answer

UI thread is getting stuck on 2.3 devices

I have a pretty big app that I am working on. Sometimes when I start it on 2.3 devices, the UI thread gets somehow stuck. I don't think it is one of my own tasks, but I just cannot figure out what it is. Is there any way that I can figure out what…
SimonSays
  • 10,867
  • 7
  • 44
  • 59
1
vote
1 answer

How to post callbacks in Android to any arbitrary thread

I am using the Unity game engine which also supports exporting to Android. The engine uses multiple threads, including the UI thread and a separate scripting thread where all the user custom code is executing. My scenario requires that i call some…
lysergic-acid
  • 19,570
  • 21
  • 109
  • 218
1
vote
1 answer

Show a pop-up dialog at the end of the game on SurfaceView

I want to pop up a dialog box when the user completes the game to show his points and time. I read about the runOnUiThread and I tried to implement the solution in my code, but is not working. I get the following error: "Can't create handler inside…
user3121071
  • 21
  • 2
  • 4
1
vote
1 answer

What is wrong with my fragment implementation?

Intro: I have an IOIO-OTG Board that is attached to an android device via a USB connection. My IOIO-OTG board is supposed to launch a looper upon connection, however this never seems to happen. The only reason I believe it doesn't seem to happen is…
Nevily
  • 50
  • 6
1
vote
1 answer

How to make the working Thread communicate with the UI Thread when the working thread is launched from a service

I am using Wifi Direct that detects and connects to a device in a background service. When a WifiDirect connection is established, i launch a serverThread and a Client Thread respectively for the Server (GO) and for the Client. My problem now, is…
user3141990
  • 129
  • 1
  • 7
1
vote
0 answers

Android handling and creation of touch Events

i'm trying to figure out how exactly touch events work on android. i know the UI theard manages a Looper that receives touch event Messages through a message queue. but from there on i cant seem to find any documentation. anyone know of any…
1
vote
1 answer

initialize method to register with wifip2p framework in fragment

I am trying to call initialize method in my fragment class but it is saying that getMainLooper is undefined for this class. private void initializeWiFiDirect() { wifiP2pManager = …
Talib
  • 1,134
  • 5
  • 31
  • 58
1
vote
2 answers

Android Main Thread Looper concern

I'm writing a library, which does some intensive network work. So, I'm using a HandlerThread to carry out this operation like this: Looper.prepare(); libraryThread = new…
bianca
  • 7,004
  • 12
  • 43
  • 58
1
vote
1 answer

How would I use a Looper with an asyncTask?

How would I use a Looper with an asyncTask? The doImBackground method is called to programmatically create a TableLayout called MyResultTable. The MyResultTable, in turn, has a handler that is called by onTouch during MotionEvent.ACTION_MOVE.…
Cote Mounyo
  • 13,817
  • 23
  • 66
  • 87
1
vote
1 answer

Android - Can't receive message on Handler

A ListView is loaded from a background thread that call get values from a SQLite database and load them into ArrayList. This thread to show results call a CustomHandler, but it don't receive messages from thread. Here's a sample code : HandlerThread…
raythurnevoid
  • 2,652
  • 1
  • 25
  • 24