Application initialise as early as possible - Android Software Development

Help folks,
I won't bore you with exactly what I'm doing, but I need an application to start as soon as possible - before the default launcher does for example.
The application contains settings that need to apply prior to everything else.
Is there a script I can place somewhere? If so, are there any examples you can guide me to please!?
Thanks in advance.

Related

Customize Dictionary? / Regedit for wm5? / Cab Questions...

first, I just want to say that you are all bloddy briliant and your dedication to making your Universal TRULY yours is incredible.
I have four questions that I GOTS to have answered:
1) Is there a way to edit the dictionary in wm5? I use a lot of legal terms and it would be a great time-saver if I could put a bunch of them into the dictionary so I wouldn't have to type them all the time...
2) Someone made a registry editor for wm5 and I'm forgetting who. I need this so I can remove the damn yahoo.com as the default page on PIE.
3) Relatedly, I customize a lot of settings after a fresh hardboot. is there a way to export my settings (font size, menu items, stuff like that) so I can just click it upon re-install and my preferred settings are restored? I'm assuming that this is a registry backup thing, but am not sure...
4) I need some general cab guidance. I used the "cooked cab" thread (ABSOLUTELY WELL DONE) to give myself a fresh custom software install, but want to include several of the programs I bought with the cooked cab process as well. I THINK I understand how to add them to the config script, but I don't know how to extract the cab files from their setup files (like pocket informant for example) and thus I can't add them to my setup routine. Can someone instruct me how to do that?
Again, thank you for all contributors and my donation is coming momentarily...

Settings Saver

I am hoping that someone can help me. I am trying to find the files that must be created when you input your GPRS and Server data. The obvious reason for this and most of the flashing junkies out there will know, I am trying to automate at least some part of the settings process after a flash. If I am barking up the wrong tree, please let me know. I appreciate any feedback and I thank you in advance.
Usually, most ROMs cook in the connection wizard which makes things a lot easier. If the ROM you have doesn't include it, then just install the cab and have it configure the settings for you.
Kareem, thanks for your reply but I think you may have misunderstood, or even more likely... my explanation was poor.
After flashing a new ROM, I manually input the pushemail setting for Vodafone EG. I then manually setup my work email server connection.
My question is: when I do this.... where do the settings reside? Is there a file somewhere?
I can't believe someone hasn't thought of this!
What about you "pureskillz"? I know you can flash 5 ROM's in a day...

first time Diamond owner need help!!

