Skip to main content

Posts

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:...

Updated code of expandable list rows,that 1)Hide/Show the "More" button based on text length(i.e Hide more button if text length lessthan two rows). 2)disable row click functionality if row having text lessthan 2-rows. 3)using only single .xml file(i.e row.xml) instead of two(i.e row.xml,expand_row.xml files) i implemented this in LegelPlex Project..

code of Expandable TextViews with More/Less,Edit buttons using two .xml files(i.e row.xml,expand_row.xml files) Android

code to parse WebService response(differen format),android

code to convert time from 24 hour to 12 hour format..(Because GMT time will be allways in 24Hour format),Android

code to find the difference between current time,serverTime in seconds/milliSeconds/Hours in Android/JAVA