After searching for similar questions here on StackOverflow, I've come to the understanding that you cannot run 2 activities simultaneously. Is there any way around this?
I've read about Services
and Asynctasks
, but I'm still a little bit confused.
I thought Threading/Intents/Handlers
would work, but i'm finding that threading is a way to go from one activity to another (please correct me if I'm wrong) and not running two things at once.
Let's say I wanted to combine an android MediaPlayer
activity and a video recording
activity, while still being able to have the two interact with each other, would it be possible in android? is it possible to have the camera running while having a video play/having a separate activity run within the same application? If so, How?
I found a question here that addresses a similar issue(https://stackoverflow.com/questions/12021518/android-simultaneous-record-and-playback-different-sources), But it is unanswered.
Any suggestions or advice will be greatly appreciated!