PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #131 (permalink)  
Old 11-10-2011, 03:01 AM
qanda's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TouchPro2
Carrier: Sprint
Location: USA
 
Join Date: Jul 2011
Posts: 86
Reputation: 65
qanda is becoming a great contributor
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: How to lock volume buttons while phone is locked?

UPDATE:

elesbb,

Finally was able to install NetCF. What a battle. After numerous tries to get Net CF installed, I figured out that the CAB would not install with the original directory in place, even though the directory had no keys. I deleted the entire directory, and it installed fine. Then, the app needed to be moved to the device memory from the storage card. That sometimes happens, but again took time to figure out.

As for the wallpaper, for some reason, certain pictures won't work anymore unless they are resized.

The answer is not to wonder why but to do it or ????? go nuts. LOL

What a night! Phone is back to normal with an Unlock to Home script not working, and still don't know why.

As a final attempt, what I would like you to do is a step by step of how YOU verified that the Unlock to Home script was working on your stock ROM.

I will duplicate every step, click and tap. If that does not reveal a clue, then I think we have pursued this as far as we can.

Regards,
A very tired QA
__________________
HTC Vogue,
HTC Touch Pro 2

Last edited by qanda; 11-10-2011 at 03:16 AM.
Reply With Quote
  #132 (permalink)  
Old 11-11-2011, 08:29 PM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
Re: How to lock volume buttons while phone is locked?

Quote:
Originally Posted by qanda View Post
YES and a big NO

Hard reset done but script still does not work.
In addition, I am left with two issues I did not have!

1. My wallpaper appears as if it is tiled.....instead of one nice jpeg.

2. One of my apps needs Net CF which is factory installed.
When I ran the app that required NetCF, an error message said it needed NetCF. I figured it was removed with the reset so I tried to reinstall it. Another error message popped up saying a Net CF is already installed, and to remove the copy before installing a new copy. I tried to remove it but it does not show in the Remove Programs list. I checked the registry and under NetCF, there is no version or key value.

I don't think we will ever figure out now why your Unlock to Home script isn't working.
If a hard reset does not fix things, what the heck could it be?

QA
Not very happy at the moment.

i am sincerely sorry for all your troubles over something so simple i did not want you to have to go through all that . I am really really sorry !

Quote:
Originally Posted by qanda View Post
UPDATE:

elesbb,

Finally was able to install NetCF. What a battle. After numerous tries to get Net CF installed, I figured out that the CAB would not install with the original directory in place, even though the directory had no keys. I deleted the entire directory, and it installed fine. Then, the app needed to be moved to the device memory from the storage card. That sometimes happens, but again took time to figure out.

As for the wallpaper, for some reason, certain pictures won't work anymore unless they are resized.

The answer is not to wonder why but to do it or ????? go nuts. LOL

What a night! Phone is back to normal with an Unlock to Home script not working, and still don't know why.

As a final attempt, what I would like you to do is a step by step of how YOU verified that the Unlock to Home script was working on your stock ROM.

I will duplicate every step, click and tap. If that does not reveal a clue, then I think we have pursued this as far as we can.

Regards,
A very tired QA
Again i appologize deaply for your troubles :/ i dont know why so much went wrong , it almost seems like you should task29 and flash back to stock just to completely wipe out everything . i never experienced so much trouble with stock .


But the way i confirmed was ,

task29
flashed stock
Installed mortscript
installed my script
installed lockdevice
soft reset
Launched file explorer
pressed the power button
waited a few moments
pressed power button again
unlocked the phone
it flashed file explorer for like a second
then showed the today screen



Thats exactly what i did when i tested it on stock . i seriously dont know why its not working for you . it really makes me wanna steal your device and figure it out xP i just hate it when simple things like this go wrong . :/
Reply With Quote
  #133 (permalink)  
Old 11-11-2011, 09:51 PM
qanda's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TouchPro2
Carrier: Sprint
Location: USA
 
Join Date: Jul 2011
Posts: 86
Reputation: 65
qanda is becoming a great contributor
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: How to lock volume buttons while phone is locked?

Quote:
Originally Posted by elesbb View Post
i am sincerely sorry for all your troubles over something so simple i did not want you to have to go through all that . I am really really sorry !
Oh, don't worry about it. We put so much time into this. It is annoying that we do not have a solution.


