How to integrate native blackberry 10 or wikitude SDK with webworks? - blackberry-10

I am working on a BB 10 app using Webworks . I have almost completed it but the clients want to implement wikitude SDK for AR . But it only provide SDk for native blackberry 10 . Is there a way to implement wikitude with Webwork . Or a way to implement native code in webworks?

We have not tested or tried using Webworks together with the Wikitude SDK. However our phonegap and titanium plugins (available on github) are built on top of our regular Android and iOS SDK. Without knowing the internals of Webworks I think opening a native View on top of Webworks that runs the SDK should be possible.
Disclaimer: I work for Wikitude.

I believe the answer is exactly what you've suggested in the comment to #wulfgeng's answer. The wikitude cordova plugin for 3.x+ would need to be updated to add a native component for BlackBerry10 (or you could write your own native plugin).

Related

Using native SDK in React Native or Ionic

I intend to develop an app for our site but one of the main worry is that I need to use a 3rd party payment gateway that only provides SDK for android in Java and iOS in Objective-C.
I want to know if it is appropriate to use React-Native or Ionic for the app. I am not sure which of these framework supports integration of native integrated and work flawlessly.
Hope someone with experience can help advise on this.
Thanks.
For react-native you can write your native modules for both android(JAVA) and ios(OBJECTIVE-C). It provides you right to write code in module and then register the module for your further use inside your application.
You can read the complete docs from :-
For android https://facebook.github.io/react-native/docs/native-modules-android.html
and for ios https://facebook.github.io/react-native/docs/native-modules-ios.html

Can I build openTok(tokbox) hybrid application with ionic framework?

I am building mobile app which having secure video conference. I found Ionic framework which can support corodova. Can I build openTok hybrid app in Ionic framework? If yes can I know what are the pro and cons or limitation over android and iOS?
I just wanted to add an update to this. I spoke with a few (very helpful) people over at TokBox and they have forked and released an updated version of the Song Zheng's (SONGZ) plugin. We were having issues with the older reliance on the outdated version, but this one is updated to 2.12. https://github.com/msach22/cordova-plugin-opentok/
Although it is not officially supported by TokBox, You are no longer forced to use the older 2.8.3 iOS SDK!
Much thanks to Manik over there
The short answer is yes.
But as always, things are slightly more complicated than that.
WebRTC works perfectly fine on Android, so will work in Cordova or even just Chrome. However Apple's Safari (which uses WebKit) does not currently support WebRTC.
I have had some success using https://github.com/eface2face/cordova-plugin-iosrtc which provides a shim for WebRTC and allows you to use the OpenTok.js SDK on both platforms. There are a few pain points around sizing, and overlaying controls though.
There is also: https://github.com/songz/cordova-plugin-opentok and https://github.com/aoberoi/cordova-plugin-opentokjs which I have not tried yet, but should work perfectly well. I believe the former wraps the native SDKs provided by TokBox, whilst the latter uses iosrtc.
Brad, thanks for sharing the plugin!
I've moved over the updated Cordova Plugin to the OpenTok GitHub organization as an OpenTok Labs project so please feel free to contribute!
The plugin is currently compatible with OpenTok iOS & Android 2.12.0 SDKs. I've introduced some changes such as OT.initPublisher not requiring the API Key (similar to the OpenTok JS SDK) and have added more publisher properties: https://github.com/opentok/cordova-plugin-opentok/blob/master/docs/ot.md#initPublisher
Here are some resourceful links:
Cordova OpenTok Plugin: https://github.com/opentok/cordova-plugin-opentok
Cordova Samples: https://github.com/opentok/opentok-cordova-samples
Ionic Samples: https://github.com/opentok/opentok-ionic-samples

How to integrate Facebook sdk in titanium for ios and Android?

Hi am working on an app Using Appcelerator Titanium, in which i have to integrate Facebook sdk. i am so confused on using which sdk have to use .. whether choose the ios or android or javascript sdk. Another query is , whether if have to create a separate project for ios and Android. or a single project is enough. Thanks in advance
You can either check the Facebook support shipped with Titanium SDK: http://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook
Or you can check out this module on github: https://github.com/appcelerator-modules/ti.facebook

How to develop applications for windows or bada using phonegap and eclipse plugin?

I have installed eclipse phonegap plugin and I am easily able to make applications for android. However I want to make application for any other platform like bada, tizen , blackberry, etc. But when I create new Phonegap project, it doesn't show any option for choosing platform. It directly takes me to android. Is there any way that I can use this plugin for developing for other platforms.
I have googled a lot but nothing found relevant.
Probably you may be interested in Titanium. Latest version supports (check beta) Tizen and Blackberry 10 as well as Android and iPhone. With it you will be able use javascript for mobile application development. Also it creates "native" application instead of html if possible.
And forgot Bada. It`s gone.

Can you add platform specific code in PhoneGap?

If I have an application build using PhoneGap is it possible to add to it platform specific code?
For instance, for an iOS version I would like to add Heatma.ps SDK.
Heatma.ps SDK is an iOS specific static library written in Objective-c.
yes you can add as much platform specific code as you want. Phonegap is just for the interaction of the platform specific code and the javascript. Its the plugin mechanism that makes Phonegap what it is. Even if you have a native app, you can add a bit of Phonegap in it by having a page somewhere which is basically a webview and is manipulated by js. Phonegap is what launches and manages the interactions of the js and the native part of the app.