i want to really pimp out my phone but as keep reading through all the threads I end up being confused. cab files, zip files, TF3D config, clocks. what and where do i start and how do i install these files. let me know what do i need to post to help me do all of these mods.
help will be greatly appreciated!!
fottenlahi the only way is to learn is read the post's cause the instructions are really simple enough I was a noob once but I read read and read and learnt how to do the basic stuff....
as whitefalcon says, you have to read, try, hard reset if needed and learn.
You will get a hold of it quite fast.
To answer quickly :
-zip files can be opened on the ppc like on a desktop
-cab files are like the install files of your desktop, copy theme to the ppc click on theme and they insatll a programme.
-TF3D config allows you to tweak the touchflo 3D (change tabs order, remove tabs...)
- clock, well change the clocks
On the what and where to start, it depends on what you want to tweak, no one can decide for you...
know how you feel - but best way to learn is to try. Having said that, let me know what it is you want to do and I will post pointers for you.
Good luck!!
Maybe it is a little difficult to fresh, however:
zip is just like the rar or 7z or zip in windows system.
cab could be describled as the exe files in Windows, so, dobule-click it and do next.
clocks and config are some kind things of make your diamond more smart and suit your using habbit, so you could learn it later.
After all, you do not need to care about those difficulties, your phone is well enough when you buy it, so take it easy,dude.
thank you guys for trying to help me out. okay i have been doing some testing and my results are... i figured out how to install themes, fonts and clocks through cab files. it was a no brainer since i have previously owned a HTC touch pretty simple. now i tried to install the TF3D config and it gives me errors. I followed instructions about checking DWORD and it was what it was and error still showed, second step though about deleting tweaks dont know were to go to delete that.(if someone can guide me through that. i have asked before but didn't get an answer.)
what i currently have on my Diamond.
1. shakass V2 (theme installed through .cab. awesome theme)
2. .net framework 3.5 (both 3.5 and 2.0 "2.0 came with my rom")
3. yota contacts (really nice but eliminates the default quick access menu)
4. registry editor
5. advance config 3.3
is there some other apps i need to get?
should i use TF3D config or Manila customizer?
thought this might help, i have a
1.09.651.5 ROM
1.00.00F RADIO

Modifying OEM ROM

This is my first shot at doing anything with a Device's ROM so forgive me if I mention something stupid.
Basically what I'm trying to do is add one program to the install process, so when a Device is hard reset it goes back to factory + this one other program that I want to install.
I currently have it as a .cab package and the company I work for has given me an I-Mate K-Jam to learn how to do this, and then adapt it for newer devices. (which I'm sure will be a fun task).
I'm using the guide for creating a new ROM found here: (which is fantastic)
http://forum.xda-developers.com/showthread.php?t=303406/
The only problem is that I have no idea how to tell the package where to put files. The cab I have wants to put files in these directories.
[DestinationDirs]
CopyFiles1=0,"%CE2%"
CopyFiles2=0,"%CE4%"
CopyFiles3=0,"\Temp
If someone could explain this to me, or if there is an easier way to go about doing what I'm doing any help would be greatly appreciated.

[APP] Windows Mobile Package Manager

Windows Mobile Package Manager 0.0.2
Windows Mobile Package Manager will help you to create software bundles and install them on WM device unattended.
Currently, it's only early pre-alpha software, to ensure that concept is working. So, expect software crashes
Description:
The life of WM device, is hard. Constant ROM flashing, re-install everything, or recover from backup. Owning WM device for an year, I really hate to reinstall everything after new ROM flash, so i decided to make software that will capture the essence of "your device":
With this application you can create package, that will do those things:
Install software that you like
Restore application configuration / settings (via registry)
Copy your files to device (video / pictures / etc.)
How it works:
Every .cab file, have information about itself. What it's name, how it should be installed and where. This application WILL MODIFY .cab information, so that it will be installed to the path, that you want. This is done, to allow unattended installation. (maybe you have a better solution than wceload.exe /noaskdest /noui /nodelete)
Screenshots:
Usage video:
http://www.youtube.com/watch?v=dtm8OBDjH0c&feature=PlayList&p=2AEC932FAB308057&index=0&playnext=1
Download:
http://sonicflare.net/wp-content/uploads/2010/01/WMPackageManager_0.0.2.zip
Great Work... looking forward to see the "TODO" workin'.
good work, waiting for your next versions!
couple of suggestions:
- integration with XDAUC
- add \Internal Storage\Program Files
- auto-load last configuration
- fix the typos in: "Instalation path managment" => "Installation path management"
natanp said:
good work, waiting for your next versions!
couple of suggestions:
- integration with XDAUC
- add \Internal Storage\Program Files
- auto-load last configuration
- fix the typos in: "Instalation path managment" => "Installation path management"
Click to expand...
Click to collapse
1. What is XDAUC? Kind a.. never heard of it
2. You can add it manually, and it should be saved for you, when you start app next time.
3. Ok
4. Ok. Anyway, this screen will be re-design
Great Work... looking forward to see the "TODO" workin'.
Click to expand...
Click to collapse
Registry import, is almost complete, file copy should be simple to do.
It will generate .cab file for your .reg file. This was the easy way to implement this. But there is a drawback.. it does not allow non-ASCII characters in registry section of the .cab setup.
Updated to 0.0.2
Changes:
* Added registry support.
* Added file copy support.
* Updated usage video.
Feel free to try it
One question...
I export the Reg files with SKTools, but when i import them to your aplication there's no registry file tree...
Can you explain how to backup the reg files?
Thanks and keep up the good work!
p.lepes said:
One question...
I export the Reg files with SKTools, but when i import them to your aplication there's no registry file tree...
Can you explain how to backup the reg files?
Thanks and keep up the good work!
Click to expand...
Click to collapse
hm, can you attach your .reg file that was not parsed correctly?
did you by any chance exported the whole device registry (ie registry backup?)
Provisioning xml files support
Would you add support for parsing provisioning xml files?
Great app! Are you planning to make a mobile version (for making changes 'on the fly')? Another superb option for mobile version would be backup! For backing up current registry entries (specified in a ini file - something like in this app http://forum.xda-developers.com/showthread.php?t=491175).
mari8b said:
Would you add support for parsing provisioning xml files?
Great app! Are you planning to make a mobile version (for making changes 'on the fly')? Another superb option for mobile version would be backup! For backing up current registry entries (specified in a ini file - something like in this app http://forum.xda-developers.com/showthread.php?t=491175).
Click to expand...
Click to collapse
1. hm, to restore provisioning.xml? Could be possible.
2. For the mobile version... it defeats the purpose of this app As you can make changes on PC very quick. For the PocketPC version.. i have a doubt about it.
3. Currently you can use CERegEditor to export specific application keys. Again on PC with mouse I found this idea interesting.. but we will see how things will move
SonicFlare said:
1. hm, to restore provisioning.xml? Could be possible.
2. For the mobile version... it defeats the purpose of this app As you can make changes on PC very quick. For the PocketPC version.. i have a doubt about it.
3. Currently you can use CERegEditor to export specific application keys. Again on PC with mouse I found this idea interesting.. but we will see how things will move
Click to expand...
Click to collapse
1. Great!
2. I understand you but don't agree, that it defeats the purpose of this app. I would say it extends its usage (I can imagine, that I need it, but don't have my laptop with me... and this isn't only imagination - I already use some tools to do that). No doubts, that on a PC you can make it more comfortably, but...
3. I know and I use CeRegEditor often, but when I can use just one app... Another thing I can make a real up-to-date backup (many apps have their settings in registry and settings can change from time to time). This option would be great specially for the mobile version.
4. And what about restoring PIM backup (e.g. from PPCPIMBackup)?
I am a flashing junkie and I'm searching for such app for a long time (I wish I could make my own app, but I'm not a programmer).
I hope you understand 'my' english
mari8b said:
1. Great!
2. I understand you but don't agree, that it defeats the purpose of this app. I would say it extends its usage (I can imagine, that I need it, but don't have my laptop with me... and this isn't only imagination - I already use some tools to do that). No doubts, that on a PC you can make it more comfortably, but...
3. I know and I use CeRegEditor often, but when I can use just one app... Another thing I can make a real up-to-date backup (many apps have their settings in registry and settings can change from time to time). This option would be great specially for the mobile version.
4. And what about restoring PIM backup (e.g. from PPCPIMBackup)?
I am a flashing junkie and I'm searching for such app for a long time (I wish I could make my own app, but I'm not a programmer).
I hope you understand 'my' english
Click to expand...
Click to collapse
2. Yes, but it's not the main use-case It's just adds additional overhead for the development, as you have to sync the mobile client and the PC client. If for example mobile client is used only by 2-3 people
3. I'm already thinking for a way to do that Probably via ActiveSync. So, for example in the UI you could define, what registry keys should be backuped, save this info in some config, and re-apply to different device. Again ,when you creating package, you can attach your WM device, and get those registry keys on the fly to the app. Something like.. live migration from WM device
4. Yes, this is good idea Again, goes well with the described above
Yes, I also like to try new ROMs.. and also was searching for something like this.. or at least the automatic .cab installation Didn't find app that suits me.. so decided to make one
I got some errors by restoring (copying) folders: e.g. "Could not find file 'Storage Card\CopyApplication Data' (when I want to restore Application Data folder).
Is it a bug or is just by me?
thx
Many Thanks
Thanks for this wonderfull application
I know there are some other auto installation programmes, but I find this program very simple and usefull. Please continue to develop it.
I only try software install software, not registry nor file transfer.
Up to now, I found a small bug :
During software installation (nearly 14 items) process, the information at the info page disappeared at the middle of installation. But after the installation finished, "Installation Finished" explanation displayed.
Could you please include a SETTING Page to select which programmes will be installed. For now, it can only be used during the first full installation. According to me, Selection option will be very usefull and make your wonderfull programme better and usage
Again my thanks and hoping to see new versions.
mkucuksari said:
Thanks for this wonderfull application
I know there are some other auto installation programmes, but I find this program very simple and usefull. Please continue to develop it.
I only try software install software, not registry nor file transfer.
Up to now, I found a small bug :
During software installation (nearly 14 items) process, the information at the info page disappeared at the middle of installation. But after the installation finished, "Installation Finished" explanation displayed.
Could you please include a SETTING Page to select which programmes will be installed. For now, it can only be used during the first full installation. According to me, Selection option will be very usefull and make your wonderfull programme better and usage
Again my thanks and hoping to see new versions.
Click to expand...
Click to collapse
1. you mean, that during instalation on your device, the screen of app does not refresh? This could happen, as the instalation process takes all available CPU. I was thinking about making re-draw in the high priority thread, but then.. it's only drawing pictures and not adding value.. so it was left as it is, to give more resource for application installatin.
2. yes, this could be done
SonicFlare said:
1. you mean, that during instalation on your device, the screen of app does not refresh? This could happen, as the instalation process takes all available CPU. I was thinking about making re-draw in the high priority thread, but then.. it's only drawing pictures and not adding value.. so it was left as it is, to give more resource for application installatin.
2. yes, this could be done
Click to expand...
Click to collapse
Hi again,
Yes, the screen of app does not refresh. So I could not see which programme was installing at that time
Thanks for accepting my request.
Cool thanks!
Any New Version please
Any New Version. Waiting it
Sorry, not yeat
Thanks, I really like this because UC didn't work well for me. It is really nice and it almost looks like an official app. Great work!
Thanks
This is a great concept. As a "mad ROM flasher" this will save me lots of time and head aches. Looking forward to seeing the development of this APP. Keep up the great work!

Categories

Resources