I've recently came across a "tutorial" or a guide running cisco cmx mobile applications. I have download the folders attached in the website and I've tried importing it into android studio. However, when I finish importing the sample application, I gotten a whole ton of error message and when I clicked on the error message it would open up these following tab, "v21\values-v21.xml", "v21\values.xml", "v23\values-v23.xml". I was wondering if anyone could help me out with it, how could i run the sample applications.
Apart from importing the sample application into android studio, I have also tried importing it into eclipse as well. However, I do receive some error message and I can't run the sample application. I'm not sure if this is of concern affecting the sample application to run properly, but when I boot up eclipse i would receive a error text of "error when loading the SDK"
I have attached pictures of the error messages I've received from both the android studio and eclipse. Really appreciate if anyone could help me out here, I was hoping to use this sample application as a guide in creating a cisco cmx mobile application for a very important project of mine.
I haven't build the CMX demo application for a while, but let me see if I can reproduce the problem.
Is this the tutorial you are using? http://wnbu-components/official/cmx_mobile_sdk/cmx_mobile_sdk_docs/#6.1.-android-getting-started
In addition to Cisco CMX 8.0 SDK and Mobile Application Server functionality, please take a look at Cisco EMSP
Currently in beta for version 3.0, but will be released this month.
I can't seem to be able to open up the link you posted in your comment. This is the link I've found and I have been using it as a guide to create a cmx mobile application. https://developer.cisco.com/site/cmx-mobility-services/learn/tutorials/android-mobile-app/#import-and-run-cmx-sample-core-application
Sorry about that, here is the tutorial which is linked under Archive -> Documents tab on the DevNet CMX Mobility Services page https://developer.cisco.com/site/cmx-mobility-services/documents/cmx-mobile-app-guide/#6--android-development
Cisco Mobile App Guide. Note, the MSE 8.0 SDK is nearing end of support and suggesting transitioning to CMX 10.2.2 Connect & Engage, which includes the Cisco Enterprise Mobility Services Platform (EMSP) version 3.0 which will release this month.
I'm sort of new to this cisco cmx thing as we recently purchase a cisco cmx server and I was told to create an app that would be drawing data from it and display it on the app, such example would be tracking user location, I apologize if I would sound clueless. I have found the website that you provided before hand but its not really a tutorial i can follow end to end as a guide.
I've read through the android development section and i believe the android cmx-core and android cmx-ui from section 6.2.1 and 6.2.2 are the same folders from the first website I've found,
https://developer.cisco.com/site/cmx-mobility-services/learn/tutorials/android-mobile-app/#import-and-run-cmx-sample-core-application. I'm assuming the guide uses android studio to import the folders. However, as mention in my queries i have some issues upon importing the sample applications and libraries into android studio.
I've managed to import the cmx sample core into eclipse but when I tried running it, it would stop working and produce a whole bunch of error message in the logcat. The error can be found in the picture attached.
Please, provide the CMX version that you have. If you have version 8.0, then you are using the correct SDK and MAS. If you have CMX 10.x then the SDK you are using will not work, and you will want to look at EMSP version 3.0 for mobile application development.
From CLI to know the Cisco Connected Mobile Experiences (CMX) version, use the cmxctl version command.
From the GUI you will find the CMX version in the upper left hand corner.
To login to CMX 10 go to https://<mse10_ip_address>
To login to CMX 8 go to https://<mse10_ip_address>/mseui/
first all of all sorry for this late reply. Thank you for your patience and replying my questions. I should probably give some information such that maybe you could have a clearer picture of my issues. It maybe long but please bear with me. As mention above, my higher up suddenly bought a Cisco cmx server, it has already been setup and installed in our server room. Correct me if I'm wrong, to my knowledge and what little information that was given to me, the cmx sever was capable of analyzing the information send by the access point and track user location when user mobile device are connected to the access point.
Thus, as mention in my question, I was tasked to create an application that would call data from the cmx sever such that it could have some basic feature like tracking user location of those user who have connected to the access point or to check how populated a certain area is. At first I found a list of CMX API and I tried calling it using android studio but nothing happens. That's when I came across the cmx core sample which I thought I could use it as a guide but I seems to have some issue running it. Therefore, basically I'm clueless as to how to go about creating an Mobile app that would call data from the cmx server. To answer your question, I'm assuming our cmx version should be cmx 10. I would totalu appreciate if you could give me slme guide or steps as to who I could go about creating this mobile app. Thank you.
First, you should get familiar with the CMX user interface by logging in as admin and follow the information found in the CMX Configuration Guide, Release 10.2. See the following, Cisco Mobility Services Engine - Configuration Guides - Cisco
You should then have an understanding of how CMX communicates with the Wireless Lan Controller and Access Points, synchronizes with Prime Infrastructure (create and configure maps with location of APs, etc). Once synchronized with PI the CMX can operate independently from PI.
Next, the CMX REST API is important to understand. CMX has several REST APIs; Configuration API (such as map resources, notification subscriptions to get lots of data regarding location ,etc ), Location API (get active clients information, client history, etc), Analytics API (client count, dwell time, manufacture, social, and other metrics). See the following documents under Cisco DevNet CMX Mobility Services page,https://developer.cisco.com/site/cmx-mobility-services/documents/cmx-10.2-api-reference/index.gsp and https://developer.cisco.com/site/cmx-mobility-services/documents/cmx-rest-api-getting-started-guide/index.gsp
The CMX Connect and Engage is a first level framework for Mobile engagement. Once you understand what is possible with CMX Connect and Engage you will be ready for Cisco Enterprise Mobility Services Platform (EMSP) 3.0, which is now available! EMSP is a cloud-based software platform that helps organizations rapidly create, deploy and manage rich mobile experiences to effectively engage people on their mobile devices. Cisco WiFiEngage
Keep using the forums for questions and good luck with your learning experience,
Thanks for the information. I have one more question, what is cisco EMSP exactly. Based on what you have describe and what i have read on the cisco EMSP wesbite, I am assuming it has the functionality of creating a mobile app ?
Yes, the Cisco Enterprise Mobility Services Platform 3.0 will require signing up for WiFi-Engage Account to access the documentation for WiFi Engage with Cisco Unified Wireless Network (CUWN) CMX or Cisco Meraki CMX, and Cisco EMSP Software Developers Kit (SDK) Users Guide for iOS and android apps, and he EMSP Demo Kit with Quick Start Guides and EMSP SDK documentation.
There is a lot of stuff to look at and try, so start getting familiar with CMX 10.2.2 documentation first, while you are waiting for the EMSP WiFi-Engage Account to get approved.