BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-28-2009, 12:42 AM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default substitute of APIs in JDE 4.0

Please Login to Remove!

Can someone please tell me options for following methods in JDE 4.0 as these are introduced in 4.2?

HomeScreen.updateIcon(bitMap);
NotificationsManager.hideSource(long);

Please help
Thank you
Offline  
Old 08-28-2009, 07:49 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

This should be in the developer forum.

You will have to use a JDE greater than 4.2 to use features introduce in 4.2.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 08-28-2009, 09:14 AM   #3 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry for posting at wrong place. can you tell me how to move this thread?

Thing is I want to make my build compatible with devices having 4.0 is there any work around for these APIs in 4.0?

Thanks
Offline  
Old 08-28-2009, 10:21 AM   #4 (permalink)
BBF Spam Killer Moderator
 
daphne's Avatar
 
Join Date: May 2007
Location: on a sunny beach
Model: Z
OS: 10.2.1.12
PIN: X1ZPY34K
Carrier: VZW
Posts: 9,165
Post Thanks: 122
Thanked 146 Times in 116 Posts
Default

Moved to Developer Forum.
__________________
Report spam text messages to 7726
#BlackBerry by choice #BlacBerry 10 is here!
Offline  
Old 08-28-2009, 10:39 AM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

Quote:
Originally Posted by malani_manish View Post

Thing is I want to make my build compatible with devices having 4.0 is there any work around for these APIs in 4.0?

Thanks
Specifically, HomeScreen was included in 4.1, so you are out of luck on 4.0 devices. hideSource was in 4.2 so that would also be a no.

Sometimes, one is able to write code that implements the same function as something provided in a later API, but when it comes to manipulating the state of RIM applications this is rarely the case.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 09-02-2009, 08:59 AM   #6 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by hrbuckley View Post
Specifically, HomeScreen was included in 4.1, so you are out of luck on 4.0 devices. hideSource was in 4.2 so that would also be a no.

Sometimes, one is able to write code that implements the same function as something provided in a later API, but when it comes to manipulating the state of RIM applications this is rarely the case.
Ohhhh... that means I will have to do without these features on my 4.0 build. Thank you very much for response.
Offline  
Old 09-02-2009, 12:22 PM   #7 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

Quote:
Originally Posted by malani_manish View Post
Ohhhh... that means I will have to do without these features on my 4.0 build. Thank you very much for response.
Yup, much as I said in my first response.
__________________
My other Blackberry is a PlayBook.
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.