简体   繁体   English

如何从IBM bluemix获取Android应用程序上的设备信息

[英]how to get device information on Android app from IBM bluemix

I have created an app using IOT boilerplate in IBM Bluemix and added a devices as described in http://www.ibm.com/developerworks/cloud/library/cl-mqtt-bluemix-iot-node-red-app/ . 我已经在IBM Bluemix中使用IOT样板创建了一个应用程序,并添加了一个设备,如http://www.ibm.com/developerworks/cloud/library/cl-mqtt-bluemix-iot-node-red-app/中所述

I have following queries 我有以下查询

  1. Is there a way I can retrieve devices information ( Authentication Token , Organization ID ) from my Android app. 有没有一种方法可以从我的Android应用程序检索设备信息( Authentication TokenOrganization ID )。 As at present, after creating the devices I need to fill this information manually in my Android app which may not be feasible in real life scenario. 目前,创建设备后,我需要在我的Android应用中手动填写此信息,这在现实生活中可能不可行。

  2. Is there a way I can create this device on IBM Bluemix from Android App. 有没有一种方法可以从Android App在IBM Bluemix上创建此设备。

Regards, Sengar 问候,森加尔

You can register a new device via the HTTP API . 您可以通过HTTP API 注册新设备。 With this your android app can register it's self and will be given the required tokens to log into the service. 有了这个,您的android应用程序就可以注册它的自身,并将获得所需的令牌以登录到该服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从仪表板获取最新版本的IBM Bluemix android应用程序的应用程序安全性ID? - How to get the Application Security ID for a IBM Bluemix android app from the dashboard in the latest version? 如何从IBM Bluemix Weather Almanac API搜索历史信息 - How to search historic information from IBM Bluemix Weather Almanac API 如何将Android应用程序与nosqlcloudant db Ibm bluemix服务连接? - How to connect android app with nosqlcloudant db Ibm bluemix service? 如何将GCM设备令牌发送到IBM Bluemix - How to send GCM device token to IBM Bluemix IBM bluemix:从Android发出POST请求以及如何在NodeJS中处理它 - IBM bluemix : make POST request from Android and how to handle it in NodeJS 将IBM MobileFirst上的现有android应用程序迁移到IBM Bluemix - Migrate existing android app on IBM MobileFirst to IBM Bluemix 在将数据作为网关发送到IBM Bluemix时如何获取Raspberry Pi的设备ID - How to get the device id of Raspberry Pi while sending data to IBM Bluemix as a gateway 如何从IBM Bluemix下载日志文件? - How to download a log file from IBM Bluemix? Android App可从IBM Bluemix IoT Watson Cloud Platform访问JSON数据 - Android App to access JSON data from IBM Bluemix IoT Watson Cloud Platform 如何从Bluemix IoT服务获取设备/网关IP地址? - How to get a device/gateway IP address from Bluemix IoT service?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM