About this group

The core value of this group is to bring developers up to speed with BB technology, concentrating on BB10.Exploring efficiency, beauty and power BlackBerry provides to its users by designing Apps that can be used globally and that improves developers life as it improves community life.

Contact Name: Michael Kimathi
E-mail:
  Contact the manager of this GroupSpaces group
Category: Other

News & Announcements

BlackBerry Developer Meet-up September (Built For BlackBerry Revitilized)

  • Saturday, 14th September 2013 at 3:30pm - 8:30pm
    Location: ihub Bishop Magua Building George Padmore Lane Nairobi, Nairobi KE

    Register Here

    • 12 people attended

Built For BlackBerry and Certification

  • Saturday, 3rd August 2013 (all day)
    Location: Ihub 4th Floor Bishop Magua Centre

    Now that everyone is looking forward to build application which qualifies for built for BB We…

    • 45 people attended

TAKE IT TO THE NEXT LEVEL

  • Saturday, 4th May 2013 at 10am - 5:30pm
    Location: IHub Nairobi

    It was amazing to get great ideas hit the floor as we get new developers started as well as…

    • 22 people attended

Previous items

RSS Feed

BlackBerry UEM Getting started with Rest – part 2

In part one I covered the basics of getting REST APIs authenticated and returning results with UEM.  With each new release of BlackBerry UEM, we have added significant new REST APIs  to the mix.  So, it’s time to highlight some of the new calls and new options available.  Here are my thoughts:

User management was mature in the older BWS (on BES) and GC/CAP SOAP calls (from the legacy Good servers).  But SOAP is not REST.  With the launch of REST in 12.6 and the updates in 12.7 the REST APIs are quickly catching up.   Here are some highlights from the latest UEM 12.7 release that I suggest having a look at:

For those interested in User management related APIs (perhaps your company likes to build out its own self-service front end), new choices for a user account include:

  • deleting
  • changing the password
  • adding and removing from a group
  • check devices assigned
  • certificate management

We also added pagination support when returning results, for those of you with large user lists.  Closely related Group management now comes with support for create and delete of a user group, assigning applications, and querying who is a member of a group.

We have had feedback from many Development partners looking for additional device related APIs.  So, we have added a new device search.  You can search by IMEI, MEID, UDID, GUID of the device (a BlackBerry specific key, we assign) and WIFI MAC address.  We return lots of detail including device activation type, compliance state, OS Family Name, ownership information and more.

Ie:

GET /{tenantGuid}/api/v1/devices

 {
   "devices": [ {
     "links" : [ {
       "rel" : "userDevice",
       "href" : "https://server01:18084/SRP00000/api/v1/users/6dd3a8e2-3f24-48c6-961a-949794f4b554/userDevices/2d2d3a7f-076d-46f9-8c25-56cb8eba2800"
     } ],
     "guid": "4659aa7f-0a7d-9f69-258c-2800ebaa2800",
     "activationDate": "2017-01-16T14:47:03.662Z",
     "activeSyncId": "K6CKULJTID3SDEAIV0ELHBBTTO",
     "batteryLevel": 95.0,
     "compromised": false,
     "externalStorageFree": 12021.0,
     "externalStorageSize": 16386.0,
     "hardwareModel": "Desire",
     "hardwareName": "bravo",
     "homeCarrier": "Rogers",
     "internalStorageFree": 2112.0,
     "internalStorageSize": 32768.0,
     "imei": "990000862471854",
     "os": "Android 5.0",
     "osFamilyName": "android",
     "osVersion": "5.0",
     "ownership": "PERSONAL",
     "phoneNumber": "4045551234",
     "serialNumber": "c08088415436112",
     "udid": "d88496fdf7115ac9f3ab69966cbaf91d960b95036fa68f66489c8ad78f136b5c",
     "wifiMacAddress": "62:9a:7e:bc:fe:01"
   } ]
 }
 

One key change coming with UEM 12.7 MR2 is to help developers looking for a list of installed applications on device, particularly on iOS.  With the release of iOS 11, access to this information is blocked for 3rd party developers.  However, if your iOS device is managed by the UEM server, starting with UEM 12.7.2 you will be able to do the following:

  GET /{tenantGuid}/api/v1/users/{userGuid}/userDevices/{userDeviceGuid}/applications

