Posts

Showing posts with the label Android

Double-side Nav Drawer

Image
Hello guys, this post will teach you how to add both Left and Right Navigation Drawers in your Android App. You may need one Nav Drawer on the right to give your users a different set of options, not to distract them from the main navigation items on the left. I have used  Android Studio 1.5.1 Build 141.2456560 .  So here we go. 1) Navigation Drawer Activity      When creating a New Project, choose Navigation Drawer Activity. This makes things easy. If this option is not available, you can the simply choose Blank Activity and later make the project structure similar to Navigation Drawer Activity. See the layout files here . If you run the app at this point, you will see the Left Nav Drawer.                                           2)   Navigation Views     As you can see I have added 2 Navigati...

5 things every Android app developer must know

Image
By : Developers of  VIT Slate 1. Libraries: Well, the whole developer community will agree that without libraries our life would have been hell. But when it comes to using them, you have to customize the functionalities which the library gives you. I agree that the documentation with which a library comes is good. Still, using them will be an effort saving another effort. While developing VIT Slate, the greatest library that I came across is CardsLibrary [verify the name] by Gabriel. It was easy to customize but there were some libraries which literally gave me real pain !!! 2. Hardcoding: We just don’t hard code! Android comes in all shapes and sizes and that’s the reason never hard code any dimension for a UI element. I hard coded an image’s dimensions in VIT Slate and someone came and asked me why is this pic in team section so small. And I was saying to him, “Can you please move, I want to hit my head against the wall because I hard coded.”  3....

WhatsApp promoting unity in diversity or racism?

Image
If you are one of those who just updated their WhatsApp app then the talk of town for you must be the variety of features that WhatsApp just introduced. But within the array of features being introduced the one which is getting all the attention is the new set of emoticons. Users can now select face and hand gestures in different skin tones. Associating fairness with beauty and superiority has been a part and parcel of our society though highly de-humanising and fairness creams have long been part of this propaganda but what glued all eyes on the WhatsApp was the segregation of different skin tones on a very popular messaging app like this which introduced its racially diverse emoji update for all users. It has been since facing a lot of criticism for the same, but is it right to criticise? The point to ponder upon is what exactly was WhatsApp thinking about this version? Is it to indicate that a dark tone person should use a dark emoji and vice-versa? However,...

Extract songs from Saavn app

Image
Extract songs permanently in saavn android app(for non root user)  Bad engineering that leads to loss for saavn, the famous music streaming application on android smartphones. I write this by assuming that saavn only allows you to download in offline mode within application and you lose the songs if you happen to lose the pro membership. Without pro membership, you can only stream the songs but not save them in offline mode, means every time you must use your valuable data. Whereas, by storing on sd card the songs will be permanently available to you even if you uninstall app or you happen to lose the pro membership which allows you to save songs in offline mode within saavn’s android application. Now I exploit this bad engineering from saavn’s engineers and tell you how can you extract songs from saavn’s offline mode to your sd card. Note that this will violate the usage policy(I assume) and you should not do this on android smartphones. I only provide this to...