Code Explosion

Code That Explodes Conventions (In daily life as a programmer I meet problems. This blog where I record them (and more importantly their solutions) so that I can dig them in the future.)

Gradle to maven conversion and vice versa

How to convert maven to gradle The first thing is, you have to install gradle. Its easy. I know you can do it.  Go to the installing guide: http://www.gradle.org/docs/current/userguide/installation.html Now … Continue reading

Rate this:

July 20, 2014 · Leave a comment

How to read call logs programmatically from android

It’s fairly easy. You need add following uses-permission in android manifest to get call history programmatically. That’s all here. And then create an activity and layout. We need to query … Continue reading

Rate this:

April 17, 2014 · 1 Comment

How the java code gets executed and performs better?

Please bear with my attempt to inform you a little regarding the execution of Java code. Java’s code is compiled into byte code, which Java’s virtual machine executes.  This output … Continue reading

Rate this:

March 17, 2014 · Leave a comment

Is it necessary to know everything about a programming language before starting to develop an application in it?

I want to build an application in Java that uses Swing, networking and databases (JDBC). However, the catch is that I donot know anything about these three fields. However, I … Continue reading

Rate this:

March 1, 2014 · Leave a comment

Let’s play deep sleep

Do you ever take a train, bus, or cab? Do you ever fall asleep? Do you regularly miss your bus stop? Well, sleeping kit is here to help! Enter your … Continue reading

Rate this:

February 26, 2014 · Leave a comment

Android Layout Property Initializer Plugin for IntelliJ IDEA

Well, the very first version of IntelliJ IDEA plugin that I wrote over the last two nights, is now available for public use. This is nothing big, just a little, … Continue reading

Rate this:

January 9, 2014 · 8 Comments

The 3rd party tools that I use in my every android application

Ormlite for Android Well many of you love ORM (Object rational mapper). It’s just another cool orm tool simply works fine with android’s sqlite database. Link: http://ormlite.com/sqlite_java_android_orm.shtml RoboGuice Who didn’t … Continue reading

Rate this:

December 21, 2013 · Leave a comment

A great place to learn and mingle

The Java User Group Bangladesh (JUGBD) is now formed and successfully finished its 2nd meetup in last week. We are doing great, it’s not an exaggeration. For those who doesn’t … Continue reading

Rate this:

December 9, 2013 · 2 Comments

Android – Expandable TextView

There are so many thread in Stack overflow for expandable TextVeiw. The idea is, initially the TextView will show a small portion of a long text and when it is … Continue reading

Rate this:

September 7, 2013 · Leave a comment

How to Remove Duplicate Rows from a Table in SQL Server

Introduction It is obvious that if somehow duplicate rows get inserted into a table, it becomes a major issue to delete those duplicate rows. So this topic will help us … Continue reading

Rate this:

July 24, 2013 · 2 Comments

Random Thoughts – Caffeine

I’m worried about my personal productivity these days. I am a person who used to spend (maybe waste) time doing random things, but still worried about personal productivity. There are … Continue reading

Rate this:

July 24, 2013 · 2 Comments

Programmers Freedom

There is no such thing as true freedom. This is probably a true realization. In my understanding, freedom means, minimizing the level of dependence. As a programmer, we used to … Continue reading

Rate this:

July 14, 2013 · Leave a comment

Java Installation in Ubuntu

Method 1 Step 1: download jdk from: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html   Step 2 : go to downloaded folder using command line terminal : Step 3: install jdk * change the folder name … Continue reading

Rate this:

May 26, 2013 · Leave a comment

Executing Linux command from Java

You know Linux commands are always fun. We always play on terminals. How about executing from our favorite language java? Then you need following class Now you can execute any … Continue reading

Rate this:

April 13, 2013 · Leave a comment

Check out Birds Puzzle on Google Play

I have got an android app named Birds Puzzle in the android market. It is a kid friendly image slide puzzle game for Android displaying a set of bird picture … Continue reading

Rate this:

March 22, 2013 · Leave a comment

How to decompile android apk to java source code?

I wrote another post with the same title here and it got a lot of comments and people wanted to know more, and some point some visitors was confused. so … Continue reading

Rate this:

March 22, 2013 · 1 Comment

How to enable usb debugging in ubuntu for nexus 7

get the terminal, type: sudo vi /etc/udev/rules.d/70-android.rules or sudo gedit /etc/udev/rules.d/70-android.rules and then add the following line: SUBSYSTEM==”usb”, ATTR{idVendor}==”18d1″, ATTR{idProduct}==”4e42″, MODE=”0666″

Rate this:

February 28, 2013 · Leave a comment

DNS Explained

DNS মানে হলো Domain Name System. এটি ইন্টারনেট এর সবচেয়ে গুরুত্বপূর্ণ জিনিস। এটি ছাড়া ইন্টারনেট যেকোন মুহূর্তে ধসে পরতে বাধ্য। ডিএনএস না থাকা মানে No Internet, No facebook, No Google. … Continue reading

