Category Archives: Mobile Architecture and Design

REST Web Service / API Development Guidelines

  RESTful Web Services are basically REST Architecture based Web Services. In REST Architecture everything is a resource. RESTful web services are light weight, highly scalable and maintainable and are very commonly used to create APIs. Why has REST API become so popular ? Separation between the client and the server. Visibility, reliability and scalability. Continue Reading »

Error Handling in Swift 3.0

Error Handling: Error is an issue or unexpected condition that may cause a program to not function properly. Error can be compile time or runtime. Error Handling is a process of identifying, catching and recovering  the error conditions. Here we are trying to handle server side error which occurred while sending request or receiving response. These errors maybe Continue Reading »

InnovationM Image Handling in iOS

Image Handling in iOS

When we use images in our application then we face different type of scenarios while handling the image. Before we go into the scenarios / situations of image handling in Application, let us understand the concept of UIImage and UIImageView. Concept of UIImage and UIImageView (container) UIImage – Bitmap with different formats Ex png and jpeg. Recommended Continue Reading »

View Controller Life Cycle in iOS

UIViewController– A view controller manages a set of views and makes your app’s user interface. It coordinates with model objects and other controller objects. Basically, it plays a combine role for both view objects and controller objects. Each view controller shows it’s own views to display the app content. The views are automatically loaded when Continue Reading »

InnovationM Lazy Loading and Memory Management of Images in UITableView in iOS

Lazy Loading and Memory Management of Images in UITableView in iOS

Introduction to Lazy Loading What is lazy loading? A little introduction of lazy loading is  it is a design pattern to defer the initialization of an object until the point at which it is needed. In simple words create objects when it is needed. Problems to Tackle Before talking about lazy loading of images, I want Continue Reading »

Multiple AsyncTask In Android

What is AsyncTask AsyncTask is an abstract Android class which helps the Android applications to perform tasks without blocking the UI Thread. AsyncTask is designed to be a helper class around Thread and Handler. Thread Pool Pattern AsyncTask uses a thread pool pattern for running the stuff from doInBackground() The Thread pool Pattern is where number of Continue Reading »

InnovationM Lazy Loading Memory Management UITableView Android

Lazy Loading and Memory Management of Images in ListView in Android

Introduction to Lazy Loading What is lazy loading? A little introduction of lazy loading is  it is a design pattern to defer the initialization of an object until the point at which it is needed. In simple words create objects when it is needed. Problems to Tackle Before talking about lazy loading of images, I Continue Reading »

InnovationM iPhone Only To Universal App

Convert iPhone application to Universal application (iPhone and iPad Both)

iOS Application can be developed for iPhone or iPad or Both (iPhone and iPad). Application that is developed for both is called Universal application. If you have developed application for iPhone only then it will run on iPad but will not run on full screen of iPad. To make this application cover the whole screen you Continue Reading »

iOS – Best Architecture, Design and Coding Practices

iOS – Best Architecture, Design and Coding Practices

We have identified some of the best practices that we need to follow while working on architecture, design and development of iOS applications. We will keep on adding more and more to it. Stay tuned… Best Coding Practices Image files naming convention There are four types of devices that we need to support while developing Continue Reading »

InnovationM Sencha Touch Dev Environment

Sencha Touch – Development Environment and Build Process

Sencha Touch is a high-performance HTML5 mobile application framework. You can use Sencha Touch to produce a native-app-like experience inside a browser or in a hybrid shell. Sencha Touch supports Android, iOS, Windows Phone, Microsoft Surface Pro and RT, and BlackBerry devices. For more information go to http://docs.sencha.com/touch I am going to talk about how to Continue Reading »

InnovationM Secure Webservice Integration Mobile Apps

Secure Web Service integration in Mobile Apps

Web services have gained lot of importance lately. From mobile apps perspective, native apps (Andorid, iOS, Windows Phone, etc.) or HTML5/JS Frameworks like Sencha Touch need to talk to the web services to get the data and push the data. How do we ensure that request sent to web services is from authenticated client? For Continue Reading »

Innovationm Background Support For Applications iOS

Support for applications running in background in iOS

When application in iOS goes in background (Say, Home button is pressed) then application will not run. In iOS, only specific application types are allowed to run in the background. Let us see them in more detail. Application Types Support for Background in iOS There are 7 types of such applications. See the details below:   Continue Reading »