Command line parameters - Windows Mobile Development and Hacking General

Is there any for the camera.exe PPC 2003 2003SE & 2005.
Need to do the following if poss
Call up the camera ensure it is set to photo
set resolution
Auto save file in (my Documents)
Auto close camera.exe without preview

Hi, did you find an answer to this question ?
I'm also interessed in this...
Please let me know

Related

PLAY MIDI ON UR XDA WITH FULL INSTRUMENTS

Now you can play the Polyphonic Ringtones on your XDA-I,Qtek1010,Siemens SX56,MDA-1 and T-Mobile with full instruments just by installing this file into your device :twisted: :
- MIDI56.sa.CAB
How to:
1- Copy the MIDI56.sa.CAB into your xda to any place you want then open the Explorer from your XDA,goto the folder you pasted the file in then click on the file after that get a *.mid file paste it into the \WINDOWS\RINGS,
Open the Phone from Settings and select the midi file you want it to be as your ringtone.
2- For whom the ringtone still doesn't work at all you just neet to extract the file >>CameraRC132_WWE_1.5.sa.zip<< and copy the cab file to your device and install it. Get the file from :
http://forum.xda-developers.com/viewtopic.php?t=6337&highlight=
Ps: My O/S is WM2003. I didn't test it on WM2002 if someone will just post here the result.
Enjoy my friends
We need to see the code can you pleas give use the code
Thanks
wwb95 said:
We need to see the code can you pleas give use the code
Thanks
Click to expand...
Click to collapse
I don't have the code that you're asking about bcz I didn't write it! I took this cab file from the Newest Himalaya's Extended-Rom :wink:
Your MIDI56.sa.cab has problems
Not that it matters that much to some folks...but in case you have an XDA-1 /MDA/PPC Phone Edition....I can confirm the following:
1. With WM2003, you will definitely need the Camera------.cab file installed, plus the MIDI56.sa. Mind you, you will have to install the MIDI56.sa file first, and then install the Camera------.cab
2. It will use up about 600+ K of needless memory on your XDA-1 because obviously, we don't have camera's. So.....what're you to do ? Well, go to
\WINDOWS
and look for Camera.EXE ( approx 500+ K )
Then, what you can do is launch Album, and look again at the \WINDOWS directory...and you will see a bunch of bitmaps obviously ( among other things ). Now..what you're looking for is files dated from 8/20/2003 ( that's 20/8/2003, for you folks EAST of the Atlantic ). Primarily they're bitmaps that were used by the Camera application. They add up to about 50-60 K. There's probably more files associated with the Camera.exe application that you won't need, plus any references in the PPC's registry will probably need to be ferreted out.
But...once you've done that, you've actually reclaimed approximately 800 K in space. Which on a 32MB unit, is a fair bit of memory.
Enjoy !
Marcelo
Re: Your MIDI56.sa.cab has problems
marcelol said:
Not that it matters that much to some folks...but in case you have an XDA-1 /MDA/PPC Phone Edition....I can confirm the following:
1. With WM2003, you will definitely need the Camera------.cab file installed, plus the MIDI56.sa. Mind you, you will have to install the MIDI56.sa file first, and then install the Camera------.cab
2. It will use up about 600+ K of needless memory on your XDA-1 because obviously, we don't have camera's. So.....what're you to do ? Well, go to
\WINDOWS
and look for Camera.EXE ( approx 500+ K )
Then, what you can do is launch Album, and look again at the \WINDOWS directory...and you will see a bunch of bitmaps obviously ( among other things ). Now..what you're looking for is files dated from 8/20/2003 ( that's 20/8/2003, for you folks EAST of the Atlantic ). Primarily they're bitmaps that were used by the Camera application. They add up to about 50-60 K. There's probably more files associated with the Camera.exe application that you won't need, plus any references in the PPC's registry will probably need to be ferreted out.
But...once you've done that, you've actually reclaimed approximately 800 K in space. Which on a 32MB unit, is a fair bit of memory.
Enjoy !
Marcelo
Click to expand...
Click to collapse
Marcelo,
I updated the installation instructions,you needed more to read about it.
Mind you, it doesn't matter what you install first cos I had the camera and album files in ppc b4 the midi cab file so it's ok.
Actually it's taking more than you are claiming, since those files installed in the \WINDOWS you can move them to "\Storage card\Album\Album.exe" "\Storage card\Camera\Camera.exe" like I did and gain back the used space , there's also a help file related to the camera it's about 56 kb you could remove it from "\WINDOWS" plus the little bitmaps. Thus you can as well fix the path in the registry for the files associations + making new shortcuts for the Album.exe,Camera.exe and by replacing them on the old ones.
Excellent !!!
I have to remind people that you MUST be careful when deleting the little bitmaps...look at them inside of Album first before deleting anything.
I had to reinstall my GPRS Monitor application because I deleted one of it's bitmaps by mistake....word to the wise !!!
Also I found TONS for MIDI files ( amateur ones ) to use as ringtones....,now if there were a way to make the ringtone directory point to my storage card, that would be great !!
Here's the link
http://www.ifnimidi.com/
TIPS
marcelol said:
I have to remind people that you MUST be careful when deleting the little bitmaps...look at them inside of Album first before deleting anything.
I had to reinstall my GPRS Monitor application because I deleted one of it's bitmaps by mistake....word to the wise !!!
Also I found TONS for MIDI files ( amateur ones ) to use as ringtones....,now if there were a way to make the ringtone directory point to my storage card, that would be great !!
Here's the link
http://www.ifnimidi.com/
Click to expand...
Click to collapse
Marcelo,
Moving the ringtones to the Storage card that was my other issue since a long time. I managed a way to do that it. Well for the first try it was successful but when the ppc turns it self off and some one calls you you’d hear the "windows default" ring and it remains whether you selects another ringtone. I kept a backup up on my registry to restore it back to the last status.
So if you like to share me your assistance I'd be grateful.
I'll give you tips of doing that and the project from here it starts…
------------------------------------------------------------------------------------
P.S: I recommend a backup on the registry b4 applying those tips
===============================================
1- (Looping Ringtones)
This tweak works perfectly you should apply it to your ppc's:
While playing a wav or midi or a wma as the ringtone the phone has a delay of 3 seconds before repeating, now this is really annoying if you've just created that great wav,wma ringtone, spent time making it loop properly in sound editor or whatever, and then the ppc does the silly delay, well, here’s the fix...
Open the registry editor:
HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0
Select 'Values'
And modify 'Script' by removing the w3 (eg. change 'av0pw3r' to 'av0pr')
"w3" stands for "Wait 3 seconds" you can make it "w1" or "w4" or remove to make the ringtone loops
===============================================
This tweak works for the first time you do it but when the ppc turn it self off the ringtone you selected won't play again :S be noticed.
2-Ringtones on SD/MMC Card
Open the registry editor:
HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0
Select 'Values'
Select 'Sound' and change the Value Data: \Storage Card\path to wav\wavname (eg. \Storage Card\Ringtones\mytone.wav)
We need here more try about this tweak and good ways to fix so ppl let’s do some tests
===============================================
This is the registry key where all ring tones s/w is playing whenever it comes to customizing a phone ring tone ... including PZP
and that's why all these s/w keeps a "live" component in the back ground to override what Windows is updating each time.
So, PZP was designed as today plugin, so Windows will force it to update the ring tones with each system referesh ... other s/w may keep a background process DLL running or to reconnect cprog.exe to their DLL ... or even to trap the system events to cprog.exe and redirect them to their handler.
So, I think (I might be wrong too ) the trick is to build a live demon to keep updating this registry key.
Necessary Files
I've been able to cut the necessary files for polyphonic ringtones down to ~570KB. Keep in mind I did this on a device with a ROM that was already cooked with supposed "support" for polyphonic ringtones, so there may be other files it is relying on. At any rate, the kitchens need to be updated with these files, because it doesn't work as-is.
There also may be ways to trim even more down, but this is what I have after many hard resets and adding/deleting files one by one. Hope it helps.
Shawn

