I have currently made a piece of simple windows mobile application using visual studio...
everything works fine, and I made the .cab installer.
except when i try to install it on my phone (it has both internal storage and device memory), doesnt matter what i choose it always installs everything in my device memory...
how do i fix this? how do i might it install in my internal storage?
Some .CAB files are hard-coded to install themselves to the internal storage.
To install the file to the storage card, I think you need to have a look at the settings in Visual Studio before compiling and packaging the project.
...
Bonzo said:
Some .CAB files are hard-coded to install themselves to the internal storage.
To install the file to the storage card, I think you need to have a look at the settings in Visual Studio before compiling and packaging the project.
Click to expand...
Click to collapse
im aware of that... but can u be more specific please? visual studio has alot of settings
megabeater said:
im aware of that... but can u be more specific please? visual studio has alot of settings
Click to expand...
Click to collapse
Seeing as I don't have VS set up to program for mobile devices, my best guess would be the "Project Properties"
Depending on your coding language, MS has decided that these menus should look a bit different, but try looking for a "Compile" tab or something like that withing the "Project Properties".
Good luck!
Related
My Wallaby (with Windows PPC 2002) is too central to my life for me to risk losing it by daring to flash it with a new ROM. This means that new tools, ringtones and things have to go into its mere 32 MB of RAM. On the other hand, this RAM is also cluttered up with "skins", sounds and things (including a version of Windows Media Player that has always resolutely refused to work) that Microsoft, HTC et al. have decided I must have. Mostly if I try to delete them, either using its native File Explorer, or via the cradle with Explorer from my computer (Windows XP Pro SP2, local adminstrator account on the PC), I get an error message, "File in use or write protected", that sort of thing, i.e. I'm not allowed to delete them.
Can anyone help me with the following?
- An explorer tool which will let me see and change attributes and permissions where necessary, and delete unwanted files from RAM?
- Any information on possible Windows PPC 2002 equivalents of accounts, local, administrator, etc.? My unsuccesful attempts to delete files have a distinctly "not local administrator" feel.
Another thing that would be marvellous, would be the option to use the (currently 128 MB) SD card as a sort of hard drive, i.e. to put large executables on to that and start them with something like a shortcut, so that they only load into RAM when they're actually needed. Can anyone tell me any more about whether this is possible, and if so how?
Thanks to all in advance.
you cant delete files in rom of the device and even if you could it would not add more program memory or storage on wallay you can only access the rom at flashtime
and at all other times it's readonly and dont take up any of the ram of your device
Thanks for your reply, Rudegar, but I'm looking to delete things from RAM, for instance \\device\program files\windows media player\*.* Am I wrong to think all this stuff loaded from ROM into RAM after the last cold reset?
Oops, I just discovered I can delete the files mentioned above (and did), from the native File Explorer. However, when I tap and hold \\device\windows\player (the media player executable, presumably player.exe) the "delete" option is greyed out in the context menu.
total commander is way better then file explore
I installed Total Commander, with thanks to Rudegar, and to Lumpistefan for being able to use his site as a hop. It's certainly a better tool for file management, but I'm not yet able to delete files I want to.
Roaring guitar.wav is a sound I particularly hate, and a colleague at work is already using it as his ringtone. Therefore there is no way I want to keep that ringtone in RAM. Total Commander lets me see the attributes, which are Read only, System (and in ROM, grey of course). It seems as if I can "greytick" and untick Read only and System, but when I come back to the file these attributes are there again. If I try to delete Roaring guitar.wav using Total Commander I get the message "Warning! Could not delete 1 file(s)!".
As I said, all this has a very "not local administrator" feel to it.
I tried searching the registry for "roaring" but the string was not found. I also cautiously experimented with switching the values of the following keys between 0 and 1:
HKLM\ControlPanel\AdminPassword\Group
HKLM\ControlPanel\Password\Group
but neither had any discernible effect on the behaviour described. Of course Roaring guitar.wav is just an example (and no offence meant to my colleague), I would like to remove a number of sounds and wallpapers I'll never use, and free up some more of my poor Wallaby's hard-pressed 32 MB RAM for everyday use.
Does anyone know how I could do it?
Hate to tell you this, but if TC says the file is in ROM, its in ROM and you can not delete it.
I am not familiar with Wallaby in particular but I guess the file your are attacking is not copied in to RAM. No reason to do so.
Windows Mobile was never designed for multiple users so no 'local / remote' administrator and stuff. Just trust me when I say this, if you can't delete it - it is in ROM.
There are two programs I can recommend:
MemMaid - it will show you exactly what is clogging up your RAM and automatically clean out what it can.
CabInstl - this little free app will let you choose where to install programs so you can put most of your apps on the SD.
Also in ActiveSync, when asked if to install to default location select 'NO' and you will get an option to install to SD.
One more hint:
You can keep all your themes, including the one you are currently using on the SD. Once you selected and installed the theme the *.tsk file is no longer needed.
When my iPaq was my only and primary PPC I also struggled with 32MB RAM (total). I kept everything on my trusty 512MB SunDisk except what I needed on startup.
OK peeps, I've figured out a lot of "stuff" by reading and practicing. One thing I can't figure out of find a topic on is how to change the initial config screen. I really don't even know if that's the name of it. It's the screen which runs the preautorun and all of the cabs from preconfig.txt. 1. what's the name of the file and 2. how do I change it? Thanks guys.
R
Do you mean on the BS rom or the NBS rom?
If you mean the BS rom then you are talking about user customisation. It's a fantastic idea that lets you use a text file to run cab installs off the memory card, however all the cabs installed will be to main memory.
That is a text file on th memory card called "SDConfig.txt".
Otherwise you're talking about EXT Rom. It can be a pain as it takes up a heap of memory for the carrier apps it installs (mms/gprs settings are generally installed for your carrier here). The only way to stop this from going through is to reset the Hermes BEFORE it goes through the customisation. You are able to unlock the extrom with schapps advanced config (the very first one) which you should be able to find on here or the touchpro site.
Cheers...
ultramag69 said:
If you mean the BS rom then you are talking about user customisation. It's a fantastic idea that lets you use a text file to run cab installs off the memory card, however all the cabs installed will be to main memory.
That is a text file on th memory card called "SDConfig.txt".
Click to expand...
Click to collapse
I know about how that works, I'm talking about the screen itself while that stuff is installing. I tried to find a screenshot as an example, but no dice. I thought maybe there was a 240x320 png file to customize while that stuff was installing. Thanks for the quick reply.
You should pm a chef, they might have more information.
I'm assuming you mean the loading apps screen...
ultramag69 said:
You should pm a chef, they might have more information.
I'm assuming you mean the loading apps screen...
Click to expand...
Click to collapse
Roger that
Hi guys, ive had my touch hd 3 days now and ive been riducled by everyone that i didnt go for a iphone, however ive spent alot of time on here and its plain to see that so much can be done and be added!
Now i gotta confess i dont know what a CAB file is, i dont know what ROM is, i dont know what this manilla is, so i hope you can see my probs!
During my 3 days ive managed to download the blackpad dialler and the hd tweak(altho they took me ages), but i wanna change the theme, the wallpapers, i wanna add apps like google maps etc..
I hope this thread will attract people who can help people like myself out and explain how to do stuff and where to go etc..
Btw how do i choose a downloaded song(synced via windows media) to be my ringtone? haha such a amateur!
Thank you for any help in advance!
have you read the wiki? that will help allot, helped me 2.
the wiki??? lol
a .cab is an install file you copy to your phone and then tap it to execute from like file explorer. most installs if they are exe you run them on you PC and they send a cab file to you phone through activesync. but if its a cab file just copy to you phone and execute. If you dont like it yoou can uninstall from eith the phone in Settings/System/Remove Program.. or from you PC on activesynce or mobile device center.
Where on the phone is file explorer? but thanx for the rest, actually makes sense, god im blonde!
where can i read about this wiki?
Its in programs.
Honestly, I would reccomend you go through your phone. Go into programs and see whats there. Then go into each of the settings options and see whats there.
Then learn the hierarchy of your phone memory.
You will see that it is similar to Windows.
The top directory will be"My Device" and under it will be "Storage Card" which is your memory card (similar to an external hard drive analogy for a desktop) and then you will see Program Files where programs are installed and My Documents contains the following folders and more:
My Videos where you videos you record will be saved
My Pictures
This is the wiki page - it's VERY helpful: http://wiki.xda-developers.com/index.php?pagename=HTC_Blackstone
And, the software wiki is here: http://wiki.xda-developers.com/index.php?pagename=HTC_Software
You chose well. The Blackstone is an amazing bit of kit!
Keep in mind that it's basically a small computer with an aerial. Unlike the iPhone its not just a fancy phone.
Any computer needs a way for the user to tell it what to do... thats the operating system in the blackstone that's windows mobile (or winmo). You also need a user interface (ui) so you can tell it what to do. The HD uses touchflo 3d (tf3d). That's the front screen with all the tabs and clocks and stuff.
Like any computer... programs are installed to do different things. The dialers, sms, camera are all programs. This means you can install new programs to do things or overwrite programs to change what you already have.
These programs come in two main forms the cab file and the exe. The cab runs only on the phone and the exe will only run on the phone or your computer. There are lots of cabs to do lots of things. Download one that's interesting and run it.
Everything is stored in files on your blackstone. You can look through these files using file explorer... you will find that in your programs tab on tf3d. files are stored in folders. that means you can organise them the way you like.
The secret to the blackstone is to think about what you'd like to be able to do with it then search here or google to find a way... there usually is one.
I periodically go into modes in which I need to clean clean clean my computers and gadgets and I was wondering if there was an app or something out there to detect which of my installed programs have been installed on the Storage Card and which have been installed on the Device.
I'd basically like to find what I truly need to install on the Device and reinstall everything else on the Storage Card to save Device disk space.
Thanks in advance for any tips.
Don't quote me on this, but I think DinarSoft MemMaid has something like this. I had it at one time on an old phone of mine. I seem to remember not only having this functionality, but being able to change to and from the other storage (from Main-> Card and Vice verse).
It may have been program specific, but It's definatly worth looking into.
if you goto the following link and go down to "Storage Memory" (maybe a little more then 1/2 down the page), it says that it does have the ability to see "What and Where" things are installed.
http://www.dinarsoft.com/memmaid/details.html
Hope it helps.
I could be wrong but if you open File Explorer and look in the Programs folder on "My device" you'll see all stuff installed on device memory and if you look on your storage card there is also a Programs folder with all the programs installed there. Perhaps I misunderstood your question and this isn't helpful - in that case, sorry!
barbo said:
I could be wrong but if you open File Explorer and look in the Programs folder on "My device" you'll see all stuff installed on device memory and if you look on your storage card there is also a Programs folder with all the programs installed there. Perhaps I misunderstood your question and this isn't helpful - in that case, sorry!
Click to expand...
Click to collapse
Actually this was the original problem. Programs installed on the memory card will not only put files in the Program Files folders on the Storage Card, but can also install some in the Device Program Files folder, the Device Documents and Settings folder and even in the Windows folders.
Someone from PPCGeeks recommended using SKTools to figure this out and behold: not only a way to see where the install folder is, but you can move it to the card from the device and vice-versa if wanted!
Did anybody try to backup / restore his phone like the zune updater does?
This functionnality is very good but limited to software update for now.
I would love to be able to backup my phone like Zune does.
Just FYI, I've did some tests and it backup all apps (including homebrews), and all registry modifications.
how did you backup it ?
did you use zune for it ?
and do you know how to rebuild the 4mb files to 1 big one and did you manage to extract it ?
ceesheim said:
how did you backup it ?
did you use zune for it ?
and do you know how to rebuild the 4mb files to 1 big one and did you manage to extract it ?
Click to expand...
Click to collapse
Looks like he means update's backup.
Useless guy said:
Looks like he means update's backup.
Click to expand...
Click to collapse
Yeah, I've done the update backup through Zune.
You may want to start with opening "C:\Program Files\Zune\ZuneDBApi.dll" in .NET Reflector and then open the class MicrosoftZuneLibrary.ZuneLibrary. But prepare for a lot of unsafe C# code.
Good luck!
Heathcliff74 said:
You may want to start with opening "C:\Program Files\Zune\ZuneDBApi.dll" in .NET Reflector and then open the class MicrosoftZuneLibrary.ZuneLibrary. But prepare for a lot of unsafe C# code.
Good luck!
Click to expand...
Click to collapse
Also with regards to actually using the DLL: it can be done but for just about 100% of calls your exe has to be in the *same Zune directory* as the Zune dlls. This is a huge huge problem for an anal developer like myself that doesn't want to muck up their structure with a random file. It's likely and largely due to the almost 10mb native DLL they use (ZuneNativeLib.dll, the Holy Grail of all Zune work).
This may all just be related to the specific work I was doing which was just to access the music library but a *lot* of the Zune software uses these gates. It makes me wonder how TouchXperience does their backups. You don't need your entire code base to live with the Zune, just a 'proxy' exe/dll of sorts but it is a particular pain point I'll never like but I suppose I understand why MS locked it down.