GPS without GPS ("GSM-GPS") - P3300, MDA Compact III General

I am going to propose some kind of challenge. Its a collaborative project. I am just dropping the seed of it and see if you want to join in.
There have been some tests on using GSM cells triangulation / fingerprinting that allow the phone calculating its current position.
A GSM tower database is needed for the different places it should work and then, with adequate software, a virtual COM port can give NMEA sentences (GPS-like position informatio) to any program in the phone (i.e. navigator, PocketMaps, position uploaders...) with a precision of 100m in town and up to 1 km in open country. (see article: http://www.placelab.org/publications/pubs/gsm-ubicomp2006.pdf).
To get the database up and running GSM-stumbling is needed. That is using a program that stores at regular time intervals a (true) GPS-derived position with the cell ID of the cells visible to the phone at that moment (cells from various providers... it is not necesary to be connected to them).
Artemis and trinity are ideal devices for GSM-stumbling.
Data gathered while stumbling could also be sent to OpenStreetMap to help them building their map.
Once the database is created, any PDA phone can enjoy the "GSM-GPS" service and use maps with a reasonable precision.
Even though I am a programmer, I have no experience in programming for Windows mobile, so it would be needed that an experienced developers get interested on this.
There is an opensource project that has quite succeded on this but the work is dying. It is written in java for Nokia phones. It is the origin of the previously mentioned article.
http://www.placelab.org
It could not get their PocketPC soft to run, but I believe that they would help in a project like this and would probably reactivate their site a little.
BENEFITS:
- Coarse GPS for Artemis while not much precision needed would allow to have GPS without draining the battery.
- Coarse GPS for phones without GPS.
- Possible derived softs using NMEA sentences (from real GPS or "GSM-GPS") that allow context behavioral changes of the phone (like comm mgr pro).
SOFWARE MODULES NEEDED:
- GSM-Stumbler (data logger of GPS NMEA sentences with Cell IDs)
- Some processing of data gathered to build local databases... Surely Placelab colleagues will help with that.
- Cells ID interpreter (translator, through the database, of Cell IDs and triangulation to NMEA sentences through a virtual serial port)
It should not be extremely difficult as most things have already be done or have been addresed in opensource projects.
(i.e. Comm Mgr Pro used cell IDs extensively)
http://forum.xda-developers.com/showthread.php?t=299070
... and the placelab team has solved most practical computational issues.
I am poining to this post from the developers main forum, so that probabilities to get a techie interested increase.
Thanks for reading. I hope this storming of ideas is useful for some of us.

This sounds like a great idea - have you tried the java client on your WM Device to see if it works (jsut in case) ?

neonkoala said:
This sounds like a great idea - have you tried the java client on your WM Device to see if it works (jsut in case) ?
Click to expand...
Click to collapse
I tried to do it, but I am not proficient with java.
Besides, it is written to work in a "normal" (not pda-phone) pda, working by a Nokia phone running a special java plug-in to serve the cell-id via cable or bluetooth... So using the internal cell-ID would need at least a minimal re-programming gathering the cell-ID info and forwarding it to the rest of the software.
I think that looking to their software by "expert" eyes is the first thing to do.

there is a ppc software which does that
http://www.navizon.com/
have fun playing with it

there is abuilt in test mode called netmonitor in all old nokia fones.this displays gsm positioning but only in hex

fallenczar said:
there is a ppc software which does that
http://www.navizon.com/
have fun playing with it
Click to expand...
Click to collapse
I am giving it a try... thanks! I will post with comments.
Its is a pity that this is not an opensource initiative, but looks pretty useful.

Related

Today plugins

Recently i was thinking about creating an app which would show me my remaining calltime with one of polish prepaid services. I imagine it would work like that:
1. receiving a specific text message with my account balance from my operator the app would capture it and store the value
2. after each call being made operator sends sms with call cost. this should be deducted from previously stored value. etc etc.
3. value should be displayed somewhere, like on today plugin...
seems simple, but theres a catch;] i can't code for WM5. i just got myself delphi 2006 today and i see it has limited CF support so i can create applicatons... but am i able to create Dlls? also i don't have clue about creating dll's at all, especialy those for WM5. is it even possible with .net? is there any chance for me?
i know, i know, i shoud start to use c++ long time ago, but i'm affraid it' might be a bit to late for me;]
ps. is there anything like WM5 sdk, any guide kit for programmers, specs of any kind? where to look for it? thanks for any help. please note, i'd like to become one of you guys, i could even be of some value;]
heard somewhere that today plugins
cant be written in .net
here is a link to the subject of today plugins
http://forum.xda-developers.com:80/showthread.php?t=234162&highlight=codeguru
thanks, gonna try it in a minute.
(today unbelievable happened - my wizards battery got empty )
interesting. i'll consider switching to c++. as far as i understand it's not normal C, its some kind of mobile oriented c? but no connection with .net? how does it work?
Ok.
C++ is an extension of C to include object oriented programming. The language is not specific for mobile devices, so any book / article on the subject will do for starters.
I taught my self C++ after learning Pascal (Delphi is for Pascal right?) in school and it was quite easy because the languages have similar structure.
Your second stop is to learn WIN32 programming. I don't know how Delphi deals with APIs and function exports (that's what you need for DLLs).
Basically WM programming is very similar to desktop windows programming, except for a few miner difference (like all APIs using only Unicode).
You can download a free development tool called eVC 4 from MS. It looks exactly like Visual Studio 6 if you have any experience with that.
Unfortunately system DLLs like plugins can not be written using .NET but if you search MSDN (I really don't remember the link), there is an article on how to use a basic C++ DLL for the plugin and delegate all the real functionality to a .NET DLL.
Good luck.
yes, delphi is much like pascal
i know it's not that hard if you mean the structure. i just don't know how to start. in fact i got myself evc yesterday, after what you say i'll take good lok at it as soon as i prepare some room on my HD.
Delphi does well with windows api - as far as i can tell, i played with theese a bit so it shouldn't be hard to catch up when starting with c++. other thing is i never did dll, although i know how it works in general, i also used other peoples dll's in my programs. will do i hope. also, Rudegar provided us with good tutorial/example on today dlls, so i hope i'll be able to expand it. the only thing, i'm a bit anxious. you say evc is good for starters? ok, going to give it a try.
what a week, four days, four new RAD environments already
delphi is object pascal which is an extention of pascal like c++ is of c
c programs should compile without any problems in c++
Hi,
I saw a way to develop today plugins in .net : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/TodayScrn.asp?_r=1
I did not try and I guess it will slow down the device as .net is not very fast, but you can try...
Good luck

alternative Bluetooth input device possible?

Hi guys,
i just want to discuss an idea I just had.
Im using my PPC mostly at the university. And since some time i was searching for an Input device I could write with and have the written stuff in a digital form when Im finished (e.g as a pdf File). This would not just minimize my paper consumption it would have some other benefits too (easy sharing etc.). Now, all the devices i`ve found use the mini USB Plug of an PPC. Since the Artemis is not capable acting as a USB Host these solutions do not work. I added a picture of such a device for better illustration.
Now the idea:
Yesterday a hack has been presented on www.hackaday.com (the direct link is below) to use a WiiMote (is a Bluetooth Device) as an Input device for an electronic Chalk-Board. Now this is an very impressive hack indeed. But could it be possible to use this particular hack in a small version for PPC`s to let the WiiMote work together with the Artemis (or any other Bluetooth equiped PPC) as an "electronic Paper" device. Just for your imagination:
- connect wiimote to Artemis then use an SMD IR Equiped Stylus to write on a paper
Im no good in coding so this is off for me... But maybe soemone could give a statement on if this can be done. I mean the software for Desktop Pcs does exist (follow the links on hakaday.com) they have "just" to be rewritten for WM6 PPCs.
Link to www.hackaday.com:
http://www.hackaday.com/2007/12/09/wiimote-projector-whiteboard/
Sorry for my bad english i hope you guys understand what I was trying to explain. Here is the picture of an conventional "electronic paper" system (found on www.pearl.de)
Regards
Jabami
I bought a Wiimote this week and a LED-array to do exactly that but for a desktop computer instead of a ppc. I've done some research on that topic and found no solution yet. Seems as if nobody is interested enough that has the knowledge and skills for porting or recompiling it for ppc.
Of course it's not really a cheap solution but you could buy a tablet pc. I bought one for my studies and I can write down my stuff and share it later on my website in "hand-written" format as mhtml, pdf or whatever. I got a Compaq TC1000, this model and the TC1100 are the only I'm aware of that can be used as slate and convertible tablet pcs at the same time. I installed my bluetooth stick on the TC1000 and it was too slow for the wiimote, or maybe the bluetooth stick, but I doubt that.
There are some reasons why I wouldn't use the wiimote for writing at university:
-As soon as the wiimote moves you have to calibrate again
-You need a good spot for it so it can see you hand all the time
-Probably needs 800 "Pentium" Mhz or more to work perfectly
In the videos I saw at johnnylee.net the wiimote was mounted over the guy that wrote on his e-paper. If you are not sitting in the middle of a room with hundreds of students then this might be a solution.
All the things you said are true, plus theres is one thing lee mentiones at the end of his YouTube Video. Its about the resolution you get. So all in all the conclusion is:
using the WiiMote as an electronic paper device will not work due to resolution restrictions.
Well but maybe there is some other way to tweak an Input device into the Bluetooth Interface of the Artemis....
Best regards
Jabami

Best Working SatNav for Desire?

Looking for turn by turn directions to replace my TomTom. It seems the only option is CoPilot Live?
Anyone seen a working version of iGO My way for Android? Used to have on WinMo and was pretty good. Their site shows lots of details but nowhere to buy (search on google for 'android iGO' and it's the first listing - I can't post URL's yet).
Navigon, Sygic are also options you might want to look at.
Currently using Sygic, but it does not have support for nordic characters æøå, so it makes address typing kinda stupid.
Also try NDrive -- I really liked it.
Nice - more choices than I realised! Anyone have 1st hand experience of them in the UK, i.e. are the post codes up to date?
pilgrim_uk said:
Nice - more choices than I realised! Anyone have 1st hand experience of them in the UK, i.e. are the post codes up to date?
Click to expand...
Click to collapse
I've played with CoPilot and NDrive -- both worked fine and I found postcodes that I needed. However, I only made one or two trips with each app.
....with GPRS Traffic updates?
Is it only Copilot that supports traffic updates over GPRS?
I find these absolutely necessary in the UK, though Copilot 7 on my THD handles rerouting very poorly indeed and puts me off the software. Is it improved in Copilot 8?
I have Sygic Mobile 10 and Copilot 8 on my Deisre. Both work extremely well. Of the two, I refer Sygic, as the interface is much more TomTom -like, (i.e. virtually identical) and therefore extremely user-friendly.
Try downloading the patched google maps and try out Google Maps Navigation before you actually buy any GPS software.
nubbin, please if you can give some reviews:
- Which one is the fastest for getting satellite lock?
- How about re-routing? Which one is better?
- Is there any GPS lag? The map direction is bit behind the actual situation
Thanks.
nubbin said:
I have Sygic Mobile 10 and Copilot 8 on my Deisre. Both work extremely well. Of the two, I refer Sygic, as the interface is much more TomTom -like, (i.e. virtually identical) and therefore extremely user-friendly.
Click to expand...
Click to collapse
I'll review them as soon as I've had a chance to play properly - I only got my phone yesterday afternoon!
I'm just trying the GPS lock - I noticed this morning that it didn't get a fix at all on my drive to work, but from my desk at work it hooks up to GPS satellites almost immediately from "warm". and takes about 20 seconds from cold - much better than my Diamond2, and very quick!
The display is superb, and big enough to look like a dedicated SatNav. I haven't got a car cradle at the moment so I haven't been able to safely assess the accuracy and scrolling speed of the maps, but I imagine with a 1Ghz processor it will be very good. I'll let you know. Personally I prefer Sygic for the user interface.
I have tried almost all of the turn-by-turn navigation soft for Android and ended up with buying a cheap PNA with WinCE and installing iGO on it. iGO for Android still is not official and cannot be bought. If there aren’t very higher requirements (just navigate me from point A to B), almost all of them will do the work. But as soon as you want something specific, you’ll find out no one can match anything more than simple navigation, which Google soon will offer for free everywhere. Probably, I would choose CoPilot if it wasn’t so buggy and if ALK support wasn’t so awful. However, despite the fact I don't test it in a real situation (because of the lack of functionality), Navigon looks as quality made soft and I like its Android integration. It has 30 days trial and at least cost nothing trying it.
When will tom tom release an android version?
Thanks all, good info so far - keep it coming! Nubbin, let us know how you get on trying it out, Sygic looks pretty good.
Somone mentioned Google Maps but my understanding was that it didn't offer turn by turn directions in the UK? I was thinking that having the maps stored locally on the device would also help reduce amount of data sent over the air but this may be negligible?
I quite like waze, the spoken instructions seem better than google navigation but perhaps that is because google isn't properly supported yet.
pilgrim_uk said:
Thanks all, good info so far - keep it coming! Nubbin, let us know how you get on trying it out, Sygic looks pretty good.
Somone mentioned Google Maps but my understanding was that it didn't offer turn by turn directions in the UK? I was thinking that having the maps stored locally on the device would also help reduce amount of data sent over the air but this may be negligible?
Click to expand...
Click to collapse
There's a patched version somewhere on XDA which allows navigation in the UK/Europe. Search for it, should be in the G1 forum.
iGO on Android
martoto said:
iGO for Android still is not official and cannot be bought.
Click to expand...
Click to collapse
iGO on my THD is by far my favourite SatNav despite it not having Traffic Updates in the UK. I asked the question about iGO My way 8 for Android on PocketGPSWorld a few days ago. MaFt was able to provide an answer. Apparently Navngo (which is a Hungarian company) is only providing "white label" Android software to OEMs, thus Samsung can install it on the Galaxy Spica and probably where it's been lifted from to be made available to the community via illegitimate routes. Though there are other methods of getting software sold to Android owners, as proven by Sygic, PGPSW surmise that their chief reason for not making it available is that Google ban apps in Android Market from East European countries.
I wrote to Navngo but typically didn't get a response (I NEVER do!) and I also wrote to HTC about whether in the absence of their SatNav partner, TomTom, on the Android platform they'd consider providing iGO instead. I did get a timely response from them but it was utterly useless ...a stock reply saying they cannot provide support for this third part application ...DUH!! That wasn't the question I asked!!
Anyhow, reading comments about iGO My way 8 on the N1 it seems that, though it runs, the GUI has only been formatted for the Galaxy Spica's 320x480 resolution and so only appears in the top corner. My recollection is that this was the case on the THD too before the theme developers got hold of it and reformatted it. Not too long later Navngo released it for the THD looking exactly the same as the developers work.
...iGO still doesn't have traffic updates in the UK(*) though - and they wouldn't reply to the email I sent them about that either!
*iGO only accepts traffic updates via RDS-TMC (no GPRS) and RDS-TMC in the UK is an encrypted, OEM subscription only service thus it's only available to TomTom owners and OEM fit in-vehicle SatNavs, and isn't received by HTC's on-board FM radios either so requires an external receiver (i.e. RoyalTek). RDS-TMC is free and freely available in Europe. I daren't suggest to HTC that they provide support for it in future - I don't know what response I'll get!!
pilgrim_uk said:
Nubbin, let us know how you get on trying it out, Sygic looks pretty good.
Click to expand...
Click to collapse
Had a bit of a drive with the phone stuck in the cup holder. Used Sygic and CoPilot and both worked extremely well. No visible lag to either, and very nice smooth scrolling of the maps. in fact the little blue pointer was spot on even at higher speeds. Clearly the fast CPU in the Desire works well in making the map refresh. The maps are very clear and easy to read. If anything it works better than a dedicated PNA such as a TomTom.
I really need a proper car cradle now. Any ideas, anyone?
JTHM said:
...
Click to expand...
Click to collapse
Thanks for that info! I really didn’t know that iGO does not support TMC in UK and I was regretting about recent PNA buy, because it has not a TMC receiver. Even I considered changing it for that.
Anyway, I have tried “leaked” version on my current device and since it has 320x480 screen there is not a problem with resolution. But actually I weren’t very impressed from iGO for Android. It requires a huge amount of free internal memory and with Qualcomm 512MHz it was very, very sluggish. In addition this is the “My Way” version, which is not so features rich as 8.3.x.
However, iGO for WinCE/WM remains the best Sat Nav solution in my opinion. It's much better than garmin, tom-tom, navigon, ndrive, sygic and all others, in terms of features, customization, speed, interface, reliability, speed cameras alerts and routing. I'm still hoping that they are going to improve the Android version as well, because I prefer not to carry different devices for every single task
Can I use my Co-Pilot Live 8 License from my old HD2 on a Android phone?
chrism_scotland said:
Can I use my Co-Pilot Live 8 License from my old HD2 on a Android phone?
Click to expand...
Click to collapse
Another user on the forum said he did exactly that; contact the company and they 'transferred' the license.

geo location application . Help !!!

i develop a geo location application my windows mobile phone is htc fuze with windows mobile 6.5
I want only to show me, Longitude and Latitude but i can't
I build this kowor.com/version/Kataskopos.apk
Does anyone have any idea ?
Isn't .apk Android stuff?
Anyway, take a look at this video and source code!
How Do I: Use the GPS Intermediate Driver to Retrieve Location Information
thx for your reply yes apk is for android platform and it works
i want to to do the same for windows mobile ...i see you video but it use gps for to retrive the position
I want something like Based on cell tower ID's so I want the program to retrieve Longitude and Latitude from the Cell
do you know how it could be ?or any idea ?
Have you searched? IIRC there are some projects around here.
Programmatically getting the CellID from your Windows Mobile phone shows how to do it in C# .net cf
Check the comments for some info on free cell id DBs.
P.S.: welcome, and you'll get the right answer earlier when defining exactly what you are looking for. For example: How to get the location by cell id (not gps) using C++.

WM sound generating question

Hi people!
I'm working on an emulator for WM platform. 95% of job is finished fine but I have a problem which I don't know how to solve.
Namely, I need to convert a small fragment of x86 code into ARM equivalent.
here it is:
Code:
__asm in al,61;
__asm and al,0xFC;
__asm mov BYTE PTR speaker,al;
and this one:
Code:
__asm mov al,BYTE PTR port
__asm shl al,1
__asm and al,2
__asm or al,BYTE PTR speaker
__asm out 0x61,al
This code is working with PC's 8253 timer chip and its 61h port. As the result we get sounds from beeper.
It is not a secret that WM devices don't have beeper
Does anybody know how to get sound from WM device which would emulate PC's beeper? I know that this question is not easy one but I hope that someone could help me.
A big thanks in advance.
You may have to do it from a much higher level by calling PlaySound() with a .wav resource of the sound you want.
http://msdn.microsoft.com/en-us/library/aa909766.aspx
I dont think you can get to the underlying hardware that easily.
By fiddling with the sound chip registers, it was possible to alter the frequency of the PC beep. Using PlaySound() this is not possible, you would need a separate wav file for each note.
Thank you, stephj for your answer
As you know, much higher level means, much slower execution A bad thing for emulation. Yes, I knew for this function but I hope that somebody could suggest something more faster.
I've tried with google to find anything about this topic and I found some articles from PocketPC (and even before) era but nothing more concrete. According to that articles, it is possible to emulate beeper on PPC but I couldn't find any code which talks about that.
I suggest that you go ask over at stack overflow, and I'm sure that you'll get your question answered in no time
It isn't a problem to ask but it is a big problem to get a good answer .
Not so many ppl understand low-level programming at all.
I still can't understand why PPC/WM programming is so poorly covered if we know that this platform exists for a very long time. It is almost impossible to find some article how to implement ARM mc in your programs.
Goshx said:
It isn't a problem to ask but it is a big problem to get a good answer .
Not so many ppl understand low-level programming at all.
I still can't understand why PPC/WM programming is so poorly covered if we know that this platform exists for a very long time. It is almost impossible to find some article how to implement ARM mc in your programs.
Click to expand...
Click to collapse
stack overflow contains the best of programmers
and I know, I wish I can learn low level programming some time in the future, stupid .Net and Java made everything so simple and stupid lol
Have a read of this: -
http://blogs.msdn.com/b/medmedia/archive/2007/01/03/windows-ce-audio-driver-samples.aspx
Your attention is drawn to the following sentence in the second paragraph.
That upper-edge is hardware independent, and all the hardware dependent code goes into the driver.
Click to expand...
Click to collapse
There are that many different audio chipsets in WM devices, that only the sound driver knows how it really works and where it actually lives. It presents a standard interface to WM above it. If you did manage to find the port/memory addresses that map to the sound chip in your device, and managed to write some code that could force a sound out of it, it probably would not work on anything else.
thank you, stephj
I'm analyzing now some emulators to check how this problem is solved there. In any case, it is impossible to produce beep sound writing a value into registers which don't exist on WM platform
Unfortunately, a small piece of x86 code should be translated into a large C code with APIs.

Categories

Resources