블로그 이미지
Flying Mr.Cheon youGom

Recent Comment»

Recent Post»

Recent Trackback»

« 2024/5 »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

 

'클라이언트/Android'에 해당되는 글 6

  1. 2022.07.01 termux에서 ubuntu 환경 만들기
  2. 2015.11.12 [Android] UI Code Eaxple
  3. 2014.08.27 Practice Diary
  4. 2013.10.11 [GoogleMap] code Google API 정리
  5. 2013.10.03 [GoogleMap] 개발 관련 이미지 자료
  6. 2013.09.13 [Fragment] Fragment정보 갈무리
 

termux에서 ubuntu 환경 만들기

클라이언트/Android | 2022. 7. 1. 13:36 | Posted by youGom

여유분의 S10을 가지고 노트북 대용을 만들어보기로 한다.

미리 말하지만, 약간 시간이 걸린다.
모든게 자동은 아니기 때문에 자리를 지키고 있는게 좋다.
중간중간 입력해줘야 하는 내용들이 조금씩 있다.

ubuntu나 영어가 기본적으로 되는 사람은 아래 사이트의 원문을 바로 보는것도 도움이 될것 같다.
실제 해보니, 사이트에서 가이드된 내용과 크게 다른 거 없이 진행되었다.


Ubuntu 20 With XFCE4로 만들거라서 아래 명령어로 선택
사이트 : https://github.com/tuanpham-dev/termux-ubuntu

pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/tuanpham-dev/termux-ubuntu/master/ubuntu.sh && chmod +x ubuntu.sh && bash ubuntu.sh

 

실행 중에 에러가 발생함. wget이 설치가 안된다고 에러가 뜬다. pkg가 기본 명령어인데 안될리가 없는데..
확인해보니 아래 사이트 가이디대로 repository 변경하면 된다.
사이트 : https://github.com/termux/termux-packages/issues/6726

termux-change-repo

이 명령어를 치면, Repos 선택하는 화면이 두개 뜬다.
첫화면은 세개 다 선택해주고, 두번째 화면에서는 맘에드는 걸로 하나씩 선택해보면서, pkg update 실행하면서 네트워크 오류가 안나는 Repository를 선택해주면 된다.

PKG update 하는 중에 화면이 멈춰 있는 걸 볼 수 있는데, Y/N 등을 할것인지 묻는 것 때문에 멈춰있다. (오류아님)
기존 버젼 유지할거라면 N, 유지보수버젼으로 설치할거라면 Y 누르면 된다. 
입력없이 엔터를 치면 기본값은 N이 되니 참고하면 좋다.

...

한참 설치하다 보면, 암호 입력이 나온다. 사용자명 사용자암호 그리고 루트권한 암호 등

암호 입력창 완료 후

설치가 완료된 것처럼 보이지만, 암호를 입력해달라는 화면이니 그냥 끄면 안된다. 암호를 입력 후 남은 설치가 계속된다.

...

갑자기 이상한(?) 영어로 뭔가 선택하라고 한다. 시간대를 선택해 달라고 하는 화면이다.
당황하지 않고, 우리는 한국 사람이니, 'Asia'를 선택하고 다음화면에서 'Seoul'을 선택하면 된다.

...

또 무언가 뜬다. 잘 살펴보면, Keyboard라는 글자가 보인다. 자판 언어 선택해 달라고 하는 내용이다.
당황하지 않고, 우리는 한국 사람이니, Korea를 선택하고, 내 키보드는 Full-Key이니까 ( 텐키리스 아니니까. ) 일반 Korea로 선택해준다.
[ 텐키리스 : 오른쪽에 3x3으로 넘버키가 없는 키보드를 흔히 텐키리스라고 함 ]

...

VNC Password 생성하기 위해 입력하라고 뜬다. 
이 부분만 입력하면 드디어 설치가 끝난다.

화면 프롬프트에 xxxx@localhost라는 문구가 뜬다면 모두 완료된 것으로 보면 된다.


우분투 설치 완료 후 기본 프로그램을 설치해주면 도움이 된다.

$ sudo apt install net-tools
$ sudo apt install nautilus

설치가 완료되면 사이트에서 가이드 해준 VNC를 시작한다.

./start-ubuntu20.sh

 

Ubuntu를 종료하려면 아래 명령어를 입력한다.

exit

VNC를 시작하려면 아래 명령어를 입력한다.

vncserver-start

VNC를 종료하려면 아래 명령어를 입력

vncserver-stop

Oh My Zsh 설치해서 사용

cp ~/.profile ~/.zprofile
sudo apt install git curl zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

한글로 설정해서 그런지 글자깨짐이 있을 때 아래 내용으로 처리

$ sudo apt install fonts-nanum fonts-nanum-extra fonts-nanum-coding ibus-hangul
$ ibus-setup 

input-method 한글 추가
$ ibus-daemon -drx
$ ibus-setup-hangul

pyCharm Community 버젼 사용하기 : https://www.jetbrains.com/help/pycharm/installation-guide.html#standalone

