Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Announcements
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Announcements Announcements of new versions and new libraries.


Hardware library was updated - 3.10


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-26-2007, 10:12 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,141
Default Hardware library was updated - 3.10

The hardware library now also supports VibrateStart / VibrateStop and ShowTodayScreen method.
Using ShowTodayScreen you can create background applications.
See the example in the help manual: http://www.basic4ppc.com/help/hardware/index.html

It can be downloaded here: www.basic4ppc.com/Downloads.html
Reply With Quote
  #2 (permalink)  
Old 09-26-2007, 10:57 AM
Junior Member
 
Join Date: Sep 2007
Posts: 16
Default

Erel,
Thanks for your swift response.
I really can feel the "First priority support" upon my purchase of your Basic4ppc Enterprise Version at 89.00$ (US Dollars).

The next homework is to generate a tone with frequency of xHz where x is between 1Hz and 20000Hz.
The command may look like:
Hardware.Frequency(1750)
Sleep(1000)
Hardware.FrequencyStop

Really looking forward to your response.

Thanks a lot...

Does everyone enjoy this?
Reply With Quote
  #3 (permalink)  
Old 09-26-2007, 11:53 AM
Junior Member
 
Join Date: Sep 2007
Posts: 16
Default

When run, an error message "Hardware does not support this method"
is raised:

Sub Timer1_Tick
Sound("tick.wav")
Hardware.VibrateStart
Sleep(100)
Hardware.VibrateStop
Bicara = SubString(Format((Round((Now-StartTime)/cTicksPerSecond)) Mod 60, "d2"),0,2)
TextBox2.Text = Bicara
If Bicara = "38" Then
Hardware.VibrateStart
Sleep(100)
Hardware.VibrateStop
End If
If Bicara = "52" Then
Hardware.VibrateStart
Sleep(200)
Hardware.VibrateStop
Sleep(200)
Hardware.VibrateStart
Sleep(200)
Hardware.VibrateStop
End If
End Sub
Reply With Quote
  #4 (permalink)  
Old 09-26-2007, 12:29 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,141
Default

The Vibrate methods use the native Vibrate methods.
Unfortunately not all devices implement these methods.
Reply With Quote
  #5 (permalink)  
Old 09-26-2007, 12:57 PM
Junior Member
 
Join Date: Sep 2007
Posts: 16
Default

Then, any solution in implementing the native methods in WM6 of my DOPOD D810 alias CHT9100?
Reply With Quote
  #6 (permalink)  
Old 09-26-2007, 01:39 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,141
Default

We will continue to check it.
Reply With Quote
  #7 (permalink)  
Old 09-28-2007, 10:09 AM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Attached is a small (unofficial) library (C# source code included) which can activate and deactivate PPC notification leds.

Usualy notification led 0 is a really led and led 1 (in most cases) is the vibration mechanism.

Basic4PPC .sbp test file included.

If it works OK, Erel can add it to hardware library.
Attached Files
File Type: zip dzLEDs.zip (3.0 KB, 79 views)
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #8 (permalink)  
Old 09-28-2007, 06:13 PM
Junior Member
 
Join Date: May 2007
Posts: 27
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Erel,

This is great! With these three new hardware methods alone, you've really made B4PPC more appealing to PPC Phone devs like myself. Thanks again for the excellent work.
- Steve
Reply With Quote
  #9 (permalink)  
Old 09-29-2007, 04:33 AM
Junior Member
 
Join Date: Sep 2007
Posts: 16
Default

Dimitris,
I finally get my "Vibrator" into usage.
You are excellent, marvellous, cool, great.....
From the bottom of my heart, thank you very much.








Erel,
You should give a prize to Dimitris for his great work to your "First priority User" like me.


Thank you Basic4PPC!!!!
Thank you Erel....
Reply With Quote
  #10 (permalink)  
Old 09-29-2007, 05:39 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,141
Default

Dimitris, I truly join eddy_ys with these compliments:






And I'll include it in the next Hardware update.
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware library was updated Erel Announcements 0 03-01-2008 05:20 PM
Hardware library was updated - 3.00 Erel Announcements 1 09-10-2007 10:21 PM
Hardware library was updated - 2.70 Erel Announcements 2 07-01-2007 07:50 PM
Hardware library was updated Erel Announcements 17 05-31-2007 08:14 AM
Hardware library was updated Erel Announcements 2 05-16-2007 11:40 AM


All times are GMT. The time now is 09:31 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0