Blog

Let's Get The Job Done!

Android Studio Shortcuts

Some of the useful android studio shortcuts are : CTRL +  /  : comment/uncomment lines of codes. CTRL + .  : folds/unfolds the code blocks . CTRL+ R : replace. CTRL + SHIFT + R: Replace  in all Files . CTRL + SHIFT + A : search IDE commands. CTRL + F : searching a…
Read more

Android OpenCV : how to pass Mat objects between java & c++

Hello friends , in this article i’m gonna discuss a trick that could save a lot of time and energy and also give OpenCV fans so much flexibility working on the android platform. As you may encounter some of OpenCV parts are not ported into java for example the one that i had encountered is…
Read more

Android Studio Live Templates , Just What You Want!

In this post i’m gonna talk a little bit about android studio/Intellij Trick That makes you faster in every day programming and makes your IDE’s environment more friendly . that is Android Studio Live Templates . maybe you’ve used some of android studios convenient phrases to type down frequently used methods like : logd :…
Read more

How to apply sepia effect on a bitmap

  In this post i’m gonna show you how to apply sepia effect on your bitmap with just a simple method .     Let’s dive into the code : public static Bitmap applySepiaEffect( Bitmap src , int depth , double red , double green , double blue ){ int width = src.getWidth(); int height…
Read more

Some Useful Android Libraries & Tools

Let me show you some android useful lib’s that i found useful to throw in projects. Let’s Name Some Famous One’s First : RxAndroid , Retrofit , OkHttp ,  Picasso ,  Glide , EventBus , Mushi , Timber (Debugging Utility) , Room (ORM) , Dagger (Dependency Injection)  , ButterKnife . But Now I’m Gonna Introduce…
Read more

How To Draw A Custom Shape Into Bitmap

In This Post I’m Gonna Show You How To Draw A Custom Shape Into A Bitmap , What Ever You Want .   public static Bitmap drawCustomShape(Bitmap src , int color ){ int width = src.getWidth() ; int height = src.getHeight() ; Bitmap out = Bitmap.createBitmap(width , height , src.getConfig()) ; Canvas canvas = new…
Read more

How To Draw A Circle Around A Bitmap

Do You Want To Draw A Border Around Your Images Like A Picture Frame , Then Read This. Let’s Put The Code Right Away: public static Bitmap roundCorner(Bitmap src , float radius){ int width = src.getWidth() ; int height = src.getHeight() ; Bitmap result = Bitmap.createBitmap(width ,height , src.getConfig()) ; Canvas canvas = new Canvas(result)…
Read more

Android Deep Linking

Have you ever encountered a situation to connect a http link to your app or just wondered If It’s possible to connect a link to your app , here is the answer : Deep Linking So How Does It Work ? In android we could define Intent Filters for desired Activities that could designate theme-selves…
Read more

How To Conceal A Constant String In Your Android Code

There are times that you need to put a valuable constant (like a password or a tokens ,etc… ) into you code , but in other hands your valuable data could be read so easily by decompiling the java code . so how to have constants into your code without exposing it to strangers .…
Read more

GrayScale FIlter

In This Post I’ll Show You How To Filter Image Like An Old Black And White Shot. To    There Is A Simple Explanation To The Concept , Each Pixel In A Bitmap Image Has Three Color Values That Explains The Overall Color Of That Pixel (For Example Red : 211, Green : 47, Blue…
Read more