검색결과 리스트
안드로이드/android에 해당되는 글 27건
- 2015.02.27 Ubuntu 14.04 LTS 에 Android Studio 설치 하기
- 2013.07.15 Display getWidth deprecated
- 2013.07.04 android action bar home icon change
- 2013.06.25 액션 텝 메뉴 옵션메뉴가 하단에 펼치지게 하기
- 2013.05.19 android action bar swipe fragment listview setonitemclicklistener not working 1
글
Ubuntu 14.04 LTS 에 Android Studio 설치 하기
1. JDK 설치
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update$ sudo apt-get install oracle-java7-installer
# 이상하게 oracle-java8-installer 는 자꾸 에러가 나서 내 컴에서 7로 했다 왜그럴까?!!!!!
update-alternatives --display java
java -version
2. Android Studio 다운로드 및 설치
$ unzip android-studio-ide-135.1641136-linux.zip
$ mv android-studio /opt
$ cd /opt/android-studio/bin
$ ./studio.sh
/***
'tools.jar' seems to be not in Android Studio classpath.Please ensure JAVA_HOME points to JDK rather than JRE.
라는 에러메세지가 뜬다면
$ sudo vi /etc/environment
1) PATH 맨 마지막에 :/usr/lib/jvm/java-7-oracle 추가
2) 문서 맨 마지막에 JAVA_HOME=/usr/lib/jvm/java-7-oracle 추가
3) 저장하고 닫기
$ source /etc/environment
*****/
참조 사이트 및 블로그
1. http://blog.mckwon.com/16157
2. http://stackoverflow.com/questions/17474963/android-studio-tools-jar-file-is-not-present-in-classpath
3. http://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk
4. https://www.davidlab.net/ko/tech/how-to-setup-android-dev-env-on-ubuntu-part1/
'안드로이드 > android' 카테고리의 다른 글
Display getWidth deprecated (0) | 2013.07.15 |
---|---|
android action bar home icon change (0) | 2013.07.04 |
액션 텝 메뉴 옵션메뉴가 하단에 펼치지게 하기 (0) | 2013.06.25 |
android action bar swipe fragment listview setonitemclicklistener not working (1) | 2013.05.19 |
Checkbox 이미지 활용하기 (0) | 2013.05.08 |
설정
트랙백
댓글
글
Display getWidth deprecated
Display display = getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
width = (float) size.x;
'안드로이드 > android' 카테고리의 다른 글
Ubuntu 14.04 LTS 에 Android Studio 설치 하기 (0) | 2015.02.27 |
---|---|
android action bar home icon change (0) | 2013.07.04 |
액션 텝 메뉴 옵션메뉴가 하단에 펼치지게 하기 (0) | 2013.06.25 |
android action bar swipe fragment listview setonitemclicklistener not working (1) | 2013.05.19 |
Checkbox 이미지 활용하기 (0) | 2013.05.08 |
설정
트랙백
댓글
글
android action bar home icon change
액션바 홈 아이콘을 테마를 통해 변경 하는 방법
<item name=
"android:homeAsUpIndicator"
>
@drawable
/ic_home_up_indicator</item>
'안드로이드 > android' 카테고리의 다른 글
Ubuntu 14.04 LTS 에 Android Studio 설치 하기 (0) | 2015.02.27 |
---|---|
Display getWidth deprecated (0) | 2013.07.15 |
액션 텝 메뉴 옵션메뉴가 하단에 펼치지게 하기 (0) | 2013.06.25 |
android action bar swipe fragment listview setonitemclicklistener not working (1) | 2013.05.19 |
Checkbox 이미지 활용하기 (0) | 2013.05.08 |
설정
트랙백
댓글
글
액션 텝 메뉴 옵션메뉴가 하단에 펼치지게 하기
Actionbar tab menu
option menu 바텀 메뉴로 출력하기
menifest 에 추가 해주면 됩
android:uiOptions="splitActionBarWhenNarrow"
'안드로이드 > android' 카테고리의 다른 글
Display getWidth deprecated (0) | 2013.07.15 |
---|---|
android action bar home icon change (0) | 2013.07.04 |
android action bar swipe fragment listview setonitemclicklistener not working (1) | 2013.05.19 |
Checkbox 이미지 활용하기 (0) | 2013.05.08 |
android:launchMode singleTop과 singleTask 의 차이점 (0) | 2013.05.08 |
설정
트랙백
댓글
글
android action bar swipe fragment listview setonitemclicklistener not working
액션바 swipe 탭 메뉴 view pager fragment 일때
listview setonitemclicklistener 가 동작하지 않아 당황했다
이유인 즉 Ok, so I found my problem. In my "single_item" xml file, I had a ImageButton that was stealing the focus. I swapped it to a ImageView and it works just fine. 이렇다 하여
imagebutton을 imageview로 바꾸니 진짜 활성화 되었다
이런 젠장 이러한 버그들은 도대체 왜 만들어 놓으심?
버튼이 맞지 이미지뷰가 맞는거임? --;
'안드로이드 > android' 카테고리의 다른 글
android action bar home icon change (0) | 2013.07.04 |
---|---|
액션 텝 메뉴 옵션메뉴가 하단에 펼치지게 하기 (0) | 2013.06.25 |
Checkbox 이미지 활용하기 (0) | 2013.05.08 |
android:launchMode singleTop과 singleTask 의 차이점 (0) | 2013.05.08 |
위젯 사이즈 (0) | 2013.04.16 |