android - How to access activity information -
i android beginner please forgive if question might sound silly. had app idea youtube video or web page open on smartphone transferred laptop screen detecting particular forward phone motion-gesture. program that, realized need have access browsers web page or video url youtube app playing. initial research seems me android system doesn't keep piece of information. correct?
the end solution seems me code own browser or maybe enhance existing open source one. looked possibility of accessing temporary files on phone through program location /data/data seems accessible root guess. intended app run background service later expand idea other places transferring , opening pdf file on laptop etc in similar fashion. there way around can access similar information running application?
for showing youtube video , check 1 out: http://code.google.com/p/android-youtube-player/
also , isn't easier transfer url alone other device instead of sending entire video? in multiple ways : bluetooth , wifi , qr code ,usb , morse , ... possibilities countless .
about accessing other apps data , app must provide in way , since apps protected each other (using sandboxing) . youtube , can "listen" youtube urls (via intent filter) allowing user choose app instead of youtube app (or other app listens it) .
about /data/data , correct , rooted devices can reach , or own app if access own folder (which /data/data/your_app_package_name) .you can reach folder on emulator .
it's quite easy root device . novice users can via third party app . here's worked me on both galaxy s , galaxy s2 : http://www.unlockroot.com/
Comments
Post a Comment