[Q] WM6.5.3 Active applications and process for "taskmgr" - Windows Mobile Software Development

Hi,
Try to do wm6.5.3 app for active applications, like the ArkSwith one. But my idea was that it is only use for switching between active applications.
How to get info of active applications in my own application.
Can i do it like first check all windows with GetWindow and then use GetWindowThreadProcessId?
How can i found info of the process after get id?
Or is there any other way to do this?

Hi
I think you could take a look at this project, for native win32, but from what I have noticed when playing around it (or something similar) ought to work on win mobile too.
http://www.codeproject.com/KB/cpp/ModuleNameFromWindwHandle.aspx
//Gunnar

GunnarKarlsson said:
Hi
I think you could take a look at this project, for native win32, but from what I have noticed when playing around it (or something similar) ought to work on win mobile too.
http://www.codeproject.com/KB/cpp/ModuleNameFromWindwHandle.aspx
//Gunnar
Click to expand...
Click to collapse
I found out that using this CreateToolhelp32Snapshot i can get almost all info of active processes(name, id, modules and threads).
Now i have problem to found out the location(path) of process and i cant found the way to get the hicon(shortcut) of program/process.
_Marko

Related

TP2 Basic Questions

Hi,
I've just bought a TP2 and reading through the forum I've picked up that the TP2 is customisable.
My questions are basically
-how customisable is the TP2?? i.e. is it only themes n ringtones that can be changed or can anything be changed on the phone??
Also ive read that applications like radio dont come standard on the TP2 need to be added manually.
-how hard is it to do this and does anybody have any tutorials on how to add apps and where can i get them from??
thanks
ustahir_1 said:
Hi,
I've just bought a TP2 and reading through the forum I've picked up that the TP2 is customisable.
My questions are basically
-how customisable is the TP2?? i.e. is it only themes n ringtones that can be changed or can anything be changed on the phone??
Also ive read that applications like radio dont come standard on the TP2 need to be added manually.
-how hard is it to do this and does anybody have any tutorials on how to add apps and where can i get them from??
thanks
Click to expand...
Click to collapse
the device isnt the variable in customization, virtually every aspect of the TP2 is customizable and as the days go by and the devs create more things the options just become greater.
the radio add is simply installing the radio cab file, takes all of 10 seconds. All you really need to do (for the most part) for different app installs is to read if they support your resolution (480x800).
mallman said:
the device isnt the variable in customization, virtually every aspect of the TP2 is customizable and as the days go by and the devs create more things the options just become greater.
the radio add is simply installing the radio cab file, takes all of 10 seconds. All you really need to do (for the most part) for different app installs is to read if they support your resolution (480x800).
Click to expand...
Click to collapse
so regarding customising to confirm basically got to wait for the realse of items for the phone.
is there a tutorial on how to add a cab file as this is my 1st HTC phone,,,
also where can i get these apps from pls??
thanks
O btw got another Q
the customisation of the TP2 isnt customising the phone but the windows OS is that right??
so if i find a good thing for windows OS and its for the right version and correct resolution it should work??
thanks for your help btw
there doesnt seem to be a thanks button
thanks again
Hi,
Welcome to forums.
Yes there are literaly millions of apps out there for WinMo from any category you can think of, productivity, media players / streamers, games, tools etc etc.
Most apps come in two forms, .cab file extension which can be copied to the memory on the device and run from the file manager, or .exe (the windows normally executable) these are installed on your desktop and the app is then installed to the device the next time you sync it with active sync.
Before getting too in depth, I advise you to read the Wiki, and the first post at the top of this forum. Familiarise yourself with the devices basic functions and where everything in the OS, that way you'll pick things up a lot quicker when reading through posts on the forum.
The entire OS is customisable, skins, pre-installed apps, added functionality (patching missing or poor functionality (NFFP issues) and anything else you can think. What we do here is port newer builds from newer devices to get the latest OS builds and optimisations for our current devices.
Have a good read, you'll understand a lot better.
Cheers,
Beasty
ustahir_1 said:
thanks for your help btw
there doesnt seem to be a thanks button
thanks again
Click to expand...
Click to collapse
You can thank us all by donating to the site mate (not mandatory at all) but it helps keeps this place going.
Cheers,
Beasty
Indeed welcome to the forums.
It seems this is your first windows mobile phone? you can compare it with your windows pc a bit, only it's a bit less complex, though it still is.
On windows you can install every application that is ment for windows. As long as your system meets the system requirements of the software. It's the same with your Touch pro 2.
A lot of software has diffrent versions of their applications, each for a diffrent screen size. This reduces the size of the application (instead of installing the application for all sizes).
There are . CAB files. These are the regular installation files for you phone. Copy them to your phone and run it. (you can upload by bluetooth, but active sync is easier and faster) Then there are .exe files for mobile apps. These you install on you pc while you phone is connected via active sync. Your computer will then install it on your phone.
Now for the customisation part. This is indeed customising the OS. In the (near?) future, there will be a lot of selfmade (cooked) roms available. This goes with a lot of testing, it's the trial and error way of working.
As this is your first WM mobile?, I suggest you wait a while before customizing anything and installing custom roms. I would wait untill there are some stable roms available. Also you need to install HardSPL to make flashing (installing new Roms, and thus new OS versions) less risky. Because flashing and customizing isn't without risk.
I've been doing it quite a while (flashing) and it never went wrong, but there are also people where it did went wrong.
first off thanks beast & quarin when i get paid ill try to donate something to the site.
I'll definatly have a read into the wiki before doing anything to the phone and yes this is my 1st windows mobile so I will just it for a while to get used to it then possible start customising it.
In regards to the apps i can get apart from in this forum are there any other sites where i can download them from??
Also i do have 1 more question but its a just in case kind of question.
Ive bought the HTC sim free, 1 of my main worries is that with my Three(3) network contract SIM. I know I should be able to make calls and send text messages my query is in regards to the internet settings will they automatically be picked up via the SIM card coz when i had my iphone i had to manually put in the address for the APN and im just wondering will i have to do the same??
Thanks
beast0898 said:
Hi,
Welcome to forums.
Yes there are literaly millions of apps out there for WinMo from any category you can think of, productivity, media players / streamers, games, tools etc etc.
Most apps come in two forms, .cab file extension which can be copied to the memory on the device and run from the file manager, or .exe (the windows normally executable) these are installed on your desktop and the app is then installed to the device the next time you sync it with active sync.
Before getting too in depth, I advise you to read the Wiki, and the first post at the top of this forum. Familiarise yourself with the devices basic functions and where everything in the OS, that way you'll pick things up a lot quicker when reading through posts on the forum.
The entire OS is customisable, skins, pre-installed apps, added functionality (patching missing or poor functionality (NFFP issues) and anything else you can think. What we do here is port newer builds from newer devices to get the latest OS builds and optimisations for our current devices.
Have a good read, you'll understand a lot better.
Cheers,
Beasty
Click to expand...
Click to collapse
That´s what I call a fantastic explanation!!
I wish I had one of those when first step in here
Cheers Beasty!
ustahir_1 said:
first off thanks beast & quarin when i get paid ill try to donate something to the site.
I'll definatly have a read into the wiki before doing anything to the phone and yes this is my 1st windows mobile so I will just it for a while to get used to it then possible start customising it.
In regards to the apps i can get apart from in this forum are there any other sites where i can download them from??
Also i do have 1 more question but its a just in case kind of question.
Ive bought the HTC sim free, 1 of my main worries is that with my Three(3) network contract SIM. I know I should be able to make calls and send text messages my query is in regards to the internet settings will they automatically be picked up via the SIM card coz when i had my iphone i had to manually put in the address for the APN and im just wondering will i have to do the same??
Thanks
Click to expand...
Click to collapse
Most likely, the settings will be set automaticly. If not you can set them via Settings (also automaticly). But if you have pre-paid, be carefull when the settings are set. at the moment you open a browser, youtube or other apps that use internet, internet connection will automatic establish. (sorryfor my bad language)
orb3000 said:
That´s what I call a fantastic explanation!!
I wish I had one of those when first step in here
Cheers Beasty!
Click to expand...
Click to collapse
yea it is the wiki helped me alot,,,
just a question where can i find these apps except from in this forum??
quarintus said:
Most likely, the settings will be set automaticly. If not you can set them via Settings (also automaticly). But if you have pre-paid, be carefull when the settings are set. at the moment you open a browser, youtube or other apps that use internet, internet connection will automatic establish. (sorryfor my bad language)
Click to expand...
Click to collapse
no problem quarin i understand what your saying,,,
where you've said if i have pre-paid be careful can you please elaborate (tell my why) this??
thanks
ustahir_1 said:
no problem quarin i understand what your saying,,,
where you've said if i have pre-paid be careful can you please elaborate (tell my why) this??
thanks
Click to expand...
Click to collapse
I was targetting the internet costs. They can add up. Don't know you country, but here you can't have internet prepaid without paying a lot of money. So you have too look out (in that case) not to use internet. And it uses internet automaticaly when using a program that's internet related.
quarintus said:
I was targetting the internet costs. They can add up. Don't know you country, but here you can't have internet prepaid without paying a lot of money. So you have too look out (in that case) not to use internet. And it uses internet automaticaly when using a program that's internet related.
Click to expand...
Click to collapse
O ok i understand now
no with my pre-paid Three(3) Sim i have an internet allowance thanks for the tip though

android app "locale" for touch hd?

hello,
i'm fascinated by the android application "locale"
What does it do?
It activates gps-orientated applikations or services.
For example: if you arrive to your home location it is possible to activate automatically - by this program - your wlan
Is there a tool for win mobile devices
I'd love to get it!
Sounds very interesting. Don't know any app like this yet.
But does an app like this not extremly stress your battery?
i think G - Profile is a good tool for you : http://www.ageye.de/index.php?s=gprofile/about
Hi
There is an APP that works in a similar fashion , it uses your cell tower info in different locations to activate different profiles and programs.
i just whent through over 40 forum pages i couldnt find it, i will look further later.
Bastian1979 said:
i think G - Profile is a good tool for you : http://www.ageye.de/index.php?s=gprofile/about
Click to expand...
Click to collapse
hi, that sounds great!
I trying to configure the different situations and will report.
Maybe this is the tool that also "j1978" means because it works with cell-ids.
I'll try it out ... many many thanks!!
Hello
*Phew* i finally found it heh. Its called WiFilocations and it works not with Wifi as the name would suggest but with the cell tower ids
You can find it here.
http://forum.xda-developers.com/showthread.php?t=448783

File Explorer, Multitasking, and Using WP7 As A USB Device?

These are the 3 important things on my list about Windows Phone 7. I know initially these wont be available but i remember reading a while back that the emulator or something got hacked by someone here and revealed a file explorer in windows phone 7
is that any indication that there will be a means of exploring the contents of the device like we currently have on winmo?
also how feasible would it be for them to allow multitasking for apps? is that something impossible for this platform or could they actually do this with a update?
and whats the word on using the device as a usb drive like most phones out there can currently do?
deadwrong03 said:
These are the 3 important things on my list about Windows Phone 7. I know initially these wont be available but i remember reading a while back that the emulator or something got hacked by someone here and revealed a file explorer in windows phone 7
is that any indication that there will be a means of exploring the contents of the device like we currently have on winmo?
also how feasible would it be for them to allow multitasking for apps? is that something impossible for this platform or could they actually do this with a update?
and whats the word on using the device as a usb drive like most phones out there can currently do?
Click to expand...
Click to collapse
Well you probably didn't follow the WP7 news....
Anyway at launch NONE of the above are available.
deadwrong03 said:
the emulator or something got hacked by someone here and revealed a file explorer in windows phone 7
is that any indication that there will be a means of exploring the contents of the device like we currently have on winmo?
Click to expand...
Click to collapse
The file explorer in the emulator didn't really work, but was present. It won't be available in the retail version and there will be no file system access for users.
deadwrong03 said:
also how feasible would it be for them to allow multitasking for apps? is that something impossible for this platform or could they actually do this with a update?
Click to expand...
Click to collapse
Multitasking will likely be added in a future update, although I would bet that this will be some iPhone-style limited multitasking where programs won't actually run in background but rather use OS services to do what needs to be done while they're not in focus. That multitasking is needed was confirmed by MS. How it will be implemented is not known, I'm guessing here.
deadwrong03 said:
and whats the word on using the device as a usb drive like most phones out there can currently do?
Click to expand...
Click to collapse
This won't be available. After all, it's not really useful without file system access.
So in these areas WP7 is very similar to the iPhone. To get this features, WP7 devices will need to be jailbroken (or whatever the process will be called).
Like stated above. Many if not all the things you are looking for may be missing on launch. But future updates may change this. Also don't doubt the good people at XDA-Devs not to find some sort of way around getting USB Mass Storage access as well as a File Explorer. Never Say "Never" around this place.
what about downloading through the web browser? like downloading pictures or like i do with my tp2 download music and albums will any downloading be possible at all thru the browser? since theres no file explorer now im guessing not
IM0001 said:
Also don't doubt the good people at XDA-Devs not to find some sort of way around getting USB Mass Storage access as well as a File Explorer. Never Say "Never" around this place.
Click to expand...
Click to collapse
I'm pretty sure we will get a USB Mass Storage mod, I just hope it isn't a long process like on the iphone.
deadwrong03 said:
what about downloading through the web browser? like downloading pictures or like i do with my tp2 download music and albums will any downloading be possible at all thru the browser?
Click to expand...
Click to collapse
That is possible for file types supported by the OS - images, office documents. All other file types will be downloadable via webbrowser controls within third-party applications to their isolated storage areas.
vangrieg said:
Multitasking will likely be added in a future update, although I would bet that this will be some iPhone-style limited multitasking where programs won't actually run in background but rather use OS services to do what needs to be done while they're not in focus. That multitasking is needed was confirmed by MS. How it will be implemented is not known, I'm guessing here.
Click to expand...
Click to collapse
I think some kinds of multitasking are available. Read this post: bolingconsulting[dot]com/blog/?p=46
Azatey said:
I think some kinds of multitasking are available. Read this post: bolingconsulting[dot]com/blog/?p=46
Click to expand...
Click to collapse
There is first party multitasking for some apps e.g. Zune. No third party multitasking e.g. no Pandora.
-R
sketchy9 said:
There is first party multitasking for some apps e.g. Zune. No third party multitasking e.g. no Pandora.
-R
Click to expand...
Click to collapse
but there is a iPhone esque multi-tasking. They call it tombstoning. The app gets put into a saved state when you switch apps, and when you hit the back button it gets brought back up as if you never left, but it is not running in the background, just saved. But if you go to the home/star menu and start the same app it gets started as if you never had it in the tombstone state.
the toombstoning sounds awefull for anything that uses bluetooth or gps....
Tombstoning is NOT multitasking and it is NOT an alternative.
crow26 said:
Tombstoning is NOT multitasking and it is NOT an alternative.
Click to expand...
Click to collapse
in most cases it is the same as multi tasking with the exception of music other than zune or gps / bluetooth however i do not see a need for a gps app to be running when its not in the foreground. but any other will act the same as it would on a phone with multi tasking. i would be intrested in you posting your example that you think wp7 cant do (with the exception of what is listed above).
It's not at all the same, never. Completely different thing that has nothing to do with multitasking.
crow26 said:
It's not at all the same, never. Completely different thing that has nothing to do with multitasking.
Click to expand...
Click to collapse
you keep making the claim but have yet to give an example... wp7 current way of "multi task" vs andriod "multi task"
WP7:
1. App is running in the forderground
2. App is frozen in the RAM and only some threads are still running
3. App is frozen in the Flash memory and only some threads are still running
4. App is not running
Andriod
1. App is running in the foreground
2. App is frozen in the RAM and only some threads are still running
3. Just a portion of an app is running in the background as a service, the main app is deflated and residing in memory, or has been killed, leaving only the service.
4. App is not running, but is still in Memory in a deflated state until RAM runs out.
5. App is killed and not residing in memory. It may leave call to the OS to revive it periodically when conditions are met.
and here are a few examples people have explained how they use "multi task"
listen to my music
surf on the Internet,
check some addresses with Google Maps.
Also I use the camera.- wp7 possable
listening to music
open my twitter program
open a link from one of the twits
pause twitting to write a SMS - wp7 possable
The fact is there are very few areas where we do need "real multitasking", they are music+whatever and navigation+receiving a call/email. And of these, it is only navigation that seem not to be working as we all expect in first release of WP7 at least. Music, mail, phone are 1. party apps, and those will run in background when needed.
What people often think about when they say; "But I need multitasking"...they often just think about that they want to work in one app, then jump to another app, and then back to the first and continue where they left off...and that is something that is handeled by saving and loading of state. For us users...it will be as it was running in the background.
And then there are multitasking-scenario where you want for example to get notified when there is a new Twitter that mentions you, or when you airplane is delayed, and so forth...and that is also possible in WP7, if the developers use PushNotifications.
for now this is what most people really use as far as "multi task" goes...
Honestly, WM 6/6.5 style multitasking would be instant death for WP7. People who are computer-retarded (the majority of people) wouldn't be able to use it properly. When the memory fills up, the phone simply "stops working" for them and it's time to get an iPhone.
This new system makes much more sense... yes, it's not the same, but it will work just fine in the long run.
Perfect example I use my phone for navigation. I'm driving and my friend wants to surf the net while I drive. My friend takes my phone and starts browsing the net. Navigation is still running in the background giving me voice guided directions. Can WP7 do this?
What about surf the net while on a skype call?
What about Pandora while playing a game?
vetvito said:
Perfect example I use my phone for navigation. I'm driving and my friend wants to surf the net while I drive. My friend takes my phone and starts browsing the net. Navigation is still running in the background giving me voice guided directions. Can WP7 do this?
What about surf the net while on a skype call?
What about Pandora while playing a game?
Click to expand...
Click to collapse
as mentioned above in many post "with the exception of navigation" and not all people use pandora zune will do for current. and yes you are what most consider to be a more "advance user" however this is not the norm as most people use one app at a time.. so although its not giving you all that you are looking for at the current it will fufill 95% of the users and they way they use apps. and the most important thing is it will run alot smoother and better than android, wm 6.5, 6.1, rim... i will take this over a few things not being able to run in the background anyday!!!
"Tombstoning" is nothing. Every OS can do that.
Multitasking means running applications in the background. On WP7, nothing is running at all = NO MULTITASKING.
= no navigation in the background
= no internet radio in the background
= no downloads in the background
= no skype in the backround
= no server in the background
= ...
Is that so hard to understand?! Are you somehow retarded or what's wrong with you?
Crow26, why do you have to be rude? Politeness never hurt anyone.
After I read the review on WM7 on GSMArena, I finally made up my mind: I will never downgrade to WM7, because it's what it actually is: a downgrade.
I use navigation a lot and, obviously, I receive calls while I drive. Is my HD2 the last phone with which I can do that? Is this the end of the line?
WM7 feels like another one of those OS for people who know nothing about computers (the majority). It is such a downgrade from WM6.5 in that sense...

KIN Software Wishes.

hey guys, i don't know a thing about programming, but i have a question. instead of trying to put android on the device and going through all that trouble, is it at all possible to integrate an on screen keyboard onto the device ?
Thats what I need. Im getting sick of sliding my phone open. I want a landscape qwerty keyboard (android style) and same as for portrait mode. thats the only downfall this phone needs!
no, it's not possible as we A) cannot access the kinOS code, and B) know virtually nothing about how the kinOS works. android is several times more feasible.
so then is it probable that there could be an onscreen android keyboard integrated with the android os ?
wasserman11 said:
hey guys, i don't know a thing about programming, but i have a question. instead of trying to put android on the device and going through all that trouble, is it at all possible to integrate an on screen keyboard onto the device ?
Click to expand...
Click to collapse
your acting as if putting a keyboard on this device will let it do everything everybody wants...and anyways, if we cant even take of a file from the device, how will be even begin to integrate a keyboard that will work with this odd OS? Please read forums to figure out what is possible
soninja8 said:
...if we cant even take of a file from the device, how will be even begin to integrate a keyboard that will work with this odd OS?...
Click to expand...
Click to collapse
This.
Till now we are not able to fetch a file from the device without using Zune (which is cool looking software to me, but tooooooooooooooooooooo complex for the task) in windows or the macspace app on Macs.
Furthermore, if you try to make a lame hijacking test, renaming a mp3 to image or the opposite (like "image.mp3"), the Zune software detects it, before you sync, so outta luck.

[Q] Surface RT Android App Help!!!!

Hi Guys
I am after a Android app that I use and I really need which is called Mobile CMS. I want to know is there a way to install Android apps on the Surface RT and run. I connect to my work cameras using my IP address and port number to connect to my DVR.
or if they is any other software I can use for what im looking for?
Your help is much needed
Thanks
Steve
"Is there any way"? No. Why would you even think that? Can you install iOS apps on Android? No!
"any other software"? I don't know. There's a number of protocols used for those types of connections. You may even be able to just use a web browser; RT (unlike recent versions of Android) supports Flash, and some of those cameras let you view their feeds in the browser using Flash.
GoodDayToDie said:
"Is there any way"? No. Why would you even think that? Can you install iOS apps on Android? No!
"any other software"? I don't know. There's a number of protocols used for those types of connections. You may even be able to just use a web browser; RT (unlike recent versions of Android) supports Flash, and some of those cameras let you view their feeds in the browser using Flash.
Click to expand...
Click to collapse
Iv tried using the web browser but it doesnt want to open it. Its just a blank page with a grey X on the corner of the page meaning it doesnt allow to view the image.
Probably needs a different plugin then, like Silverlight or Java. RT supports Flash, but no others. That's too bad.
Just checking: is your Surface up to date? *VERY* old RT firmware would not run Flash by default on most sites.
Anyhow, if you know what protocol it uses for video streaming, you can probably find an app in the store that understands it and can display the feed.
GoodDayToDie said:
Probably needs a different plugin then, like Silverlight or Java. RT supports Flash, but no others. That's too bad.
Just checking: is your Surface up to date? *VERY* old RT firmware would not run Flash by default on most sites.
Anyhow, if you know what protocol it uses for video streaming, you can probably find an app in the store that understands it and can display the feed.
Click to expand...
Click to collapse
Yes it up to date. i just really need this app or anything on the lines that im looking for that can connect to my DVR.
Anyone else have a idea... Something??
You've had the only answer possible with the information given.
What is the DVR in use?
The forums for the DVR in question would be able to help better.
The only other possible answer: buy an android device

Categories

Resources