rulururu

post Creating your first native Android MobileFirst application

Junio 5th, 2015

Archivado en: Uncategorized — admin @ 8:39 pm

Creating your first native Android MobileFirst application

Overview

To serve a local Google android request, MobileFirst Server must be aware of it. For this function, IBM MobileFirst Platform Cornerstone provides a Indigenous API local library, that contains some APIs and setting data.mobitechstudio.com/android-application-development

This training explains tips on how to generate the Google android Native API and approaches to blend it using a local Google android request. These measures are necessary to enable you to use it afterwards to realize tasks like joining to MobileFirst Server, invoking adapter techniques, putting into action authorization techniques, for example.

Requirement . Creators should be efficient with using Google’s developer equipment.

Developing a MobileFirst Natural API

  1. In MobileFirst Business, create a MobileFirst venture and give a MobileFirst Local API.
  2. Inside the New MobileFirst Local API dialogue, enter in your application name and choose Android mobile phone to the Environment field.
  3. Correct-go through the made NativeAPI folder (based in your-undertakings/apps/your-nativeapi-mobile app-name ) and select Function As Andgt; Deploy Native API . This action is needed for MobileFirst Host to recognize the applying whenever a get reaches the machine.
  4. The MobileFirst native API features several pieces:

  • wlclient.properties has got the connectivity options which a natural Google android program utilizes.
  • worklight-google android.bottle will be the MobileFirst API local library.
  • gcm.bottle and press.png are for Yahoo press notification professional services.

JSONStore directory is good for suggested JSONStore help and support in natural software programs.

armabi. armabi-v7a. mips. and x86 folders are for additional Software Legitimateness Coverage in native purposes.

As with every MobileFirst endeavor, you produce the web server design by altering the documents which can be within the server\conf folder.

You use the request-descriptor.xml report to clearly define software metadata and configure safety and security options that MobileFirst Hosting server enforces.

  • wlclient.attributes
  • The wlclient.homes report contains host settings attributes and is also person-editable.
  • wlServerProtocol - The interaction process to MobileFirst Host, that may be possibly http or https.
  • wlServerHost - The hostname of MobileFirst Machine.
  • wlServerPort - The slot of MobileFirst Server.
  • wlServerContext -The perspective main course of the software over the MobileFirst Hosting server.
  • wlAppId - The application form Identification as characterized on the app-descriptor.xml file.
  • wlAppVersion - The application edition.
  • wlEnvironment - The marked surroundings with the native app.
  • wlUid - The home applied by MTWW to recognize this like a MobileFirst app.
  • wlPlatformVersion - The MobileFirst Recording studio type.
  • languagePreferences - Set of favored locales.
  • GcmSenderId - This house defines the GCM Sender Identification to use for propel notices. Automatically, this residence is commented out.
  • Making and configuring an Android os native software
  • Create a indigenous Google android app or make use of an current a single.
  • Replicate the worklight-android.bottle. uicandroid.jar. bcprov.bottle. and google android-async-http.jar documents coming from the WorklightAPI folder to the new native Android program, during the /libs website directory.
  • Duplicate the record wlclient.components from the MobileFirst native API folder to the new indigenous Android mobile phone software, during the /assets website directory.
  • Add the following permissions into the AndroidManifest.xml record:
  • Create the MobileFirst UI exercise:

To acquire more information, review the “Producing native apps for Android” customer paperwork subject matter Right after the software is work in Eclipse, the final result is a local request containing the MobileFirst API catalogue. The presented Business job has a MobileFirst Studio venture while using produced NativeAPI file. The supplied Native venture is made up of an Android os request actually installation with the MobileFirst NativeAPI.

Trial program

No hay comentarios »

Aún no hay comentarios.

Redifusión RSS de los comentarios de la entrada. TrackBack URI

Deja un comentario

ruldrurd
© “José Cuervo” , Desinged by Stealth Settings
Entries (RSS) and Comments (RSS)