Call and Message tracker using C# on .Net Compact - Windows Mobile Development and Hacking General

I'm planning to develop a simple app for Smartphones generally and my friend's O2 XDA II mini (Is that the 'Magician'?) specifically.
The objective is to allow users to track the number of calls made or messages sent to a particular number or series of numbers which will be decribed by a wildcard string.
Basically my friend's subscription package from his service provider (Hutch) allows for 400 free calls to non-Hutch numbers and 800 free calls to Hutch numbers per month. So practically, all Hutch numbers begin with "9886", so a profile associated with the wildcard string "+919886??????" (+91 is the code for India) can be created by the user and all calls to numbers matching this profile will be tracked. Pretty basic kinda program.
Now, I'm relatively a noobie to Smartphone development - I've done some basic stuff using Visual Studio 2003 (Academic) and the emulator - never with an actual device.
Can anyone tell me where I can get emulator images for the XDA II mini? Further, I would greatly appreciate any advice or suggestions from the community. Better still, if any of you guys already has a program to do this, please tell me :wink: - it would save a lot of trouble!
I'm planning to develop using C# on .NET Compact 1.1
Oh, and any dev experimentation I've done so far was either on the Pocket PC or on the Smartphone. Anything I should know about coding for a device which is a combination of both these types?
Thanks.

hi
this looks like an idea that many could benefit from.. if you are making this application i would suggest you make it so that we (the non indian and non hutch users) can use it aswell...
good luck and keep us posted

Related

Where can I get SDKs for XDA II?

I saw a lot of programs developed for XDA II, and they are for XDA II only. So it must be a SDK documents somewhere, otherwise no-one can write codes specific for XDA II, Am i correct?
If so, could anyone tell me where can I get the XDA II's SDK?
Thanks in advance
SDK is the PocketPC2003 SDK available free from Microsoft.
It really needs embedded Visual C++ 4, also available free from Microsoft.
http://www.microsoft.com/windowsmobile/default.mspx
They'll also send you all the tools on DVD for a small handling fee, as they are huge downloads.
andyclap said:
SDK is the PocketPC2003 SDK available free from Microsoft.
It really needs embedded Visual C++ 4, also available free from Microsoft.
http://www.microsoft.com/windowsmobile/default.mspx
They'll also send you all the tools on DVD for a small handling fee, as they are huge downloads.
Click to expand...
Click to collapse
Sorry, I didn't make myself clear.
I have the generic SDK from MS, what I need is the SDK for XDA II, it should come from XDA II's manufacture.
Thanks
well there are not xda2 stk
but there are a collection of stk's
one of them is ms's
another is the one which the cam program uses
another is the stk of the ati 2d chip
i think ati will give you their sdk if you reg at their site or something
dont think the cam's sdk is something they would let people get their hands on
a xda2 sdk would be like having a dell Latitude sdk
it dont work like that
Rudegar said:
well there are not xda2 stk
but there are a collection of stk's
one of them is ms's
another is the one which the cam program uses
another is the stk of the ati 2d chip
i think ati will give you their sdk if you reg at their site or something
dont think the cam's sdk is something they would let people get their hands on
a xda2 sdk would be like having a dell Latitude sdk
it dont work like that
Click to expand...
Click to collapse
Thanks, where is the website for ATI? could you post a link please?
BTW, what I need to do is to develop GSM related applications specific for XDA II, say, timed SMS sending. It is best if I can plug my apps into their build-in apps like SMS (it does not have timed SMS sending options)
Aha you're after the device SDK for the XDAII. You want to know what drivers are supplied and how to use them to control the specific hardware at the lowest level, e.g. ATI graphics, Radio hardware, Camera, Bluetooth, Buttons, comms, etc.
... unfortuantely HTC are an absolutely closed shop. Getting any information out of them is like getting blood out of a stone. A particularly hard and bloodless stone.
This site is really the closest thing we have, although as mentioned above you might have some luck with the specific hardware manufacturers such as ATI (although they are also notoriously unforthcoming). There's also sourceO2, who have similar level of knowledge about supporting low level development on the XDAII as a particularly stupid earthworm.
Usual rant follows... If only the device manufacturers would properly open up their products to developers, they'd see a wealth of applications developed that'd make their hardware a real "must have". They probably think it'd eat into their profits on the next device they produce, which is all they're interested in really.
Incidentally, you can both send SMSs, and use the notification subsystem to schedule an app to run at a particular time via the PPC2003 API. So it'd be fairly simple to knock up a client-side SMS timed sending application wihtout hacking RIL.
Hi, andyclap
Thanks a lot for your informative reply.
I am not actually developing very low level applications. What I planned to do is to develop some value added little programs that could be a plug-in or such a kind.
To make myself clear, I can use an example to explain what I might want to do:
The build-in SMS program does not have the feature the let you send a timed (scheduled) SMS. I am wishing to do is:
insert a menu item into its original context menu (tap-and-hold on SMS message body), you can choose to send at specific time
Anyone have an idea?
build in sms programs are not something which would make it a special xda program
all pocketpcs would be able to use that
that is unless you want to block your application somehow from being used on other pocketpc's then the xda then i suppose you need to access some reg indentifier or something
you want me to give your the link to ati ?
well if you are too lazy to type it then i suppose I must
http://www.ati.com/products/handheld.html
Hmm this may be quite hard to do, as I the messaging system is quite unextensible. It's fine if you want to create a new format from scratch, but extending an existing form handler is, I think, impossible.
Some low level dirty tricks (subclassing windows etc) might work, but would be pretty tricky to do, and very hacky.
I just wish somebody would give the PocketPC team a Symbian SDK, Symbian really got it right when it comes to messaging.
Yes, i can write a new SMS program, but it will need me to deal with Contacts object. I mean, I have to write code for fetching data stored in the build-in contacts database. If I can just plug my function into its contextmenu, I will only need to implement a simple function program (setting date/time, save phone number and message text, create a notification, etc).
Using SetWindowLong can hook into the *****, but this program model is some kind of fragile, very easy to crush the system or the apps itslef, not really stable if not tested thoroughly