Install using tar archives

  1. Download the tarball
  2. Unpack the pycharm-*.tar.gz file to a different folder, if your current Download folder doesn't support file execution:The recommended installation location according to the filesystem hierarchy standard (FHS) is /opt. To install PyCharm into this directory, enter the following command:To verify integrity of the downloaded archive, use the SHA checksum linked from the Download page.
  3. sudo tar xzf pycharm-*.tar.gz -C /opt/
     
  4. tar xzf pycharm-*.tar.gz -C <new_archive_folder>
     
  5. Switch to the bin subdirectory:For example,
  6. cd /opt/pycharm-*/bin
     
  7. cd <new archive folder>/pycharm-*/bin
     
  8. Run pycharm.sh from the bin subdirectory.
  9. sh pycharm.sh

pycharm.sh 설치 시 JRE 오류가 발생하면 아래와 같이 JRE를 설치 후 다시 하면 정상 완료됨

sudo apt-get install openjdk-11-jdk

 

'클라이언트 > Android' 카테고리의 다른 글

[Android] UI Code Eaxple  (0) 2015.11.12
Practice Diary  (0) 2014.08.27
[GoogleMap] code Google API 정리  (0) 2013.10.11
[GoogleMap] 개발 관련 이미지 자료  (0) 2013.10.03
[Fragment] Fragment정보 갈무리  (0) 2013.09.13
:

[Android] UI Code Eaxple

클라이언트/Android | 2015. 11. 12. 13:56 | Posted by youGom

http://warmz.tistory.com/948



개인적으로 잘 사용했던 라이브러리들을 정리하고자 한다. (필수인 것은 빨강색으로 처리)


UnitTest

* Robolectric

- 공식 사이트 : http://robolectric.org/

- Github : https://github.com/robolectric/robolectric

- 특징 :

1. JDK 7에서 동작. (8 사용 불가)



Logging

* Logging with log4j in Android

- Google Code : https://code.google.com/p/android-logging-log4j/

- 참고글 :

http://warmz.tistory.com/941

http://warmz.tistory.com/942



Clean Codes

* Android Annotations

- 공식 사이트 : http://androidannotations.org/

- Github : https://github.com/excilys/androidannotations/wiki

- 특징 :

1. Annotation으로 UI Element 주입.

2. Compile 타임에 Injected Class를 생성하므로 성능 하락 없음.

3. 경량 라이브러리(53KB)

* AQuery(Android Query)

- Github : https://github.com/androidquery/androidquery


* Retrolambda

- Github : https://github.com/evant/gradle-retrolambda

- 특징 :

1. Java 8에서 지원하는 람다식을 Android에서 사용 가능하게끔 지원.(Kitkat은 공식적으로 Java 7까지 지원한다.)

2. Java 8로 컴파일 된 클래스를 Java 7 byte 코드로 변환 처리.

- 참고 사이트 :

1. http://zserge.com/blog/android-lambda.html



UI

* SuperToast

- Github : https://github.com/JohnPersano/SuperToasts

- 특징 :

1. 토스트를 스타일리쉬하게 꾸밀 수 있다.

2. Button / Progress / Card 형태로 커스터마이징 가능.


* SlidingMenu

- Github : https://github.com/jfeinstein10/SlidingMenu

- 특징 :

1. Navigation Drawer를 쉽게 구현 할 수 있으며 스타일 지정도 매우 간단하다.


* Android-Bootstrap

- Github : https://github.com/Bearded-Hen/Android-Bootstrap

- 특징 :

1. JS UI 라이브러리로 유명한 Bootstrap을 그대로 활용 할 수 있다.


* Circular Progress Button

- Github : https://github.com/dmytrodanylyk/circular-progress-button

- 특징 :

1. 아래와 같은 멋진 Progress Button을 사용 할 수 있다.




Util

* Commons Validator

- Apache : http://commons.apache.org/proper/commons-validator/

http://commons.apache.org/proper/commons-validator/javadocs/api-1.4.0/

- 특징 :

1. Email / Domain 등에 대한 validator를 제공한다.


* Gson

- Google Code : https://code.google.com/p/google-gson/

- 특징 :

1. JSON 유틸리티



* OrmLite(DB)

- 특징

1. ORM 관련 라이브러리 중에선 최고인 것 같다. 속도도 빠르고 쓰기도 쉽고 가볍다.


* Phrase(Android String Formatting)

- Github : https://github.com/square/phrase

- 특징

1. Android String Formatting을 매개변수 순서에 관계 없이 key&value 형태로 가능하게 해준다.

'클라이언트 > Android' 카테고리의 다른 글

termux에서 ubuntu 환경 만들기  (0) 2022.07.01
Practice Diary  (0) 2014.08.27
[GoogleMap] code Google API 정리  (0) 2013.10.11
[GoogleMap] 개발 관련 이미지 자료  (0) 2013.10.03
[Fragment] Fragment정보 갈무리  (0) 2013.09.13
:

Practice Diary

클라이언트/Android | 2014. 8. 27. 23:13 | Posted by youGom


2014. 8. 15.

Android Studio Download And Install.


2014. 8. 16

Android Studio Hello world Compile and Run on Device.


2014. 8. 17.

Understanding UI.

 - Layout and XML format

 - Different Res and Asset

 - Component and Widget


2014. 8. 18

Understanding Fragment.

 - Different between Activity and Fragment

 - Usage Fragment

 - To insert 'textview' and 'button' widget on Fragment


2014. 8. 19

Understanding between Fragment and GridView

 - To insert 'GridView' widget on Fragment.

 - To pop 'Toast' Message on click the 'GridView' of the Fragment. 


2014. 8. 25.

Understanding HttpClient and HttpRequest/Response

 - Read book about the HTTP.

 - Read Development Site.

 - Type HttpRequest code and run Test.


2014. 8. 26.

Understanding Volley Lib and Run

 - Read Development Site.

 - Watch Volley Lecture - https://developers.google.com/events/io/sessions/325304728

   ::: TrainingTap of the http://Developer.Android.com

 - Understanding Http Request Queueing

 - Volley is Async and HttpRequestQueue


2014. 8. 27.

Understanding Test Environment

 - Read Development Site - TestCase

 - Watch InstrumentTest Lecture - http://www.youtube.com/watch?v=z47B1nhC3K0

    :: google search keyword and url : https://www.google.co.kr/?gws_rd=ssl#newwindow=1&q=android+studio+testcase

 - Type TestCase Code

 - Open Android Studio Terminal and run 'gradlew' script - ./gradlew connectInstrumentTest




'클라이언트 > Android' 카테고리의 다른 글

termux에서 ubuntu 환경 만들기  (0) 2022.07.01
[Android] UI Code Eaxple  (0) 2015.11.12
[GoogleMap] code Google API 정리  (0) 2013.10.11
[GoogleMap] 개발 관련 이미지 자료  (0) 2013.10.03
[Fragment] Fragment정보 갈무리  (0) 2013.09.13
:

[GoogleMap] code Google API 정리

클라이언트/Android | 2013. 10. 11. 01:19 | Posted by youGom

 

 

Maps Engine api 는 지도를 생성해준다. 레이어 기능이 있어서 자유자재로 지도정보를 저장할 수 있다.

https://developers.google.com/maps-engine/documentation/best-practices

 

admin SDK 는 사용자 정보를 관리할 수 있도록 도와준다. 사용자들의 계정정보를 그룹별로 저장하고 관리 해 준다.

https://developers.google.com/admin-sdk/directory/v1/reference/

 

geocode는 검색어에 해당하는 정보를 리턴해준다. 이 정보에는 위치정보가 포함된다.

https://developers.google.com/maps/documentation/geocoding/?hl=ko

 

Place api를 이용하면 해당 위치의 주변정보를 얻을 수 있다.

https://developers.google.com/places/documentation/search#PlaceSearchRequests

'클라이언트 > Android' 카테고리의 다른 글

termux에서 ubuntu 환경 만들기  (0) 2022.07.01
[Android] UI Code Eaxple  (0) 2015.11.12
Practice Diary  (0) 2014.08.27
[GoogleMap] 개발 관련 이미지 자료  (0) 2013.10.03
[Fragment] Fragment정보 갈무리  (0) 2013.09.13
:

 

안드로이드 맵 v2 실행 요약 링크 : http://www.androidpub.com/2398318

 

마커 설정 링크 ; http://pppdwer.tistory.com/entry/GoogleMap-API-V2-2%EA%B5%AC%EA%B8%80%EB%A7%B5%EC%97%90-%EB%A7%88%EC%BB%A4-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0-1

 

마커 링크 : http://www.iconarchive.com/show/vista-map-markers-icons-by-icons-land/Map-Marker-Flag-1-Right-Azure-icon.html

 

 

 

'클라이언트 > Android' 카테고리의 다른 글

termux에서 ubuntu 환경 만들기  (0) 2022.07.01
[Android] UI Code Eaxple  (0) 2015.11.12
Practice Diary  (0) 2014.08.27
[GoogleMap] code Google API 정리  (0) 2013.10.11
[Fragment] Fragment정보 갈무리  (0) 2013.09.13
:

[Fragment] Fragment정보 갈무리

클라이언트/Android | 2013. 9. 13. 14:21 | Posted by youGom


Fragment 와 activity 차이점 알아보기 위해 검색하다가 찾은 정보.

* Fragment(프래그먼트) for Honeycomb



* 프래그먼트에 대해서



'클라이언트 > Android' 카테고리의 다른 글

termux에서 ubuntu 환경 만들기  (0) 2022.07.01
[Android] UI Code Eaxple  (0) 2015.11.12
Practice Diary  (0) 2014.08.27
[GoogleMap] code Google API 정리  (0) 2013.10.11
[GoogleMap] 개발 관련 이미지 자료  (0) 2013.10.03
: