Category Archives: Uncategorized

Android simple example of opening Fragments Anywhere using navGraph

In this tutorial,we are showing different ways to opening fragment using navGraph. We are using android latest technology(navGraph) for creating navigation drawer. navGraph automatically handle all navigation of fragments we don’t need to take care of this .By default every drawer menu open a fragment.Now if you want to open fragment from another fragment or… Read More »

469 total views, 3 views today

Android simple example of Highlights/ShowCase using MaterialShowcaseView Library

In this tutorial, We will be showing highlights On UI Elements. These highlights allow new users to easily understand the functionality of the app’s user interface.So when users first interact with the app, these intro highlight will be shown one by one progressively explaining each UI element. Step 1: Creating Project Let’s start with creating… Read More »

431 total views, 4 views today

Android simple example of Highlights/ShowCase using ShowcaseView Library

In this tutorial, We will be showing highlights On UI Elements. These highlights allow new users to easily understand the functionality of the app’s user interface.So when users first interact with the app, these intro highlight will be shown one by one progressively explaining each UI element. Step 1: Creating Project Let’s start with creating… Read More »

398 total views, 1 views today

Android simple example of Animated Gradient Background Log In screen like Instagram

In this tutorial we will show you how to add an animated gradient background to your app like instagram. Step 1: Creating Project Let’s start with creating new project in android studio with package name com.khushi.myproject and class name MainActivity.java and its layout name is activity_main.xml.(we will create our animation in activity_main’s background). Step 2:… Read More »

728 total views, 2 views today

Android TabLayout example using ViewPager2 and Fragments with Latest android API AndroidX

In this tutorial we are going to create 3 Tabs .Every tab have its own Fragment to control over screen. Also user can swipe between 3 tabs. we are using AndroidX support Library , ViewPager2 and 3 different fragment & 3 different xml for layouts. And TabLayout for Tabs. Layout Demonstration : Checkout the following… Read More »

1,441 total views, 41 views today

Facebook login in our Android app/ Sample example tutorial

What is Facebook Login: by integrating facebook log in our app we can login a user by their existing facebook account and get the user information Like Profile picture,User Name,Email,birthday,gender etc. So that we can identify a user. In this tutorial, we will create a simple android app by  implementing Facebook login to  fetch user’s name & … Read More »

1,050 total views, 3 views today

Tips: Remove all comments from the java files in Eclipse IDE

1) Open the java file in which comments are to be removed. 2) Press Ctrl+F if you are using windows, Cmd+F in Mac OS. 3) Select Regular Expressions in the Find Menu. 4) Replace the below two expressions with empty string: i) (//[^\n]*) ii) (?s)/\*.*?\*/ 5) This action will remove all the comments -> Single… Read More »

18,375 total views, 32 views today