How to Remotely Debug your Mobile App

Analyzing and monitoring your App, once it has been published in the AppStore, is an important task to make your App a success. If something is crashing in your App on a remote device, there should be a communication mechanism to notify the developer about the crashing event. Also, developer should be able to see the detail error logs of that device.

Building such type of system is not complex, however, it requires server side development and hosting along with other system to be in place to manage your non functional requirements for the same.

App42 platform is equipped to handle such type of scenario. It comes with the logging service which can remotely log error/debug/info/fatal information from the App to App42 cloud. These logging information can be accessed from AppHQ console and you can easily see the crash log information right from there.

debug app How to Remotely Debug your Mobile App

Below mentioned is the Android/Java/J2ME snippet to do the remote logging on exception/crash event in the App

1
2
3
4
5
6
7
8
9
10
11
12
13
ServiceAPI api = new ServiceAPI("<API_KEY>","<SECRET_KEY>");
LogService logService = api.buildLogService();
try {
//
// Your application code that might crash
//
}catch (Exception ex) {
String deviceId = null; //get DeviceId from Android Context and set this variable
String msg = "Device Id : " + deviceId + " : " ex.getMEssage();
String module = "Name-Of-Your-Activity";
logService.error(msg,module);
//This will log error message in App42 cloud
}

You can also use the other option of calling email service method to send mail to yourself in case of crash event along with logging to App42 cloud.

Similarly, you can use this service in other platforms  like iOS/Windows Phone/Java Script to do remote logging in your App using target App42 SDK. This will help you in analyzing and monitoring your App remotely.

Start using App42 platform and get relieved from your backend worries with us.

get started How to Remotely Debug your Mobile Appgithub login How to Remotely Debug your Mobile App
twitter How to Remotely Debug your Mobile Appfacebook How to Remotely Debug your Mobile Appgoogle How to Remotely Debug your Mobile Applinkedin How to Remotely Debug your Mobile Apppinterest How to Remotely Debug your Mobile Appreddit How to Remotely Debug your Mobile Appstumbleupon How to Remotely Debug your Mobile Apptumblr How to Remotely Debug your Mobile App

Leave a Reply

Your email address will not be published. Required fields are marked *


four + = 13

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>