Follow

Location updates and path tracking in Android

Posted on July 18, 2017 by in Mobile Technologies

Introduction

In this era of rapidly changing technology, mobile devices have made their way into all spheres of an individual’s life. Their role in daily life has been increasing tremendously and they are being used for much more than the basic purpose of communication. Android has emerged into the mobile world with an intention to develop a mobile platform OS. It has a tremendous potential in developing smart phones which are aware of its owner’s location and preferences.

Knowing the user’s location is one of the most prominent feature that we have in Android. It can be used to track the path that user went through or to find the current location of a person to identify where he/she is.
Android has provided two API’s from which we can get the location of the device. In this blog, we are going to shed some light on the location API’s usage, working of location awareness in Android and how it will be useful in the real-time world.

The following are the main points which will be addressed in the later sections of the blog:

  • Why do we need to know user location?
  • What are the different ways to get a location in Android?
  • How do we get location data using available API’s?
  • Which one is the best among available location API’s?
  • What are the advantages and disadvantages of each location tracking API?

Implementing routing in a SPA using AngularUI Router

Posted on July 6, 2017 by in AngularJS

Introduction

In this blog, we’ll give you a rundown of how we’ve implemented routing in our single page project management tool – PineStem.

Routing is a process of navigating the user to the desired location based on the action they perform.
Maintaining the user’s navigation history is a major challenge while developing a single page application(SPA).
To overcome this problem, we implemented a simple stack based solution which only involves pushing and popping an object with required properties.

Demo

You can find the sample code and a demonstration in the Plunker here – https://plnkr.co/OnBe1bc9Q7h1tYBK1pSY?p=info

Implementation

For PineStem, we’ve used a popular routing plugin named AngularUI Router.
The idea behind our implementation is quite simple. We store the parameters that are required to navigate back to a particular state in an object and push it into an array.

User Authentication and Authorization - Part ll

Posted on June 16, 2017 by in Node.Js

Introduction

Authentication is used by the server when it needs to know the identity of someone who is accessing their information.
Authorization is a process by which the server determines if the client has permission to use a resource or
access a file. In general, authentication answers the question“Who are you?” and authorization answers  “What are you allowed to do?”.

In an earlier blog, we have discussed about Token based authentication and authorization and how it is being implemented in one of our projects. Over these past few months, we’ve made changes to our approach.
Read on to find out what enhancements we have made and why.

Tools used for implementation

JWT

JSON Web Token (JWT) is a means of representing a signed content using JSON data structures (generally called as claims). You can find more information about JWT here.

REDIS

Redis is a data structure server and acts as “NoSQL” key value cache data store. You can find more information about Redis here.

Tips to sail through App Store review process

Posted on June 9, 2017 by in iOS

Introduction

We all might have gone through a situation at some point in Apple’s review process, where our app consistently gets rejected. You would have also thought that it is difficult to get approval for new apps. But it is very simple to get the approval if we abide by the review guidelines.
We have been in your shoes with the review process. With the experience we’ve gained over time on Apple’s review process, we’ve cracked the key to get an app reviewed and approved for listing in the Apple App Store. Compiled are the list of things you can do to reduce the review time, which have helped us immensely for the successful approval of our apps in a single go.

Good news is that Apple has reduced review process time. Usually the review time varies from app to app. On an average, 50% of the apps are reviewed in 24 hours and over 90% are reviewed in 48 hours.

“A shorter approval cycle” lets the developers to properly plan their app’s release.

Field Security behaviour in calculated fields

Posted on May 29, 2017 by in CRM Solutions

Introduction

Field level security in Microsoft Dynamics 365/CRM restricts access to the fields containing sensitive business data which are only accessible by authorized users.
It also serves as a means of adding an extra security around the field i.e Create, Update and Read value.

Designing a notification system

Posted on April 26, 2017 by in Node.Js, SQL

It has become common for any social mobile or web app to support notifications and track user activities within that application.

noti

Dynamics Dev Helpmate

Posted on April 25, 2017 by in CRM Solutions

INTRODUCTION

Dynamics Dev Helpmate – was developed as a bookmarklet for Microsoft Dynamics 365 developers. The idea behind this is to minimize the efforts and time in accomplishing the tasks related to customizations & navigations. This tool supports MS CRM 2013 and above versions.

FEATURES OF DYNAMICS DEV HELPMATE

Helpmate_01

Dynamics 365: Trigger action using JS

Posted on April 20, 2017 by in CRM Solutions

Trigger action using JS

In many cases we may encounter a requirement where we are required to perform server side logic utilizing client side events (onchange, onsave, onload…etc) in MS CRM. We generally prefer to use actions for dealing with these kinds of operations.

So in this blog, we’ll take a detailed look at how to trigger an action and retrieve the action output parameters using script with a simple example.

Example

Let us create a simple action which will trigger on save of the account and create a primary contact.

Schema Migration in CakePHP 3.x

Posted on April 17, 2017 by in PHP Solutions

Introduction

In this blog we’re going to look at the purpose of the schema migration tool provided by CakePHP and the benefits of using it in our project(s).

What does it do

CakePHP provides a plugin called migration which is supported by the core team. This plugin is a wrapper for the database migrations library Phinx.

Using a migration file we can create or drop tables, add or remove columns, create indexes and even insert data into our database. A migration file contains PHP script which handles our schema.

Reusable class for UI controls on iOS

Posted on March 20, 2017 by in iOS

Introduction

Most of the UI controls are usually provided by Apple while developing an app. Depending up on the requirements, it is common to change the default behavior and design of a UI control to create an app with uniform look and feel.

It is not only tedious but a bad practice to design/alter each control separately. Moreover, the process of altering each control not only time-consuming and cost-intensive but often prone to human error which could cause all sorts of compatibility problems with any other interdependent apps or systems.