Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 1
Registered: ‎06-09-2012
My Device: 9500
My Carrier: Beeline

Generic Connection Framework: HttpConnection using BIS

Hi all!

In my app i use Generic Connection Framework to obtain http-connections.
According to http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is... developer have to be BB AP member to use BIS.
Suppose i have the BB AP membership.
According to this http://developerlife.com/tutorials/?p=884 i can obtain a "security" URL (let  "XXXXX")
as BB AP member.

After that i can use this "security" URL to obtain http-connection via BIS by using next code:

HttpConnection c = (HttpConnection) Connector.open("my.site.com" + "XXXXX");


Is it right strategy:

1) Get BB AP member

2) Obtain "security" URL from BB.

3) Use it in above listed code