Adding coremetrics to an iphone ipad app - iphone

Has anyone tried integrating IBM's Coremetrics into an iOS app? I am looking at adding analytics to a customer's app. They currently use Coremetrics for their website, and I've used Flurry.

Adding IBM coremetrics from an iPhone / iPad is not too difficult.
Its just making http call to coremetric server (http://testdata.coremetrics.com - test server) with your coremetrics client ID. You may need to follow the steps below for enabling coremetrics tagging in your iPhone app.
Create an account in the IBM coremetrics server. Then you will be
provided witha Client ID, Username and password.
Add Coremetrics iOS library from IBM to your project. It will be few
source files that you need to add to your source folder. This you can get it by contating IBM coremetrics support team cm_support#us.ibm.com
Give your client ID in the appropriate place in the URL.
Then make an http connection to the coremetrics server, by calling appropriate function from the library files that you added to your project.
Once you have done this login to https://itt.coremetrics.com and check if your entry has been logged.
Hope it help!

Related

How to add MQA (Mobile Quality Assurance) to an existing MobileFirst hybrid app?

I need to add the MQA feedback tool to an existing hybrid app being develop with IBM MobileFirst.
Here is what I have done and what I need to do.
Done:
Downloaded the MQA sdk for MobileFirst JavaScript Hybrid SDK MFPComponent-JS-3.0.13
Created a Bluemix account and a MQA app
added IOS platform
Added MQA as an application component using Eclipse (not sure if this is the correct way to do it)
Creted a UI with a feedback form (rate experience, subject, comments, include my id in my feedback, submit button)
In this UI I created a toggle for enabling "Shake to see this screen".
Need help to:
check if the MQA library was added correctly. How can I test it?
How can I make the submit button click event send the feedback data (UI form) to the MQA server? (any source code please?) I need to see the data in the MQA manager site.
Thanks in advance
You need to first follow the provided Getting Started tutorials, which will guide you through setting up the SDK and making sure that MQA is properly working in the application, including example code.
After that, once you get it working, you can come back with concrete questions on things that do not work.
See here: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-2/quality-assurance/native-ios/

Phonegap: Can iPhone web app access/check for wifi connections

I have tried looking for some answers but could not get anything concrete from the other questions in here.
I am looking for an answer to these two questions:
Using PhoneGap, if I create an iPhone web app, can I use it as
plain web app (i.e. without using iTunes to deploy it)? Just via a
web url?
Using PhoneGap, can an iPhone web app check for wifi
connectivity? i.e. If wifi/3g is available, if wifi is available,
can it scan for ssids.
Thanks for any help in advance.
You can create host the web app on your own server (or local). Then it is accessible via web url. If you want to use it as a normal app (there are differences - phonegap uses few native plugins for better experience), then you must have a developer license from apple and then deploy it to your device. Otherwise you can only use the simulator. You can also use Safari + USB to debug your app using the browser.
It is possible but limited. Only certain functionalities are available. Check out the following plugin for cordova (phonegap):
cordova-plugin-wifi
Good luck!

MDM API Integration in iPhone

I am trying to do an enterprise application which need to list all the installed apps in iPhone and also should allow the user to delete some apps from current application.I know this is not possible using any direct API's.But I found that using MDM API's it is possible. I had gone through the documents about this in apple's website http://images.apple.com/iphone/business/docs/iPhone_OTA_Enrollment_Configuration.pdf
But I am not sure where I need to start. What are the steps I need to follow to access these APIs in the iPhone side. Do I need to perform all these steps programatically when I open the app or else these will be handled by server.
Please share your ideas about how to implement this from a developer point of view.
Thanks in advance.
Apps are not able to do any MDM, it can only be done by the server, that is managing the device.
Apple has a session video from WWDC 2010 that shows how this is done.

iphone connection with openerp

Greetings,
I am thinking of getting an application in iPhone to establish connection with a application server to collects its contact details and then sync it with our address book.
Anyone could direct me in the direction i have to take to achieve this target. And the things i have to look up.
You must, first of all, start with a XML-RPC library for iPhone. That is not implemented yet in the iOS core sdk. A good starting point is the open source application developed from wordpress that contain a xml-rpc library. Then you can play with the method from within this application, calling specific opener methods.
This is the link to download wordpress for iOS: http://ios.wordpress.org/development/
Someone is working on a mobile client for OpenERP, but I don't know if there are any plans for iPhone specifically.
If you want to build your own, I suggest you look at the OpenERP developer book's section on web services. You can send XML-RPC requests to the server to do anything the regular client can do. The XML-RPC layer is basically a wrapper around the ORM methods.

binary sdk for iphone

i am planning to develop an login sdk for our partners. in their application they use this sdk so they can not get username/password of the users. only sessionId will be return from the sdk and they will use this sessionId to fetch data from server.
this sdk can not be decompiled and can not be tracked. sdk must be a closed-box so the developers can not access user account which is filled in sdk by any user.
it think it must be a binary library. how can i implement such as sdk?
thanks.
Anything can be decompiled. Any data existing in one process can be read from within that process. The view hierarchy created by your library can be analyzed and inspected from the application when running, including reading the contents of UITextFields presented by the sdk/library. There is no way to prevent a motivated application developer who's using your sdk from sniffing the user's data the user enters into objects created and presented by the library.
You will need to build a static library with your functions implemented. You can search the web for tutorials how to do that. Some examples are here and here