Google introduces ‘Reviews from the web’; will show it in search

By | September 9, 2016

Google has announced ‘Review from the web’ feature for businesses, which will show user-generated reviews, along with reviews by critics directly in the search results. According to a blog post, Google will be adding this “Reviews from the web” to local Knowledge Panels, in addition to the “best-of lists and critic reviews features.” Google’s post… Read More »

Create PDF in iOS

By | January 16, 2017

The UIKit framework provides a set of functions for generating PDF content using native drawing code. These functions let you create a graphics context that targets a PDF file or PDF data object. You can then create one or more PDF pages and draw into those pages using the same UIKit and Core Graphics drawing… Read More »

Custom SeekBar in Android With Labels in Bottom.

By | January 16, 2017

In this article I will be making a SeekBar as shown in the below screenshot. CustomSeekBar Class We will create a custom class for creating the custom Seekbar. I named it “CustomSeekBar.java” Usage Here is the layout. This is how you use it in your Activity. You are adding the CustomSeekbar to a LinearLayout. So… Read More »

Custom TableView in iOS Swift

By | July 6, 2016

In this post we will see how we can create custom tableview cells in Swift. Let’s Start… Create a new project and name it the way you like. For creating Custom TableView we have to do below things 1. Drag a tableview and Drag a UITableView Cell into it. 2. For our example – Drag… Read More »

Simple Example on using CAMERA Access permission in versions greater than Android Marshmallow.

By | December 28, 2018

Below example asks for camera permission in versions greater than Android Marshmallow. Watch Video Tutorial Add Camera permission to the manifest For asking for permission you can call like this. To Check if the user has permission to access camera.   Now the Callback if the User has performed any action. if the user clicks… Read More »

Apple MapKit – Loading Maps, Finding User Location, Searching for a Location, Adding Annotation, Interacting with Annotations, Drawing Lines in Maps, Adding Circle, Showing Route between two locations.

By | June 25, 2016

In this demo we will be doing the following things using Apple MapKit and Google Maps API. Load Maps Add Annotation Search for a Location Decode an Address Find route between locations For starting we will add a MapView to the Storyboard and hook it to a variable named mapView. You can simply run the… Read More »

In-App Purchase in iOS

By | May 7, 2016

In-App purchase is a way of selling digital content from inside the apps. This helps the app developers to sell their apps for free and monetize the app in a clean and efficient way. In-App purchase has been a major source of revenue for Apple and Developers almost similar to Paid Apps. Below are the… Read More »

Shell Script to find the count of words in a file with no Vowels.

By | July 9, 2016

Below is the sample program that displays the count of words from a file that doesn’t contain any vowel in it. First create a script file using terminal. Open terminal and go to your desired folder and type in the command line. vi my_script This will create a script file named “my_script” in your current… Read More »

Analysing, Inspecting and Generating Code Reports using SonarQube in Android Studio

By | July 5, 2016

SonarQube, formerly known as Sonar, is a platform to analyze code quality. Installing SonarQube Go to http://www.sonarqube.org/downloads/ and download the latest release. Unzip the archive to the directory of your choice. Starting SonarQube Go to your downloaded SonarQube. Open bin/[folder corresponding to your OS] Open up a terminal window and navigate to bin/[folder corresponding to… Read More »

What are optionals in Swift ( ? && ! ).

By | August 29, 2016

Swift introduces Optionals type, which handles the absence of a value. Optionals say if there are set a value, then take that value, it can be of any type AND else it is nil. Basically It has two possible values, None and Some(T), where T is an associated value of the correct data type available… Read More »

CRUD Operations in SQLite using SQLiteOpenHelper – Android

By | June 29, 2016

We do SQLite operations in Android by extending the SQLiteOpenHelper Class. I will create an Employee table with three fields id name company. I have a model class same as the database table Employee. Employee.java Lets see How we can do the CRUD (Create, Read, Update and Delete) Operations. CREATE We create a class that… Read More »

Geofencing in Android, A Simple Example.

By | February 12, 2017

