TheWebs
TheWebs

Reputation: 12923

BlackBerry OS 6 App Dev

When developing a application for iOS that pulls in a web site, you have a very simple web app wrapper that as far as I know acts like an iframe, pulls in the web site and boom - you have an app.

My understanding is that if done this way you are using a "stripped down" Safari to view the web site in a "app" as it is a web wrapper.

When developing an app for BB OS6, is it the same concept? If I develop a wrapper that says "go fetch site x and display it in this app" is it going to use BB OS6 default browser APIs to render said site?

Also is there links to said API?

Upvotes: 0

Views: 354

Answers (2)

jeffheifetz
jeffheifetz

Reputation: 423

If all you want is a container to display Web content I'd highly recommend you use Webworks (or cordova for cross platform) as opposed to Java. WebWorks already creates and sets up the bf2 for you in a tested and proven way.

Upvotes: 1

Nate
Nate

Reputation: 31045

The equivalent of UIWebView for iOS would be the BlackBerry BrowserField.

If you want some examples of how to use it, I recommend installing the BlackBerry Eclipse plugin. That will install in Eclipse the full BlackBerry Java SDK (e.g. version 6.0, 7.0, etc.), which comes with lots of sample code. From Eclipse, you can then

Import... -> BlackBerry -> Import BlackBerry Samples -> BrowserField2Demo.

Note that you want the BrowserField2Demo, not BrowserFieldDemo!

Or, you can go directly to the github site with BlackBerry sample code.

Upvotes: 0

Related Questions