{
   "devices": [ {
     "links" : [ {
       "rel" : "userDevice",
       "href" : "https://server01:18084/SRP00000/api/v1/users/6dd3a8e2-3f24-48c6-961a-949794f4b554/userDevices/59dc743d-f325-4a6c-97ac-44dcb9ef8a0e"
     } ],
     "guid": "8002ebaa-c258-96f9-d7a0a-0082aa7f4659",
     "activationDate": "2017-01-16T14:47:03.662Z",
     "activeSyncId": "Q633AGG6QP3FJF6QBNAA81UHB0",
     "batteryLevel": 64.0,
     "compromised": false,
     "externalStorageFree": 12021.0,
     "externalStorageSize": 16386.0,
     "hardwareModel": "Desire",
     "hardwareName": "bravo",
     "homeCarrier": "Rogers",
     "internalStorageFree": 2112.0,
     "internalStorageSize": 32768.0,
     "imei": "351756051523999",
     "meid": "01234567890123456",
     "ownership": "CORPORATE",
     "os": "Android 6.0",
     "osFamilyName": "android",
     "osVersion": "6.0",
     "phoneNumber": "2125557890",
     "securityPatchLevel": "6.0.1.1345",
     "serialNumber": "c03618841215084",
     "udid": "82f2aaa813c5a4bc2748b078ca844bdbd6a8fb8eaaa173a389467646cf04d00c",
     "wifiMacAddress": "b4:52:7e:62:a5:9a"
   }, {
     "links" : [ {
       "rel" : "userDevice",
       "href" : "https://server01:18084/SRP00000/api/v1/users/6dd3a8e2-3f24-48c6-961a-949794f4b554/userDevices/2d2d3a7f-076d-46f9-8c25-56cb8eba2800"
     } ],
     "guid": "4659aa7f-0a7d-9f69-258c-2800ebaa2800",
     "activationDate": "2017-01-16T14:47:03.662Z",
     "activeSyncId": "K6CKULJTID3SDEAIV0ELHBBTTO",
     "batteryLevel": 95.0,
     "compromised": false,
     "externalStorageFree": 12021.0,
     "externalStorageSize": 16386.0,
     "hardwareModel": "Desire",
     "hardwareName": "bravo",
     "homeCarrier": "Rogers",
     "internalStorageFree": 2112.0,
     "internalStorageSize": 32768.0,
     "imei": "990000862471854",
     "os": "Android 5.0",
     "osFamilyName": "android",
     "osVersion": "5.0",
     "ownership": "PERSONAL",
     "phoneNumber": "4045551234",
     "serialNumber": "c08088415436112",
     "udid": "d88496fdf7115ac9f3ab69966cbaf91d960b95036fa68f66489c8ad78f136b5c",
     "wifiMacAddress": "62:9a:7e:bc:fe:01"
   } ]
 }
 

Results will show up similarly for those of you working with Android devices.

So, go out there and try UEM 12.7 REST APIs.  Let me know what you think in the comments below, or on the community forums.


on 6th December
New Google Play Publishing Method Enables Targeted Distribution

Until recently, there were three ways to distribute your application using Google Play.  You could make the app available to everyone, you could restrict it to your own organization or you could restrict it to specific users using alpha and beta releases.

Google has made a fourth option available, where you can restrict your application to specific organizations.  When using this option your application will not appear in the public Google Play store or search results and users won’t be able to open a link to it, unless they are part of an organization you’ve granted access to.  This behavior is similar to the previous “Restrict Distribution” option that was in Google Play, except now you can choose other organizations instead of just your own.

This covers use cases such as:

  • Companies with multiple Google Domains or multiple Google Service accounts on multiple BlackBerry UEM servers can now deploy the same binary to all of their users.
  • Software Vendors who don’t want their apps listed publicly can now have a private Google Play app where they choose the organizations who have access. Previously the APK may have been provided to the customer directly to deploy to accomplish this.

Let’s look at how this works.

How to Configure in Google Play

Log into the Google Play Developer Console and select the app you wish to manage.  On the left-hand menu expand “Store presence” and click on “Pricing and distribution”.  Scroll down to the “Managed Google Play” section and check off the two options shown in the screenshot below (the first will be checked and disabled for free apps).

After you’ve checked those boxes, click on CHOOSE ORGANIZATIONS.  Enter the Organization ID and give it a name to help identify it in the future.  Click Add, Done and then submit your update.  Google Play will tell you it’ll take a couple of hours for the update to take effect, but I’ve found that the app is available to the newly added organization after a few minutes.

Where to Find the Organization ID

Your organization ID is visible in Google Play for Work.  Log in using a Google Domain account or Gmail account that is a member of your organization and click on “Admin Settings” on the menu.  Your Organization Name and Organization ID will be shown.


on 4th December
Nontraditional Uses of BlackBerry CPaaS: Creative Apps for Enterprise

