I am trying to link a mobile app to the IBM Blockchain network, and I do not see any options for mobile app linking.
Should I use the connection profile?
The IBP connection profile provides minimal information for an application to use the discovery service to discover your IBP Blockchain network. This connection profile is in a format that can be consumed easily by the gateway apis found in the fabric node sdk and fabric java sdk that you could use to write a client application or a client server that could process requests on behalf of a mobile app for example
Related
I couldn't connect my iot device to azure iot hub to register device.
I saw some example in node.js and c# sharp client sdk. But I couldn't find for c sdk. Is it possible register device (obtain credential) from client side?
How can I connect my device to iot hub?
I tried to use this code:
https://github.com/Azure/azure-iot-sdk-c/blob/master/iothub_client/samples/iothub_client_sample_mqtt/iothub_client_sample_mqtt.c
Also I used this article for help: https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-device-sdk-c-intro
Very important: you don't want a device to create a new identity on its own in IoT Hub as that would mean that the device has credentials to manage the IoT Hub instance. This is a considerable security risk.
This is one of the main reason why we have 2 types of SDKs: service client SDKs and device client SDKs.
The service client SDKs are meant to be used in back-end applications that will manage the Hub, while the device client SDKs are meant to be used on devices. This allows to keep control of your IoT solution and prevent a rogue compromised device to start messing around with the other devices or your data.
You can actually find a C service client SDK in the C SDK repo under the folder "service" if you want to develop a back-end or management application in C.
Now, all that said, what it seems you are actually looking for is for a secure auto-registration mechanism, which is something we don't have yet on Azure IoT Hub. You can actually vote this feature up on uservoice here, as we are using this to help prioritize the upcoming features of the service.
I am trying to create a mobile application and use some Bluemix services.
I see a section for "Mobile" in my bluemix account, which includes :
Mobile Application Content Manager
Mobile Client Access
Mobile Foundation
Mobile Quality Assurance
Push Notifications
Kinetise
Testdroid Cloud
Twilio
Are these the only services supported for mobile apps? Or can I connect to other bluemix services as well, say for example a Watson Speech to Text service?
Thanks in advance,
Chaitanya
Yep, you can connect the other services!
The Mobile services are specific to Mobile applications. This is why they are under the Mobile header in Bluemix, but many of the other services include their own Mobile SDKs.
For example, here's a link to the Watson Developer Cloud Mobile SDKs where you can add Watson services to your app:
https://github.com/watson-developer-cloud/android-sdk
https://github.com/watson-developer-cloud/ios-sdk
Here's a brief overview of the Bluemix Mobile services that I posted as an answer for another question.
Here are the current services that we have and a bit of information about them that follow the MBaaS pattern and here's some links for how to get started):
Mobile Client Access
This service enables you to secure your Mobile Application. You can add Facebook, Google, or custom authentication to your application.
Push Notifications
You can add the Push Notifications service to send push notifications to your app on Android and iOS.
Mobile Analytics (Beta)
The Mobile Analytics service enables you to gather crash and usage knowlege about customers using your mobile app.
Cloudant NoSQL DB
The Cloudant service is the IBM NoSQL database to store your data.
Object Storage
The Object Storage service is an unstructured cloud data store where you can store things like images or files.
Mobile Foundation
The catalog also includes the Mobile Foundation service which you can use to create a test environment before deploying or purchasing the on-premise software. This service is another way for enabling a developer to create a mobile channel.
I have a little background with Google Cloud Endpoints on App Engine and the Web Application, iOS and Android Client Id's. However we are now building a custom piece of hardware. It will be a gateway that is connected directly to a modem, accepts some data from various sources (sensors) and relays that information to App Engine.
Since this is not a web application, nor a iOS or Android app, would I use the "other" client ID option in the Credentials for my GCE project? And if so, could someone explain how to communicate with this "other" client id to a generic cloud endpoint address (a curl command would be great since I could follow that easily).
Thanks for any help!!
hi i develope a mobile app with phonegap frame work and html5,erything works fine but for future exist i need to connect my app to server db to make app multi-user. rit now i just create a local storage by using js which store all the user data in perticular local storage? what are the options i have to make the db server connected do web services work with this if so what kind of service i need to use. itried for few web services but all they are related to web applications. plzz help me thanku
Your phonegap App is like a Web App. The advantage that your phonegap app has over Web App, is that you can access native features (camera, Contact, etc..) of the phone with phonegap, which is not possible with a pure webapp. So all the backend services that you can use with web app can be used by your phonegap app.
Now which web servcies you want to uses depends upon your preference.
You can use web services or RESTful service for getting data from the backend.
I'm trying to develop a Windows Phone 8 app. I've created a Web Site in a Windows Azure account which is an MVC 4 project with REST endpoints. I've got an SQL database in Azure to store data from the Azure Web Site. Ocassionaly, I want my application to send PUSH notifications to mobile phones. So I've created a Mobile Service and I've linked the SQL database with the Mobile Service's database in order to have got the same data for the web page and the service.
I though that when I send an HTTP POST to the web site, the script in the database from the Azure Mobile Service would be launched but it looks not to be true. Isn't it? Because of that, I would write in the controller of an HTTP POST endpoint the code to send the data to the Mobile Service endpoint in order to launch the JavaScript code to send the Push Notification.
Is that the right approach for my goal? Is there any way for sending PUSH notifications from an Azure Web Site or it is only allowed from a Mobile Service?
My last question: Do you know any books or blogs about development in Windows Azure? On the Internet there is lots of documentation but principally those are get started tutorials. I've read some books but those are really complex, boring, and not really practical.
As your website MVC4 based and is running on Windows Azure using SQL Database as backend, I will guess that it is based on ASP.NET and i will write my suggestion based on that.
Now about your question "Is there any way for sending PUSH notifications from a Azure Web Site or it is only allowed from a Mobile Service?" I would say, Azure Mobile web services are designed for the same purpose for any service running on Windows Azure to send push notification on multiple of platforms. Application developer can choose to use Mobile Services to expedite their development as well as have multiple application using the one single service for such objective.
However as you mentioned "Is there any way for sending PUSH notifications from a Azure Web Site" this is not depend on "Azure web sites" instead it is depend on what development technology you are using with your Windows Azure Application. For example in ASP.NET your can use SignalR implementation if your application is based on Java, PHP, Python, Node,js etc then you can find some other run time specific real time implementation. If you look around for websockets you will find implementation in almost every popular language or look for comet programming on this regard. Not only that you can use some of the popular 3rd party applications for this purpose as well. i.e. pusher or any other.
While Windows Azure Mobile Services will give you the best results on Windows Azure platform as it is designed to provide such specific functionality for applications running on it.
Recently released: Azure Notification Hub
http://msdn.microsoft.com/en-us/library/windowsazure/jj927170.aspx