Can I integrate a standard BlackBerry web-browser in my BlackBerry application? Similar to embedding Internet Explorer in a standalone desktop application on C#.
I think you are looking for the BrowserField, which lets you embed a browser within your java-me app.
Related
I am developing an application using Xamarin Forms, targeting iOS, Android and Windows Phone.
Using Dependency Service, I implemented to open/preview file that can be an audio, video or text document.
On Android, I used Intent with Android.Content.Intent.ActionView.
On Windows Phone, I used Launchers.
Is there any similar simple way on iOS to view a file?
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?
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.
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.
Does anyone have experience with printing from iOs/Adobe Air3 app? Is it possible without need to write native extension?
This is not currently possible without a Native Extension, though one could be easily written for it.
Link to Adobe Live Docs
It says: Mobile Browser Support: This class is not supported in mobile browsers
Is there a way to create a link on a web page to launch the BlackBerry native version of the Foursquare app? I'd like to open a particular venue in the app, but I can't even find a way to cause the app to launch at all.
On Android and iOS there are URL schemes to accomplish this, like on this page:
https://developer.foursquare.com/resources/client
But, that page does not address web links from BlackBerry devices. In particular, I'm interested in BlackBerry OS 6/7 handsets.
foursquare: URLs just fail with a not-supported error message, and http links to foursquare.com just open in the same browser window.
At the bottom of the page at https://developer.foursquare.com/resources/client, under "BlackBerry Native App Integration", you can find instructions on how to launch the native foursquare app from other BlackBerry apps.
I am new to PhoneGap I want to know whether PhoneGap is only for Native Applications or for remote web app HTML pages too. Please any one answer me.
Thank you Lakshmi
Phonegap! enables software programmers to build applications for mobile devices using JavaScript, HTML5 and CSS3, instead of lower-level languages such as Objective-C/core-java. The resulting applications are hybrid, meaning that they are neither truly native (all layout rendering is done via the webview instead of the platform's native UI framework) nor purely web based (they are not just web apps but packed for appstore distribution, and have access to part of the device application programming interface). You can try Sencha, Ext-JS HTML5! frameworks to create remote web app HTML pages.
Phonegap! enables a web developer access to mobile devices's phonebook, Geolocation, compass, accelerometer,etc.(A browser is not exposed to these APIs')
Appcelerator Titanium! is another platform for developing mobile, tablet and desktop applications using web technologies.
PhoneGap can be used on webapps too, if loaded through PhoneGap. It won't work in mobile safari directly, you must also open the site via PhoneGap (the app on iDevices)
The power of Phonegap is that you can build apps with web technologies and then package them to install as native apps from the app stores. To the user there is no differentiation between a pure native app and a phonegap app. The average user just sees an "app" that they are used to. If you're going to build a vanilla mobile website, you won't have access to the native libraries which is what Phonegap is intended to leverage.