tags:

views:

66

answers:

1

I know this in general is beyond the scope of SO, but I am looking for some basic yes/no info to see if it is even feasible to proceed... I am thinking about building and Android 'note-taking/annotation' app that runs 'over' other installed Android apps, such as the web browser for example.

Essentially, while the user is browsing, my app would be running in the bg as a service, and then they could activate it which would then essentially intercept user inputs and translate those on a transparent canvas over the web browser into lines, shapes, etc. The user could then take a screen-cap of their marking with the underlying web page, which would be stored to the sd card.

I haven't seen any tutorials, etc on this kind of app interaction, and just wondering if it is even possible.

Thanks for any info!

+2  A: 

This is a very good idea and a great question, but sadly, I do not believe it is possible.

The way Android is designed only one Activity can have focus at a time, while a Service could run in the background, the user would not be able to interact with it. The user can only interact with the currently active Activity.

Again, love the idea, but it is sadly not supported.

Andrew Guenther
I believe this answer is correct but you may be able to get a little clever with shortcuts so a certain key combo (Search-N) for example might switch to your app and allow note taking. The user could then "Back" to the previous app. I don't believe you'd be able to determine what that app was though - The joys of a sandboxed environment :)
Basiclife
How would you set up the key combo though?
Andrew Guenther