android-hidden-camera icon indicating copy to clipboard operation
android-hidden-camera copied to clipboard

Take multiple photo background

Open Pognio10 opened this issue 6 years ago • 1 comments

I'm trying to take more pictures in the background every 5 seconds, but give me this error Can not create handler inside thread that has not called Looper.prepare ()

Has anyone tried to do something like this or did it?

Pognio10 avatar Dec 26 '18 15:12 Pognio10

Use this to handle your problem

new Handler(Looper.getMainLooper()).post(new Runnable() {
	@Override
	public void run() {
		YOUR_CODE_HERE
	}
});

Thisishowwedoit-2Moons avatar Jan 13 '19 22:01 Thisishowwedoit-2Moons