본문 바로가기

Library

[Android] GCM 3.0 서버 라이브러리 공유 GCM 3.0 library : https://github.com/google/gcm Doze 모드에서 Push를 High 권한으로 줄 경우, 알림이 오는 것을 확인 했네요. 참고하세요. 더보기
[Android] Android volley master library log disable Android Volley Master Library 사용시, 안정적이고 참 좋은 라이브러리다!! git : https://github.com/mcxiaoke/android-volley 하지만 웹서비스에 보내는 request 정보가 그대로 로그로 찍히게 되어,서비스시 아주 큰 보안 이슈가 됩니다.이래서, Log를 Disable 시키는 방법을 열심히 구글링 했지만 딸랑... VolleyLog.DEBUG = false;위와 같이 해도.. 로그는 계속 찍히고 이를 어찌할지 고민하다가 결국!! 라이브러리 소스를 직접 받아 수정하도록 하였습니다. ## 수정 방법1. VolleyLog 클래스 변경 DEBUG flag 변수를 false로 할당public static boolean DEBUG = false; 안전을 위.. 더보기
[Android] java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList.... 혹시, 프로젝트를 진행하다가 Jni library를 추가 하거나, 빌드된 Library를 추가 했을 경우 아래와 같은 에러가 발생할 수도 있다. java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/package-1/base.apk"],nativeLibraryDirectories=[/data/app/package-1/lib/arm64, /data/app/package-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libjni-armeabi.so" 위와 같은 에러 발생하면 아래와 같이 수정해보세요. ## 수.. 더보기
[Android] Font Library 디폴트 폰트를 바꾸기에 좋은 Library가 있어 공유하고자 합니다. https://github.com/tsengvn/typekit 1. main/assets 폴더 를 만든 후, 해당 폴더에 ttf나 otf 같은 폰트 파일을 복사 합니다. Typekit is a library that help you quick change default font of your android application. You don't need to add any custom view or tag to your current xml layout file. You make a quick config in your application class and change the font that you need specific for.. 더보기
[Android] GifView Local Gif 파일을 실행하는데 좋은 라이브러리가 있어서 공유하고자 합니다. https://github.com/koral--/android-gif-drawable-eclipse-sample try { GifDrawable gifDrawable = new GifDrawable(getResources(), R.drawable.giffile); mEmoticon.setImageDrawable(gifDrawable); } catch (Resources.NotFoundException e) { // TODO Auto-generated catch block if (RingQConfig.DEBUG) e.printStackTrace(); } catch (IOException e) { // TODO Auto-gene.. 더보기
[Apache] Http 관련 라이브러리 사용시 주의사항!! Httpmime 라이브러리나 Apache 라이브러리를 사용할 때, Dependency 하는 라이브러리 들이 있습니다. 해당 라이브러리를 추가하지 않으면 실행 중 갑자기 클래스가 존재 하지 않다거나 어떻게 할 수 없는 오류가 발생 한다. 특히 아래와 같은... NoClassDefFoundError: Failed resolution of: Lorg/apache/http/xxx 아래 화면에서 빨간 네모 부분만 보아라. ## httpmime-4.3.5http://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime/4.3.5 ## httpclient-4.3.5http://mvnrepository.com/artifact/org.apache.httpcompo.. 더보기
[Android] 디자인 관련 괜찮은 사이트 구글에서 롤리팝 부터 Material Design을 경향해서 많은 API를 만들 었죠.조사 중 Material Design에 대해 소개한 좋은 사이트 들이 있어서 공유하고자 글을 올립니다. 구글 Material Design 소개 사이트 : http://www.google.com/design/spec/material-design/introduction.html#introduction-goalsMaterial Design 3분만에 살펴보기 : http://www.slideshare.net/watchncompass/3-material-design안드로이드 앱을 위한 머티리얼 디자인 체크리스트 : http://googledevkr.blogspot.kr/2014/10/material-design-on-androi.. 더보기
[Android] ButterKnife Library 소개 http://blog.teamtreehouse.com/android-libraries-use-every-project ButterKnifeOn to my favorite libraries! Let’s start with a test: which of these do you like better?protected TextView mWelcomeLabel; protected EditText mUsernameField; protected EditText mPasswordField; protected Button mSubmitButton; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState).. 더보기