So I wasn’t exactly sure what to search for when I needed an answer to this problem, hence the crappy title, so I’m sorry of this is a repeat Q but I was hoping for some suggestions on how I should approach the following project:
- An application similar to Google’s Chrome to Phone but…
- Much more functional
- Much more scalable
- Bidirectional (PC to phone and phone to PC)
- Add in clipboard sync
- Needs to be fast in order to be useful
- Not a chrome extension but a PC application (Java?)
The way I initially wanted to go about it is creating a web service where clipboard data and other requests could be passed onto the phone or PC using polling but (and I’m not sure how accurate this is) this could seriously harm battery life on android if I’m polling every few seconds for clipboard data and if I’m conserving battery life by not polling as frequently, clipboard data becomes less available.
Any creative solutions? (or blatantly obvious ones that I’m not seeing)
Thanks in advanced!
Rather than polling, you should use Android Cloud-to-Device Messaging (C2DM).