Mobile Application Development Protocol

Mobile application development protocol is a set of rules and procedure that we need to follow before starting the mobile application project, during the project execution and after the project delivery. We are introducing this protocol for following reasons,

  1. To make our work efficient and fast by following standard programming practice.
  2. Easy to collaborate with multiple team member.
  3. Increase readability of code.
  4. Ensure security / privacy in mobile application
  5. Gathering crash report information to resolve bugs in the application before and after production.
  6. Collecting user behaviour within the app that will help for future enhancement planning.

Continue reading

Get property name as string

Go to get the name of an object property, can be boring using the Objective-C runtime reference.
Fortunately there is a quick way to get it. Assume that you have an object named “appleStore” that has a property named “storeLocation”.
StoreLocation is another object with some properties: “city”, “lat”, “lon”, “street”, “state”, “code”.

Continue reading

Network Reachability Test and HTTP Call with AFNetworking

There are plenty of time when we need to have active internet connection for an mobile application to be used. So it is always good idea to check internet connection before the application get ready for use.

AFNetworking is one of the best iOS library out there for making HTTP request for accessing web services.  Same library is good enough for checking active internet connection. So now let’s dive into how we can constantly monitor the internet connection throughout the application.

Manage Development and Production Builds

For starters, some of you may be wondering why you should use two builds while developing your app. The reason is because as you continue to build new features, you want to separate the development version from the existing public production app. Standard software development practice is to use different environments for the different versions of the software. The development version of an app typically uses a different database and server from the production environment. Developers commonly use dummy images or data during testing. In testing or development environments, it’s not uncommon for one to use test data such as “test comment”, “argharghargh” and “one more test comment”. Obviously, you don’t want your real users to see this kind of messages. In the case, if your app using an analytics system, you may even send thousands of events during the testing stage. Again, you don’t want to mix the test data with the production data in the same database. This is why it’s always recommended to separate the development and production builds.

Continue reading

How to install Google Play Services on Genymotion

Due to Genymotion’s fluidness and ease of use, it now becomes the most popular android emulator allows android developers to test their app directly on their computer.

However, it still lacks of Google Services just like Google Play Store, Google Maps, etc. on Genymotion emulator which makes us developer not be able to test those functionalities that use Google Services for example GCM Push Notifications or Google Maps.

Anyway it is not a problem anymore since there is some simple steps to do to make Google Services be avaiable on Genymotion with some help from CyanogenMod’s gapps.

Continue reading

Android Emulator (BlueStacks vs Genymotion)

There are a number of various Android Emulators available in the technology world, all studded with amazingly useful features. Apart from all these Emulators, there are three most popular Emulators and to get you the best one from all these popular Emulators, we have thought of comparing the features of all of them so that we can choose the best Android Emulator out of them. Here’s the comparison, take a look!

Continue reading

Distributing iOS application for testing and debugging

During development and  testing of mobile application, we need to regularly send application build for tester or client for verification or work.  So it very important to get familiar with number of ways to distribute your iOS application. In this article I will list out 4 such method.

  1. Distributing simulator build for other mac user with Xcode 6.0 or above.
  2. Wireless Distribution  via  www.diawi.com.
  3. Wireless Distribution  via self hosted site.
  4. ipa Distribution.

Continue reading

Uninstall Cocoapod

First, determine which version(s) of Cocoapods you have installed by running this in Terminal:

gem list --local | grep cocoapods

You see output similar to this:

cocoapods (0.27.1, 0.20.2)
cocoapods-core (0.27.1, 0.20.2)
cocoapods-downloader (0.2.0, 0.1.2)

Continue reading