View Single Post
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#44
Originally Posted by Venemo View Post
Well, not bad... the bad thing is: I am not familiar with any APIs about the stuff you wrote here.
Of course, if you are, you are welcome to contribute.

Apart from being an overkill for a simple notes app, this stuff would blow up the battery no matter how you try.

Anyways, the network cell ID seems to be the least power hog among the ideas - the problem is, you don't know the cell ID near the shop (unless you are there), and also there is no guarantee that the cell ID won't change until the next time you get there.
I don't think it would kill the battery.
When the N900 is not connected to wifi, it scans for wifi networks anyway all the time, unless you use WifiSwitcher.
So that is already been done, all you need is to get the info.
How? I don't know, but if you decide to go for this, i'll do my best to help you find out.
About GPS, thats even easier and there are a lot of examples on how to get a gps fix. Iv'e manage to do it with python, so I can only imagine I can do it with Qt...

Then it's just a matter of a simple IF to check if you current XY coordinates are anywhere near the ones you set for the note to pop up. I think it's a nice challenge to do this and will put amazing use of technology into a practical life need.
For example, to buy a 6 pack on the way home on a game night.
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 

The Following User Says Thank You to eitama For This Useful Post: