multitask on windows phone 7 available with chevron - Windows Phone 7 General

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).

Related

Applications mysteriously keep exiting?

I don't get it, at first I was thinking maybe I had exited programs that I didn't recall having done so, but now I'm convinced that something is killing programs on my Tilt 2. For instance I'll download something in PIE, open it in Resco Explorer and go back to PIE and it's closed, I have to re-open it.. or I'll browse somewhere in Resco, launch a program, and when I go back to Resco it's closed..
Unfortunately things like Flexmail this is happening on as well.. It's running for a while then I look and it's no longer running.
Anyone have any guesses? The thing has 70M+ of ram free, often more! My Tilt never had more than 30M free and it never did this crap unless I ran something really big like iGO.
khaytsus said:
I don't get it, at first I was thinking maybe I had exited programs that I didn't recall having done so, but now I'm convinced that something is killing programs on my Tilt 2. For instance I'll download something in PIE, open it in Resco Explorer and go back to PIE and it's closed, I have to re-open it.. or I'll browse somewhere in Resco, launch a program, and when I go back to Resco it's closed..
Unfortunately things like Flexmail this is happening on as well.. It's running for a while then I look and it's no longer running.
Anyone have any guesses? The thing has 70M+ of ram free, often more! My Tilt never had more than 30M free and it never did this crap unless I ran something really big like iGO.
Click to expand...
Click to collapse
Load up Schap's Advanced Config and go to HTC Task Manager --> Memory Threshold. Mine is defaulted to 9.5MB which seems a little high (at least coming from my Hermes). Not sure if that's it or not, because as you say there's usually quite a bit of free memory. Might have a leaky program though which is causing the closures.
Toleraen said:
Load up Schap's Advanced Config and go to HTC Task Manager --> Memory Threshold. Mine is defaulted to 9.5MB which seems a little high (at least coming from my Hermes). Not sure if that's it or not, because as you say there's usually quite a bit of free memory. Might have a leaky program though which is causing the closures.
Click to expand...
Click to collapse
I wouldn't think so, as I'm not seeing any memory creep or anything like that, seeminly for zero reason programs are being killed. I agree it's likely a memory threshold, etc..
I run a memory monitor that draws a bar at the top of the screen called qwertymemory so I see how much ram is in use all the time. I HAVE seen nasty programs where the bar will start dropping in the past, but I have yet to see that on my Tilt 2. And as you say, why would this happen with 60-70M free?
Yeah, my memory is also (near, odd number...) 9M. I'm half tempted to turn off "Auto Kill" and see if the problem goes away.
I've been having a similar problem but only with Opera so not sure if it's connected.
When multiple tabs are open and I go into the start menu or such like (Opera is never on screen) it exits without notification. Didn't used to.
dik23 said:
I've been having a similar problem but only with Opera so not sure if it's connected.
When multiple tabs are open and I go into the start menu or such like (Opera is never on screen) it exits without notification. Didn't used to.
Click to expand...
Click to collapse
I like Opera to browse, but I wish it wouldn't run at boot, I haven't yet figured out what starts it up after a reset. I need to at least do the registry tweak to be able to kill it I guess.. Lots of ram there.
But I haven't used it that much to notice that.. but it makes me wonder if there isn't some kind of crazy problem that's either killing or crashing programs.
I have had the problem with messenger, with no other programs running - I thought it was me going mad (again)
khaytsus - I have prevented Opera from running at start using
http://forum.xda-developers.com/showthread.php?t=532948
dik23 said:
khaytsus - I have prevented Opera from running at start using
http://forum.xda-developers.com/showthread.php?t=532948
Click to expand...
Click to collapse
Sweet, thanks! I wonder if this matters since I'm not using TF3D but I'm going to try it regardless.
Okay, this is totally pissing me off. Today I went out geocaching, and with my Tilt here's what I typically did:
With 35-40M free ram: Ran GeoNiche in Styletap, ran TrackMe, and Tom Tom. Tracked my progress, navigated via car from cache to cache, then zeroed in on the cache with Styletap. I didn't have to do anything kludgy, this was on top of my normal load of programs, including some fairly large things like S2U2, KaiserNotify, lots of Today plugins, etc.. Again, 35-40M free ram typically.
Same exact scenario with my Tilt 2 with 75-90M of free ram I could not run all three programs at once without one of them exiting. Never did my ram go below 50M free. I disabled the HTC Task autokill thing in Advanced Config (and soft reset) and it didn't change things.. This is driving me batty.
Anyone have any other suggestions? I wouldn't think so, but is it a possible max programs limitation I'm running into?
Crap, I just noticed that without any extra programs running, MemMaid said there were 27 processes. As I understand it, Windows Mobile has a limit of 32, so I bet that's what was causing me trouble earlier.
I've just killed a few non-essential things (qwertymemory, arialbattery, ms voice control, opera9, tmail) and left the rest (including s2u2) and launched TomTom, GeoNiche (in styletap), GCzII, TrackMe.. All running fine now, at least for the moment.
I guess I need to optimize what's running at boot.. Meh.
Yep, I'm getting pretty convinced that's what's going on. I've just booted my Kaiser and it has 23 processes at bootup, gives a lot more headroom for new processes. I have my Tilt 2 down to 23 now, with some sacrifices.
WM has a limit of 32 processes ?! Why ?!
What's the point of all that RAM then ? The likely hood of me ever video editing on my phone is rather low since I own a real computer to do that stuff.
Microsoft will never cease to confuse me with their strange ways
dik23 said:
WM has a limit of 32 processes ?! Why ?!
What's the point of all that RAM then ? The likely hood of me ever video editing on my phone is rather low since I own a real computer to do that stuff.
Microsoft will never cease to confuse me with their strange ways
Click to expand...
Click to collapse
Read the link I put in there, it explains it... The next base of WinCE fixes it, but traditionally it's 32. Why? Who knows... It's not a big deal until you find that with a normal installation with a few programs you're sitting at around 28-29.
I've still found it blowing away apps sometimes, I think sometimes there's just one or two more things that happen in the background (weather updates, maybe gpstoday, who knows) and one of my apps goes poof. I have it down to 24 at startup now too. But after a while various other things sneak into it and I find it around 27-28 again.
Just had another look and can't see a link. Sorry if I'm being dumb
dik23 said:
Just had another look and can't see a link. Sorry if I'm being dumb
Click to expand...
Click to collapse
Must have been in another thread I posted it.. Search the whole forum for windows mobile 32 processes and you'll find several references, although I can't find the thread I found with concrete info.. It's clearly 32....
take from storage mem and use for program ram?
I have had the same things going on I have although been at times idling from 59% to 79% this is if I clean ram 3 do not open any programs and check the phone after 15 min or so. I have been searching for a way to increase the program ram size from 173.3mb to over 200mb taking from storages 266.3 if need be. as of now I have "reg edit hklm/software/htc/resproxy/sharememsize=0" and that has helped a lot but I install only what I really need to in phone storage so I would really like to make more use of it by dedicating it to program ram. p
jinx1 said:
I have had the same things going on I have although been at times idling from 59% to 79% this is if I clean ram 3 do not open any programs and check the phone after 15 min or so. I have been searching for a way to increase the program ram size from 173.3mb to over 200mb taking from storages 266.3 if need be. as of now I have "reg edit hklm/software/htc/resproxy/sharememsize=0" and that has helped a lot but I install only what I really need to in phone storage so I would really like to make more use of it by dedicating it to program ram. p
Click to expand...
Click to collapse
My issue, as far as I know, really had nothing to do with ram.. It was processes.
I still have this problem sometimes, but it's NOWHERE as bad as it was before I removed a few things I really didn't need and have my 'typical' process load down to around 25.
BTW, I've heard of people having problems after changing the shared mem size to 0, one I think was related to multiple tabs in Opera.. Just keep it in mind.
Do you really have that much problem with free ram? I never had any problem with my Tilt and I typically had 25-30m at any time, and on my Tilt 2 I generally have 60-70m... Accounting (guestimating) for additional space for WVGA graphics I'd think that's more than equivalent..
More threads on this..
http://forum.xda-developers.com/showthread.php?t=600210
http://forum.xda-developers.com/showthread.php?t=600356
this always happens to phones that have been flashed to much there no fixing this. Your just plain fu?k*d sorry.
zarpy said:
this always happens to phones that have been flashed to much there no fixing this. Your just plain fu?k*d sorry.
Click to expand...
Click to collapse
Here's really all I can say..

Help me debug ArkSwitch :)

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...

[Project] CTaskManager - Spicing up UI [Android-Like]

Hey Everyone...I haven't been around these parts often, but I conceived a pretty good idea [I think]...
My friend recently got a Droid phone, and of course he was flaunting it to me...I love Android, honestly...but I love Windows Mobile too. SO! I thought "Why not merge the best of both worlds?"
Well obviously, I cannot make windows look 100% like Android...that would take tooooooo long. So instead, I thought "What about the Task Switcher!"
So I introduce to you, CTaskManager
Right now it is just a P.o.C (Proof Of Concept), but I have done my research and found pretty much all the API calls I will need [minus one or two, but I'll find those]. It will be fully in C++, and if I can get it working correctly, will be activated by the HOME button.
Attached is a proof of concept image [100% Photoshopped, not real at all].
In any case, this is how I forsee it working:
This will appear on top of any window
Activated by pressing [and holding?] HOME
1st Box will always be the Home Screen
2nd Box will always be the current Window (unless it is the HomeScreen)
You can switch between apps with 2 easy Clicks
First Select the Number of the Dialog
Second, Press CENTER or SPACE to switch to it, or press DEL to quit that app
The program's layout will vary depending on the number of Open Windows
Should be light, fast, and easy to use
Hopefully, since I forsee this to be a really easy project, I will have a release by later today! I am making it for my Excalibur users FIRST, because I owe it to this whole forum [And because I will be switching to an HD2 this upcoming monday, and I want to start a project up for a phone I use NOW]
-Until Later: CycloneZephyrxz7
sweet...thanks..will wait for your release and then will added to the sticky.
I am very pleased that the ONLY component I have yet to get working is getting the screen captures [and window titles]. I need to investigate this ... For some reason, I am getting the same window drawn OVER and OVER again. I think it is because the window handle I am getting from some of the methods is invalid...Its very odd ... I have to figure it out. I should be able to do this winthin the next hour or so
seems cool so its like a multitasker? or somthing
alexrodri0 said:
seems cool so its like a multitasker? or somthing
Click to expand...
Click to collapse
Exactly.
So this is the update:
I got the program to run on Home-Key Press ... Now I am going to just modify it and add a timer or something to get it to run on Home-Key Long Press [since just a press interferes with Smart ToolKit]
An odd bug I have encountered is that when I run this, and wait, the Smart Toolkit taskbar shows up (as it should), and the whole phone locks up...I think it is because both are competing for Keyboard privilages. [I have to use a Keyboard hook to get this working, and it is all undocumented APIs]
I have yet to get the actual Task part working Haha. I can't confirm whether or not it is working, because for some reason my Debugger is acting weird, and all the images are of the current screen. As it turns out, it is impossible to take a snapshot of a minimized / partially visible screen. It will take the screen coordinates, and take a picture of whatever is there right now. I will get that fixed [I am talking to another Dev to see if he will let me in on how he does it in his task manager].
I got the "back" key escape working. Relatively simple.
I have planned out Layouts. Such that when you have JUST the HomeScreen open, it will NOT run. When you have the HomeScreen and 1 OTHER window open, the two will be split on the screen [Maybe make each like 150x113]. When you have 3 to 4 total windows (Including HomeScreen), they will make a 4-quadrant layout. Where each will be around [120x90]. When you have 4 - 6 open, each will be [92x69] (as shown in the ScreenShot) and have a 6-block layout. When you have more than 6 (if that is possible on the Excalibur haha), it will make a second page, and the second page will adapt to however many excess processes there are.
I have to work on getting the Translucent Background working ... that shouldn't be too hard, I just have yet to look into it {I think I have to use AlphaBlend or TransparentBlt}.
In any case, there is actually very little that doesn't work yet haha, but of course it is the most essential parts that don't work.
I will keep you all updated
sweet
looking forward to this, my phone will live on!!!
Thanks to a bunch of help from another Dev, I confirmed that getting the image of a non-visible window is IMPOSSIBLE on windows mobile. [Although it gives me an idea to try to 'fix' that haha ... maybe after this]. In any case, I think I have figured out how to do it. Tomorrow I will write up the code, test it, and hopefully have an Initial release.
The way I see it the releases will be as follows:
1) Initial Release [Basic]
2) Fix-Up of any Bugs
3) Add some Effects
4) Add some customizations
5) Fix-Up of any Bugs
6) FINAL
Hopefully, I can do this in 6 or less releases [And in the meanwhile, adapt it to work on my new HD2 i will get on Monday ]
*PS: For those of you following my projects: Once I get my HD2, I am going to make a fixed up release of FFP_LS, and then open-source it. Thereafter, i won't work much on it anymore. This is so I can start working on my SUPER-HUGE project called "CMessage" ... Here are the contents of the 'sticky note' i have on the desktop reminding me of it:
Suite of Programs:
1. Transport DLL (Send/Receive SMS/MMS/EMail)
2. T-Mail.exe Client (Compose/View SMS/MMS/EMail)
3. Notifier (When new Message Arrives, Display Alert)
4. A new DLL for the HomeScreen [it probably won't be compatible with the old one]
5. API Docs (For future use and adaptation)
6. Sample Programs (I.E. HomeScreen Panel, SMS Games, etc.)
7. Filter Rules Program
8. Macro Program (Get Message ... Do Action)
9. Environment Set-Up DLL/Exe [Cache Contacts, create Message Stores, transfer over old stuff, etc. etc.]
It is going to be a VERY large project. Hopefully, it will also be a very successful one Say bye-bye to CE MAPI?
Cyclonezephyrxz7 said:
Thanks to a bunch of help from another Dev, I confirmed that getting the image of a non-visible window is IMPOSSIBLE on windows mobile. [Although it gives me an idea to try to 'fix' that haha ... maybe after this]. In any case, I think I have figured out how to do it. Tomorrow I will write up the code, test it, and hopefully have an Initial release.
The way I see it the releases will be as follows:
1) Initial Release [Basic]
2) Fix-Up of any Bugs
3) Add some Effects
4) Add some customizations
5) Fix-Up of any Bugs
6) FINAL
Hopefully, I can do this in 6 or less releases [And in the meanwhile, adapt it to work on my new HD2 i will get on Monday ]
*PS: For those of you following my projects: Once I get my HD2, I am going to make a fixed up release of FFP_LS, and then open-source it. Thereafter, i won't work much on it anymore. This is so I can start working on my SUPER-HUGE project called "CMessage" ... Here are the contents of the 'sticky note' i have on the desktop reminding me of it:
Suite of Programs:
1. Transport DLL (Send/Receive SMS/MMS/EMail)
2. T-Mail.exe Client (Compose/View SMS/MMS/EMail)
3. Notifier (When new Message Arrives, Display Alert)
4. A new DLL for the HomeScreen [it probably won't be compatible with the old one]
5. API Docs (For future use and adaptation)
6. Sample Programs (I.E. HomeScreen Panel, SMS Games, etc.)
7. Filter Rules Program
8. Macro Program (Get Message ... Do Action)
9. Environment Set-Up DLL/Exe [Cache Contacts, create Message Stores, transfer over old stuff, etc. etc.]
It is going to be a VERY large project. Hopefully, it will also be a very successful one Say bye-bye to CE MAPI?
Click to expand...
Click to collapse
can't wait!
This program is actually bugging me...haha [get the joke?].
In any case, it is becoming rather tough to get this actually working. Correction: To get it working efficiently. The dev making the 3D iManager app over in the Development/Hacking forum told me how he is doing it, but to me it just seems terribly inefficient (every 5 seconds, check for Foreground Window....LOTS OF BUGS). In any case, I am using a registry notification now, since Windows Mobile has a value that tells me the currently active program and the previously active program [and it updates!] ... this works out because then I can take a screenshot of the new-ly active program, AND check to see if the old one was minimized or closed. Unfortunately, it doesn't seem to be working as I would have hoped.
I don't have much time today for developing [Hooray for a 50 Page AP Government Outline] ... so I will probably get back to this tomorrow [NEW PHONE], or maybe tonight if I get a really good idea/inspiration to finish this!
Cyclonezephyrxz7 said:
This program is actually bugging me...haha [get the joke?].
In any case, it is becoming rather tough to get this actually working. Correction: To get it working efficiently. The dev making the 3D iManager app over in the Development/Hacking forum told me how he is doing it, but to me it just seems terribly inefficient (every 5 seconds, check for Foreground Window....LOTS OF BUGS). In any case, I am using a registry notification now, since Windows Mobile has a value that tells me the currently active program and the previously active program [and it updates!] ... this works out because then I can take a screenshot of the new-ly active program, AND check to see if the old one was minimized or closed. Unfortunately, it doesn't seem to be working as I would have hoped.
I don't have much time today for developing [Hooray for a 50 Page AP Government Outline] ... so I will probably get back to this tomorrow [NEW PHONE], or maybe tonight if I get a really good idea/inspiration to finish this!
Click to expand...
Click to collapse
keep the good work man and again thanks for your effort in developing new stuff for the dash.
Cheers,
So I finished my work
But that isn't pertinent to this forum. What it does mean is that I can work on my developing for today!
Counter-to-my-prior-plan, I am going to release a pretty flawed version of the program ... errr ... rather an Alpha that will run much less efficiently than the final product.
I hate announcing a project, thinking it will be easy, then taking forever with it ... so this is what I am going to do:
I will use the same timer-based approach that iManager 3D uses, but I might make it update more often [3 second intervals maybe] ... it won't be AT ALL battery efficient, but it should be pretty memory efficient. It will serve as NO MORE THAN A PROOF OF CONCEPT OF WHAT THE FINAL PRODUCT WILL BE. The final product should not have a major impact on battery life, and should leave the end user unaware that it is actually running when it is!
I am re-installing Visual Studio because it has been acting up, but once that is done, I should be able to pump out an ALPHA VERSION.
EDIT: Computer Issues ... Expect a release in the coming days. Sorry for the inconvenience.
Cyclonezephyrxz7 said:
So I finished my work
But that isn't pertinent to this forum. What it does mean is that I can work on my developing for today!
Counter-to-my-prior-plan, I am going to release a pretty flawed version of the program ... errr ... rather an Alpha that will run much less efficiently than the final product.
I hate announcing a project, thinking it will be easy, then taking forever with it ... so this is what I am going to do:
I will use the same timer-based approach that iManager 3D uses, but I might make it update more often [3 second intervals maybe] ... it won't be AT ALL battery efficient, but it should be pretty memory efficient. It will serve as NO MORE THAN A PROOF OF CONCEPT OF WHAT THE FINAL PRODUCT WILL BE. The final product should not have a major impact on battery life, and should leave the end user unaware that it is actually running when it is!
I am re-installing Visual Studio because it has been acting up, but once that is done, I should be able to pump out an ALPHA VERSION.
EDIT: Computer Issues ... Expect a release in the coming days. Sorry for the inconvenience.
Click to expand...
Click to collapse
Great! This sounds awesome! And yeah, we finally get more interests and development in non-touch devices! Good luck with building the program and don't forget to contact the News-Writers when it's ready!
This is actually quite upsetting ... I tried re-installing Visual Studio, because it was no longer giving me the 'code suggestions' for C++ ... [like if I typed in a function, it didn't tell me what the parameters were] ... and now it isnt set up for Windows Mobile 6 Standard/Pro anymore. So i tried reinstalling those SDKs .... no joy....I am going to uninstall EVERYTHING OF IT and start all over [backing up my projects of course ].
Hopefully I will get my computer in working condition by tonight.
I got my new HD2 [TMOUS] today I am very happy with it already. BUT I WILL NOT GIVE UP ON MAKING THINGS FOR THE DASH. Non-TouchScreen phones are highly under-appreciated, and I hate that so much [let alone the fact that WinMo is underappreciated] .... I NEED YOUR IDEAS TO MAKE THIS PHONE [Exca] BETTER! So toss me a PM with even the wildest Ideas, and I will try to figure something out
Cyclonezephyrxz7 said:
This is actually quite upsetting ... I tried re-installing Visual Studio, because it was no longer giving me the 'code suggestions' for C++ ... [like if I typed in a function, it didn't tell me what the parameters were] ... and now it isnt set up for Windows Mobile 6 Standard/Pro anymore. So i tried reinstalling those SDKs .... no joy....I am going to uninstall EVERYTHING OF IT and start all over [backing up my projects of course ].
Hopefully I will get my computer in working condition by tonight.
I got my new HD2 [TMOUS] today I am very happy with it already. BUT I WILL NOT GIVE UP ON MAKING THINGS FOR THE DASH. Non-TouchScreen phones are highly under-appreciated, and I hate that so much [let alone the fact that WinMo is underappreciated] .... I NEED YOUR IDEAS TO MAKE THIS PHONE [Exca] BETTER! So toss me a PM with even the wildest Ideas, and I will try to figure something out
Click to expand...
Click to collapse
congrats with your new phone!
"Non-TouchScreen phones are highly under-appreciated, and I hate that so much [let alone the fact that WinMo is underappreciated]!" Yeah that sucks, that's also why I keep developing Apps and ROMs!
Hope you can get VS working again!

AppFinder on Windows Phone 7

Check out my free app in the Marketplace: AppFinder
AppFinder is the fastest way to find apps by name bar none.
Start typing the name of an app or publisher, and the search results are shown instantly.
tap one of the results to go to the marketplace page for the app.
Check it out and let me know what you think
Been using it last couple days, its a big help! Thanks!!!
I'll check it out thanks!
Thank you - it's very fast like the marketplace search should be. Good for quick looking apps if you know the name.
Are there any improvements coming? Like the Top Downloads or anything else?
appfinder feedback
thanks for the feedback - I'm on it
Great app, thanks!
BTW I can't find HTC Hub...
I think you need an HTC device for that sorry buddy
zukа said:
I think you need an HTC device for that sorry buddy
Click to expand...
Click to collapse
Yeah but some guys were able to find it...
AppFinder
Ok, v1.1 has been submitted to the app marketplace and is ready for testing - should show up in the marketplace as an update within a few days
ebadger said:
Ok, v1.1 has been submitted to the app marketplace and is ready for testing - should show up in the marketplace as an update within a few days
Click to expand...
Click to collapse
does this fix the crash where it closed and wouldn't reopen for me (even after soft reset)?
I had to uninstall, reinstall to get it working again.
I don't think so.
Although I think I know the cause. I will have to roll the fix into another update.
I think there is a small window where the downloaded data file can be corrupted if the writing to flash is interrupted. It will be simple to fix. For now, if you hit it, uninstall reinstall is the only option.
nice find. but did you know while in maketplace you can use the search button to find apps as well?
jimecm said:
nice find. but did you know while in maketplace you can use the search button to find apps as well?
Click to expand...
Click to collapse
Of course I do
AppFinder is all about making apps discoverable in the fastest way possible.
I think if you're not in the top 20 apps in the marketplace under any one of the categories, then as a developer you're invisible. AppFinder seeks to make it easier to find apps via search, and with the update, via browsing as well.
Update is in the hopper, still waiting for testing to complete...
jimecm said:
nice find. but did you know while in maketplace you can use the search button to find apps as well?
Click to expand...
Click to collapse
the annoying thing is that it searches music and video as well. i can't just search for apps alone
locales
Ok, so I just figured out I've only been indexing the en-US locale
I've updated the data to include
{ "en-US", "en-GB", "en-IE", "en-CA", "en-IN", "en-AU", "en-HK", "en-SG", "de-DE", "fr-FR", "fr-BE", "de-AT", "de-CH", "it-IT", "en-NZ", "es-ES", "es-MX" };
this change is effective immediately as it is a data update. Still waiting for the update to make it through the approval process. It seems that the holiday has slowed things down a bit
The update finally arrived
Nice new features and still very fast. But unfortunately, in my case, it wont load after the second app start (even at first start if I switch the section). I always have to deinstall/reinstall again once the app was started.
Maybe you can take a look? Feels like a caching problem or something like that. I'm using a Samsung Omnia 7 in germany - if that helps
Feature wishlist:
1. add a settings screen to edit:
a.) the number of list entries on one page (10, 20, 50) to keep the app fast enough
b.) the section on loading (and maybe you also can set this to no section just for fast look-up app search - I used the app for this before the update)
2. Maybe you can use the OS-typical "left-to-right-scrolling-loading-dots" instead of the big ones?
3. New logo if there is enough time
PrivateJoker said:
The update finally arrived
Nice new features and still very fast. But unfortunately, in my case, it wont load after the second app start (even at first start if I switch the section). I always have to deinstall/reinstall again once the app was started.
Maybe you can take a look? Feels like a caching problem or something like that. I'm using a Samsung Omnia 7 in germany - if that helps
Feature wishlist:
1. add a settings screen to edit:
a.) the number of list entries on one page (10, 20, 50) to keep the app fast enough
b.) the section on loading (and maybe you also can set this to no section just for fast look-up app search - I used the app for this before the update)
2. Maybe you can use the OS-typical "left-to-right-scrolling-loading-dots" instead of the big ones?
3. New logo if there is enough time
Click to expand...
Click to collapse
Private Joker,
Thanks for the feedback.
First - there was a bug that only impacted the German locale! I was trying to save bandwidth by truncating unnecessary leading zeros in the price and this caused an exception when the locale was set to German. I've updated the data to include the leading zeros and this fixes the problem for Germans. You will have to uninstall and reinstall though to get it to work. I am very sorry for the inconvenience, and I really appreciate you taking the time to give me your feedback even though the app was not working for you at all. I hope you will try again given that the data has been fixed.
Regarding your feedback -
I think you are right on the mark for #2 and #3
I don't understand 2b.
regarding 1a.
perf should not be impacted by the number of items that are shown -
Appfinder actually transfers the marketplace data to the device and indexes it locally. I do this because the network is really, really slow. Aside from having artists and albums mixed up with apps in the marketplace search results, I also was tired of waiting for results to load. Scrolling through the apps means waiting.
The delay at the beginning is caused by reading the marketplace data from flash and indexing it in RAM. Occasionally the loading dots will appear after launching (like the first time that you use it) because AppFinder has transfered a new data file and needs to parse it again. Instead of delaying every 10 or so apps in the list, there is one delay at the beginning (which is relatively small). Right now parsing the file takes about 4 seconds.
Perf could be greatly improve if I had access to memory mapped file APIs. Further compressing the data would help as well - The really slowest part is really reading from the flash. I can improve perf when a network update occurs by reading from the flash in the background before blocking - this would drop the update delay from ~4 seconds to ~1 second.
I could also not query as you're typing -- Waiting until the enter button has been pressed would reduce CPU load and any chunkiness - pressing search would just render the apps instantly.
Anyway, really appreciate your positive attitude and willingness to give feedback in light of what must be a frustrating experience. Please give it another try.
Thanks,
Eric

Sony Ericsson LiveView™ Connection Fix

I found solution for LiveView connection issues and had it posted in Sony Ericsson LiveView™ Issues Thread on xda-forum.com . Unfortunately it hasn't been noticed by users untill now that it has been ripped from this forum and posted on www.robot-home.it on 30th December(http://www.robot-home.it/blog/2010/...i-comunicazione-e-al-blocco-dello-smartphone/) but as their own invention what made me really furious (Luckly it was corrected). It took me time to figure it out.
Link to original post form 23rd December: http://forum.xda-developers.com/showpost.php?p=10025306&postcount=190
This is the solution:
First of all delete LiveWare Manager, which causes our phones to crash all the time, and gives only one feature in return (shows all available liveview plugins which you can find manualy in the market). Then remove any kind
of Task Killer etc. Next step is to instal MinfreeManager (keep in mind that it requires root premissions). I recommend using Mild/Agressive preset but you have to change Secondary Server values very low (for example 6mb). By setting Secondary Server values to very low LiveView Application and all of the plugins will be kept alive all the time, which will prevent any disconnections. After this I used this solution http://forum.xda-developers.com/show...&postcount=493 posted by adolfotregosa. Now my LiveView works pretty fine with my SGS running CM 6.1 Nightly. Even if you'll go out of the bluetooth range and then want to reconnect it will happen more or less instantly.
Optional:
Instead of removing Advanced Task Killer you can leave it just set Security Level in Options to Low and then set following processes to ignore:
1. com.android.providers.drm
2. LiveViewApplication
3. OpenWatch
4. com.android.bluetooth
AND all of the processes from plugins you have (they have "liveview" in their name)
For me better option is with Advanced Task Killer enabled but everyone can decide for themselves.
I hope all of LiveView Users will now be able enjoy using this device.
Thanks to adolfotregosa for his discovery with OpenWatch which is the part of this solution.
Thanks a lot! right now I can use it... Now the only problem is the battery life...
omg ive been ready to though this thing out of the window, after a google search this post came up.
I had to downgrade then root my htc desire hd then ran that little program, and so far the machine is working as it was advertised!!!
you are a saint for finding this - so far 2hrs and counting connected, before hand i was lucky to get 3 mins!!!.
happy days!!
thankyou again
Fantastic find! I just did all as described and it has been connected for a good 30mins so far and no disconnects and/or reboots! LOVE IT!
Now I must find a replacement watchband hehe...
LockeOn said:
I found solution for LiveView connection issues and had it posted in Sony Ericsson LiveView™ Issues Thread on xda-forum.com . Unfortunately it hasn't been noticed by users untill now that it has been ripped from this forum and posted on www.robot-home.it on 30th December(http://www.robot-home.it/blog/2010/...i-comunicazione-e-al-blocco-dello-smartphone/) but as their own invention what made me really furious (Luckly it was corrected). It took me time to figure it out.
Link to original post form 23rd December: http://forum.xda-developers.com/showpost.php?p=10025306&postcount=190
This is the solution:
First of all delete LiveWare Manager, which causes our phones to crash all the time, and gives only one feature in return (shows all available liveview plugins which you can find manualy in the market). Then remove any kind
of Task Killer etc. Next step is to instal MinfreeManager (keep in mind that it requires root premissions). I recommend using Mild/Agressive preset but you have to change Secondary Server values very low (for example 6mb). By setting Secondary Server values to very low LiveView Application and all of the plugins will be kept alive all the time, which will prevent any disconnections. After this I used this solution http://forum.xda-developers.com/show...&postcount=493 posted by adolfotregosa. Now my LiveView works pretty fine with my SGS running CM 6.1 Nightly. Even if you'll go out of the bluetooth range and then want to reconnect it will happen more or less instantly.
Optional:
Instead of removing Advanced Task Killer you can leave it just set Security Level in Options to Low and then set following processes to ignore:
1. com.android.providers.drm
2. LiveViewApplication
3. OpenWatch
4. com.android.bluetooth
AND all of the processes from plugins you have (they have "liveview" in their name)
For me better option is with Advanced Task Killer enabled but everyone can decide for themselves.
I hope all of LiveView Users will now be able enjoy using this device.
Thanks to adolfotregosa for his discovery with OpenWatch which is the part of this solution.
Click to expand...
Click to collapse
I wrote you an email and wrote you two posts but you ignored me. I'm happy to help people writing solutions on my blog. I wrote something by myself and sometimes I take, solutions on other sites (normally in english) and I translate into Italian to diffuse them.
Every time I take a solution on other sites I put a link to the source, as in your case... there are also thanks to you and Fregosa... did you read it again? I never said it was an invention of mine... I'm not used to take works made by other people and pass them as mine.
I'm sorry you do not understand it, but it is not my fault... maybe italian to english translations do not work very well.
WHat if I dont use any taskkiller? would I have a problem with Liveview?
Myzhar said:
I wrote you an email and wrote you two posts but you ignored me. I'm happy to help people writing solutions on my blog. I wrote something by myself and sometimes I take, solutions on other sites (normally in english) and I translate into Italian to diffuse them.
Every time I take a solution on other sites I put a link to the source, as in your case... there are also thanks to you and Fregosa... did you read it again? I never said it was an invention of mine... I'm not used to take works made by other people and pass them as mine.
I'm sorry you do not understand it, but it is not my fault... maybe italian to english translations do not work very well.
Click to expand...
Click to collapse
Sorry I haven't write You back but I have been really busy with exams. I understand this whole situation was misunderstanding and I am glad that it has been corrected, thank You for that.
There is no need to use takskiller, it is just an option because some people are using that.
LockeOn said:
Sorry I haven't write You back but I have been really busy with exams. I understand this whole situation was misunderstanding and I am glad that it has been corrected, thank You for that.
Click to expand...
Click to collapse
I'm happy to read this words.
This evening I tried "Task Killer" configuration on my Galaxy Tab and I need to say that works a lot better than "minfreemanager".
I'm writing another post on my blog to allow italian user to get it, I'm also making a few screenshoot to allow a better understand of the configuration step, feel free to take them (when the article is ready) and put them here
Now I'm sure that the only problem on no-sonyericsson device is the managing of the memory and of the apps in background
what i mean is what step above i need to do if I dont use task killer
I never use one
in case i want to buy Live View, would i have a problem with the disconnection? or not?
Justin^Tan said:
what i mean is what step above i need to do if I dont use task killer
I never use onesw
in case i want to buy Live View, would i have a problem with the disconnection? or not?
Click to expand...
Click to collapse
I do not use any task killers. But to answer your question the connectivity issue still remains, even with this fix. You'll need to live with this issue for now until Sony Ericsson addresses the issue or some dev here can come up with a permanent fix.
Myzhar said:
I'm happy to read this words.
This evening I tried "Task Killer" configuration on my Galaxy Tab and I need to say that works a lot better than "minfreemanager".
I'm writing another post on my blog to allow italian user to get it, I'm also making a few screenshoot to allow a better understand of the configuration step, feel free to take them (when the article is ready) and put them here
Now I'm sure that the only problem on no-sonyericsson device is the managing of the memory and of the apps in background
Click to expand...
Click to collapse
Acctualy I think You got me wrong. The optional configuration with Task Killer contains everything that the regular option does so:
1. Delete LiveWare Manager
2. Instal MinfreeManager (keep in mind that it requires root premissions). I recommend using Mild/Agressive preset but you have to change Secondary Server values very low (for example 6mb).
3. Use this solution http://forum.xda-developers.com/show...&postcount=493 posted by adolfotregosa.
AND:
4. Install Advanced Task Killer, set Security Level in Options to Low and then set following processes to ignore:
a) com.android.providers.drm
b) LiveViewApplication
c) OpenWatch
d) com.android.bluetooth
+ all of the processes from plugins you have (they have "liveview" in their name)
So as You can see in both configurations MinFreeManager is used, but the optional configuration is enriched with Advanced Task Killer.
kpjimmy said:
I do not use any task killers. But to answer your question the connectivity issue still remains, even with this fix. You'll need to live with this issue for now until Sony Ericsson addresses the issue or some dev here can come up with a permanent fix.
Click to expand...
Click to collapse
It sad but it's true. This is just a PARTIAL fix, which makes LiveView more or less usable (sometimes it is great, sometimes You just want to threw it out) it will not make all of connection issues dissapear. But I have to say that with the newest firmware update vie SE Service Update and with this fix it is really good.
LockeOn said:
It sad but it's true. This is just a PARTIAL fix, which makes LiveView more or less usable (sometimes it is great, sometimes You just want to threw it out) it will not make all of connection issues dissapear. But I have to say that with the newest firmware update vie SE Service Update and with this fix it is really good.
Click to expand...
Click to collapse
Shoot I didn't even know they released a new firmware update. I have my unit at work so I won't be able to update and test until next week. Lockeon, is the update pretty straightforward? D/L the update software, select x10 mini, connect usb, press both top buttons and that should connect it right?
Thanks again for the heads up on the new update!
kpjimmy said:
Shoot I didn't even know they released a new firmware update. I have my unit at work so I won't be able to update and test until next week. Lockeon, is the update pretty straightforward? D/L the update software, select x10 mini, connect usb, press both top buttons and that should connect it right?
Thanks again for the heads up on the new update!
Click to expand...
Click to collapse
Yup, just do everything You mentioned and it will update the device, at the end it will give You "Instalation failed" message, but don't worry next time You connect liveview and run service update it will display that You have the newest firmware.
Task manager is to be used because when Android goes down of memory it kills background processes, included bluetooth manager and LV plugin applications. This is why LiveView Application loses connection, it does not find bluetooth process until you do not try to connect LV again and Android re-activate it.
To be sure that memory is not managed by Android I set Auto kill frequency to 30' and at Crazy level... then I do not have disconnections
Sent from my GT-P1000 using XDA App
Myzhar said:
Task manager is to be used because when Android goes down of memory it kills background processes, included bluetooth manager and LV plugin applications. This is why LiveView Application loses connection, it does not find bluetooth process until you do not try to connect LV again and Android re-activate it.
To be sure that memory is not managed by Android I set Auto kill frequency to 30' and at Crazy level... then I do not have disconnections
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Acctualy that is not entirely true, because if You open some kind of game or use flash in browser it will eat your memory faster than Advanced Task Killer can free it, and You will lose connection with LiveView. To reconnect You would have to start LiveView Application once again. To prevent Android from killing bluetooth manager and LiveView stuff it is important to set Secondary Server values to very low (that is why MinFreeManager is needed). Advanced Task Killer helps keeping high RAM level better than MinFreeManager which prevents phone and liveview from lagging but it won't protect LiveView and bluetooth stuff from beeing killed by Android.
LockeOn said:
Acctualy that is not entirely true, because if You open some kind of game or use flash in browser it will eat your memory faster than Advanced Task Killer can free it, and You will lose connection with LiveView. To reconnect You would have to start LiveView Application once again. To prevent Android from killing bluetooth manager and LiveView stuff it is important to set Secondary Server values to very low (that is why MinFreeManager is needed). Advanced Task Killer helps keeping high RAM level better than MinFreeManager which prevents phone and liveview from lagging but it won't protect LiveView and bluetooth stuff from beeing killed by Android.
Click to expand...
Click to collapse
Yes, you are right. As you can read in my last blog post I say to make your first procedure as first step (not real, first step is LV update ).
The secondo step on my post says:
"Se non l’avete ancora fatto eseguite la prima procedura di stabilizzazione della connessione di LockedOn riportata nel mio primo post"
translated:
"If you did not make it yet, follow LockedOn's first connection stabilization procedure, as written in my first post"
As we say in Italy "Advanced Task Killer" is the "ciliegina sulla torta"... the thing that makes a good work become a excellent work!
I have a doubt: when I open MinfreeManager I always get default values instead of the one I set. Is it right or is there something wrong in my "root"?
For "rooting" in used Z4root
Man I really wished that the Liveview would at least retain the time and then update when reconnected to the phone. I can't use it unless the phone is attached to me! Eh...my lil gripe I guess lol...
Hi!
After a lot of investigation and searching, I eliminated connection problems with LiveView, but it still remains almost unusable, because its damn "LiveView Application" crashes the whole phone randomly. Where is that famous "linux stability" if one small app can easily crash the whole OS...
I've found out already, that this happens if the application's process gets killed by Android (thanks to XDA forum, I managed to correctly setup task killers). I googled for solutions, and found these:
1 - "There isn't a way to prevent this directly, without a rooted device." - SO! There IS a way to prevent this on a rooted devise! Does anyone know about it?
2 - "The app needs to put itself in the Notifications bar in order to keep from getting killed when it's in the background. This is what apps like Music or Pandora do in order to keep playing music and not get killed when they are backgrounded" - well, is there some tool to selectively "give" some running app the notification bar icon? Because if we wait for SE to implement this, we may as well wait for Apple to produce iPhone watch
3 - "HOWTO: Change Process Priority Using the Nice Command" - I'm not quite sure if this applies to Android, but I've found it on Motorola Droid forum...
Well, is there a developer ready to look into this? After all, ALMOST everything is working fine, the only thing that needs to be fixed - keeping process alive no mattaer what...
Best regards,
Draco.

Categories

Resources