Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Hardware Lib related issues

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-30-2007, 10:25 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default Hardware Lib related issues

Hi,

Following some interesting issues brougth up in the "hardware lib updated" tread, decided to start this one..

1- Runappattime
Is it possible to, after creating more than one runappattime registered notification, to remove one especific notification?
If yes then how?

2- Catching hardware keys
How to catch the keyboard keys?
(Anyone up to creating a Lib with keypress event?)
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #2 (permalink)  
Old 05-30-2007, 11:01 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

1- Using the evNone event you can remove the registration of a specific application.
2- Catching the hardware keys is done using the Hardware library.
Reply With Quote
  #3 (permalink)  
Old 05-30-2007, 11:52 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I ment the Keybord Keys, as I understand only the cursor, enter and 4 buttons are detected by the hardware lib!?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #4 (permalink)  
Old 05-30-2007, 12:06 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Do you mean an external keyboard?
You can use a TextBox to catch the "regular" keys.
Reply With Quote
  #5 (permalink)  
Old 05-30-2007, 12:18 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

My device a qtek900 as a "full" qwerty kb and some combinations execute specific program and have a direct key for iexplorer and such...Would it be possible to allow similar behavior in b4ppc apps, the shotcut key I mean!
like shift+f ->open the file menu...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #6 (permalink)  
Old 05-30-2007, 01:09 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Maybe in the next version...
Reply With Quote
  #7 (permalink)  
Old 03-23-2008, 02:50 AM
Junior Member
 
Join Date: Feb 2008
Posts: 47
Default

Quote:
Originally Posted by Erel View Post
1- Using the evNone event you can remove the registration of a specific application.
2- Catching the hardware keys is done using the Hardware library.
evNone only applies to the RunAtEvent. Will it still remove notifications for RunAppAtTime entries?
Reply With Quote
  #8 (permalink)  
Old 03-23-2008, 06:04 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You can pass 0 as the time argument to remove a notification added with RunAppAtTime.
Reply With Quote
  #9 (permalink)  
Old 03-23-2008, 09:32 AM
Knows the basics
 
Join Date: Jan 2008
Posts: 64
Default

And third issue: i have the main window and the menu with the submenu in my program. Catching hardware keys work properly but it work also when i navigating in the menu with these keys... Is it possible to deactivate catching when the menu is opened?
Reply With Quote
  #10 (permalink)  
Old 03-23-2008, 10:57 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Currently it is not possible.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Timing issues leestevens Questions (Windows Mobile) 1 08-08-2008 06:22 PM
text box issues gjoisa Questions (Windows Mobile) 9 05-12-2008 06:18 AM
Hardware.DLL Bobbes German Forum 9 11-18-2007 03:17 PM
About Hardware.dll JJM Questions (Windows Mobile) 4 07-10-2007 08:57 PM
Source Code Form Issues Louis Questions (Windows Mobile) 3 06-16-2007 08:17 PM


All times are GMT. The time now is 02:51 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0