2014년 9월 25일 목요일

This Android SDK requires ADT version 23.0.0 or above. Current version is 22.6. Please update ADT to the latest version

1. Select Help > Install New Software 

 2. Click on already installed 

3. Select all Android software on version 22.*

 4. Click on Uninstall 

5. Work with: dl-ssl.google.com/android/eclipse 

6. Select Developer Tools and Next 

7. Next, Accept the license agreement and Finish.





from Kikiwa on Stackoverflow

2014년 9월 24일 수요일

2014년 9월 17일 수요일

eclipse starts and freezes

Maybe something is wrong with workspace.

Delete .metadata folder in workspace.

Eclispe will start. But you should do setting again.


2014년 9월 6일 토요일

how to test rest api

1. Install Rest console extention on Chrome.



2. Set Request URI, Method, Content Headers, and Payload.


If you don't set Content-Type and Encoding on Content Headers, for example, application/x-www-form-urlencoded for Content-Type and utf-8 for Encoding, when you test post method, you will see error message "Failed to validate request parameters."



3. Press Send button.

2014년 9월 4일 목요일

The provided API key is expired

I deleted Android key and had only server key for places Api. The error was gone.

2013년 12월 22일 일요일

MediaStore Query Selection Example

This example show a list of taken time of image files. You can see images of certain month by selecting an item of spinner.

download

2013년 10월 10일 목요일

java.lang.IllegalStateException: ActionBarImpl can only be used with a compatible window decor layout

add this to the style:

parent="@android:style/Theme.Dialog"




<style name="CustomDialog" parent="@android:style/Theme.Dialog">
        <item name="android:windowFrame">@null</item>
        <item name="android:windowBackground">@android:color/transparent</item>

        <item name="android:windowIsFloating">true</item>