Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Display a list of all installed application in an android device

The PackageManager class is used to get the information of application packages that are currently installed on android device. You can get an instance of PackageManager class using getPackageManager().   Below example will show you how to imp

Set Custom View to TabLayout android

This blog is about adding custom Layout to TabLayout.   Here we start. 1. Create Project.   2. Open Gradle file of the project.   3. Add design dependencies to the gradle. compile 'com.android.support:design:24.0.0'  

What is the Right Way to Create Splash Screen in Android?

  An android app takes few seconds to startup, especially on its first boot. During this time a splash screen displays the startup progress or may display the branding information to identify and promote the application to the user.  

Scan document like CS Scanner using OpenCV and NDK

In my last blog I have written about how to use Jhansi Karee's   Android Scanning library. This blog is about how you can use/modify library code according to your requirement.  I am assuming that you are already familiar with Op

How to Draw path between two locations

In the below example I have created Drawing Polyline and Markers along the tapped position in Google Map. ”Polyline is a list of points where line segment are drawn between consecutive point”. Here I have created fragment attribute in activity_main.

How to create Zoom-In & Zoom-Out function in android

If you want to create Zoom-In and Zoom-out of an image using Touch events function check my below example. In below example First I have created a main layout named xml.layout then in xml.layout I have added 2 attributes, first is FrameLayout attribu

TDD to test android activity

Test driven development is basically a procedure to achieve actual functionality or goal. This is also called in short TDD. This process contains following steps that are :       Write test cases     Run test case

Autosizing TextViews | Android Tutorial

Android 8.0 (API level 26) included a feature which allows you to instruct a TextView to let the text size dynamically expand or contract automatically to fill its layout based on the TextViews characteristics and boundaries. This setting makes it ea

How to hide/show Toolbar when list is scroling.

This tutorial describes how to show effect when list is scrolling up and down. Hiding Toolbar and any other views when list is scrolling down and showing it again when it’s scrolling up. In this tutorial we are using RecyclerView and Tollbar to achi

Android Lollipop Navigation Drawer Using AppCompat 21

This tutorial is very useful if you are using material design navigation drawer. In Android's Lollipop navigation drawer it provide smooth animation when we swipe across the screen from left edge. You may use to this same functionality in older versi

1 18 30
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: