oneM2M Android Application

Application for Android.

ETC

Application

v2.6
July 15, 2020

araha@keti.re.kr
araha

OnLine Technical Support : http://tech.iotocean.org

 

 Direct URL ( Click Here !!! )

Git Hub Project Link
oneM2M-Application-AndroidSample

 

Gub Hub Release Direct DownLoad Link
Direct Link Revision Release Date
oneM2M-Application-AndroidSample-v2.6.zip v2.6 Jul 2020
oneM2M-Application-AndroidSample-v2.5.zip v2.5 MAY 2018

 

Runtime Environment

  • Android Studio is Android’s official IDE. It is purpose built for Android to accelerate your development and help you build the highest-quality apps for every Android device.

Get Started

  • Download and Import oneM2M Application Android Sample into Android Studio Environment
    • The oneM2M Application Android Sample source can be downloaded through IoTKETI GitHub :https://github.com/IoTKETI/oneM2M-Application-AndroidSample
  • Clean oneM2M Application Android via Android Studio Environment.
    • Run Clean Project
  • Modify IoT Server Information(Mobius) & MQTT Service port & Resource Name
    • Open MainActivity.java source
    • Set MQTT Broker Service Port at MainActivity class
      • MQTTPort
    • Set IoT Server IP Address at MainActivity class
      • ServiceAEName
      • csebase.setInfo
    • Set Co2 Sensor Resource Name
      • Set ContainerName at RetriveRequest class
    • Set Led Actuator Resource Name
      • Set container_name at ControlRequest
  • Create Android Virtual Device
    • Set Android Virtual Device Configuration
  • Run app
    • Select Deployment Target ( one of Available Virtual Devices )
    • Click OK

BSD 3-Clause License

Copyright (c) 2017, IoTKETI

All rights reserved Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

oneM2M Application Android


Introduction

  • oneM2M-Application-Android project is a oneM2M Service Application for Android.
  • The project aims to develop and distribute an open source oneM2M Service Application project and associated developer guide.
  • It is working base on oneM2M HTTP RESTful API and MQTT Message.
  • This queries the co2 sensor value and controls the led actuator.
  • The oneM2M-Application-AndroidSample is developed based on open source Android Studio for oneM2M service application.