Rate this:

February 14, 2013 · Leave a comment

Problems with unicode encoding in spring projects

I had a problem with the encoding of Unicode characters. I developed a simple web application with support for multiple languages​​, which is called internationalization or i18n. In this application, … Continue reading

Rate this:

December 14, 2012 · Leave a comment

A brief introduction of String in Java

What is string? String is traditionally a sequence of characters. In Java string is an object and it is widely used in Java. String class is defined in java.lang package … Continue reading

Rate this:

December 6, 2012 · Leave a comment

10 Things about Design

“Simplicity is the ultimate sophistication.” – da Vinci The best deliverable are prototypes. Sketching is the most effective design method. Creativity comes from everywhere. Design is writing. Interruption is the … Continue reading

Rate this:

November 20, 2012 · Leave a comment

A list of really good user interface design resources

Here is the list of links I found from a question in Quora http://www.iconfinder.com/ http://ui-cloud.com/ http://fireworkswireframingkit.com/ http://www.webalys.com/design-interface-application-framework.php http://android-ui-utils.googlecode.com/hg/asset-studio/dist/index.html http://bestblogbox.com/freebies/all-in-one-web-elements-kit/ http://www.teehanlax.com/blog/ipad-gui-psd/ http://bestuipsd.blogspot.in/2011/07/125-free-web-ui-element-psd-packs.html http://dribbble.com/tags/free http://365psd.com/ http://www.premiumpixels.com/ http://pinterest.com/exuberantfool/gui-toolkit/ http://designmodo.com/freebies/ http://designmodo.com/impressionist-free/ http://designmodo.com/the-bricks/  

Rate this:

November 20, 2012 · Leave a comment

Well-Grounded Java Developer

Reading Well-Grounded Java Developer by Benjamin J.Evans, Martijin Verburg. You must read this book if you are really  a java fanatic. you can read the review of this book here: … Continue reading

Rate this:

November 13, 2012 · Leave a comment

State Diagram of Java Thread

Figure:  Java thread state diagram Runnable:  A thread becomes runnable when start() is called. It doesn’t mean that thread gets running immediately, rather it is pooled waiting for its turn … Continue reading

Rate this:

October 20, 2012 · Leave a comment

Chain of responsibility pattern

Pattern name: Chain of responsibility What it is: Avoid coupling the sender of request to its receiver by giving more than one object to a chance to handle request. Chain … Continue reading

Rate this:

October 20, 2012 · Leave a comment

CloudBess maven deployment Command

Deploy : deploy skipping test :

Rate this:

October 7, 2012 · Leave a comment

Java Tutorial for Absolute Beginners Part 2

Rate this:

October 7, 2012 · Leave a comment

Think twice before diving into ocean, check JOEL Test score

As we are graduating this year, most of us spend a significant amount of time looking for a job and certainly I do. There are always jobs out there but … Continue reading

Rate this:

October 5, 2012 · 2 Comments

For those who are disappointed for the lack of lambda expressions and some other functional features in Java

Today I just found a cool java library which made me really happy. It’s called op4j: Bending the Java spoon.  It is a Java library aimed at improving quality, semantics, … Continue reading

Rate this:

September 28, 2012 · Leave a comment

How to encrypt password in Java

One of the most important security features used today are passwords. It is important for both you and all your users to have secured and unguessable passwords.  Passwords are always … Continue reading

Rate this:

September 28, 2012 · 1 Comment

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 343 other followers

RSS Jenkov.com

  • SVG Compressed
    My recently published Kindle book, SVG Compressed, has received some great reviews already. 4 reviews with 5 stars. Not a bad start, but this is also my longest book so far, and it is available for only $0.99 on Amazon, so you get a lot for the money!
  • jQuery Compressed - 2nd Edition
    I have updated my Kindle book, jQuery Compressed 2nd edition, to be compatible with jQuery 1.11.0 and 2.1.0 .
  • CSS Media Query Tutorial July 28, 2014
    I have added a short tutorial about CSS media queries to my CSS tutorial trail. Media queries enable you to apply different CSS rules depending on the device that views your HTML page.
  • Open SSL for Web Servers July 25, 2014
    This new tutorial explains how use OpenSSL to create a private key and certificate signing request, and finally how to get a certificate, for use with SSL / TLS / HTTPS on a web server.
  • Nginx Tutorial July 24, 2014
    I have started a tutorial about Nginx, the high performance web server. So far the tutorial covers how to install Nginx on Ubuntu, how to start it, restart it and where to find the configuration files. This tutorial will be updated in the future with information about using Nginx as reverse proxy, configuring SSL and more.

my tweets

Follow

Get every new post delivered to your Inbox.

Join 343 other followers