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
Related
I've published a native android application which uses a services with response in JSON format. Now, I want to develop a Hybrid application using IBM Mobile first platform. I want to use the same service here in this case also. I'm not able to findout the mechanism to do so. Anyone please suggest me some solution.
I assume that you intend to build your hybrid app using HTML, CSS and JavaScript.
You could directly call the service using standard JavaScript
XMLHttpRequest(serviceUrl)
But you probably will use some framework such as AngularJS - such frameworks really do pay off in the long run - and in which case you have nice APIs
$http.get(serviceUrl).then(doSomeWork);
However this raw JavaScript approach does not exploit the MobileFirst programming model. We tend to find that using a Mobile Gateway architectural pattern, where MobileFirst adapters act as the gateway, pays off as your application becomes more complex. The adapters provide a security model and can implement aggregation and filtering so that precious mobile bandwidth is used more efficiently.
Hence we recommend that you build adapters, as described in the links given by Idan, and then you use the MobileFirst API to call the adapters:
WL.Client.invokeProcedure( ... );
Starting MobileFirst Platform Foundation 7.0, both the JS framework (for Hybrid apps) and the Native SDK (for iOS and Android) provide REST support. You can accomplish this using either JavaScript adapters or Java adapters.
Read the following tutorials explaining how to use MFP adapters:
Server-side development
If you're interested in Java adapters as well, take a look at these videos as well:
Getting familiar with IBM MobileFirst Platform Foundation Java Adapters [Part 1]
Getting familiar with IBM MobileFirst Platform Foundation Java Adapters [Part 2]
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
I want to implement OAuth in Worklight 6.2. I searched the internet and couldn't find any document related to this. Please help me with the document required to implement in Worklight 6.2.
There is no built-in OAuth support in Worklight 6.2.
The steps to integrate such support are detailed in the following article, written for Worklight 6.1, but suitable for 6.2 as well
Connect IBM Worklight hybrid mobile apps to LinkedIn services using OAuth
This article demonstrates doing so for LinkedIn, so you will need to adjust it accordingly for your use case.
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)
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