BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-01-2005, 01:04 AM   #1 (permalink)
New Member
 
Join Date: Jun 2005
Model: 7100T
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Unholster Event?

Please Login to Remove!

Hi,

I am completly new to the world of blackberrys, but I do have some Java MIDP programming experience on my sony ericsson. I have an idea that I am trying to figure out if is possible or not on my blackberry 7100T (OS v 4.0)

After downloading some ringtones, like the ADP Star Trek communicator sound, I immediately wanted the ability to simply unholster the bb and have that sound play as if I were whipping out a real star trek communicator.

I guess it would be a java midlet running in the background, and whenever the bb was pulled from the holster it would recieve some kind of event and play the sound file.

Question is, does such an unholster event exist in the bb API? I understand that there is two APIs for the bb, a public one and a controlled one.. sounds like the event I want may be in the controlled API?

I searched blackberry.com but I didn't come up with anything.. so if anyone has an idea if such a thing exists, I would appreciate a tip in the right direction.

Thanks for reading
Offline  
Old 07-11-2005, 11:40 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2005
Location: Eastpointe, MI
Model: 8300
Carrier: AT&T
Posts: 214
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Package net.rim.device.api.system
Interface HolsterListener

Problem is, I believe your app has to be active to react to the removal of the holster. Maybe you could get the source code for BBToday (a free today screen for the BB) and add the HolsterListener to play your sound and just be sure to keep the BBToday screen up before you holster it.
__________________
Current: AT&T 8300 w/Plantronics Discovery 640

Previous: Nextel BB7520 w/ Plantronics Discovery 640
Offline  
Old 07-11-2005, 12:02 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2005
Location: Columbus, OH
Model: 7100G
Posts: 44
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by PingGuy
Package net.rim.device.api.system
Interface HolsterListener

Problem is, I believe your app has to be active to react to the removal of the holster. Maybe you could get the source code for BBToday (a free today screen for the BB) and add the HolsterListener to play your sound and just be sure to keep the BBToday screen up before you holster it.
True...they could make a system module that runs at start. The problem is you need code signing ($100) to do any of this. Plus I am not sure if the APIs exsist to play sounds.
Offline  
Closed Thread


Thread Tools

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





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.