Hi Folks,
I created a simple bluetooth scanner for my universal. In fact it "should" run on every device which
a) is = or > PPC2003 (inkl. WM5)
b) has the MS bt-stack running
It'ss nothing big and I'm sure some people are missing features like saving the scan results or bluejacking and so on. But hey, it's my first c++ program and in addition my first program for PPC.
I will add features (like the above mentioned) WHEN I have time to do so.
Now to the program itself:
It's simple, start it and press "SCAN". After some devices have been found you can start an SDP query by pressing (you guess it ) "SDP"
In the device list: COD means "Class of Device" (see bluetooth specification for more info).
In the output window, when the sdp services are liste, "ChId" means Channel ID, which is the RFCOMM Channel the service is listening on.
The programm works in landscape mode. I will all some code for switching between landscape and portrait later.
However, I'm not sure if someone finds this usefull. If so -> Enjoy, it's free. If not -> delete it...
Comments are welcome...
Cheers
EDIT 01/25/2006:
Homepage is located at: http://www.silentservices.de/btCrawler.html
v0.3
- Added some service classes in the scan engine (A2DP, A2Sink, A2SRC, SAP)
- Added "SelfDiag" button to check what services the own device provides
- Added support for Smartphone with Windows Mobile 5, SP2003, SP2003SE
- Added a menu to better support navigation in Smartphones
EDIT 01/12/2006:
attached you will find an updated version of btCrawler.
Changes in v0.2 are as follows:
- One program for PPC2003/SE/WM5
- Support for portrait AND landscape mode
- Detection of screen orientation at startup
- GUI changes
- Class of Device (CoD) is now "human readable"
Limitations:
- Rezising of the GUI due to display orientation change is not working. You have to change to your preferred display orientation before starting btCrawler.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/img]
Just a topic push up for the updated version...
c0rnholio: do you want to post a screenshot? It might not help much, but I find it catches people's eye!
Congratulations on getting into coding :wink:
Re the bluejacking - I used to use SMAN on the p900, and it was a very cool tool...not that I think bluejacking is useful!
Keep up the good work.
V
vijay555 said:
c0rnholio: do you want to post a screenshot? It might not help much, but I find it catches people's eye!
Click to expand...
Click to collapse
Greetings vijay555,
thanks for the hint and the welcome
I've put up some screenshots in thefirst post.
Regarding BJ, yes I had that on my P900 too. It was kinda fun in some situations.
Cheers
Out of interest, what do you guys use for screenshots?
Cheers,
Steve.
Can you release the source code? I very interessted in programming such things... I want to know how i can use bluetooth i my own applications.
What IDE do you use to Code?
society: what are you intending to do with bluetooth?
If you're intending to use bluetooth for anything particularly useful, typically you need to investigate bluetooth comms or obex. Scanning is a discrete aspect of using bluetooth devices.
V
StevePritchard said:
Out of interest, what do you guys use for screenshots?
Click to expand...
Click to collapse
I'm using MagicSS. It's pretty old and as you can see above the results are not the best. Bute hey, its freeware...
Cheers
society said:
Can you release the source code? I very interessted in programming such things... I want to know how i can use bluetooth i my own applications.
What IDE do you use to Code?
Click to expand...
Click to collapse
Well, don't get me wrong, but I wont release the source code. There are several reasons...Don't take it personal.
1.) btCrawler is only a small part of a bluetooth pen-testing utility I am currently writing. When you get the source code, you will probably learn how to hack into mobile phones. And as you may understand, I won't teach people how to hack into other devices.
2.) Writing this tool was damn hard work for me, because I've never touched C++ before. So it was just learning to code by reading other code.
But there is one book I can recommend to you:
Programming Microsoft Windows CE .NET, Third Edition
by Douglas Boling ISBN:0735618844
I'm using MS VC++ as IDE.
Cheers
society: I don't know what you're experience is, but if you're intersted in learning to code, you might find this post helpful.
And I think the best way to learn to code, is to learn to code I'm fighting every night with the books, trying to learn this stuff, loving and hating every minute!
V
c0rnholio said:
StevePritchard said:
Out of interest, what do you guys use for screenshots?
Click to expand...
Click to collapse
I'm using MagicSS. It's pretty old and as you can see above the results are not the best. Bute hey, its freeware...
Cheers
Click to expand...
Click to collapse
Does it handle VGA ok? The freeware one I tried (I forget the name) seemed to assume that my screen was only 320x240, and so the resultant bitmap looked like it had been shrunk.
Cheers,
Steve.
Its not a problem.... i just want to see an example how to work with the Bluetooh API. But google is my friend you know.
Not free, but the software I use for capturing screens for user manuals is that included with Resco's Picture Viewer. Handles Universal's screen in both orientations and even OzVGA.
BTcrawler didn't find BT headset
c0rnholio
I created a simple bluetooth scanner for my universal.
Click to expand...
Click to collapse
Thanks for the utility.
Not sure if it's intended, but I couldn't get it to find my Jabra BT500 headset - yes, it was correctly paired, or is that the reason for it not being discovered? It did, however, correctly find my Holux GPSlim236 GPS receiver. The problem applies to both versions posted.
I'll try tomorrow with the laptop, but that was found correctly with the first version.
Re: BTcrawler didn't find BT headset
astage said:
c0rnholio
I created a simple bluetooth scanner for my universal.
Click to expand...
Click to collapse
Thanks for the utility.
Not sure if it's intended, but I couldn't get it to find my Jabra BT500 headset - yes, it was correctly paired, or is that the reason for it not being discovered? It did, however, correctly find my Holux GPSlim236 GPS receiver. The problem applies to both versions posted.
I'll try tomorrow with the laptop, but that was found correctly with the first version.
Click to expand...
Click to collapse
You have to put it in discoverable mode..
Only work with Microsoft Bluetooth...
If you have widcomm one just forget this one...
Thanks alot.. Very nice tool... Keep updating please ...
One request...:
- Is there any way you can get the "Sender Name" when receiving files via BT? Cause as you know MS Stack does not!!!!
c0rnholio said:
Just a topic push up for the updated version...
Click to expand...
Click to collapse
Thanks for the software, any chance of a version of WM5 Smartphones, e.g. iMate SP5 ?
skearon said:
Thanks for the software, any chance of a version of WM5 Smartphones, e.g. iMate SP5 ?
Click to expand...
Click to collapse
Well...it does run on WM5 and it should run on any device with an arm compatible processor.
Whats the problem?
Do you get an error message or something?
Or is it a screen size problem?
Cheers
EDIT: Oh ... I see..the SPV has an OMAP. I dont have an SDK for OMAP Proc. Sorry mate.
man2003 said:
- Is there any way you can get the "Sender Name" when receiving files via BT? Cause as you know MS Stack does not!!!!
Click to expand...
Click to collapse
I dont know. AFAIK you have to explicity query for it. Thus you would need a tool which automagically querys for the bluetooth name of the remote device when your device gets a file...I'm sorry but such a function will not fit in a scanning software like mine.
Cheers.
Related
just wonder, is it not support 100% Hands free profile? But look at this article they can use Hands free function profile with Alfa X-Live Bluetooth Headset.
Sound interesting,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://www.pda4thai.com/modules.php?name=News&file=article&sid=592
yes, it seems to be the same with the imate rom. But untill now there is nobody who wanted to dump his imate or O2 rom to test it :?
I can't seem to get the hands free working with my o2 XDA II mini, although it does say it is connected to a handsfree headset when it is boded with my Jabra 250.
Does someone want a dump of the ROM?
If so gimmie some instructions as long as it is not toooo destructive I'll give it a go
yes, please...
nossac said:
I can't seem to get the hands free working with my o2 XDA II mini, although it does say it is connected to a handsfree headset when it is boded with my Jabra 250.
Does someone want a dump of the ROM?
If so gimmie some instructions as long as it is not toooo destructive I'll give it a go
Click to expand...
Click to collapse
You can find the dumprom tool here http://wiki.xda-developers.com/wiki/DumpRom
or from http://www.xs4all.nl/~itsme/projects/xda/dumprom.html
You can also export your registry using a trial copy of resco explorer (comes with resco registry tool) http://www.resco-net.com/explorer_dwn.asp
and put it here as well. I've come across tweaks in registry that might point to why it works for one version of OS and not the other.
Many thanks! :wink:
arrggghhh
O.K. I'm sorry it's Friday arvo and I must have my dumb swith invoked.
Bear with me I'm just an old dinosaur (I work with mainframes not PC's)
I own a full version of Resco and can see the registry but can't work out how to export it
I got a copy of dumprom.exe but not nkcompr.lib which it seems to need.
Also do I run this on the mini or on the PC it is synch'ed with.
Step by step me if you want...
Sorry for being sooooo dumb but I did try and work it out myself.
If you want to tell me I will do it for you.
Thanks
so do you want to give me a step by step or don't you need it anymore?
Been busy...
nossac said:
so do you want to give me a step by step or don't you need it anymore?
Click to expand...
Click to collapse
Sorry nossac,
Been really busy over the weekend. I realize that the utilities provided by the forum may not be updated for Magician. I had several frens of mine trying to use it, but facing technical problems.
I believe someone posted the chinese ROM in the FTP site. I think I shall use that version to check out the BT stack and SDBus support.
Many thanks for being proactive, but it's not within my means to support dumprom issues.
For resco registry, what you can do:
(a) download resco explorer (using previous URL link I've supplied)
(b) connect your Mini with the MS ActiveSync
(c) execute the resco explorer executable file
(d) Install all the software (explorer, registry, ftp etc)
(e) from the Today screen, goto Start/Programs/Resco Registry
(f) You should be in the Registry Editor screen.
(g) Highlight the topmost "My Registry"
(h) Tap and hold "My Registry", two options should be available to you.
(i) Select the "Export" option.
(j) You should come to the "Save file" screen.
(k) Name the registry file as "02 mini registry"
(l) Select the location to save the file to.
(m) Select the folder to save the file to.
Click on Save button. The software will proceed to export the registry to the file.
Once you have complete exporting the registry to the file, open MS ActiveSync:
(a) Click on "Explore" option on the taskbar menu.
(b) Navigator to the filesystem/folder for which you have save the registry file to.
(c) Copy to the desktop and zipped it up.
Then post it to this forum.
Note: The resco explorer is a trial version. If you don't like it, you can uninstalled it after the trial period has expired.
Many thanks!
Here is reg from my IMATE JAM. Has a lot of crap from installed software
Hi Henry,
Well that all explains my problem.
I was trying to use the Rescoe Explorer to export it not the Rescoe Registery editor.
Now it all makes sense.
Thanks for explaining, here is the Reg from my o2 xda II mini
Thanks for the registry...
nossac said:
Hi Henry,
Well that all explains my problem.
I was trying to use the Rescoe Explorer to export it not the Rescoe Registery editor.
Now it all makes sense.
Thanks for explaining, here is the Reg from my o2 xda II mini
Click to expand...
Click to collapse
Thanks for the registry file! Thanks to ID64 also for his IMATE-JAM registry.
I need to ask a couple of very specific questions:
(a) Can you heard music piping through your BT headset?
(b) Did anyone of you has SD Wifi 256RAM card and use it successfully?
Many thanks!
Hi,
Nope the music does not pipe to my Jabra 250 headset. If I start Media Player the music comes from the mini even though the headset is bonded.
And I have not tried a wifi card. But I have read reviews at www.compactjam.com and www.mmtek.com.au that say the SD wifi cards work just fine.
BT registry investigation....confuse and clueless
hmmm,
it's a rare privilege to have comb through so many versions of registries and dumprom so many versions of ROM to test the DLLs....
Well, the fact is, I've hanged my device many times now.
I was hoping that since MS BT is 1.2 compliant in Mini/JAM, they would at least include A2DP and allow stereo piping to the headset...
What does the BT 1.2 compliant mean? Well, honestly not much. The main advantage that Bluetooth 1.2 has over 1.1 is Adaptive Frequency Hopping. According to Ed Hardy of the fantastic Brighthand.com website, “Adaptive Frequency Hopping (AFH) is designed to reduce interference between technologies sharing the 2.4 GHz spectrum. Cordless telephones, microwave ovens, and certain Wireless Local Area Networking (WLAN) technologies, including 802.11b, and IEEE 802.11g, generally share the same wireless frequencies as Bluetooth. AFA works within the spectrum to take advantage of the available frequencies without limiting the Bluetooth transmission to a set of frequencies occupied by other technologies. This ‘adaptive hopping’ allows for more efficient transmission within the spectrum, thereby providing the user with greater performance, even if using other technologies along with the Bluetooth wireless technology.”
Perhaps someone has checked the ipaq devices and know how they have managed to pipe the mono sound to the headset?
I've check the Mini/JAM registry and I'm glad to say that there seems to be minor differences in the BT registry settings.
It's interesting why HTC skipped Broadcomm BT in Mini/JAM when it is implemented for XDAIIs....
Oh well, :?: :?: :?:
Re: Thanks for the registry...
henrylim said:
nossac said:
Hi Henry,
Well that all explains my problem.
I was trying to use the Rescoe Explorer to export it not the Rescoe Registery editor.
Now it all makes sense.
Thanks for explaining, here is the Reg from my o2 xda II mini
Click to expand...
Click to collapse
Thanks for the registry file! Thanks to ID64 also for his IMATE-JAM registry.
I need to ask a couple of very specific questions:
(a) Can you heard music piping through your BT headset?
(b) Did anyone of you has SD Wifi 256RAM card and use it successfully?
Many thanks!
Click to expand...
Click to collapse
1. No
2. I don't have WIFI card, so I cant confirm/deny anything
So you CAN get voicedial working on Bluetooth?
Hi,
Sorry, I'm a bit of a novice and so I don't understand... Are you saying it is possible to get Vito Voice Dialer working with Bluetooth?
I checked the link but it's in THAI and I can't follow what's going on.
Can you please confirm whether it's possible.
I don't understand what all the registry and rom dumps are for...
Thanks in advance.
Hi Guys,
Been using this great site for a while now but im not a great poster! lol Ive bought a Magician and it will be arriving tomorrow and just wondered if there is anything that i should be looking out for?
For example, what mods do you recommend? I.E Bluetooth Fix (may not exsist but just gave example) I cant wait to get it as ive used a few before and been very impressed!
Also does anyone have a link for TomTom 5 Cracked? would be much appriciated! :lol:
Hi, welcome to XDA DEV and congratulations with your purchase! If you search this forum, you will find many fixes and mods that have been applied to speed up the magician (through registry edits), gain extra memory (BigStorage is a good one!), improve the BT stack, remove the Simlock etc etc. Just look in the Magician forums and you will find many tweaking hapiness there. Be sure to back-up first before applying any mod, since they might cause a hard reset and data loss. Please DON'T ask for illegal software here, there is enough of that to be found on the internet, but not in this community. We like to tweak and mod things, but intend to do nothing illegal here. If any software or hack here is illegal in your country, don't use it.
Have fun with your new Magician!
Thanks for the welcome Koksie! Ive been having a browse though and thought that maybe it would be good to get a Top 10 things to do to your magician?
Just thought it would be handy for people like me that are new to the magician.
Can someone explain what bigstore is please? Sounds great.
BTW it hasnt arrived yet its scheduled before 1pm though!
Do a search for BigStorage, it involves flashing your Rom with a custom made one you made yourself. You can use the ROM that came with it ( if it is a new one, you will get the latest ROM I presume) or with a newer one ( if yours is a second hand device and has an older version. 1.13 is the newest one at the moment. Check in your start-settings-device information) Since a flash removes all your data, the best thing is to do it before you put any programs and information on it. basically it deletes the Extended ROM ( where your provider puts all its settings) and merges it with the internal storage, adding 20 MB extra of ROm storage, in other words, another 20 MB extra of memory that will not be deleted in case of empty battery. Another advantage of 20 MB of extra ROM is that you save another 20 MB of RAM (by ebanling you installing aps to ROm instead of RAM), so your Magician will be much faster and less battery consuming. Search for BigStorage and the method (including backing -up the Extended ROM for later use) will be explained in detail in several threads.
Same goes for removing the Simlock or extending the BT profiles. Just search for the right terms and the methods will pop-up.
Other worthwile apps are DKToday, BT SwitchIt, tel-on-off, AEBPlus and MortButtons. Check these out, they are very usefull apps. Many registry tweaks are also posted, they help to speed up your magician, change behaviour of applications and settings etc. You are right that a top 10 would be helpful, but just searching the forum will help a lot. for regedits serach for "registry edit magiacian"and I am sure helpful threads will appear.
sorry for the idiot question but how do you install skins?
jaso2005 said:
sorry for the idiot question but how do you install skins?
Click to expand...
Click to collapse
Search for Wisbar Advance. It's the app that applies the skins. :wink:
You can find many skins on www.yorch.net, including instructions on how to install them. There are many other skin sources and progs on the market, some for free. Search and the shall find my man, google is thy friend!
This page is a useful read on hints and tips.
http://www.ppcsg.com/lofiversion/index.php/f20.html
And especially:
http://www.ppcsg.com/lofiversion/index.php/t50029.html
V
PS something you're bound to ask at some point, because everyone does, is how do you sort your contacts First Name, Last name?
Search against my userid. I've answered it a million times!
jaso2005 said:
Thanks for the welcome Koksie! Ive been having a browse though and thought that maybe it would be good to get a Top 10 things to do to your magician?
Just thought it would be handy for people like me that are new to the magician.
Can someone explain what bigstore is please? Sounds great.
Click to expand...
Click to collapse
I was in the same position as you are, as I recently switched from an XDAI (Wallaby) to the Magician.
Here are some things to consider and do.
1. You will definately fall in love with the device if you are a bit like me or the rest of the people here. You will want to use a long time, so before you go and use the device regularly, GET A SCREEN PROTECTOR. Even if it is just a cheap one to start with, protect the screen.
2. The regular Bluetooth stack is pretty unimpressive. It works OK, but does not offer a lot of options. If you are going to use BT get the CAB install that has just recenty popped up and is currently being discussed here. You can download in that thread, then you have a ton more options regarding BT.
3. The camera on my O2 branded device is crap (blue speckles in low light conditions). There is a fix out there to solve the problem a little bit. The ultimate solution is to install a updated camera software from T-Mobile devices which is more recent. I am still looking for a way to do this, have not dived into the topic completely.
4. If you are using your PPC device a lot, especially if you are using a large SD-Card for file storage one day or the other you will face the need of hooking up yur device to some friends computer to exchange some files. This is not easily done unless the other computer has ActiveSync running. To do this easily you can use Softick Card Export, which is a little tool that enables the Magician to act as a Mass Storage Device. When the program is enabled you just use your friendly USB cable to hook up to the other computer and your Magician is instantly connected without drivers (if it is a W2K+ or XP machine or something like this - Win98 will not work instantly).
5. Always carry a small USB cable with you. I love the possibility of charging my device whereever I find a USB port.
6. Software I will not leave home without:
- Wisbar Advance2 / Wisbar Advance Desktop plugin
- Total Commander
- Registry Editor of choice
- Memmaid
- Pockettools
- Sprite Backup
- Destinator PN (if you are going to use it as a GPS)
- Pocketmusic for mp3 playback
- Phonealarm plugin
- Some calendar plugin giving a good oversight of tasks and appointments
- eWallet (for keeping confidential info such as PINs etc. encrypted)
- Mobipocket Reader with a recent offline version of Wikipedia
- Pocketmechanic
- phonExt (better Dialer)
- RESCO Audio Recorder (allows mp3 recording)
- PhonePad chooser (customize the PhonePad design)
That should get you kind of started. Oh, wait, after I did the BigStorage hack I also replaced that butt-ugly O2 splash screen (screen displayed when you power on the device or do a soft/hard reset) with a selfmade one saying "hacked" and displaying the 18c3logo.
7. Get Pocket Zen Phone - it only costs €5 and allows you to have multiple profiles, flight, office, car, etc for different situations - just click the icon on the Today screen. Get it here: http://zendrui.free.fr/
TheBrit said:
7. Get Pocket Zen Phone - it only costs €5 and allows you to have multiple profiles, flight, office, car, etc for different situations - just click the icon on the Today screen. Get it here: http://zendrui.free.fr/
Click to expand...
Click to collapse
So does PhoneAlarm. I checked out PocketZenPhone, but decided I liked pA better. It's a matter of taste, I guess. Did you take a look at pA anyways?
This discussion is going on on another thread as well.
I use PA, it's got a lot of features that I like.
To be fair, I've not used PZP much because I didn't think that it did more then PA that was relevant to me.
I've set up PA with profiles on my Today screen, which seems to be what PZP is good for:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
With my skin and my ToggleToday PA is an unobtrusive but valuable OS modification (at the top of the screen):
V
psych0t1c said:
TheBrit said:
7. Get Pocket Zen Phone - it only costs €5 and allows you to have multiple profiles, flight, office, car, etc for different situations - just click the icon on the Today screen. Get it here: http://zendrui.free.fr/
Click to expand...
Click to collapse
So does PhoneAlarm. I checked out PocketZenPhone, but decided I liked pA better. It's a matter of taste, I guess. Did you take a look at pA anyways?
Click to expand...
Click to collapse
No, but PZP does exactly what I want.
Ie. a compiler that lets me make PPC-runnable applications from the PPC.
I do not really need the IDE, although it would be very nice of course.
The language/libraries basically just need to support text input and output, or some kind of access to the GDI/graphics interface, so I can develop and experiment while I'm out travelling.
I'd really want this, if it can be found anywhere, I'd even pay for it..
preferably C++ or as low-level as possible, I'm also quite decent in
assembler.
I have tried the perl thing, and although cool, it was a very reduced version of perl, and also naturally quite slow because of the processor.
Any tips in this direction would be very welcome
Nevermind.. I found PocketGCC, so for others that are interested in this info:
http://pocketgear.com/software_detail.asp?id=11502
It should do the trick. Only console for now, but that's OK for me.
If there's a better alternative, I'd love to see it though. Not sure how well this console interfaces (interrupts, keystrokes etc).
Check out Mamaich's website for some other stuff related to PocketGCC.
It does work, but it's hard-ish work. But with a keyboard, it'll be easier. Grab yourself the SDK demos from the yahoo groups website.
V
ahh ok thanks man, I found the Mamaich pack here:
http://sourceforge.net/project/showfiles.php?group_id=96949
I have a keyboard on the PPC of course.. Universal I can type almost as
fast on it as on a normal keyboard, which was really surprising to me.
I think it can work, and I'm really ready to start coding on this.
Let us know how it goes. It would be interesting to see how feasible is host development on windows mobile (I do hope that it's not an eye opener though lol)
PocketGCC is great! I made use of it on my honeymoon.
However, you appreciate something like VS2005 with syntax completion etc, but at a push, it's very competent.
Oh, no resource editor. I think there's another one that can be used from Pocket C or something like that.
V
vijay555 said:
PocketGCC is great! I made use of it on my honeymoon.
Click to expand...
Click to collapse
haha! Well if it's honeymoon material, maybe even my girlfriend will like this (she's a programmer too). ^^
However, you appreciate something like VS2005 with syntax completion etc, but at a push, it's very competent.
Oh, no resource editor. I think there's another one that can be used from Pocket C or something like that.
Click to expand...
Click to collapse
OK, nice! ^^ but you say resource editor, makes me think you can make GUI apps.. I thought PocketGCC only gave you access to console IO? Or is GUI libs what the Mamaich package contains?
As I said, if you hunt around in the yahoo groups, you'll find someone has prepared a full set of the PPC Sdk demo apps for PGCC. And they're almost all GUI apps. So yes, Pure Win32 C++ GUI apps are possible.
And you can compile your .rc as well, so if you're competent with notepad, you can make your .rc yourself, although you'll still need a bitmap editor (I like PocketArtist).
But as I said, I think Pocket C has a resource editor you can felch (don't look this word up!).
V
vijay555 said:
But as I said, I think Pocket C has a resource editor you can felch (don't look this word up!)
Click to expand...
Click to collapse
Hmm... all I know is "to belch" or "to filch"... I hope you don't mean either of those :lol: :wink:
Nope, felch is what I mean
Filch works well enough in the context, that can be the "censored" version
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
V
rofl.. omg...
http://en.wikipedia.org/wiki/Felching
sick, sick, sick.
I can only find this:
http://prdownload.berlios.de/cegcc/Pocket_PC_2003_SDK_Includes-2006-03-09.patch
Which is a patch for the includes.. and then I download the SDK seperately? Or is there (as I interpreted you first) a rar/zip of the SDK samples that are prepared to be compiled by the standard PocketGCC package?
Sorry for the questions! But the Yahoo group was kinda messy, and been looking there for a while now =P
Theoretically, you could code your application whichever way you like, even using Flash (Lite).
You must then worry about making it compatible with WM5.0 and then packaging it. Still, fairly simple process.
You have to register and then check files:
http://groups.yahoo.com/group/pocketgcc/files/Source Code/
V
Excellent! Thanks Vijay.. (I thought it'd be a link from the discussion).
OK.. let's hope this will be a useful thread for other people that want to
do the same. And I'll just, ehm.. felch.. =X that file then and shut up.
Thanks again!
For some other pointers on books and sdks etc, you can have a read of this tale of woe I wrote once upon a time:
http://forum.xda-developers.com/viewtopic.php?p=209136#209136
V
Well, I've been programming for 18 years, and started in the absolute opposite corner of what you did (C64 assembler), so for me C++ was more like "wtf.. you can't just grab a memory address and use it?" ^^
anyway this link is definitely good for the thread.
Some bad news though.. even though PocketGCC will work, the supplied console does not seem to run (outdated). The Rainer Keuchel one also seems to be out of date for WM5. ;( I'll update this thread if I find a solution.
PocketC seems to work nicely and includes an editor:
http://www.orbworks.com/wince/download/rt/pkpc300.PPC30_ARM.CAB
Not sure what the scope of it is though..
Apologies for the other post, with 18 years you must see in pointers:
Hopefully it'll provide some "pointers" for other people looking for somewhere to start. I'm still very much of an amateur at c++, so of course, any advice is always appreciated!
I forgot about the console problem on WM5. I haven't investigated recompiling it for WM5 yet, although the various source codes for the console options are available. If you do recompile, let me know!
V
Pocket Console on WM5
I was having trouble getting Pocket Console (http://www.symbolictools.de/public/pocketconsole/index.htm) to run on WM5 - and eventually found the following info:
HKEY_LOCAL_MACHINE\Drivers\Console registry key is required to configure the command processor, the value OutputTo should be set to 0 to ensure console is displayed (Mine was -1).
This may be what is needed for people trying to use other console apps.
This can be seen on:
http://msdn.microsoft.com/library/d.../wce50conCommandProcessorRegistrySettings.asp
This lead me to another issue: The console display is not being automatically refreshed, so you cannot see output/input until you force a refresh (e.g. by selecting all). Any thoughts on sorting this out would be appreciated.
Martin
two relitavely new languages i've found, that run directly on a PPC.
basic4ppc
http://www.basic4ppc.com/
Pocket Programming Language
http://www.arianesoft.ca/page.php?1
Hi there,
i know this posting is quite old, but i'd like to refer to the console issue anyway.
martinkendall said:
I was having trouble getting Pocket Console (http://www.symbolictools.de/public/pocketconsole/index.htm) to run on WM5 - and eventually found the following info:
HKEY_LOCAL_MACHINE\Drivers\Console registry key is required to configure the command processor, the value OutputTo should be set to 0 to ensure console is displayed (Mine was -1).
This may be what is needed for people trying to use other console apps.
This can be seen on:
http://msdn.microsoft.com/library/d.../wce50conCommandProcessorRegistrySettings.asp
This lead me to another issue: The console display is not being automatically refreshed, so you cannot see output/input until you force a refresh (e.g. by selecting all). Any thoughts on sorting this out would be appreciated.
Martin
Click to expand...
Click to collapse
I also recognized the non-refreshing console.
The attached package is working perfectly on the universal. It's taken from the WindowsMobilePowerToys package from microsoft.
Follow the readme and enjoy!
scholbert
Hi everyone
Just noticed that microsoft have released a preview beta of Sideshow for Windows Mobile (5/6)
http://blogs.msdn.com/sideshow/arch...n-windows-mobile-released-techready-2008.aspx
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I think there's a few neat functions mentioned: controlling WMP, viewing/controlling powerpoint presentations etc
p.s. someone should post this as a forum attachment without needing to go through microsoft download centre
Here is the file:
http://rapidshare.com/files/119903090/WindowsSideShowforWindowsMobile.zip.html
Here is a video of me trying it on my T-Mobile Wing. I only tried the WMP SideShow.
http://www.youtube.com/watch?v=AA8cAFy9EBI
Note: YouTube stretched it all stupid.
neiltoe said:
Here is the file:
http://rapidshare.com/files/119903090/WindowsSideShowforWindowsMobile.zip.html
Here is a video of me trying it on my T-Mobile Wing. I only tried the WMP SideShow.
http://www.youtube.com/watch?v=AA8cAFy9EBI
Note: YouTube stretched it all stupid.
Click to expand...
Click to collapse
Holy crap... I guess I really didn't understand what was going on as I stated in this thread, I had already been doing this kind of stuff using GoGadgets! from another developer. But now I get that its official from MS. They even took the EXACT SAME software that Ikanos Consulting created... sheesh.
Thanks for the video, I always thought that GoGadgets was cool stuff.
Hope this brings more light into this awesomeness.
I have already uninstalled it because I only care about anything "Media Center" SideShow. Haven't found one and haven't really looked for one as of late.
The T-Mo Wing is seriously underpowered but I was actually getting along rather smooth. Also using Bluetooth as the connection is sorta useless if you walk out of range. Which is not too far in my house. Connecting was fast and simple after the initial setup. The today plugin thing is nice but again sorta useless. I really expected it to have controls right there so you wouldn't have to navigate so many pages.
I know I am critical and this is the official first release and it is not even a finished product just a developers release. But it has potential.
very, very, very COOL!
neiltoe said:
I have already uninstalled it because I only care about anything "Media Center" SideShow. Haven't found one and haven't really looked for one as of late.
The T-Mo Wing is seriously underpowered but I was actually getting along rather smooth. Also using Bluetooth as the connection is sorta useless if you walk out of range. Which is not too far in my house. Connecting was fast and simple after the initial setup. The today plugin thing is nice but again sorta useless. I really expected it to have controls right there so you wouldn't have to navigate so many pages.
I know I am critical and this is the official first release and it is not even a finished product just a developers release. But it has potential.
Click to expand...
Click to collapse
Yes, it seemed quite quick on your youtube link
An alternative is the old Salling Clicker
It supports wifi and bluetooth and WinXP. Also supports itunes and WMP
Don't forget to check out the Sideshow dev's blog: http://blogs.msdn.com/sideshow/
It has the Runtime and SDK for developing gadgets using managed code (ie .NET), and a prebuilt example
TehPenguin said:
Don't forget to check out the Sideshow dev's blog: http://blogs.msdn.com/sideshow/
It has the Runtime and SDK for developing gadgets using managed code (ie .NET), and a prebuilt example
Click to expand...
Click to collapse
You may need this runtime on your PC http://www.microsoft.com/downloads/...72-68e8-4c0c-a239-560c21b66fca&displaylang=en
When I select service on pc side show that instal and can't instal bluetooth peripheral device,What's up?
d112 said:
When I select service on pc side show that instal and can't instal bluetooth peripheral device,What's up?
Click to expand...
Click to collapse
make sure you have the MS BT Stack...
What PC do u have? Do you have a BT Radio?
I HAVE hp pavilin dv9500 integral bluetooth?
What is ms bt stack?
d112 said:
I HAVE hp pavilin dv9500 integral bluetooth?
What is ms bt stack?
Click to expand...
Click to collapse
Microsoft Bluetooth Stack.
If you have XP SP2 or higher its built in but if you use a 3rd party Stack like from toshiba etc. you might have trouble. you have to figure out what stack you have...
d112 said:
When I select service on pc side show that instal and can't instal bluetooth peripheral device,What's up?
Click to expand...
Click to collapse
I went through a bit of a headache getting mine to work. Maybe I can help. I just need you to write in a more coherent manner.
I had a few issues too. If I installed the PPC component before pairing, the PC would not locate and install the appropriate drivers. If I paired first, then enabled the SideShow BT service, the PC would locate and install the drivers just fine. I tried this several times, and that was the only way that worked for me. Weird. YMMV.
It's annoying that all the fancy new software is made for Vista.
*Crosses Windows Mobile Device Centre off the list
*Crosses Windows SideShow For Windows Mobile off the list
Alright. so a little batch of detailed insturctions about using this:
(during the process make sure your device is DISCOVERABLE)
1. It doesn't REALLY matter if you're using MS STACK or TOSHIBA STACK as long as there is a sideshow service detected.
A. if you have toshiba stack:
right click on the bluetooth tray icon and open the bluetooth devices.
add a new one and detect the service MANUALLY (choose CUSTOM).
if you see a service called "...sideshow..." on the list, you can use it. it is mostly UNprobable that you will.
connect to your device
continue to section C
B. if you have ms stack:
right click on the tray icon.
click options.
add a new device.
pair it using your own passkey.
open the options once more and you see your device in the Devices window.
click on it and click properties.
go to services and, if you installed sideshow on your device, and ran it, you should see Sideshow in the list.. as well as Activesync and a few others maybe.
click ok and it'll try to connect to your device.
(if you can't connect, go to COM ports in OPTIONS And install a new one. i used COM port 3..)
C. go to control panel, go to sideshow, and you should be able to mark V on the gadgets you'd like to use.
2. MS stack: double click the provided file. install it and read the TXT that appears on your desktop for further instructions...
TOSHIBA stack: just install the stack..
make sure you uninstall each before installing the other.
these are both the LATEST versions of both stacks: (up until the day of posting this message of course )
TOSHIBA STACK:
http://rapidshare.com/files/120186967/TOSHIBA_BTSTACK.zip.html
MS STACK:
http://rapidshare.com/files/120187911/MS_BTSTACK.exe.html
i strongly suggest you keep both files on your comp as a cover for any services one might provide while the other doesn't.
for instance, to my knowledge, MS stack works HORRIBLY with Async...
while TOSHIBA stack doesn't work with sideshow at all. (at least from what i've experienced)
enjoy
Go Gadget
Has anyone got the Go Gadget Beta?
I would really like to try it.
I have tried Microsofts version, but I have heard that Go Gadget supports Home Automation.
Can it work via USB ?
Hi all,
I was looking at the Remote Tracker app (http://forum.xda-developers.com/showthread.php?t=394203) and realised that the odds of me remembering the necessary commands and their syntax when my phone gets lost/ stolen is pretty much nil.
So I wrote this (very quick) j2me application which should streamline things a bit. I'm including the source code of the app (although it needs a bit of cleaning up).
To use it, install it on any J2ME device that supports JSR120. That is the Wireless Messaging API which allows a J2ME application to send an SMS. The device must also support MIDP-2.0/CLDC-1.1.
Notes
Keep in mind that the SMSs send from this app will not show up in your phone’s sent items folder. You will be charged normally for them of course.
There is only one caveat when using the app: The phone number in the "Send message to:" text box needs to be in the international format (i.e. +44123123123) and it has to have a "+" not "00" (i.e. +44 and not 0044).
The app was built using Netbeans 6.5
Let me know if you find any bugs or want something changed or added.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RAR with application and source: JRTRemote_v0.2.rar
Latest JAR file: JRTRemote.jad
Latest JAD file: JRTRemote.jar
----
Typical disclaimers apply (although nothing should go wrong).
Use this app at your own risk.
Great job mate. I highly appreciate. But don't we require some emulator to run java apps on PPC? Do we need to run the emulator to activate this app. Although it may be great for nokia devices.
Actually I'm not sure about WM phones.
My phone, a Kaiser, has a J2ME environment in its ROM (esmertec's Jbed).
I'm assuming that other do as well, although not necessarily Jbed and not necesarily all of them.
Copy the jar/jad files to your PPC and try running them.
If you still have an XDA Atom, according to this page (http://www.mwg.com/xda-atom-life_applications.aspx) it has J2ME preinstalled. Not sure about your current ROM though.
alt236 said:
Hi all,
I was looking at the Remote Tracker app (http://forum.xda-developers.com/showthread.php?t=394203) and realised that the odds of me remembering the necessary commands and their syntax when my phone gets lost/ stolen is pretty much nil.
So I wrote this (very quick) j2me application which should streamline things a bit. I'm including the source code of the app (although it needs a bit of cleaning up).
To use it, install it on any J2ME device that supports JSR120. That is the Wireless Messaging API which allows a J2ME application to send an SMS. The device must also support MIDP-2.0/CLDC-1.1.
Notes
Keep in mind that the SMSs send from this app will not show up in your phone’s sent items folder. You will be charged normally for them of course.
There is only one caveat when using the app: The phone number in the "Send message to:" text box needs to be in the international format (i.e. +44123123123) and it has to have a "+" not "00" (i.e. +44 and not 0044).
The app was built using Netbeans 6.5
Let me know if you find any bugs or want something changed or added.
RAR with application and source: JRTRemote_v0.1.rar
Latest JAR file: JRTRemote.jad
Latest JAD file: JRTRemote.jar
----
Typical disclaimers apply (although nothing should go wrong).
Use this app at your own risk.
Click to expand...
Click to collapse
Amazing!!
Can I put your client in RT official site?
Regards,
Joubert
joubertvasc said:
Amazing!!
Can I put your client in RT official site?
Regards,
Joubert
Click to expand...
Click to collapse
Hello!
I replied to you in the other thread!
alt236 said:
Hello!
I replied to you in the other thread!
Click to expand...
Click to collapse
I'll create a package and add you soon.
Do your client run in Symbian?
Joubert
If a device has a J2ME environment which supports MIDP-2.0/CLDC-1.1 and JSR 120, then it should work irrespectively of the actual OS.
I've also found this (incomplete) list of phones and the J2ME environments they come with: http://www.club-java.com/TastePhone/J2ME/MIDP_mobile.jsp - It doesnt say anything about JSR120 though.
If in doubt just try it. The worst thing that will happen is that the app will not load or that you will get an error message when sending.
Actually, the project should directly compile against CLDC-1.0. I'm pretty sure that I'm not using any of the 1.1 features. I'll do that for the next version.
Hi! I added your software for download in RT main site. Take a look:
http://remotetracker.sourceforge.net/download.html
Regards,
Joubert
Hi!
Just to let you know: I tried your software using Nokia N95. Workd like a charm!
Great job!
Joubert
alt236 said:
If a device has a J2ME environment which supports MIDP-2.0/CLDC-1.1 and JSR 120, then it should work irrespectively of the actual OS.
I've also found this (incomplete) list of phones and the J2ME environments they come with: http://www.club-java.com/TastePhone/J2ME/MIDP_mobile.jsp - It doesnt say anything about JSR120 though.
If in doubt just try it. The worst thing that will happen is that the app will not load or that you will get an error message when sending.
Actually, the project should directly compile against CLDC-1.0. I'm pretty sure that I'm not using any of the 1.1 features. I'll do that for the next version.
Click to expand...
Click to collapse
Hi! I released version 0.3.1-0 with GANFL command. This is the same as EGANFL command, but send the answer by SMS.
Happy Christimas!
Joubert
Hi!
Just to let you know: I tried your software using Nokia N95. Workd like a charm!
Great job!
Joubert
Click to expand...
Click to collapse
Thats good to know
joubertvasc said:
Hi! I released version 0.3.1-0 with GANFL command. This is the same as EGANFL command, but send the answer by SMS.
Happy Christimas!
Joubert
Click to expand...
Click to collapse
Good, I'll add it in the code and uploaded in the next couple of days. I'm on a flaky dial-up at the moment, so I can't guarantee a speedy upload
alt236 said:
Thats good to know
Good, I'll add it in the code and uploaded in the next couple of days. I'm on a flaky dial-up at the moment, so I can't guarantee a speedy upload
Click to expand...
Click to collapse
Don't worry. Just take a note and when you fix your internet again you make the modification.
Cheers,
Joubert
Just came back from vacations
The new version should be up later tonight.
OK, v0.2 is up.
Changes:
I've compiled it against CLDC-1.0 so it should work older phones which have MIDP2.0 installed.
Added support for the GANFL command.
The DL is at the first post.
alt236 said:
OK, v0.2 is up.
Changes:
I've compiled it against CLDC-1.0 so it should work older phones which have MIDP2.0 installed.
Added support for the GANFL command.
The DL is at the first post.
Click to expand...
Click to collapse
Very good! I just update this version in sourceforge. I also PM you with instructions for you do it by your self. Please let me know if you got success.
Cheers
Joubert
Hi Alt
Your application runs excellent in the other mobile platform... also the specification and other details of the phone which you gave is very informative....
I own a Sony Ericsson phone and also Nokia 6080 phone apart from HTC S620. I have already have Anti Theft protection in my HTC but not in the other phones... Are there any Anti Theft software which can run like the excellent JRTremote which you develop, and can work on any phone with independent platforms... It would be great help.. Thanks..
Can you please,release an updated version of the program(there were some new commands added and other changes..)
Thanks
Hello, Can you add the rt2# option to send commands to HTC HD2.
Thanks.
Dikcd said:
Hello, Can you add the rt2# option to send commands to HTC HD2.
Thanks.
Click to expand...
Click to collapse
Yes this will be nice!
thx Peace