I have a pure native application and wanted to integrate with the worklight (using the Worklight Native SDK).
Which of the below features the native application can not use?
Unified SMS/Push Notifications
Remote Disable
Remote Notify
Adapters
Authentication framework
Direct Update
JSON Store
A Native application that uses the Worklight SDK does not support:
Direct Update
This feature is meant for updating web resources; this feature is currently supported only in Hybrid apps.
JSONStore
This feature is currently supported up to Worklight 6.1.0.x only in Hybrid apps (for the Android and iOS envrionments)
Related
I am developing a native android app on MobileFirst platform. Does MobileFirst provide any code to connect to a web service instead of going through adapters? This is basically only for Native Android development and not for Hybrid app.
The MobileFirst SDK only provides what is required to work with features provided by MobileFirst, such as connecting to various backends using Adapters with the added benefit of the MobileFirst security framework, and other features.
If you have a need to connect to backends not via MobileFirst, use other common client-side utilities to achieve that.
I used the following code and it worked.
WLResourceRequest request = new WLResourceRequest("Actual server path here", GET);
request.addHeader(new BasicHeader("IfAnyHeader", "here"));
request.send(new ResponseListener());
If you are using native Android, you could use volley (or similar) to call external web services or REST apis.
http://developer.android.com/training/volley/index.html
Nothing to do with MobileFirst though, all totally standard Android native coding.
MobileFirst 6.3, or 7.0
I've reviewed the hybrid, and native tutorials on DevWorks, and wanted to get clarification on a few points integrating with BlueMix push service.
Considering a hybrid app (iOS, Android) developed with MFP studio is the hybrid app dependent on the MFP server to subscribe to the provider (BlueMix)?
If the hybrid app is dependent on MFP server to subscribe, will push notifications destined for the device have to be delivered through the MFP server via adapter, or will they be sent directly to the device?
In general I'm trying to understand the minimum role the MFP server can play in developing a hybrid application that will receive BlueMix push notifications.
Thanks
AFAIK, at this time, you cannot use a MFPF-based Hybrid app with the iOS 8-only push notification capabilities that originate from the Blumix Push service.
Also, MFPF adapters do not, at this time, work with Bluemix.
All in all, if you use MFPF, you use the unified push support as supplied and supported in MFPF. If you use Bluemix, that's a different approach to push.
Also, please add links to your questions next time - we shouldn't google/guess those...
We are exploring IBM Mobilefirst capabilities with a mapping application. We are using Esri ArcGIS Mapping service.
Where can I find the available resources or sample tutorial to use Esri ArcGIS with IBM MobileFirst hybrid applications?
Not every available tool out there has guides for IBM Worklight/MobileFirst.
It looks like Esri ArcgGIS has a developer website.
You should start there: https://developers.arcgis.com/en/sign-up/?origin=developer
Read how to integrate it into applications.
If there are SDKs then you will need to integrate those like you would any other SDK - that is outside of the Worklight/MFP scope (the integration).
I would assume that if it an SDK, you could then add a Cordova plug-in that would allow you to access that SDK from your app, or even better you could use the Send Action feature to bridge between Web and Native and vice versa.
Adding native functionality to hybrid applications with Apache Cordova
Action Sender
we are working on a hybrid application targeting iOS and Android using IBM Worklight 6.1 - Developer Edition. We have to support accessibility. Any pointers, how to support it in hybrid applications, like what attributes to add, any libraries to add, or any inbuilt api that can be used, etc. I know how to provide accessibility support for native apps but am pretty new in hybrid front.
Thanks
So what you're talking about is accessibility in a Web environment. The way it is done for the Web should be mostly done in the Hybrid as well app with adjustments.
So I would google for accessibility in HTML5, for example:
https://www.google.co.il/search?q=html5+accessibility&oq=html5+accessibility&aqs=chrome..69i57j0l5.3895j0j1&sourceid=chrome&es_sm=91&ie=UTF-8
There is also a topic about Accessibility in the IBM Worklight Information Center:
Developing accessible applications
Going through the IBM Worklight product documentation,the product looks great for building hybrid or native applications. However for building mobile web (with responsive web design) what are the specific advantages one can get from worklight?
For (the) Mobile Web (environment), I don't think that at this time there is much left.
However, you do still:
get to use Worklight Adapters and its extensive integration abilities, which do make it easier to connect to various backends
use Cordova to access some device native capabilities
use the WL Client JavaScript API