Skip to content
App42 Cloud API Client SDK files for J2ME
CSS Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
2.0
2.1
sample/App42_J2ME_Sample
Change Log.md
README.md

README.md

App42_J2ME_SDK

  1. [Register] (https://apphq.shephertz.com/register) with App42 platform.
  2. Create an app once you are on Quick start page after registration.
  3. If you are already registered, login to [AppHQ] (http://apphq.shephertz.com/register/app42Login) console and create an app from App Manager Tab.

Download And Set Up SDK :-

1). [Download] (https://github.com/shephertz/App42_J2ME_SDK/archive/master.zip) J2ME SDK

2). Unzip the downloaded Zip file. Unzipped folder contains version folders of jar and a sample folder.

3). Version folder (i.e 0.0, 0.1 etc) will contain App42_J2ME_SDK_x.x.x.jar and docs.

4). Then add App42_J2ME_SDK_x.x.x.jar in your lib folder.

5). Put the jar file in class path of your J2ME project.

Initializing SDK :- You have to instantiate App42API by putting your ApiKey/SecretKey to initialize the SDK.

App42API.initialize("YOUR_API_KEY","YOUR_SECRET_KEY"); 

Using App42 Services :- You have to build target service that you want to use in your app. For example, User Service can be build with following snippet. Similarly you can build other service also with same notation.

UserService userService = App42API.buildUserService();
//Similarly you can build other services like App42API.buildXXXXService()

[Documentation and API guide] (http://api.shephertz.com/app42-dev/j2me-s40-backend-apis.php)

Third Party binaries and respective licenses used in App42 SDK are listed below

============= JSON.org

/* Copyright (c) 2002 JSON.org

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The Software shall be used for Good, not Evil.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

================= Bouncy Castle

/*

  • Copyright (c) 2000 - 2006 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
  • Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
  • to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
  • and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
  • The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  • THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  • FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  • DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  • DEALINGS IN THE SOFTWARE. */

=========================================== Sxip Identity Corporation --- net.oauth.jme

/*

  • Copyright 2007 Sxip Identity Corporation
  • Licensed under the Apache License, Version 2.0 (the "License");
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at
  • http://www.apache.org/licenses/LICENSE-2.0
    
  • Unless required by applicable law or agreed to in writing, software
  • distributed under the License is distributed on an "AS IS" BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
  • limitations under the License. */
You can’t perform that action at this time.