What is Geofencing? Geo-fencing is a feature in a software program that uses the global positioning system (GPS) or radio frequency identification (RFID) to define geographical boundaries. A geofence is a virtual barrier. Today we will discuss how we can implement Geofencing in Android with a single location. First You need to provide the permissions… Read More »

Ionic Commands for building and Publishing Hybrid Mobile Apps

By | June 29, 2016

1. Desktop browser testing Testing your app in a browser is as simple as running the serve command in your project’s root folder. 2. Simulator testing You can also test right in the simulator using the cordova commands from the previous chapter. For example, to test in the iOS simulator, run: Substitute ios with android… Read More »

Downloading Multiple files(Images etc..) in Android Simultaneously/or in Batches in Android using ThreadPoolExecutor.

By | June 29, 2016

CPUs with multiple cores have almost become the standard in Android devices. This means multiple operations doesn’t have to wait to be executed on a single thread. They can rather run on multiple threads in parallel where each threads gets executed on a single processor. For example imagine an operation where multiple images have to… Read More »

Implementing Google Analytics in your Android app – Track User Activities.

By | July 22, 2018

Implementing Google Analytics can help you find out how users are using your app. Which page is being visited regularly.You can also Know about the crashes happening in your app. How many users are currently using your app in real time and which page is currently being used more. Lets see how we can implement… Read More »

Custom Loaders with SQLite in Android

By | February 19, 2018

Introduced in Android 3.0, loaders make it easy to asynchronously load data in an activity or fragment. Loaders have these characteristics: They are available to every Activity and Fragment. They provide asynchronous loading of data. They monitor the source of their data and deliver new results when the content changes. They automatically reconnect to the… Read More »

Using Loaders in Android Using SimpleCursorAdapter in Android.

By | May 7, 2016

Introduced in Android 3.0, loaders make it easy to asynchronously load data in an activity or fragment. Loaders have these characteristics: They are available to every Activity and Fragment. They provide asynchronous loading of data. They monitor the source of their data and deliver new results when the content changes. They automatically reconnect to the… Read More »

Filtering a RecyclerView with Custom Objects.

By | February 12, 2017

This demo will show you how you can filter a RecyclerView with your Custom Objects. If you are new to RecyclerView, then please go through this post to get a glance. Check out the Demo Video ( 7 seconds) Here I am using a CustomClass called “ListItem” which has three members. ListItem MainActivity We have… Read More »

Using NSOperationQueue in iOS to do Serial/Concurrent Operations.

By | May 4, 2016

NSOperationQueue is used to do scheduled operations in iOS. You can customize NSOperationQueue to do Concurrent/Serial operations. You can set NSOperationQueue maxConcurrentOperationCount to tell it to do how many operations to execute at a time. Lets see this with an example [Swift Version] In the above example, we set maxConcurrentOperationCount to 1, telling it to… Read More »

Solution for CoreData Multithreading problem.

By | February 6, 2017

This post is for people who are at least familiar with CoreData. But just knowing is not everything.. CoreData creates problems when you access them from different threads… Most common problems are listed below CoreData: error: Serious application error. Exception was caught during Core Data change processing. This is usually a bug within an observer… Read More »

ld: warning: directory not found for option -F or -L, Xcode Error – Solved.

By | March 29, 2016

There are two errors like this that often happens with the Xcode. If it is a “directory not found for option ‘-L/…” error, that means it’s a Library Error, then Follow the below steps… Click on your project (targets) Click on Build Settings, Search for “Library Search Paths” Under Library Search Paths, delete the paths… Read More »

Volley Demo in Android

By | May 8, 2017

Volley is an HTTP library that makes networking for Android apps easier and most importantly, faster. Volley is available through the open AOSP repository. Volley offers the following benefits: Automatic scheduling of network requests. Multiple concurrent network connections. Transparent disk and memory response caching with standard HTTP cache coherence. Support for request prioritization. Cancellation request… Read More »

Best Coding Practices in Android – Part 2

By | December 30, 2017

You can read the First Article about Best Coding Practices in Android here. Re-Use Elements and Layouts Use for reusing layouts. You can read about this from here. Use Different resources for different density Screens. Properly organize your images in mdpi, hdpi,xhdpi etc folders for corresponding screens. This helps to prevent blurry images. Read more… Read More »