모바일개발(Mobile Dev)187 getActivity() usage when using preference startActivityResult ?!? the best solution to send data from PreferencestartActivityForResult(intent,REQUEST_CODE);ofIntent i = new Intent(i.putExtra("name", "tom"); setResult(RESULT_OK, i); return @Override protected void onActivityResult(int requestCode, int resultCode, Intent Data) { super.onActivityResult(requestCode, resultCode, Data); System.out.println("[DEBUG][onActivityResult] HERE !!!"); CAN NOT RECEIVE THAT D.. 2017. 9. 11. userful information https://material.io/icons/ https://material.io/guidelines/style/color.html#color-color-palette https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=clipart&foreground.clipart=android&foreground.space.trim=1&foreground.space.pad=0.25&foreColor=rgba(96%2C%20125%2C%20139%2C%200)&backColor=rgb(68%2C%20138%2C%20255)&crop=0&backgroundShape=square&effects=none&name=ic_lau.. 2017. 9. 10. android icon guide http://baekhorang.tistory.com/entry/%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C-%EC%95%B1%EB%94%94%EC%9E%90%EC%9D%B8-06-%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C-%EC%95%84%EC%9D%B4%EC%BD%98-%EB%94%94%EC%9E%90%EC%9D%B8-%EA%B0%80%EC%9D%B4%EB%93%9C%EB%9D%BC%EC%9D%B8%ED%8C%81 사용자 인터페이스를 통해 통합된 모양과 느낌을 만드는 것은 당신의 앱(생산물)에 가치를 더하는 역할을 한다.그래픽 스타일을 효율적으로 사용하게 되면 당신 앱 UI가 사용자들에게 훨씬 전문적으로 보이게 만들어 준다... 2017. 9. 10. notification text font color http://www.framentos.com/android-tutorial/2012/02/20/how-to-create-a-custom-notification-on-android/ How to create a custom notification on AndroidPosted on February 20, 2012 by Framentos Developers4In this article, we will explain how is possible to create a custom notification layout to replace the standard one in the notification bar. To do it we need to use the Android object RemoteViews, in.. 2017. 9. 10. memory leak in asynctask https://stackoverflow.com/questions/23594332/android-new-intent-causes-nullpointerexception-in-asynctask up vote1down voteSounds to me like a memory leak. Always use WeakReferences in AsyncTasks when passing a Context or Activity or other such objects to it. Try something like this:public class ExampleAsyncTask extends AsyncTask { private final WeakReference contextReference; public ExampleAsync.. 2017. 9. 10. 제품(Products) 탭 제품(Products) 탭사이트 URL 세부 정보를 팝업에 입력하고 (응용 프로그램 유형을 웹 응용 프로그램으로 설정 한 상태에서) “클라이언트 ID 만들기”버튼을 클릭하십시오. 중요 : 또한 [승인 된 리디렉션 URI] 필드에 다음 URI를 추가해야합니다.예) 실제 운영하시는 웹사이트의 주소에 관련 URL 을 조합하여 기입하시면 됩니다. – 운영중인 웹사이트주소/login/?provider=google – 운영중인 웹사이트주소/account/social/?provider=google – 운영중인웹사이트주소/register/?provider=google 위 단계를 마치면 Google+ API의 클라이언트ID와 Scret Password를 확인할 수 있습니다. 이 두 정보를 [관리자모드 > 회원관리 > 상.. 2017. 9. 2. oAuth의 인증 플로우 oAuth 인증 플로우유저가 google 로그인페이지에 접속한다.caly서버에서 원하는 권한 scope가 설정되어있으며 해당 권한을 요청하는 구글 uri를 반환해준다.유저는 해당 반환되어진 구글 인증 페이지에서 해당 권한울 확인하고 동의하에 허락을 클릭하게 된다.유저의 클릭 순간 구글서버에서 caly 콜백 메소드로 요청이 날라온다.(유저 credentials.)해당 credentials로 유저를 caly서버에 가입시키고, 해당 userToken을 통해 허락된 서비스의 정보를 접근할 수 있게 된다. 2017. 9. 2. Invalid_grant Invalid_grant error has two common causes.Your server’s clock is not in sync with NTP. (Solution: check the server time if its incorrect fix it. )The refresh token limit has been exceeded. (Solution: Nothing you can do they cant have more refresh tokens in use) Applications can request multiple refresh tokens. For example, this is useful in situations where a user wants to install an application.. 2017. 9. 2. how to use file in android assets link : https://stackoverflow.com/questions/30888783/key-p12-open-failed-enoent-no-such-file-or-directory Using AssetManager AssetManager am = getAssets(); InputStream inputStream = am.open("xxxxxxxxxxKey.p12"); File file = createFileFromInputStream(inputStream);As a raw resource , put the file in raw folder inside res directory InputStream ins = getResources().openRawResource(R.raw.keyfile); Fil.. 2017. 9. 2. 이전 1 2 3 4 5 ··· 21 다음