Disable Video 02XDA2

Is it possible to disable the video mode in the XDA2.
We use the software provided on the XDA2 called 'Camera for Pocket PC version 2.01' but this allows the user to take video as well as pictures.
For my application i would like to disable this feature and only let the users take pictures.
Does anyone know if there is an application or registry setting that i can change to do this or any other ideas.
Thanks for your help
camera.exe parameters
I have read that it is possible to pass parameters to the camera.exe so that it starts with different behaviour.
The photo contacts application does not allow video input!!!
Does anyone have any further information or a list of parameters.
This would be of great help.
Thanks again.
Clive
I haven't tried this, but maybe you can get into the Registry and delete the keys to the Video formats and such?
Search the registry for values like Motion-JPEG AVI, MPEG-4 and H.263
Maybe it could work, alas with an error when someone tries to capture video... :wink:
Let us know if you find a better solution...
Regards,
Rayan
I have been unable to find these video formats in the registry so im unable to remove them. Any other ideas?
Does anyone have an e-mail address for IA Style (or HTC) technical support?
Thanks
Have you tried to remove the following key?
\HKLM\Software\HTC\Camera\AppDefSettings\P2
\HKLM\Software\HTC\Camera\AppDefSettings\P3
Just make sure you backup your device before you change it.
On my device i dont have theses registry keys available so im unable to remove them. I have tried removing the following key but the video camera still work perfectly.
HKLM\SOFTWARE\IA Style\AppDefSettings
Any other suggestions are more than welcome.
Thanks for your help
Clive

