Hi everybody,
I've seached for a long time, but no luck at all. I need a command to be accessible from MortScript to unlock the standard slide2unlock WM 6.5 lockscreen. I know how to lock it with SendSpecial (133), but I also need a reliable way to unlock it. Mouse clicks are not reliable as user might modify the position of locker.
Or if this is not possible, at least a way to put another window "on top" of the lockscreen and let the user to make some inputs without having to slide the locker first.
Thanks a lot for any suggestions,
Regards,
Radu
nradu said:
Hi everybody,
I've seached for a long time, but no luck at all. I need a command to be accessible from MortScript to unlock the standard slide2unlock WM 6.5 lockscreen. I know how to lock it with SendSpecial (133), but I also need a reliable way to unlock it. Mouse clicks are not reliable as user might modify the position of locker.
Or if this is not possible, at least a way to put another window "on top" of the lockscreen and let the user to make some inputs without having to slide the locker first.
Thanks a lot for any suggestions,
Regards,
Radu
Click to expand...
Click to collapse
This is NOT possible. It is possible on Non-Touch phones through a special API, but not on Windows mobile Professional (*sigh* Microsoft ... what were you smoking when you made these SDK's haha)
Anyway, I don't think MortScript can just go over a lockscreen, but I know that if you do the following in C++, it will run the app above the lockscreen:
SetWindowLong(hWnd, GWL_EXSTYLE, WS_EX_ABOVESTARTUP);
Cyclonezephyrxz7 said:
This is NOT possible. It is possible on Non-Touch phones through a special API, but not on Windows mobile Professional (*sigh* Microsoft ... what were you smoking when you made these SDK's haha)
Anyway, I don't think MortScript can just go over a lockscreen, but I know that if you do the following in C++, it will run the app above the lockscreen:
SetWindowLong(hWnd, GWL_EXSTYLE, WS_EX_ABOVESTARTUP);
Click to expand...
Click to collapse
Hi Cyclone,
I'm interested on doing this exact thing in a smartphone can you tell me how to do it with mortscript?
Kindly regards,
Enrique
You can't with mortScript. SetWindowLong is a C++ function used to set certain attributes to a Window when it is being createed ... You would have to make the program in either C# [and p/invoke it] or in C++
Cyclonezephyrxz7 said:
You can't with mortScript. SetWindowLong is a C++ function used to set certain attributes to a Window when it is being createed ... You would have to make the program in either C# [and p/invoke it] or in C++
Click to expand...
Click to collapse
Ohh, Sorry I misunderstand your post because you mentioned it is possible in non touch phones like mine a Samsung Jack.
Thanks for your answer,
Enrique
Oh sorry, I misunderstood your post too haha. There is an API call for Windows Mobile Standard (C++) ... PM me if you want to know any further
Related
Hey guys,
I have an Ipaq h6315 and it doesnt look like they will be releasing a WM5 upgrade for my system; therefore, I'd like to find out if anyone know of a program, tool, registry key or anything that will allow a Windows mobile 2k3 system to change the display into Landscape?
If you know of anything that might work and could share the info with me i would really appreciate it!
Will V.
http://forum.xda-developers.com/viewtopic.php?t=38797&highlight=rotate
V
Thanks for the reply Vijay. Is that the name of the application i have to look for?
PHM tools?
Thanks again!
WV
Is the 6315 running 2k3 or 2k3se? The original 2k3 didn't include screen rotate, but some people on this forum found a way of copying the Screen Rotation Service from a SE device to a 2k3 device. It was quite a while ago, but there will be something on this forum.
The original topic can be found here...
http://forum.xda-developers.com/viewtopic.php?t=12481&highlight=screen+rotation+service
HTH
Fin
Findus,
I have regular Windows Mobile 2003 (non-SE)
thank you for giving me that thread info, i'll look and se if it'll work with my device!
Once again, thank you!
I installed the tool posted on the thread you gave me but unfortunately for me it didnt work. Maybe because mine is an Ipaq and those dlls are patched for a himalaya (maybe)
Just wanted to thank you anyways!
I have no specific idea about WM2003 vs WM2003se, but you want to try PHM key tools or something like that. It includes a lot of useful shortcuts, including screenrotation.
V
Thanks again Vijay!
Would you happen to know if PHM Tools is the same as PHM power toys? I've been looking for it and so far all i've found from PHM is the Registry editor and Power toys.
Thanks for the help!
By the way i tried "Virtual Display" from http://www.nyditot.com/Home.asp and it rotates the screen pretty nice and it has other useful options; however, when accessing the mobile phone application in landscape mode only numbers 1 thru 6 show on the dialpad screen
I'd like to try PHM tools and see if its able to display the dialpad correctly.
I have it
I have a copy of Nyditot and when I used wm2003 I thought is was very good.
Yes, Nydiot is great.
PHM - not sure what it's called now, I've taken my installation apart, but basically I have PHM Keys. Might be part of Powertoys. They're used with voice command etc as well, but contain a bunch of shortcuts. Try them all, they're all useful IMHO!
V
Vijay: Cool! I'm going to download the PHM Power toys since that's the only thing i've found so far (too bad i cant do it now since i dont have the usb cable at work LOL)
Littld: Were you able to see all numbers in the keypad when you used Nyditot in landscape mode?
I still have the tool installed in my PPC but when i try to use the phone in Landscape mode the numbers (dialpad) does not display all the buttons (i'll try to get a screen shot wheni get home)
Hey Guys
Some Time ago, i had the idea to build something similar to apples app store for windows mobile, where everyone can upload .cab files and share them with others. The functions for a first release should be as follows:
- Upload .cab's with a desktop computer (or even directly with the ppc?)
- Possibility to write comments and rate the apps
- Download and install directly from ppc
I'm also a developer, but i never did something for WM, that's why i'm aksing you guys... I don't think that it is a complicated taks to do, but it's really hard to find informations about programming for WM in Visual C# or even Visual C++ with Visual Studio 2008.
I have a Rootserver with enough Harddisk Space and a great Internet connection, where the app could run on. So that's not a problem...
Is someone interested in doing such a thing?
believe it is already. think it's called jakal or something
hipey said:
believe it is already. think it's called jakal or something
Click to expand...
Click to collapse
Unknow to me :|
Your idea is a good one, we need someone creating this, in more i am sure you would get a lot of money by donating... To be honest, if i could programm, i would make it only for money
Gecko App Manager
http://forum.xda-developers.com/showthread.php?t=436127
Hi everyone.
I'm a beginner in Pocket PC / Smartphone development, though i have some (amateur) experience in creating PC apps (Delphi, C++)
So i just need a "kick start" to begin working on PPC apps. Like, a code to make an app that draws a window with "Hello world" and an OK button in it, you know
I've downloaded the SharpDevelop environment, because it looked like the best freeware alternative to Visual Studio. However, i have to admit i've downloaded the 1.x version, as i have a very old computer. But if it's critical, i can try and install 2.x or 3.x.
Anyway, the question is: how do i create a project for Pocket PC / Smartphone? All i see are options to create PC projects... But i saw SharpDevelop in the D&H wiki, so there must be a way to use it for it, right?
Big thanks in advance for answering my very silly question
upd: also, do i need any special device emulators to run the project, or... w/e
kiruch said:
Hi everyone.
I'm a beginner in Pocket PC / Smartphone development, though i have some (amateur) experience in creating PC apps (Delphi, C++)
So i just need a "kick start" to begin working on PPC apps. Like, a code to make an app that draws a window with "Hello world" and an OK button in it, you know
I've downloaded the SharpDevelop environment, because it looked like the best freeware alternative to Visual Studio. However, i have to admit i've downloaded the 1.x version, as i have a very old computer. But if it's critical, i can try and install 2.x or 3.x.
Anyway, the question is: how do i create a project for Pocket PC / Smartphone? All i see are options to create PC projects... But i saw SharpDevelop in the D&H wiki, so there must be a way to use it for it, right?
Big thanks in advance for answering my very silly question
upd: also, do i need any special device emulators to run the project, or... w/e
Click to expand...
Click to collapse
It's not a silly question mate - it's a perfectly good one. Unfortunately, I don't think that you can use SharpDevelop to create .Net CF applications easily. The Windows Mobile SDKs come with plenty emulators (to answer your latter question), but they're Microsoft, and therefore they're for Visual Studio. It's really easy with Visual Studio - you just install the SDK and select a smart device as your target when you create a new project. It just works.
http://www.microsoft.com/downloads/details.aspx?FamilyID=20686a1d-97a8-4f80-bc6a-ae010e085a6e
However, as far as I'm aware, you can't use VS Express (the free version), as the SDKs only work with full versions of VS. If you can get hold of that, I'd recommend it.
I do remember seeing a website talking about using SharpDevelop with the .Net CF, but it was sketchy and didn't promise it would work. Maybe google a little more to make sure about that, but I'd strongly recommend a copy of VS Professional, if that's an option.
If you are a student, you can get VS2008 for free (www.dreamspark.com)
If you are not a student, you can get VS2010 RC for free (works for another 100 days from today).
I use Sharp Develop to program in C# for my phone, and it works fine.
However, it's possible that smartphones are only supported in version 2 and 3 (I never tried version 1).
In the newer versions, when you start a new solution, there will be an option to start a Compact Framework Project.
Some code that is automatically added when adding controls to your form, will throw errors and will have to be deleted. There is more information on that in the forums at Sharpdevelop.
Good luck!
It depends on what u want to program in. .net c# c++ ect. Tho if i were u i would try and get VS. If your going to do c++ i can provide some examples, but not for anything else xD. GL.
Opera Mini for Windows Phone 7
FOR FULLY UNLOCKED ROMS ONLY
First of all, I am not an author of Opera. That's Opera Software ASA property. I am only the author of this xap wrapper and related proxy libraries.
Xap or any parts of it cannot be sold.
Current version of launcher is 1.2 (it is the same in both Mobile and Mini).
What's new?
Application window gets recreated on the startup if Opera was already opened.
Got rid of WindowTreeUpdater, now using system functions directly.
Font smoothing
Removed some unneeded system calls.
Now timeout is 3 seconds.
Rotation support wasn't implemented in this version. Windows Phone 7 API doesn't support it in fully native apps.
Q&A
What is it?
That's Opera Mini 5.1 initially built for Windows Mobile. I've just added an extra layer that makes it running.
The only limitation so far is no rotation support - but this limitation will be deleted in future.
Why does it only work on fully unlocked ROMs (like DFT Freedom)? Isn't developer/interop unlock enough to run it?
Developer unlock will let you install xap. Interop unlock will let inbuilt interop library work. Full unlock will let Opera native exe run.
That means, nothing except Full unlock will help you run it. Don't ask me about other unlock methods, that's not something to discuss in this thread.
Which ROMs should I use?
All ROMs that use DFT-like unlock method. I say "like" because there are some other methods, I can't list them all. I can't tell you "Yes, it will work on this rom" or opposite, just test it and leave a note if you want.
Is Opera Mobile port possible in future?
Yes, already done
What's countdown made for?
Press "Stop" and check.
When I press "Stop", there is a "Delete internal opera folders" button. Why is it here? I can delete this app like any other WP application...
The reason is that Opera launcher goes beyond the standard isolated store. For example, it creates \Program Files\Opera Mini folder. Also it adds some absent libraries to \Windows\.
If you delete Opera launcher "like any other WP application", folders beyond the sandbox will still stay there. So, use "Delete internal Opera folders" button wisely
I have problems with starting it up...
If it Opera launcher's window doesn't appear at all, it means you have no interopunlock.
If it throws an error with "Check your unlock state" in the end, it means your unlock isn't enough for running native executables/copying files.
Anyway, you shouldn't post about it here. I will ignore such comments.
Thanks to AndrewSh and feropont for tests.
1.0 download count: 7090.
Opera Mobile is discussed here
Good
Good job, my friend
feropont said:
Good job, my friend
Click to expand...
Click to collapse
Wanna add that this "good job" works on both our (feropont and my) fully unlocked customs w/o issues....
Confirmed working on my HD7 running the latest DFT rom ! Thx a lot.
As mentioned before on other devices without custom rom (like my OMNIA 7) it throws an error after launching... sad but true...
great working on, htc trophy with dft freedom 2
hope you will be able to port opera mobile
really works
thanks mate for hard work
thanks. great work ultrashot.
Not working in my mozart with DFT rom v3(7740.16).!!!!
also show this error: "Check your unlock state". and close it.
Doesn't work on my Omnia 7 with Interop Unlock (7740)
"A problem occured while creating new process. Check your unlock state."
MAHDi25 said:
Not working in my mozart with DFT rom v3(7740.16).!!!!
also show this error: "Check your unlock state". and close it.
Click to expand...
Click to collapse
I surely tested it on DFT v3 before posting. I will check it again.
AshleyT said:
Doesn't work on my Omnia 7 with Interop Unlock (7740)
"A problem occured while creating new process. Check your unlock state."
Click to expand...
Click to collapse
Read the first post:
Why does it only work on fully unlocked ROMs (like DFT Freedom)? Isn't developer/interop unlock enough to run it?
Developer unlock will let you install xap. Interop unlock will let inbuilt interop library work. Full unlock will let Opera native exe run.
That means, nothing except Full unlock will help you run it. Don't ask me about other unlock methods, that's not something to discuss in this thread.
Click to expand...
Click to collapse
Sounds superb. In fact, the lack of landscape support is a blessing in disguise for me as I get irritated when the screen rotates when I lie down and browse.
I will have to wait for DFT Focus ROM though, if I want to deploy this app.
Nice work, Amigo
Great job.
I was wandering, is your method could be applied to other native Windows Mobile apps to make them work on Windows Phone?
its very nice and big work
if you can port other program to windows phone its very good
program like proxycap and tcpmp in very Required in windows phone
great work
works like a charm here. Lack for landscape-autorotation is a feature for me, not a missing one
just 3 questions:
are there any other "simple" programs which dont have lots of "dependencies" which could be ported this way?
Is it possible to make it start instantly. not by a countdown?
Can there be a task added? I mean at the moment I dont see it in the built-in mutlitask-switcher...
I love your work already thanks
That. Is. Awesome! Thanks, gonna install it on my WP7
I love this, I wanted opera mobile so bad on my phone, it's way better than the built in IE.
EDIT: why is the launcher delaying the start for 3 seconds though? IS there a specific reason for that?
I'm not going to fully unlock my device but...
... I just read this on WMPoweruser and wanted to say that this is one piece of awesome work. Sick!
Sainti said:
Great job.
I was wandering, is your method could be applied to other native Windows Mobile apps to make them work on Windows Phone?
Click to expand...
Click to collapse
diboze said:
great work
works like a charm here. Lack for landscape-autorotation is a feature for me, not a missing one
just 3 questions:
are there any other "simple" programs which dont have lots of "dependencies" which could be ported this way?
Is it possible to make it start instantly. not by a countdown?
Can there be a task added? I mean at the moment I dont see it in the built-in mutlitask-switcher...
I love your work already thanks
Click to expand...
Click to collapse
Yeah, they can be ported in a similar way. But for some apps it could be problematic.
Localhorst86 said:
That. Is. Awesome! Thanks, gonna install it on my WP7
I love this, I wanted opera mobile so bad on my phone, it's way better than the built in IE.
EDIT: why is the launcher delaying the start for 3 seconds though? IS there a specific reason for that?
Click to expand...
Click to collapse
added delay reason to the first post.
Thanks!!! This is the kind of awesomeness that XDA got me used to. Unfortunately my phone is not an unlocked one, but I wanted to congratulate you anyways.
Sent from my LG-E900h using XDA Windows Phone 7 App
ultrashot said:
Opera Mini for Windows Phone 7
FOR FULLY UNLOCKED ROMS ONLY
First of all, I am not an author of Opera. That's Opera Software ASA property. I am only the author of this xap wrapper and related proxy libraries.
Xap or any parts of it cannot be sold.
Q&A
What is it?
That's Opera Mini 5.1 initially built for Windows Mobile. I've just added an extra layer that makes it running.
The only limitation so far is no rotation support - but this limitation will be deleted in future.
Why does it only work on fully unlocked ROMs (like DFT Freedom)? Isn't developer/interop unlock enough to run it?
Developer unlock will let you install xap. Interop unlock will let inbuilt interop library work. Full unlock will let Opera native exe run.
That means, nothing except Full unlock will help you run it. Don't ask me about other unlock methods, that's not something to discuss in this thread.
Which ROMs should I use?
All ROMs that use DFT-like unlock method. I say "like" because there are some other methods, I can't list them all. I can't tell you "Yes, it will work on this rom" or opposite, just test it and leave a note if you want.
Is Opera Mobile port possible in future?
I would rather say "yes". It has more dependencies, so porting is harder. But it really looks possible.
What's countdown made for?
Press "Stop" and check.
When I press "Stop", there is a "Delete internal opera folders" button. Why is it here? I can delete this app like any other WP application...
The reason is that Opera launcher goes beyond the standard isolated store. For example, it creates \Program Files\Opera Mini folder. Also it adds some absent libraries to \Windows\.
If you delete Opera launcher "like any other WP application", folders beyond the sandbox will still stay there. So, use "Delete internal Opera folders" button wisely
I have problems with starting it up...
If it Opera launcher's window doesn't appear at all, it means you have no interopunlock.
If it throws an error with "Check your unlock state" in the end, it means your unlock isn't enough for running native executables/copying files.
Anyway, you shouldn't post about it here. I will ignore such comments.
Thanks to AndrewSh and feropont for tests.
Click to expand...
Click to collapse
Ok tnx
that's work on my DFT base Rom
Dear Ulttashot can you please make a port of Xtrakt the Xperia X1 game i would apriciate it if you make this possible
I want to develop simple apps for Windows Mobile. I read that I can use:
---Compact Framemork. (I downloaded Sharp Develop, it is free. It also exist a program from Resco that speedup the development with C.F.)
--- C or C++ or C# (I don't know if WinMo understand these...)
---Visual Basic (is difficult and Visual Studio isn't free, but I found another program that allows to develop more simple)
---Mortscript (I think is the most simple)
---Which is the best and the most simple language?
---Where can I read or download tutorials?
---I can not develop simple apps with images and sounds yet.
Please Help!
I want to develop
-a lock screen
-an app that turn on and turn off the leds of my device
-an app that change registry values (without softreset the device)
-an app that can copy, cut and delete files
-a Soft Imput Panel (a virtual keyboard)
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Cyclonezephyrxz7 said:
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Click to expand...
Click to collapse
Thanks CycloneZephyrxz7.
I want to develop for Windows Mobile 6.X for devices with WVGA resolution.
But with Mortscript I can do less things? Because I can only write scripts.
Do you know how is written a simple app like "ClearTemp"?
I wait other replies from Devolpers and people that used these languages...