For those of you with Windows Phone 7 devices, you know the drill. Open an app, get a message, click on it, and then wait 10-15 seconds to go back to what you were doing. Well, thanks to this registry key I found, those days may very well be over
Here's a video of it in action:
As you can see, this allows you to switch between applications without having to wait on the "Resuming..." message. Of course, there's some side effects, but I assume everyone on here knows the drill. Here's the key:
HKLM\Software\Microsoft\TaskHost\DehydrateOnPause
Set it to 0 to disable dehydration. (Defaults to 3)
You don't even have to restart, just load up an application and lock the device to see the results. Cool, huh?
Now for the side effects:
First off, obviously, this probably won't help your battery much. But it actually might not be that bad, because the applications are still frozen in the background, just not dehydrated (evident with Fruit Ninja where the game pauses AFTER being returned to).
Second side effect involves the camera. With this enabled, sometimes the camera will let you take one picture, and then lock up entirely. This one is tricky, because it happened at first for a while, and then went back to being completely normal (can take pictures, view pictures, etc). Experiment a little with it, and tell me what happens.
The third also only appears sometimes (the same sometimes as when the camera started working again, hint hint), and is not that big of a deal. Basically, sometimes your icons won't load, for whatever reason. Again, this only happens sometimes, and doesn't really effect your device usage.
Side effects aside, this works without any hassle and is completely reversible. Just keep in mind that it is a hack, and you know the deal with those. As usual, it's at your own risk.
Try it out and share what happens.
More info: http://windowsphonehacker.com/articles/exclusive_instant_resuming_on_windows_phone_7_hack-03-19-11
now that's how it should've been to begin with
about how long does the tombstone state take place before immediately having to restart a program
eg
I'm playing fruit ninja -> I get a text message -> after 15-25 seconds -> return to fruit ninja
after the second delay can I go back to the program, or are we still restricted to 15-25 second delay
domineus said:
now that's how it should've been to begin with
about how long does the tombstone state take place before immediately having to restart a program
eg
I'm playing fruit ninja -> I get a text message -> after 15-25 seconds -> return to fruit ninja
after the second delay can I go back to the program, or are we still restricted to 15-25 second delay
Click to expand...
Click to collapse
The only time there is a delay is when you launch the application from the start menu (or games hub). When returning to an application, there is no delay.
Jaxbot said:
The only time there is a delay is when you launch the application from the start menu (or games hub). When returning to an application, there is no delay.
Click to expand...
Click to collapse
I'll try on an hd2 of my brothers...any other registry tweaks you've found for optimizing performance?
domineus said:
I'll try on an hd2 of my brothers...any other registry tweaks you've found for optimizing performance?
Click to expand...
Click to collapse
I actually found this when looking for the NoDo startup improvements in the registry, and got sidetracked by something much better I'll be sure to dig around some more once I get more time on my hands.
Nice find. Definitely hate the pausing of apps and having to wait for resuming.
edit: nevermind
It´s great. If I have a game running on the device it will not consume power battery?
thanks for this really great find
Wow!! Thanks for this register hack. Works like a charm on mine omnia 7
Did some tests:
- Test 1
* Silverlight
* 5000 ms pingback
Hello (ping): @ 08:47:39 (app start #1)
Hello (ping): @ 08:47:44
Hello (ping): @ 08:47:49 (home key)
Hello (ping): @ 08:47:54
Hello (ping): @ 08:47:59
Hello (ping): @ 08:48:04
Hello (ping): @ 08:48:09
Hello (ping): @ 08:48:14
Hello (ping): @ 08:48:19
Hello (ping): @ 08:48:24
Hello (ping): @ 08:48:29
Hello (ping): @ 08:48:34
Hello (ping): @ 08:48:39 (Fruit Ninja #2)
Hello (ping): @ 08:48:44
Hello (ping): @ 08:48:49
Hello (ping): @ 08:48:54
Hello (ping): @ 08:48:59
Hello (ping): @ 08:49:04
Hello (ping): @ 08:49:09 (started new app #3)
Hello (ping): @ 08:49:14
Hello (ping): @ 08:49:19
Hello (ping): @ 08:49:24
Hello (ping): @ 08:49:29
Hello (ping): @ 08:49:34
Hello (ping): @ 08:49:39
Hello (ping): @ 08:49:44
Hello (ping): @ 08:49:49
Hello (ping): @ 08:49:54
Hello (ping): @ 08:49:59
Hello (ping): @ 08:50:04
Hello (ping): @ 08:50:09
Hello (ping): @ 08:50:14
Hello (ping): @ 08:50:19 (started new app #4) (first app killed #1)
- Thoughts: #1 dead, #2 alive, #3 alive, #4 alive
- Test 2:
* XNA
void Update(GameTime gameTime): is not called anymore.
void Draw(): is not called anymore.
- Summary:
All "System.Threading.Timer" are kept alive and will continue "ping" till override'd by new apps.
Threads: Paused ("Timer"'s still alive)
This "tweak" will actually drain the phones battery much faster.
the next step would be, if i click on f/e the facebook tile that ill will open the app where i left it, instead of the beginning but this would probably be much harder to accomplish.
Anyway this is perfect man, I like this tweak works nice.
What happens if u change the value to 1 or 2?
Sent from my OMNIA7 using Board Express
evolutionqy7 said:
What happens if u change the value to 1 or 2?
Sent from my OMNIA7 using Board Express
Click to expand...
Click to collapse
i try 1,2 it do the same thing like the value fixe at 3 no changes
evolutionqy7 said:
What happens if u change the value to 1 or 2?
Click to expand...
Click to collapse
i was woundering this too...
but changing from 3 to 0 works fine on my lg q7
edit:
hd2leo_fusion said:
i try 1,2 it do the same thing like the value fixe at 3 no changes
Click to expand...
Click to collapse
nevermind lol.
Nice Job! Working fine. Befor it E900 battery keeps max 2 days.
for those who like me do the trick for multitasking, not to consume more battery than usual, just press the arrow "back" on your Windows phone until whether you're on the Home screen and nothing behind it washables.
it will effectively kill any application running in the background while waiting for a true "task manager"
is there anybody who can yet confirm the battery drainage?
My omnia 7 is just messed up today, so i have to send it back to service. It keeps saying my phone is connected to the power while its not, and the lock button locks the screen than the screen just unlocks itself automatically. Great features haha. But I applied the hack before I did the factory resets to see if it solved the problems. However I believe the hack is totally unrelated to my issues, but I can not confirm if the battery drains significantly faster with this hack enabled.
But it would be very cool if somebody can tap into the back-list so the order can be changed so you can open whatever app you want to go back to. Or modifie the action of the tiles, so when you click the tile and you had that same app in the back-list, it will resume to that state (like fake multitasking) and when its not in the backlist it will just load the app normally.
Ok so with that who wants to write a task switcher for the homescreen
Sent from my OMNIA7 using Board Express
fiinix said:
Did some tests:
- Test 1
* Silverlight
* 5000 ms pingback
*clip*
- Thoughts: #1 dead, #2 alive, #3 alive, #4 alive
- Test 2:
* XNA
void Update(GameTime gameTime): is not called anymore.
void Draw(): is not called anymore.
- Summary:
All "System.Threading.Timer" are kept alive and will continue "ping" till override'd by new apps.
Threads: Paused ("Timer"'s still alive)
This "tweak" will actually drain the phones battery much faster.
Click to expand...
Click to collapse
Wait, can you clarify the experiment some more? Whenever I ran a timer in the background, it would freeze the timer until I returned to it. Did you find some sort of way to actually execute code with another application focused?
Also, I think by increasing the QuantumNumber value under the same key will allow you to keep more applications open. Not sure though.
Related
Hi all,
It seems that certain people (most notably multiple HD2 users) are having crashes and other issues with ArkSwitch. I have a Fuze (Touch Pro), and I'm not experiencing these issues. Therefore, it's virtually impossible for me to fix them.
I ask for your help finding and fixing these bugs, if you have any device that is not a Touch Pro. The source code is available at http://arkswitch.codeplex.com and I would really appreciate some help from any devs that have an HD2 or pretty much any device other than my own.
Let's use this thread to discuss code issues, and the "main" thread for everything else.
Thanks a lot!
Hi ark,
I'll take a look into it (I have an HD2, and sometimes it freezes for me also)
I've coding skills so no worries
See you later
PS. Nice app!
Cool, thanks!
Works fine on my HD
Only crashes when i try to include a image as a selector
hi Arktronic,
I have included ArkSwitch in my ROM v1.8, but have to remove it in next release.
Here are some problems found:
- I have to exclude it from CleanRAM otherwise CleanRAM will take the phone down.
- top taskbar (I'm using WM6.5.5) will be no longer accessible if ArkSwitch has been terminated by other apps (such as Task Manager 3.1, CleanRAM), or sometimes closed by itself.
However, I like the way ArkSwtich "take down" other apps, such as cprog.exe (Phone). It really removes cprog from the memory and free up some RAM without crashing the phone.
Is it possible to make ArkSwitch NOT to stay in RAM?
P/S: Sorry, I'm off topic. You want to discuss coding? Where can I get the code?
If you don't want ArkSwitch to stay in RAM, enable WM65 compatibility mode. Depending on what the user does then, it will either quit or minimize (but be friendly to the system if killed by CleanRAM or others).
Like I said in the first post, the source code is available here: http://arkswitch.codeplex.com/
Okay I did a debug session,
It seems to freeze here:
// Get the window text or else continue enumerating.
if (!GetWindowText(hwnd, WindowTextSb, 1024)) return 1;
in
static int EnumWindowsCallback(IntPtr hwnd, uint lParam)
In some cases the function GetWindowText doesn't return...
If I remove this call, it will load without any freeze
Interesting. Does that happen when there is another app that has frozen, or is it just random?
Maybe I forgot to lock that callback procedure in memory to prevent the GC from moving it around...
Arktronic said:
Interesting. Does that happen when there is another app that has frozen, or is it just random?
Maybe I forgot to lock that callback procedure in memory to prevent the GC from moving it around...
Click to expand...
Click to collapse
Seems that just some apps makes it freeze. I just noticed that an app written by me in c++ makes it freezing every time
If it is closed instead, arkswitch loads up normally.
I forgot:
It is not frozen. But it hosts a IE control in it if that could help.
btw I don't think is a GC problem...
I don't think an IE control would have such an effect. Is it a normal window, and does it have title text?
Arktronic said:
I don't think an IE control would have such an effect. Is it a normal window, and does it have title text?
Click to expand...
Click to collapse
I was searching a way to implement IE Control correctly due to netcf's scrolling bug with it. My exe is a modification of this one http://cid-e91b74403814953e.skydrive.live.com/self.aspx/BrowserWithGestures/BrowserWithGestures.zip which I'm using as support to my main app...
I'll look at that when I get a chance. Thanks again!
Arktronic said:
I'll look at that when I get a chance. Thanks again!
Click to expand...
Click to collapse
I'm going to look again on that piece of your code instead, maybe I will figure it out because it freezes.
I think i found the answer:
Internally, GetWindowText calls SendMessage(hWnd, WM_GETTEXT) to the window.
Since the thread calling GetWindowText (your thread) and the thread that
owns the window are different threads, the SendMessage
internally becomes a PostMessage, which sticks the message in the owning
thread's message queue and blocks until the message is processed by the
owner thread. You are now at the mercy of the owner thread to process that
message. If that thread isn't running a message pump, you're stuck.
Click to expand...
Click to collapse
you should use
SendMessageTimeout(hWnd, WM_GETTEXT, ..., 1000L,...). You'll be blocked for
1 second tops. You can of course send in a longer delay, but 1 second
should be sufficient.
Click to expand...
Click to collapse
Let's fix it
I'll post fixed source as soon as I end.
Wow, great find! I'll change it as soon as I can. This explains why other apps freezing causes ArkSwitch itself to freeze.
EDIT: Oh, if you're going to change it yourself, that works too
Fixed. It doesn't freeze anymore.
I'm doing some other checks, then I'll post corrected source code
w00t! You are awesome
Arktronic said:
w00t! You are awesome
Click to expand...
Click to collapse
I read on codeplex "Removed global memory status information retrieval as a test..."
Why you did so?
Where I need to touch to re enable it?
PS. Thanks, i just like to help
I did it as I was testing various things with Long Zheng to determine why ArkSwitch crashed on his HD2. We seemed to get somewhere with the removal of that, but then it started crashing again. I suggest you just go with change set 44738, as that has the latest stuff in it, except for the unnecessary removal of global memory info.
Arktronic said:
I did it as I was testing various things with Long Zheng to determine why ArkSwitch crashed on his HD2. We seemed to get somewhere with the removal of that, but then it started crashing again. I suggest you just go with change set 44738, as that has the latest stuff in it, except for the unnecessary removal of global memory info.
Click to expand...
Click to collapse
Ok.
Do you know how to detect sliding the finger on listview? I would add a process view which opens on sliding finger from right to left but there is not any mousedown/up event...
Location Aware is an automatic volume profile switcher.
This application works out of the data received from GSM signals.(NO CDMA)
so almost all windows mobile devices can use it.I developed it on my elf and it seems it is working
Requires GSM network, Windows Mobile , .Net CF 3.5
1. Battery Friendly, No active background process.
2. No GPS needed.
3. User configurable interval to check for location.
4. Can save settings automatically v0.3
Well it works like this: (May change per version)
1. Install it.
2. Open the Location Aware(from programs)
3. When ever you start the app it will vibrate the device 2 times and then asks "Add this Location".
4. Click OK and it prompts to save the volume level for this location and save.
5. Adjust the volume level as you desire from the Slider on right hand side of screen.
6. Then goto Menu and Save Location Mode, this should save the setting for this location(Prompt will be displayed).
7. Now you can let the application run itself every X mins to check for new location and prompt you whenever a new location is found.
8. To set the interval time goto Menu -> "Stopped" this should open up a panel to enter the interval time, fill it and click set. "Stopped" should be changed to "Running". Now you can Exit.
9. If prompt is not dismissed or OKayed within 1 min(Automode). It dismisses itself and will prompt again if new location is found after next X mins.
10. The limit for interval is 2-60 mins, that means the app will run itself after every X mins and check for location, if a new location is found it vibrates
and then asks you to save this location or not, in case you dont respond to it, it will close itself after 1 min.
and in case the location was already saved it will automatically apply the volume profile.
Basically as you keep on using it the database keeps on growing and in parallel profile settings gets more customized.
PS: You may notice that the taskbar volume indicator is not changed, but that is normal. The volume setting is still applied as per your choice this issue is fixed in v0.3
V0.2
1. No alert popup will be displayed to inform select n save the location.
2. Save the location mode directly by clicking the volume level image.
v0.3
1. Reflect the volume level changes in the taskbar volume icon
2. New mode added "AutoSave", enabling it makes the app save new location automatically with the last volume preference, whenever a new location is found.
PS. AutoSave mode works in Scheduled mode, if you have set the app to run after a scheduled interval with autosave mode enabled and it detects a new location it will prompt a message-box, if you don't give it a response i.e ignore it, it will add the location automatically after 1 min and will dismiss itself.
for users of previous versions:
It will use the already existing database of location settings, just install it over the previous version.
PCBuddy
This app is used to plot all the collected points by the location aware app on google maps.
Unzip the files and then copy the locations.db file from your device to the same folder on your system. Once the file has been copied Run CreateMap.exe this should generate a html file in the same folder. Run that and see for yourself
Please replace the dll in PCBuddy with the one in 64Bit.zip in case you are using a 64Bit Windows
Suggested setting:
For the first time I suggest to keep the interval at around 5 mins so that it can grab almost all the desired locations. once you feel it is having settings for your daily use u may turn the interval to a higher(suggested 15 mins) so that it can apply the volume settings for the known locations.
SUPPORT LATE NIGHTS- DONATE!
No comments???
Great idea !
By using GSM signal to get your position you avoid to use the gps which take more time to get position + a little battery consumption.
We certainly can find a lot of functions linked to this automatic profile/location system
I will try your app
Vesperial said:
Great idea !
By using GSM signal to get your position you avoid to use the gps which take more time to get position + a little battery consumption.
We certainly can find a lot of functions linked to this automatic profile/location system
I will try your app
Click to expand...
Click to collapse
Thanks Vesperial, hope it works out fine
Hmmm
hmmm and I thought this was useful
it is a nice idea
but as a nice addon it would be cool, if it would be possible to add names for specific cell id locations and if the app would be a today plugin
diboze said:
it is a nice idea
but as a nice addon it would be cool, if it would be possible to add names for specific cell id locations and if the app would be a today plugin
Click to expand...
Click to collapse
thanks diboze,
well your ideas are nice but since i want to keep the user inputs to minimum i went on this way and about making it a today plugin...hmm i m not sure how to do that with a C# app
but suggestions are always welcome
Great Concept!!!!
Just saw your P.S. that the volume icon will not change accordingly...but it works as intended. (Please Fix) Is there a radius on the set locations? I work across the street from our main mall, is why I ask.
I love this concept as I saw the other O.S. had a similar app. (Sweet Dreams)
~PLUR~ Peace Love Unity Respect
~DJyoSNOW~
djyosnow said:
Just saw your P.S. that the volume icon will not change accordingly...but it works as intended. (Please Fix) Is there a radius on the set locations? I work across the street from our main mall, is why I ask.
I love this concept as I saw the other O.S. had a similar app. (Sweet Dreams)
~PLUR~ Peace Love Unity Respect
~DJyoSNOW~
Click to expand...
Click to collapse
Hi djyosnow,
understood your concerns about the radius thing but thaz not in myhands as that thing is dependent on lot of factors like, your disance from tower, signal strength etc. But still you may experiment if you get new location alert in case you are at your office.
n yes this is really nice ~PLUR~
Peace Love Unity Respect
Very good application, specially like me who travel a lot from office to client to mall and to our factory
I will give my comment after i use it...
devya said:
Very good application, specially like me who travel a lot from office to client to mall and to our factory
I will give my comment after i use it...
Click to expand...
Click to collapse
Sure will wait for your inputs. n hope you find it useful
v0.2 Out
Some modification in GUI and user interaction
Re mohitsapru,
i tested your app on my HD, it worked well
I have one suggestion to ease the way we can use it, an option like 'Save the actual sound profile automatically when a new unknown position is found'
Then we can move without thinking about it but it will be good as an enabled/disabled option.
Good job !
Vesperial said:
Re mohitsapru,
i tested your app on my HD, it worked well
I have one suggestion to ease the way we can use it, an option like 'Save the actual sound profile automatically when a new unknown position is found'
Then we can move without thinking about it but it will be good as an enabled/disabled option.
Good job !
Click to expand...
Click to collapse
Thanks Vesperial,
well about your suggestion it sounds good. right now it is dismissing it after 1 min i need to save the location automatically.. hmm sounds OK... will do it next time.
Thanks,
Mohit
Does this app able to detect the change of location if the device switched off(suspended) by power button?
For example:
1. Save volume setting at location A and location B
2. At location A, press power button to turn off the device
3. Move the device from location A to location B
4. Will the volume be changed automatically (without turning on the device) at location B?
ahlok_hk said:
Does this app able to detect the change of location if the device switched off(suspended) by power button?
For example:
1. Save volume setting at location A and location B
2. At location A, press power button to turn off the device
3. Move the device from location A to location B
4. Will the volume be changed automatically (without turning on the device) at location B?
Click to expand...
Click to collapse
Yes, it does. But dont forget to exit whenever you save a location setting
hey there,
this looks brilliant! ill try this out tomorrow!
thanks a lot
MG
MysticGenius said:
hey there,
this looks brilliant! ill try this out tomorrow!
thanks a lot
MG
Click to expand...
Click to collapse
Thanks MG,
Do let me know of your suggestions and experience using it.
Thanks,
Mohit
I have run it on my Samsung I900 Omnia and i think it works perfect.
But here some ideas:
It would be great if you can add 2 or more cells to 1 location (Because i have here to cells at home, and if I use UMTS 3G i had another one)
If you write the cell id a little bit greater.
And expert mode were you add name for cells (i see this wish earlier here, too), and can add more things.
Dtrieb said:
I have run it on my Samsung I900 Omnia and i think it works perfect.
But here some ideas:
It would be great if you can add 2 or more cells to 1 location (Because i have here to cells at home, and if I use UMTS 3G i had another one)
If you write the cell id a little bit greater.
And expert mode were you add name for cells (i see this wish earlier here, too), and can add more things.
Click to expand...
Click to collapse
Hi Dtrieb,
Thanks for trying it out.
Well i will think about the other two options/suggestions but i am not able to get what you meant by the first suggestion Which 2 cells are you referring to?
Hello everybody.
This is my first post and the game in the title is my first free videogame for WP7 .
I have to admit it has a really simple gameplay: you have just to frenetically tap the lightning and the fire in order to kill the enemies runnnig on the bottom of the screen... The more you kill, the more you unlock special abilities (from the "I love killing all menu").
Since I developed it only using the emulator because I do not own a WP7 device, (!!!) I probably made some mistakes... In fact 3 users on the marketplace left their bad comments about Attap!, saying it "sucks"... because it crashes!
But I think it is only a question of waiting 'til all the textures are loaded, after clicking on "New game-->Easy | Medium | Hard" (maybe this process takes more than 5 secs, I don't know).
I would be very grateful if you could try Attap! and tell me:
-if it crashes (wp7 device, language used)
-how much the loading process take after tapping on "new game --> | easy | medium | hard"
-if the "small shock" is visible when you tap on the lightning and there is no target under the lightning itself
-if it is difficult to move the lightning and fire
Thank you.
Tested in HD7 crashes most of the time when game over
tapped easy normal and hard it took 22sec to load in each (it looked like it was froze but it wasnt it was loading aparently)
if no target under the ligntning shows a small shock
it was difficult to move (the fire and the lightning get stuck havent managed to make them get stuck in normal or hard)
attached a screenshot of the lightning and the fire stuck together
Moving this to WP7 Software Development for now.
-if it crashes (wp7 device, language used)
Yes, Optimus 7, English
-how much the loading process take after tapping on "new game --> | easy | medium | hard"
Very long for all
-if the "small shock" is visible when you tap on the lightning and there is no target under the lightning itself
Yes
-if it is difficult to move the lightning and fire
Extremely.
thepinkrabbit said:
Hello everybody.
This is my first post and the game in the title is my first free videogame for WP7 .
Thank you.
Click to expand...
Click to collapse
Where is the appp ?
whynot2007 said:
Where is the appp ?
Click to expand...
Click to collapse
Uhm, it's in the marketplace.
First of all: thanks for your bug reports.
I assure you I had not ever experienced those problems (neither crash, neither fire & lightning get stuck).
The very strange fact is that game loading takes different times depending on the device you are playing it.
I've made un update, and another one is still coming to improve game's speed:
-added loading screen
-the two nature defenders now are more reactive to player’s finger
-fire defender shoots faster
-game loads faster
I would appreciate if you could give me more feedback.
Thank you.
Did anyone downloaded the updated version?
Thanks.
Here's some feedback. Go buy a phone.
While its good that you are trying to create something developing for the emulator frequently gives you a totally different experience than on an actual device.
The marketplace is NOT a place to debug your apps/games. Filling it with buggy software whether its free or not is plain wrong.
astromex, I completely agree with you, but this was the product of a C# & XNA course at my University. It's not my fault: we had no phone to test it and all I could test was the MS emulator.
Btw, did you try the game?
thepinkrabbit said:
astromex, I completely agree with you, but this was the product of a C# & XNA course at my University. It's not my fault: we had no phone to test it and all I could test was the MS emulator.
Btw, did you try the game?
Click to expand...
Click to collapse
thanks for the game man! It crashed for me and it took a bit of a while to load using an HD7
professorwol said:
thanks for the game man! It crashed for me and it took a bit of a while to load using an HD7
Click to expand...
Click to collapse
Would you please be more precise about when it crashes?
I think it's something connected to the save of the gamestate.
Meanwhile I resolved the loading problem, the game has been updated.
Moreover, lightning and fire do not get stuck anymore.
if you have an unlocked Windows Phone 7 and you are an advanced user, hit the source link for the instructions on how to apply the hack :
only for advanced users
http://windowsphonehacker.com/articles/exclusive_instant_resuming_on_windows_phone_7_hack-03-19-11
http://www.youtube.com/watch?v=6JwCLTh0yLQ&feature=player_embedded
DO NOT MESS WITH THE REGISTRY UNLESS YOU KNOW WHAT YOU ARE DOING!!!
Have you tested? For how long? I mean.. battery life would die fast, and RAM would suffer in pain ;P
mikeeam said:
Have you tested? For how long? I mean.. battery life would die fast, and RAM would suffer in pain ;P
Click to expand...
Click to collapse
i test it yes,it's like multitask on mango
it resume the application where you was after changing apps(like games)
but the only issues they have it's the icons of the hub make a very long time to appear on home screen(not native hubs),the battery not ask more juicy than before
edit2: after my first shot i re-put the stock value in the register & reboot
i put the 0 value & reboot,all the systems is smooth now
lives tiles & icons appear fast than before & multitask work like a charm(i launch NFS,ASC,twin blades,etc) all apps responsive instantly
so i will wait for Nodo update
Someone needs to come out with a XAP that will change this registry value for those who dont know how to do it
Aaron McCarthy said:
Someone needs to come out with a XAP that will change this registry value for those who dont know how to do it
Click to expand...
Click to collapse
try this one
here u will find the steps to do it => http://forum.xda-developers.com/showthread.php?t=999475
This seems OK. No actual "hard changes" to dll's, so it does not corrupt the phone if unlucky.
One this is "when does the application really exit?", eh?
Anyways, gonna activate this! Thanks for sharing.
fiinix said:
This seems OK. No actual "hard changes" to dll's, so it does not corrupt the phone if unlucky.
One this is "when does the application really exit?", eh?
Anyways, gonna activate this! Thanks for sharing.
Click to expand...
Click to collapse
u welcome
I just have tried it and it really works great.
Though I cannot believe that it wont drain the battery faster, because the apps still run in the background. So when you go into facebook and starts loading and you press the HomeButton and after a while you go back, it already has updated.
But still it's a great thing!
So what Microsoft actually adds with Mango, is a little gui for switching between the open tasks.. well that should come out faster
Sincerly,
DeathLamp
APPS even with that tweak will have - STOP message on pause... you just cripple - APP memory dumping to flash ..
atm when phone paused .. all apps stoped . and their dump goes to flash ...after dumping ready os FREEING APP MEMORY ..
when phone no longer paused . DUMP WRITE IN MEMORY ( resuming )
on future updates ms added - trigger - if memory enogh to run app .. dumping mechanism will not work.. in future updates dumping will work only on long time idle apps .. and in case - OS IS OUT OF MEMORY
Its not too battery friendly...
mo3ulla said:
APPS even with that tweak will have - STOP message on pause... you just cripple - APP memory dumping to flash ..
atm when phone paused .. all apps stoped . and their dump goes to flash ...after dumping ready os FREEING APP MEMORY ..
when phone no longer paused . DUMP WRITE IN MEMORY ( resuming )
on future updates ms added - trigger - if memory enogh to run app .. dumping mechanism will not work.. in future updates dumping will work only on long time idle apps .. and in case - OS IS OUT OF MEMORY
Click to expand...
Click to collapse
Got sources?? Sources please....
Well i got mine and they
* do not get dumped to flash.
* does not "all apps stoped"
* does not write dump back in RAM. (they stay alive as a real app);
I tested all with real code and real debuggers.
Source (my own test..) found at: http://forum.xda-developers.com/showthread.php?p=12221130#poststop
Why not put the actual instructions in the OP?
Using a registry editor, go to:
HKLM\Software\Microsoft\TaskHost
and set "DehydrateOnPause" to 0 (defaults to 3).
WP7 Screen capture program
[OBSOLETE, INSTEAD USE Screen Capturer v3]
Program structure
At application start Jaxbot's dehydrate hack, its enabled automatic by setting some registry values (that enables sort of multitasking). So that you can just run this app, go to home, enter the wanted app of you choice that you want to capture.
Brief info about how this app has functionality to take captures.: Uses The DllImport Project to talk to the system that enables C# code to call C++ for me.
The app is actually only an infinitive loop that listen for [Focus]-key.
As you can see below, a Sleep is enabled of 500ms to spare your battery so that is does not spam the system cpu with a while loop that runs forever, draining your battery fast.
Code:
public static void StartHook()
{
Phone.Screen.init();
bw = new BackgroundWorker();
bw.DoWork += bw_DoWork;
bw.RunWorkerAsync();
}
static void bw_DoWork(object sender, DoWorkEventArgs e)
{
int key = (int)Phone.KeyboardHook.PhysicalKeys.Focus;
while (true)
{
if (DllImportCaller.lib.GetAsyncKeyState7(key) != 0)
{
Phone.Screen.Capture cap = Phone.Screen.CaptureScreenToPictures();
var str = string.Format("PictureName: {0}\nTimeElapsed: {1}ms\nPictureByteSize: {2}",
cap.PictureName, cap.TimeElapsed.TotalMilliseconds, cap.PictureByteSize);
int res;
DllImportCaller.lib.MessageBox7(str, "Screen Capture", (uint)MB.MB_OK, out res);
}
System.Threading.Thread.Sleep(500);
}
}
In App instructions (Web)
[Checkbox] Jaxbot' Dehydrate hack (On / Off)
- This is for yourself, so you can toggle the "multitask" after capturing the app.
- Automatic activate on app launch (this)
"How to":
- Enter this app
- Navigate to the app you want to capture (no more than 2 apps in between (this app will be killed by "Watchdog"))
- Hold "focus" (not click, >focus), for at least 500ms
- Wait for messagebox to verify capture
- (SUCCESS) > Located under "Pictures > All > Saved Pictures"
Extras comments by me
(100% Verified to work (on mine lol))
Test pictures made at the moment: 460!
Fixed-list
- (1.0.1) Collision with real "Dll Import" when the guids are the same
- (1.0.2) GUI + Standalone + No collision with overwrite whats so ever (Same GUID)
- (1.0.3) "In-app dehydration toggler" + "better experience", EPIC release
- (1.0.4) Fail-safe, for sure no more multiple capture bug (2-4). (Test: I Can hold focus for 1 min and only one is captured).
- (1.0.4.0.0.0.1) For some random reason without debugger it took 1-6 captures, but WITH the debugger i could hold it for a minute and only one would be captured. Fixed now with a "Sleep()" to prevent 1+.
- (1.0.5) Now, problem with 2 msg box are 100000% GONE NOW! Ill pay you money else if 2 come up lol, jk
> Problem was located in "CSharp___DllImport.MainPage(); .ctor" that ALSO hooked to key-press.
- (1.0.5, HD2 edition) Now supports HD2, works now because its binded to "Search" instead of "Focus" -button; Aka "Search version".
Thanks for my time
Thanks!
Feature request: disable / enable dehydration from within the app. Maybe an option to automatically reenable dehydration after the screenshot. I don't want to leave dehydration on, because of performance and batterylife.
Well done!
Heathcliff74
Heathcliff74 said:
Thanks!
Feature request: disable / enable dehydration from within the app. Maybe an option to automatically reenable dehydration after the screenshot. I don't want to leave dehydration on, because of performance and batterylife.
Well done!
Heathcliff74
Click to expand...
Click to collapse
Is there a good cross device that can toggle dehydrate? Because of how i see it its device specific (root access). Is there a basic lib out there that i know exist somewhere, ill implent it.
Thanks for criticism
Fantastic ! Thanks for this app. Confirmed working on my HD7.
Attached some screenies.
contable said:
Fantastic ! Thanks for this app. Confirmed working on my HD7.
Attached some screenies.
Click to expand...
Click to collapse
Thanks for reporting (cross compiled anyways (device non-specific)).
> One "thanks" for you
fiinix said:
Is there a good cross device that can toggle dehydrate? Because of how i see it its device specific (root access). Is there a basic lib out there that i know exist somewhere, ill implent it.
Thanks for criticism
Click to expand...
Click to collapse
I'm not sure, but I believe the registry value that needs to be set can be changed with the normal registry api (no root access required). I could be wrong though. If it doesn't work, then the COM dll's from Samsung and HTC will work for sure. But you need to add the COM dll's for all the different brands and they have different interfaces. It isn't too hard though.
By the way, the criticism was meant as "constructive criticism" I appreciate your work.
Ciao,
Heathcliff74
Heathcliff74 said:
I'm not sure, but I believe the registry value that needs to be set can be changed with the normal registry api (no root access required). I could be wrong though. If it doesn't work, then the COM dll's from Samsung and HTC will work for sure. But you need to add the COM dll's for all the different brands and they have different interfaces. It isn't too hard though.
By the way, the criticism was meant as "constructive criticism" I appreciate your work.
Ciao,
Heathcliff74
Click to expand...
Click to collapse
Yep thats what i tried to say, "constructive criticism", forgot how to call if fully out
Also working fine on my OMNIA 7. I can enable/disable dehydration with advanced config tool on both devices.
@Heathcliff:
After testing the HD7 for some weeks now I decided to go back to the OMNIA 7 when you have finished your work. The HD7 isn´t nearly as good as the OMNIA 7 but atm the best choice if you wanna do some customizations...
wow, thanks for the app! Here are some of my own screenshots
Thanks for your work, but I have now the same problem like this tread.
Ddriver said:
Thanks for your work, but I have now the same problem like this tread.
Click to expand...
Click to collapse
Oh, right, cant have the same "AppId" on two apps. Then the apps will fail sometimes.
Ill leave a small update to fix some problems.
edit: Fixed (update at first page) (1.0.1)
fiinix said:
Oh, right, cant have the same "AppId" on two apps. Then the apps will fail sometimes.
Ill leave a small update to fix some problems.
edit: Fixed (update at first page) (1.0.1)
Click to expand...
Click to collapse
Thanks for the update. But...
Now stay the "PhoneRestartApp" again on my Mozart, but the "BatteryStatusApp" flay a way. ;(
fiinix said:
Oh, right, cant have the same "AppId" on two apps. Then the apps will fail sometimes.
Ill leave a small update to fix some problems.
edit: Fixed (update at first page) (1.0.1)
Click to expand...
Click to collapse
... nothing is fixed it overwrite my batteryMeter
Ddriver said:
Thanks for the update. But...
Now stay the "PhoneRestartApp" again on my Mozart, but the "BatteryStatusApp" flay a way. ;(
Click to expand...
Click to collapse
if you're having problems with the batteryStatusApp, try this one instead:
Newer battery app
CopyCounsler said:
if you're having problems with the batteryStatusApp, try this one instead:
Newer battery app
Click to expand...
Click to collapse
I have exactly this one on my Mozart and hi flay a way after the installation from the "ScreenCaptureApp". 8)
Ddriver said:
I have exactly this one on my Mozart and hi flay a way after the installation from the "ScreenCaptureApp". 8)
Click to expand...
Click to collapse
All this is fixed now.
Great work fiinix
Function all like a charm, thanks a lot for this app.
any word on disable / enable dehydration from within the app?
munkeyphyst said:
any word on disable / enable dehydration from within the app?
Click to expand...
Click to collapse
Have found an open source solution on that. That works on all platforms.
It is buggy but works! That's the important thing, thank you so much! Keep up the great work!
Sent from my HD7 using XDA Windows Phone 7 App