Earlier this year, we released the BBM Enterprise SDK to encourage developers and entrepreneurs to embed our ready-made communications platform into their apps with ease. On top of the secured voice, video, and messaging that the SDK is now famous for, pioneers of this platform have been using it to integrate very non-traditional communication features into their apps. This blog will showcase some of these creative use cases and demonstrate the wide range of applications that can be easily deployed using BlackBerry’s secured real-time communication platform.

Location Sharing

Tracking the location of a fleet of drones and vehicles in real time? Or how about tracking the delivery of a parcel to its location, completely and securely from end to end? The BBM Enterprise SDK delivers the APIs and public sample code that work together to simplify and accelerate the app development process for these uses cases and many more!

In our Location Sharing Sample, you can take advantage of customizable message payloads to define messages that include the user’s current location. The application then parses incoming messages, and renders the participant’s location as data points on a map. For example, the JSON payload for a custom message that includes location info might look something like:

“chatMessage”: {
                     “chatId”: “1”,
                     “messageId”: “22”,
                     “timestamp”: 309873090861,
                     “state”: “Delivered”,
                     “stateIsPartial”: true,
                     “senderUri”: “bbmpim://user/id/22”,
                     “tag”: “Location”,
                     “data”: {
                        “Location”: {
                        “altitude”: “3”,
                        “longitude”: “43.517186”,
                        “latitude”: “-80.513692”
                                 },
                      },
}

The Tag property allows developers to abstract the payload beyond a simple text message. The key details of this payload are in bold, and show that this message is specifically tagged as containing location data, while the customized information is contained in the data field of the JSON text. Behind the scenes (and without having to display the UI for a typical chat messaging application), the app utilizes the APIs for sending and receiving a “chatMessage”, and overlays the contained information as location pins on a map. Check out the sample app in action below, which was demoed recently in a webinar about the BBM Enterprise SDK:

Whiteboard

In this sample app, users can draw pictures together on a shared canvas. Not only is this a fun application to play around with, but it offers a valuable enterprise solution for anyone that requires real-time collaboration on shared documents (for example, engineers collaborating on blueprints in real time, or doctors highlighting information on an MRI or X-Ray for a remotely located patient).

Once again, we define a customizable message, but this time we send raw binary data of the user’s ‘brush strokes’, and parse this data to construct the writing on top of a shared image. Thus, this JSON payload might look something like:

“chatMessage”: {

                                                “chatId”: “1”,

                                                “messageId”: “22”,

                                                “timestamp”: 309873090861,

                                                “state”: “Delivered”,

                                                “stateIsPartial”: true,

                                                “senderUri”: “bbmpim://user/id/22”,

                                                “tag”: “Whiteboard”,

                                                “data”: {

“Whiteboard”: “WDRPBw2291….cWpE9”

                                                },

}

As shown above, this message is tagged as a ‘Whiteboard’ message, and the custom data for this message contains the raw binary data to draw pixels onto the screen. Even though we’re utilizing a secure communications platform via the BBM Enterprise SDK, this application’s UI is radically different (and completely flexible) than other embedded communication platforms. Check out this sample in action, which was demoed in the same webinar mentioned earlier:

Chat Bot

Whether it’s administrative tasks, booking appointments, customer service, or AI super users – there are endless use cases for bots in modern enterprise and consumer applications.

Using a third party bot, or your own JavaScript bot running on Node.js, or a bot that is built with the upcoming web versions of the BBM Enterprise SDK (click to request early access to our BBM Enterprise JavaScript SDK), you can add capable automatons to your chats and engage with them securely. Check out the video below for a simple example of integrating chat bots into your apps:

Conclusion

To sum up, BlackBerry has empowered developers with an incredibly secure and flexible tool to easily embed a wide range of real time communication features into their applications. In the vast landscape of work and consumer apps, users don’t want even more apps bloating their devices. Instead, they prefer that more features are built into what they already use, and are more likely to retain new apps that have more features to discover. The BBM Enterprise SDK helps companies evolve towards this goal. Voice, video, and chat are clearly only the beginning of what this platform is capable of, and we are very excited to see what new and creative features developers discover using the BBM Enterprise SDK, our bonafide BlackBerry CPaaS.

Get started today by visiting the BBM Enterprise SDK developer portal.

 


on 28th November

Create a site like this for your own group.
Take a Tour or Sign Up

Members

Events

December 2017
 
« »
Mon Tue Wed Thu Fri Sat Sun
27 28 29 30 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

BlackBerry Enterprise Developers Kenya

Powered by GroupSpaces · Terms · Privacy Policy · Cookie Use · Create Your Own Group