Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take multiple photo background #48

Open
Pognio10 opened this issue Dec 26, 2018 · 1 comment
Open

Take multiple photo background #48

Pognio10 opened this issue Dec 26, 2018 · 1 comment

Comments

@Pognio10
Copy link

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?

@Thisishowwedoit-2Moons
Copy link

Thisishowwedoit-2Moons commented Jan 13, 2019

Use this to handle your problem

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants