What’s your favorite ‘programming’ cartoon or comic?

As long as we’re posting xkcd links, I’ve always loved this one.  It’s the only comic I’ve ever printed out and hung up at my job.


WTFs per minute:
Source: http://www.osnews.com/story/19266/WTFs_m


What’s your favorite ‘programming’ cartoon or comic?

Can some one give real life example to understand access specifiers in JAVA?

Hello Guys,

Today morning I came across very good information about Object Oriented Programming (OOP) on Quora. I am very excited to share this with you all. As this is not my article, I would like to many thanks to author Pritam Kumar. To read the original post, Can someone give real life example to understand access specifiers in JAVA?

When you update your Facebook Status, it gives you 4 options

1. If you make this status visible for Public, anyone can see this status on Internet (Anyone On or Off Facebook). [Public Access Specifiers]

2. If you make this status visible “only for me”. No one can see this status except you. [Private Access Specifiers]

3. If you make this status visible for Friends or Friends of friends, then your status will be only visible for your friends and your friends friends. Not everyone presents on Facebook or Internet. [Protected Access Specifiers]

4. If you make this status visible for “Friends”, then your status will be only visible for your Friends. Not your friends of friends or everyone presents on Facebook. [Default  Access Specifiers]

In Programming Terms:

There are four Access Specifiers in Java.

1. Public
2. Private
3. Default.
4. Protected

Hope this little information will help you. Feel free to add your valuable comments.
Happy Coding! Stay tuned…

Swapnil Sonar

What are the good online tutorials and books to learn Android development?

Answer by Swapnil Sonar:

As android developer, I would like to suggest few references, may be a few of the them were mentioned earlier,
Best is you go with official google documentation of android. They give very descriptive info and  covers most of the concepts.  – Building Your First App
There are some free Android Development Courses as well like:
Essential Resources:

What are the good online tutorials and books to learn Android development?

Android Studio – Shortcuts and Cheat Sheet

Hello Guys,

Form past couple of weeks on have been working on Mac machine. Those who coming from a windows background may jumble initially on Mac while development (I am one person among those).

Thankfully Android Studio team will give an option to the user to use an eclipse shortcuts on studio
For Windows: press File -> Settings -> Keymap -> choose “Eclipse” from dropdown. (OR)

For Mac: press Android Studio -> Preferences -> KeyMap -> choose “Eclipse” from dropdown like this.

And instead of using eclipse shortcuts if you want to learn android studio’s own, then I have something which may helpful to you. I found this cheat sheet which is published by IntelliJ IDEA. Right now I didn’t have link of the same, but here is pdf copy:

For Windows:

For Mac:

Hope this little information will help you. Feel free to add your valuable comments.
Happy coding and Enjoy Android Studio! Stay tuned…

Swapnil Sonar

We didn’t do anything wrong, but somehow, we lost..

During the press conference to announce NOKIA being acquired by Microsoft, Nokia CEO ended his speech saying this “we didn’t do anything wrong, but somehow, we lost”. Upon saying that, all his management team, himself included, teared sadly.

Nokia has been a respectable company. They didn’t do anything wrong in their business, however, the world changed too fast. Their opponents were too powerful.

They missed out on learning, they missed out on changing, and thus they lost the opportunity at hand to make it big. Not only did they miss the opportunity to earn big money, they lost their chance of survival.

The message of this story is, if you don’t change, you shall be removed from the competition.

It’s not wrong if you don’t want to learn new things. However, if your thoughts and mindset cannot catch up with time, you will be eliminated.

1. The advantage you have yesterday, will be replaced by the trends of tomorrow. You don’t have to do anything wrong, as long as your competitors catch the wave and do it RIGHT, you can lose out and fail.

2. To change and improve yourself is giving yourself a second chance. To be forced by others to change, is like being discarded.

Those who refuse to learn & improve, will definitely one day become redundant & not relevant to the industry. They will learn the lesson in a hard & expensive way.👌

(Courtesy- WhatsApp Group)

Stay tuned.
Swapnil Sonar

Android: Multiple Fragments stack in each ViewPager Tab

Design, Build & Defend

We will try to accomplish the following scenario:

    |_ _ _ Tab A
    |        |_ _ _ Fragment 1
    |        |
    |        |_ _ _ Fragment 2
    |        |
    |        |_ _ _ Fragment 3
    |        |
    |        |_ _ _ ...
    |_ _ _ Tab B
    |        |_ _ _ Fragment 4
    |        |
    |        |_ _ _ Fragment 5
    |        |
    |        |_ _ _ Fragment 6
    |        |
    |        |_ _ _ ...
    |_ _ _ Tab C
    |        |_ _ _ Fragment 7
    |        |
    |        |_ _ _ Fragment 8
    |        |
    |        |_ _ _ Fragment 8
    |        |
    |        |_ _ _ ...

Check out the apk file and/or video to see the final result before going further:


There is one MainActivity and inside the MainActivity there is one Fragment, which is a container…

View original post 130 more words

Applying MD5 Algorithm In Android


Hello developers, have you ever given a thought about securing your content when it is being used in communication? If yes then this blog might help you in achieving so.

MD5 stands for Message Digest(5 denotes the series), which is a hashing algorithm used for generating the fingerprint of the content. It was designed in 1991 by Ronald Rivest at MIT.

MD5 algorithm is a one way hashing process which means you cannot generate original text from the hash code.It always produces the same output for the similar input, and this property is used for checking the data integrity. You can compare the two hash codes at destination(one which is received from server and one which is already present at destination) and check whether the files contains the same content or not.

View original post 99 more words