Ravi Yadav is an Android developer whose passion is to develop Android applications and sharing his work. He loves to post  the tutorials which he created while learning any new latest technology topic.He loves to share about the latest technology happenings and other tricks that will be helpful for readers of Askfortricks.

Call api using Volley library Demo

http://www.askfortricks.com/2017/04/call-api-using-volley-library-demo/

Call rest API using Volley in Android The very basic requirement in developing the Android application is “Api Integration” and fetch the details. For calling the Api we need the android networking library to interact with the web services and get the response from Api. One such library is Volley which is developed by Google to handle Api calls. Volley […]

Continue reading »

How to create custom view in Android and apply the custom font from xml.

Create custom textview or edittext with custom fonts

Hello Friends, After searching hundreds of answers related to creating the customtextview or edittext I came up with my implementation to efficiently create custom view so that we don’t have to assign typeface from java code. And I call it efficient because once I came to scenario related to creating multiple fragments inside FragmentStatePagerAdapter and I wasted days solving the problem […]

Continue reading »

Android Push Notification using Firebase Cloud Messaging.

Firebase Cloud Messaging

Firebase Cloud Messaging Implement Android Push Notification using Firebase Cloud Messaging service Hello Friends we all know about push notifications which inform us about something new service integrated in the app or some new features updated in the existing app. Most common are Instagram follows, likes and recommendations and it goes the same way for all applications. Google Cloud Messaging […]

Continue reading »

Reverse engineer .apk file & decompile Android app

decompile android apk

Reverse engineer .apk file & decompile app. Today we will see how to reverse engineer .apk file & decompile app. Note: This post is just for curiosity or educational purpose.please don’t use it in any illegal activities. What is apk file? Any Android app is made up with combination of bunch of resources,configuration files which constitutes one application just like […]

Continue reading »

Get location in Android using Fused Location Provider Api

How to get location in Android : Fused Location Provider Api

How to get location in Android : Fused Location Provider Api Hi…Today if we see the current application trends then there is huge requirement of tracking or knowing location related activities of user. Note : FusedLocationProvider api is deprecated from Google Play services version 11.6.0 release. You can read it here: https://developers.google.com/android/reference/com/google/android/gms/location/FusedLocationProviderApi FusedLocationProviderClient is new way to fetch the user […]

Continue reading »

Top Windows 10 tricks and tips we don’t need to miss

Finally ,with the new and most awaited Windows 10 arrived now in the market …I have compiled some list of new features…and windows 10 tricks and tips that you don’t wish to miss …So lets start… 1.Start revisited: Most awaited start menu has been highly customized in the latest windows 10 because you can easily resize them by dragging from […]

Continue reading »

How to use Github like syntax highlighting on your web site or blog without any plugin

Hello Friends, Today I will be sharing a cool trick to highlight the code in your blog As a developer or coder we always look for any code snippet on any website may be it is in java or PHP but it looks in awesome format just what it looks like in our IDE. If you don’t know what is syntax […]

Continue reading »

How to add common utility for Android application in Android Studio

Hi Friends,Today I am going to share one utility class which I have created and using in my projects to simplify my common utility requirements. I have created one Util class and created my methods as static which helps in accessing these methods without class objects. Just call MyUtils.methodname(context) to access the method from any where from your app. Short […]

Continue reading »

ABCD of Android Marshmallow : Learn whats new in latest Android Marshmallow

Hello Friends, As an Android phone user and a developer I am too much excited to share with you the latest features available in Android Marshmallow. The Android Marshmallow developer preview was recently launched at Google I/O 2015 in San Francisco.Lets have a look on the features: 1.App permissions: These feature will make the life of user very easy because […]

Continue reading »

How to unlock Android phone or tablet if you forget the pattern without Internet

Friends, today I will be sharing with you how you can unlock your Android phone or Tabket if you have forgotten your pattern. Android pattern unlock You can do this in two ways: 1.Either using your Google account(Require Internet Connection). 2.Without using your Google account(Offline). Unlock pattern without using Google account: Note: It will reset your phone data and all […]

Continue reading »
1 2 3 4