BREAKING:

Android – java.io.IOException: Unable to open sync connection!

Problem: java.io.IOException: Unable to open sync connection! Description: Today during the android application development with Samsung Galaxy S, i was having trouble to run the application, whenever i try to run the application, it was giving me this issue. After little bit search, i came to possible solution for this issue. And its working fine […]

Read More

Android – WebViewClient example

What is WebViewClient and what is it’s usage? When the user clicks a link from a web page in your WebView, the default behavior is for Android to launch an application that handles URLs. Usually, the default web browser opens and loads the destination URL. However, you can override this behavior for your WebView, so […]

Read More

BlackBerry – Custom label field

Problem: How do i define Custom label field in BlackBerry? Solution: customLabelField.java

Read More

Android – copy files from Assets to SD-card

Problem: How to copy files from Assets to SD-Card? Solution: CopyFileAssetsToSDCardActivity.java

Read More

Android – Read text file from SD-card

Problem: How to read simple text file from SD-card? Description: First of all, let me give you a link: Environment class and getExternalStorageDirectory() method, through this method we gets the root directory of sd-card, because if we write only “/sdcard” as a static value then there may be a chance of problem because there may […]

Read More

Android – Read file from Assets

Problem: How to read files (Images or text files) from Assets folder? Description: I assume you are aware about File reading operation, but here we have question that how can we get a list of files which we have placed in Assets folder. Here AssetManager class can help you to access any files lying inside […]

Read More

Android – Pick image from native gallery

Problem: How i pick image from native gallery and display it inside the ImageView? Description: First of all, to launch the native applications for Gallery, just write the below, there may be having many applications if you have installed other gallery like application, for example: QuickPic or any gallery application. Now we have to fetch […]

Read More