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

Native Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Developer
Posts: 8
Registered: ‎10-31-2013
My Device: simulator
My Carrier: local

Is VPN Api available through Java?

Hello. I have developed Android application, It's main purpose is establishing VPN connection through OpenVPN protocol using Vpn Service API http://developer.android.com/reference/android/net/VpnService.html.


Now I want to port my app to BB 10 platform and I have some questions:


1) Is there any API, that allows me to control system VPN connection - add/manage  own profiles and establish connection programmatically?


2) Can I establish VPN connection, using system-provided protocols without creating and saving new profile?


3) I found native API called VPN extension library http://developer.blackberry.com/native/reference/core/com.qnx.doc.vpnextensions.lib_ref/topic/manual... , is it available on Java and can I use native C libraries while main code written on Java?

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Is VPN Api available through Java?

[ Edited ]

Welcome to the forums.


You are actually posting in the wrong forum, this is for Java, you want this one:



I will ask for this to be moved.


Edit: Forgot to add, you will have to port your applicaition to C, there is no Java support on BB10. 

New Developer
Posts: 8
Registered: ‎10-31-2013
My Device: simulator
My Carrier: local

Re: Is VPN Api available through Java?

Thanks a lot for your reply. I understand, but what's for is Java Developer forum if BB10 has no Java support?

Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Is VPN Api available through Java?

The Java forum is for the BlackBerry 7 and earlier devices, which ran a different operating system.

Paul Bernhardt
Application Development Consultant

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker