Skip to main content

Posts

Showing posts from February, 2012

Featured

Android studio “SDK tools directory is missing”

Following 2 possible solutions will resolve this problem :  Solution1 : To fix the problem, it was required that I list the path to my corporate PAC file by using  Configure -> "Appearance and Behavior" -> System Settings -> HTTP Proxy . I selected "Automatic proxy configuration url:" Delete your  ~/.Android*  folders (losing all of your settings :/). Run Android Studio. It will show you a welcome wizard where it tries to download the SDK again (and fails due to my rubbish internet). Click the X on the wizard window. That will enable you to get to the normal welcome dialog. Go to Settings->Project Defaults->Project Structure and change the Android SDK location to the correct one. Solution 2 : To fix the problem, it was required that I list the path to my corporate PAC file by using  Configure -> "Appearance and Behavior" -> System Settings -> HTTP Proxy . I selected "Automatic proxy configuration url:&quo

code to display Horizontal scrollview with left and right arrow(displayed continuesly on both sides of screen,if there r no elements on left side (or) right side of scroll),in Android

best code for displaying the VerticalScrollView and HorizontalScrollView,in Android

Url that used to explain how to capture a screenShot,that screen exists on Emultor,in Android

complete code to Draw lines on Layout.means User can draw lines dynamically on emulator screen. //this code works as a paint window for draw images,in android

Url used for finding the Jar file of a given class

code to convert a Base64 string to Bitmap and display that bitmap in ImageView,in Android

Sample code to display a image(it is in Base64 string format) on ImageView as follows,in Android