Quote:
Again i appologize deaply for your troubles :/ i dont know why so much went wrong , it almost seems like you should task29 and flash back to stock just to completely wipe out everything . i never experienced so much trouble with stock .
I confirmed with HTC that a hard reset would erase all prior settings and return the device to an initial turnon state. The 'clear storage' in the settings menu does not do so. It is a partial reset.
I did the full Hard Reset and the device turned on to Initialize mode.
It cleared everything out like new.


Quote:
task29
flashed stock
Installed mortscript
installed my script
installed lockdevice
soft reset
Launched file explorer
pressed the power button
waited a few moments
pressed power button again
unlocked the phone
it flashed file explorer for like a second
then showed the today screen
I did the same, but before launching file explorer, I tapped the Unlock to Home icon. After first message, I went to Start....then Home icon. Second message appeared and I tapped OK.
I completed the last few steps but it opens on file explorer and remains there.


Quote:
Thats exactly what i did when i tested it on stock . i seriously dont know why its not working for you . it really makes me wanna steal your device and figure it out xP i just hate it when simple things like this go wrong . :/
I can't figure it out either. We both flashed back to stock. We both installed the apps in almost the identical order. I did set up my email and restore my contacts to the device first but neither should have affected the device. We both tested the Unlock script the same way, but my device won't work.


Did you ALSO install the Screen off when locked script? You did not mention it in your steps. Remember, my device had both scripts running. If you did not have the Screen Off script installed, then install it and retry the Unlock script. Maybe one affects the other. Okay, it's a long shot but what the heck.

Simple turned out to be not so simple. Right now, I don't know where else we can go with this. If you can think of anything else, please feel free to post.

Regards,
QA

Last edited by qanda; 11-11-2011 at 10:00 PM.
Reply With Quote
  #134 (permalink)  
Old 11-16-2011, 09:36 AM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
Re: How to lock volume buttons while phone is locked?

Quote:
Originally Posted by qanda View Post
Oh, don't worry about it. We put so much time into this. It is annoying that we do not have a solution.



I confirmed with HTC that a hard reset would erase all prior settings and return the device to an initial turnon state. The 'clear storage' in the settings menu does not do so. It is a partial reset.
I did the full Hard Reset and the device turned on to Initialize mode.
It cleared everything out like new.



I did the same, but before launching file explorer, I tapped the Unlock to Home icon. After first message, I went to Start....then Home icon. Second message appeared and I tapped OK.
I completed the last few steps but it opens on file explorer and remains there.



I can't figure it out either. We both flashed back to stock. We both installed the apps in almost the identical order. I did set up my email and restore my contacts to the device first but neither should have affected the device. We both tested the Unlock script the same way, but my device won't work.


Did you ALSO install the Screen off when locked script? You did not mention it in your steps. Remember, my device had both scripts running. If you did not have the Screen Off script installed, then install it and retry the Unlock script. Maybe one affects the other. Okay, it's a long shot but what the heck.

Simple turned out to be not so simple. Right now, I don't know where else we can go with this. If you can think of anything else, please feel free to post.

Regards,
QA
yes i did set up the unlock to home script by tapping the icon in start menu , and i did have Screen Off when locked script installed . this is really annoying -.- the only other thing i can try is using an .exe programmed in C++ (i havent programmed with c++ in forever :P)
Reply With Quote
  #135 (permalink)  
Old 11-16-2011, 05:34 PM
qanda's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TouchPro2
Carrier: Sprint
Location: USA
 
Join Date: Jul 2011
Posts: 86
Reputation: 65
qanda is becoming a great contributor
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: How to lock volume buttons while phone is locked?

Quote:
Originally Posted by elesbb View Post
......... the only other thing i can try is using an .exe programmed in C++ (i havent programmed with c++ in forever :P)
Ummm. I might be able to steer you in the right direction.

I think if you pop code in C, this is the statement to use:

SetForegroundWindow( GetDesktopWindow() )

Can't help you much more. Don't write code, but I read alot (MSDN)

Regards,
QA
Reply With Quote
This post has been thanked 1 times.
  #136 (permalink)  