Pocket ie try to save jpg instead of displaying them

Hi,
I'm sure there is somebody here that can help me. I've set up my SPV M5000 with some old programs, and they certainly messed up with the registry about file associations.
I can display jpg normaly, but if I try to see a jpg file (ie not embeded into a web page), I get the file save dialog. At first, it was registered to pimg.exe, and I tryed associating to to pocket painter for example, with no luck.
Anybody know the key to place to go back to a normal jpg displaying state for pocket ie?
TIA
I've the same problem.
Mine is the same but I've installed nothing that would affect the file associations...
I think perhaps it's just another of the joyful 'features' of Microsoft's wonderful Pocket Internet Explorer
Does it do the same with a gif or bmp?
V
That's exactly what I had on mine. I didn't get to the bottom of it, but instead did what vijay suggested and created a local html file with the jpg embedded. All I needed was to view a single jpg within PIE (from my webcam). This works fine, but is a workaround only for 1 jpg. I wouldn't want to do this for everything!
Surely one of the File Explorer tools can change the file associations?
I think the problem lies within PIE, when you click a pic it assumes its an attachment and so will save it,
I cant try atm but its worth trying to goto a pic directly ie,
http://www.website.com/picture.jpg
it may well display the image then, not sure, cant test atm. and its not going to be very useful when doing some normal browsing.
Same with Gif. I've teste on a K-Jam, and it display the picture properly in ie. I'm sure there is something messed up in registry
Found the solution
There is a CLSID value missing in HKCR/MIME/Database/Content Type/image/jpg and other gif and jpeg
Add a string value CLSID
{698E3FCA-70C3-11D0-81E8-00A0C90AD21A} and you are set.
@thaihugo
Won't work for me.
I've tried with PHM RegEdit but same behaviour as before.
Can you give us a screen shot of the correct registry key, please?
BTW:
There is another string "Image Filter CLSID" and
there is a "Bits"-key in /gif and /bmp and /jpeg but not in /jpg.
Are these needed too?
OK now it works.
What i've done is:
Created and copied the CLSID mentioned above into
image/bmp
image/gif
image/jpeg
image/jpg
image/pjeg
Copy the "Bits" from /jpeg to /jpg
Created a "Image Filter CLSID" in /jpg with the same content as found in /jpeg
Save, wait and Softreset. -> Works as intended!
I don´t know if i've done to much, but everything works now.
I'm happy. Thank you!
I though it was my programs that would delete this keys, but it seems you need to insert them also. Maybe it is a full system bug? A registry export might be of some help if some other report the same problem.
This still isn't quite working for me...
Can someone explain again EXACTLY what I have to do?
Hmm - interesting stuff - will have to try this.
I assume this isn't going to affect other JPG viewers, eg Opera???
I have the same problem on both Hima and Universal WM2006
Himalaya > TOFCLOCK HIMA WM6 AKU.0.7.0
Universal > Jwrightmcps 9000_WWE_21200_21207_11500
The registry solution proposed doesn't work for me, probably due a different CSLID. Any suggestion?
THX
Many thanks to CouchPotato
@CouchPotato
Thank youuuu, your step by step solution worked fine for me on BA (WM6)
bye,
Ruben

Messaging "Mark all as read" and "Delete All

I played a little around with the windows mobile 2005 sdk and found a sample that extends the pocket outlook menu with the commands:
- Mark all as read
- Delete all
Especially the mark all as read option I looked for a long time. I compiled the sample and created a cab file for easy install. Tested it on a I-mate JAMin and K-JAM.
Maybe it's posted before but I couldn't find it.
Just to be clear: I didn't make the program. I just compiled a sample
woei, thanks
hey , good work !!!
Can i include this on himalaya rom ?
I guess so.
As I mentioned before I didn't write the application. It is a sample from the Windows Mobile SDK for PocketPC which can be downloaded here:
http://www.microsoft.com/downloads/...F2-F524-4EC5-9155-717CBE5D25ED&displaylang=en
It contains the sourcecode in c++. So anyone with c++ experience can even improve the functionality.
ok ok , thanks for this fast reply

CellID & Rxlev & GPS