I've managed to compile cryptophone for PocketPC 2003

I've build a version of crypto phone for PocketPC 2003. ( unsing the sources from www.cryptophone.de ),
with some workarrounds for license test.
I don't have two phone to test it yet. If anyone can test it please send feedback.
As i see it use data call as link layer so your provider must suport it.
PS: Who's testing it , please send feedback.
I've tested in my Qtek 2020, (XDA II, MDA II…).
Is it working? I was able to compile it too, but it died on exchanging keys.
mamaich said:
Is it working? I was able to compile it too, but it died on exchanging keys.
Click to expand...
Click to collapse
Don't work. :-(
I have programmed 2 xda 1 with wm2003 and the crypto, it works perfectly. The only bug is the "file" bar vanishes after a call is placed or received, other than that its great. 8)
Can you post what you changed in the source file in order we could reply your compiled code?
The idea is simple, if we can have access to the original source code and can do the changes you documented, generating the same code as you, with the same hash value for the encrypted code, we can assure that your code have the same security of cryptophone.
dumb ?
what is cryptophone?
Hi,
i am very interested in this (or a similar) software for
the Wallaby or Himalaya platform.
Anyone here who has a working & easy too install binary?
(Or are there any real free & opensource applications like cryptophone?).
kind regards,
Ben
Has anyone managed to get cryptophone working on the XDA ??
... or find a similar program ??
Regards
There are several similar commercial projects. Just wait some time for their announcements.
mamaich said:
There are several similar commercial projects. Just wait some time for their announcements.
Click to expand...
Click to collapse
Hi mamaich,
thnx for that prompt reply
I know about cryptophone.de, raseac.com.br & caspertech.com
Are there any others I have missed ??
Regards
John
2-3 russian companies are also working on similar projects. I don't know their sites.
cryptophone Somebody to compiled? for motorola smartphone mpx220 :?
one more company.
http://www.securegsm.com
and question - where is source download page on http://www.cryptophone.de ?
in general "cryptophone" application isn't difficult
- good vocoder
- some crypto
- good realtime data transfer - CSD for GSM network
- some audio components like AEC
could some one point me to good ARM implementation of vocoder with 2.4-4.8kbitps bitrate? ARM9(v5) PXAxxx ~100MIPS.
Free is preferable, but reasonable commertial offers are welcome too.
just a question,
isn`t it possible with the sourcecode of this software and the sdk for windows mobile 2003 smartphones to make a installer?
is very interesting, or?
is there any other software for ppc or smartphone avalable?
a free wm5 client for this should be awesome! coders go compile now!
is the encryption limited to "only" this version of application ?
- or is there some sort of standard ?
ryhor said:
one more company.
http://www.securegsm.com
and question - where is source download page on http://www.cryptophone.de ?
in general "cryptophone" application isn't difficult
- good vocoder
- some crypto
- good realtime data transfer - CSD for GSM network
- some audio components like AEC
could some one point me to good ARM implementation of vocoder with 2.4-4.8kbitps bitrate? ARM9(v5) PXAxxx ~100MIPS.
Free is preferable, but reasonable commertial offers are welcome too.
Click to expand...
Click to collapse
here
http://www.cryptophone.de/support/downloads/downloads.html
Lord Ashmedai said:
I've tested in my Qtek 2020, (XDA II, MDA II…).
Click to expand...
Click to collapse
Hi, did you manage to get it to work?
I tried on my O2 xda... it hung on the key exchange part...
It concerns me that this program starts two processs, spcore.exe and ui2003.exe. I have not looked over the code, but can you tell me why it must use two. Furthermore once they are going there is no way to stop the spcore.exe. My guess is that if that process contains the thread that is waiting for tapi events, its stopping mechanism has not been implemented properly. If you want to make a thread that is waiting for the event for line state then when the user wants to stop the thread/process, the event interest needs to be reset. eg SetCommMask(hSerialHandle,0); ,but it must be done from the ui thread not the waiting thread because obviously the waiting thread cant do anything. Once it is set to 0 (as apposed to EV_RXCHAR for example) the waiting thread will finish waiting imeadiately.
I tried sending a message to destroy the window with no effect, I then tried using terminatethread to stop it but that did not work so it must be in an api call (such as waiting).
On my mini it starts up ok, and dose not interfear with the phone. I could not test the functionality because the only other phone I had with me was my xda and it dose not install corectly on that. No error messages on intalation but the icon in the program files is not shown properly and it fails when I try to start it.

What about a beginner's guide/development tools sticky/wiki?

Hi,
I am trying to get the ball rolling on PPC development, and I am looking for information on how to do it.
I believe xda-developers could have more detailed data on how to get started on development, useful tools etc, and this data could be presented on the wiki and have a sticky link here at the forums, so that the information can be maintained with ease by us.
For now, I have added this:
http://wiki.xda-developers.com/index.php?pagename=Development Tools
Which has only a little amount of information, about the standard tools. Naturally, it will be better if we can find a way to substitute Visual Studio with a free tool...
If other people have more information to share, please contribute.
Hi Joe!
I think this is a great idea, as posts about this stuff keep popping up every now and then.
I took the liberty to add info about some free tools from MS to your wiki page, but this is my first time with the wiki so if I did it in some improper way, feel free to edit it.
GSM AT Command set
is there any thing to access AT command set for XDA O2 GSM phone?
and any resource you guys know about how to develop phone dialing software for O2 mini?
i m thinking about doing Call Blocker software if i get those resource.
is there any way that i can use AT Command set in PocketPC?
thanks
Re: GSM AT Command set
tinkyawoo said:
is there any thing to access AT command set for XDA O2 GSM phone?
and any resource you guys know about how to develop phone dialing software for O2 mini?
i m thinking about doing Call Blocker software if i get those resource.
is there any way that i can use AT Command set in PocketPC?
thanks
Click to expand...
Click to collapse
You don't need any development information here at xda-developers because all the information is given in Standard Developoment Kit's (SDK) Documentation. Just download the latest "PocketPC SDK" from ms and be happy!
ps: you owe me your call blocker

Phone usage monitor

Im looking for a usage monitor which basically will predict my bill for the coming month. It needs to monitor gprs (like spb does) phone calls and text messages.
I have googled for this program, but with no luck.Therefore, im looking to develop it myself, probably using C# with visual studio 2005. I m downloading the trial, but as a user with no experience im going to be using msdn a lot while developing. Does anyone have any good guides for c#? because all the google results are either rubbish or expensive.
And, would it be better to program in a different language? [Ive looked at C++, but seems too complicated with no experience]
Also, what are some of the popular apps written here on xda-devs written in? [eg melody, slide to unlock, oto, schaps' programs etc]
Any if anyone knows of a product like this that already exists, please tell me, and save me some work.
And, does anyone know a way to get msdn premium subscription on its own or cheaply? As i think its a great resource just waiting to be tapped.
Thanks to you all here in the great developers forum, I just want to be considered on of you greats some time
Rory
x

Programming a database-driven application

Hey guys,
I've been contracted to write software for a company who is looking to have their Windows mobile phones access data on a company database. We are starting this system brand new, so the server has not been purchase, we have not decided on a DBMS, and even the programming language has not been determined (leaning towards .NET). We are in the first planning stages.
I will be using Visual Studio 2005 because they will be using Crystal Reports and because I figure it might be a little easier developing for the WM6 environment.
I would like to know if there are certain types of databases that are easier to program for WM6 .NET. We won't be implementing this feature until the rest of the system is up and running, but we want to make sure that once the company is ready, we can go ahead and write the software.
So, what type of database does everyone recommend to use for WM6 programming? Also, how exactly does the phone connect to the database? I don't suppose there's some sort of ODBC settings?
I've never programmed for WinMo before, so I appreciate everyone's help and patience!

Categories

Resources