Old 11-17-2011, 11:38 AM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
Re: How to lock volume buttons while phone is locked?

Hey qanda , can windows mobile support C++ programming or must i do C# or VB ??
Reply With Quote
  #137 (permalink)  
Old 11-17-2011, 12:35 PM
qanda's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TouchPro2
Carrier: Sprint
Location: USA
 
Join Date: Jul 2011
Posts: 86
Reputation: 65
qanda is becoming a great contributor
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: How to lock volume buttons while phone is locked?

Quote:
Originally Posted by elesbb View Post
Hey qanda , can windows mobile support C++ programming or must i do C# or VB ??
Windows Mobile is pretty versatile and will play nicely with any of the above.

However, if Visual C++ contains the slightest errors, it can cause the device to crash.

C# and Basic are far easier to learn and use since they both support NetCompact Framework

Here is a very good MSDN article which should help you make the choice.
I'd go with C# or BN. NetCF has always worked well on my WM devices.

Choosing a Programming Language for Windows Mobile Development

Good luck.
Regards
QA

PS: Wow, I actually contributed something useful. lol

Last edited by qanda; 11-17-2011 at 12:38 PM.
Reply With Quote
This post has been thanked 1 times.
  #138 (permalink)  
Old 11-17-2011, 02:39 PM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
Re: How to lock volume buttons while phone is locked?

Quote:
Originally Posted by qanda View Post
Windows Mobile is pretty versatile and will play nicely with any of the above.

However, if Visual C++ contains the slightest errors, it can cause the device to crash.

C# and Basic are far easier to learn and use since they both support NetCompact Framework

Here is a very good MSDN article which should help you make the choice.
I'd go with C# or BN. NetCF has always worked well on my WM devices.

Choosing a Programming Language for Windows Mobile Development

Good luck.
Regards
QA

PS: Wow, I actually contributed something useful. lol
thanks so much !!! you always have been contributing somethin helpful !

i decided to use C# however i need help getting everything set up .. like MSDN says i need to use Visual Studio 2005/2008 Standard , professional or team edition and that Express edition will not work . which is all i have . i also need to get a hold of .NetFramework 2.0 for the Windows Mobile SDK API .
Reply With Quote
  #139 (permalink)  
Old 11-17-2011, 05:24 PM
qanda's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TouchPro2
Carrier: Sprint
Location: USA
 
Join Date: Jul 2011
Posts: 86
Reputation: 65
qanda is becoming a great contributor
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: How to lock volume buttons while phone is locked?

Quote:
Originally Posted by elesbb View Post
thanks so much !!! you always have been contributing something helpful !
You are very kind. Thanks.

Quote:
i decided to use C# however i need help getting everything set up ..
Yes, I think it is the best choice. Since Visual C++ works directly with the hardware and not protected by layers, it can brick the device real easy. C# and Basic will fail NetFramework, or the program will stop, but the device is protected by the coding and NF through which it manipulates the hardware.
Gee, I read too much. LOL.

Quote:
.............Visual Studio 2005/2008 Standard , professional or team edition and that Express edition will not work . which is all i have . i also need to get a hold of .NetFramework 2.0 for the Windows Mobile SDK API .
Visual Studio is an expensive piece of software but you may be able to get a free copy here. I didn't read it all, so check it out.
Are you a student programmer? Get a free copy of Visual Studio 2008 Pro! | GadgetSutra

You might find the NF download you need here.
.NET Compact Framework Downloads

Ok, that's all I can offer you at the moment in the way of help.

Regards,
QA

Last edited by qanda; 11-17-2011 at 08:27 PM.
Reply With Quote
This post has been thanked 1 times.
  #140 (permalink)  
Old 11-24-2011, 09:22 AM
qanda's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TouchPro2
Carrier: Sprint
Location: USA
 
Join Date: Jul 2011
Posts: 86
Reputation: 65
qanda is becoming a great contributor
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: HAPPY THANKSGIVING

elesbb and Tinker.....

Have a Happy Thanksgiving..... for you both have shown the true spirit of giving by helping all of us here on the forum.

Regards,
Tippy

Reply With Quote
This post has been thanked 2 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 06:19 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com