The program updated. free to use ...
Hi all, I write a simple program for Telecom. Engineeger:
1) It can show CellID, Rxlev & LAC
2) base on the database (txt file), show cell site info.
3) GPS function
4) Open log file to record
The Log file format in :
Latidute,Longitude,CurrentTime,CellID,Rxlev
And you need to copy the files 2G.txt,3G.txt & site.txt to the root directory.
the text file at the main program directory ( eg. program file\fieldtestv1.2\).
Note:
Only test at my HTC P3600i phone, not sure for others ...
And sorry for my poor english ..
New Version ,It's surprised,But My PPC(model:O2 atom Life) Cell Id is Error。
Picture :
I have this error on my "Tornado" smartphone (WM 6.1).Why ?
By default, the program will read the files "2G.txt", "3G.txt", "site.txt" & "SiteNo.txt" when startup. so if you missing one of file , it will show the error message. you should create the 4 txt file to the root directory.
If you are a telecom engineer, you may entry the field data to each txt file or just create a empty file, it should be work !!!
that's a brilliant program.
btw what's the file format for the SiteNo.txt and is there a way to change the frequency of the log file to every minute or 30 seconds.
It would be great if you could do the site info match using the cellid ( CI ) and LAC. due to certain telco would recycle the cellid due to the 65536 limit.
Few more suggestion for the Log file.
1. Log file can be saved to storage card
2. BCCH info from the cells not from the txt file included in the log file
3. Logging frequency i.e 10 secs , 30 secs , 1 minute
4. LAC included in the log file
It is actually 8 to 10 db more when compared with an actual test tools.
bravo it's a good program.
Almost works, it crashes when i hit start or update, on my 8525 with ATT Wm6, files attached.
How do you read CELL ID ?
It is in the registry? where ?
could you show some code how to get cellid? which serial port to be opened?
On My HTC9000 PPC, I couldn't open COM2, No Com ports could be send AT
Cmd successfully
Some source code here ...
public static CELLINFO GetCellTowerInfo()
{
IntPtr res = IntPtr.Zero;
res = RIL_GetCellTowerInfo(hRil);
if ((System.Int32)res > 0)
{
rilCmd.CmdId = (System.Int32)res;
rilCmd.CmdType = RIL_CMD_TYPE.CELLTOWERINFO;
......................
.......................
if (!RIL.isInitialized)
RIL.Initialize();
RIL.CELLINFO CID = RIL.GetCellTowerInfo();
I have just started using this program as I am a telecommunications engineer.
I have emailed Frank for assistance and he has been most helpful.
The TXT files must be placed in the / directory - ie the "My Device" directory.
I have also noticed that if I use 2G or 3G mode on my phone, the program only looks in the 2G.txt file.
Try on my Hermes, on 3G band it shows only Cell ID, other failed, on 2G it shows MCC-MNC, Cell ID and LAC, but not signal level neither SC? Just reporting
Unsure why this is not receiving signal level, but the program does not yet have the functionality to extract BCCH/PSC.
All this program tries to match is the CellID - you need to have the BCCH/PSC in 2G.txt or 3G.txt
I am currently speaking with the developer to see if he wants some assistance to work on this program (i can test) - I am using a Touch Diamond
Thanks!
Dear Frank8080,
Thank you for your cellid sample program. I download and try it. This program run into my cht9100 very fine. I need one program to get cellid on wm6. Can you email your source code to me ? Thank you very much!
Does it work on wm2003 for my 818?
It does NOT work on O2 Atom, windows mobile 6 ...
hmmm... It crashed in my atom wm5.0.
Thanks for the bug reporting:
1) For the program can't read 2G or 3G txt, due to the program read the txt file base on the MNC(Network Code), so it seens that I need to add a setup page to fix the problem.
2) For can't decode the signal level (erwinpiero), I have tested on Dopod 838 Pro, it works ok. But I don't know why it's not work on your 838Pro.
3)For BCCH/PSC decoding, I still try ....
I am a mobile engineer in HongKong and the program just developed for my team use to perform the field measurement of the daily operation, so the most of function just base on the needs of my job. So if any other information you need, you may email to me, I will try to add the extra function to the program.
Hi frank, Top program, well done!! it's running on my TyTN II fine.
Could you post up some examples of how the 4 txt files should be built and a "few" examples of the info they should contain.
Also I see you're using RIL ... does your program update the CellID etc whilst the phone is "In Call". I have used CellTrack before and once "in call" the phone never updates apart from the RX level.
Thanks!!
Phil
Hi,
I haven't tried this sw, but I will do it soon (as soon as I have a PDA).
Just wondering if is possible to select what variables should be on the log (e.g.: active set, the cells that are being measured)...
thanks

Categories

Resources