본문 바로가기
[android] Google Play Service: Nearby Connections API [android] Google Play Service: Nearby Connections API https://code.tutsplus.com/tutorials/google-play-services-using-the-nearby-connections-api--cms-24534 -Google Play Service(이하 G.P.S) 에 있는 Nearby Connections API 를 이용하면,LAN ( Local Area Network ) 를 이용해 App 을 host 로 작동시키면서 여러개의 device 를 해당 host 에 연결시킬 수 있다. Use case 는 phone 을 android TV 에 연결해서 control 을 한다던지, Multi user 를 연결해서 game 을 한다던지 할 수 있겠.. 2019. 1. 28.
[Android] SMS Retriever API - SMS 권한 없이 인증번호 읽어오기! [Android] SMS Retriever API - SMS 권한 없이 인증번호 읽어오기! https://developers.google.com/identity/sms-retriever/ -SMS Retriever API 를 사용하면 SMS Permission 이 없어도 인증번호를 읽어올 수 있다.덧붙여 SMS Retriever API 는 SMS Verification 에 대한 녀석으로 권한 없이 “PhoneNumber” 까지도 얻어올 수 있다.그러나 예상했겠지만, 아무것도 하지 않고 그냥 읽어올 수 있는 것은 아니다. 우선 SMS 정보 읽어오기의 Key Idea 는.. Server 에서 인증코드를 내려줄 때 특정 Hash 값을 함께 내려주고, ( app 의 package name 과 sign key 조.. 2019. 1. 18.
[android] Google Sign In 준비하기 #1 [android] Google Sign In 준비하기 #1 https://developers.google.com/identity/sign-in/android/start-integrating -Google Sign-In 을 사용하기 위해서는 아래와 같은 조건이 필요하다. 단말 Android 2.3 이상 & Google Play Store 개발환경 최신버전의 Android SDK Android 2.3 이상 Google Play Services 설치 ( sdk manager 통해 ) -아래 명령을 통해 keystore 의 SHA1 추출keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore -https://de.. 2018. 2. 22.
[android] Firebase JobDispatcher 문제.. (Job 미실행) [android] Firebase JobDispatcher 문제.. (Job 미실행) - 글을 쓰는 현재 시점 Firebase JobDispatcher ( 이하 FJD ) 는 0.8.5 version - 현재 발생하는 문제는 N 미만 버전 ( not including N ) Google Play Service(이하 GPS) 가 최신버전이 아니면 제대로 동작하지 않는다. 현재 가장 최신 버전 GPS 11.7.44 에서는 제대로 동작하지만.. 심지어 17.05.18 release 된 11.0.47 에서는 Schedule 한 job 이 불리지 않는다… 심각하다.. - JobScheduler 자체는 LOS 부터 사용이 가능하기 때문에, L 미만에서는 Service + Broadcast + AlarmManager.. 2017. 12. 5.
[android] Google Play Service 는 나쁜놈이었다. Google Play Service 는 나쁜놈이었다. Google Play Service 가 현재( 2015-09-12 기준 ) 7.x 버전까지 나왔다. 그런데 이 구글 플레이 서비스가 5.0 ~ 6.5 미만까지는 골치덩어리였다. 여러가지 기능들이 추가되어 편리하게 구글이 제공하는 기능, 서비스들을 제공받는 것은 좋았지만,dex 파일의 method 갯수 제약 측면에서 노답인 상황이었다. 한 dex 파일은 65k 개의 method 만 가질 수 있는데, Google Play Service 5.0 버전에서는 이 녀석 혼자 20k 이상의 method 를 가지고 있다. 그래서 구글 플레이 서비스 library 를 사용하면서다른 3rd party library 를 사용하면method limit 에 걸려 문제가 될 .. 2015. 9. 16.
Google Play Service 의 Location 에 대한 util 성 library Google Play Service 의 Location 에 대한 util 성 library https://github.com/mcharmas/Android-ReactiveLocation Google Play Service 의 Location 에 대한 util 성 library.항상 Google Play Service 를 사용할 때 귀찮았는데, 이것이 있으면 편할듯 싶다. Android, google play service, Google Play Service 의 Location 에 대한 util 성 library, GPS, Location, open source library, Util 2014. 5. 27.
Admob 의 standalone sdk 가 deprecated 된다? Admob 의 standalone sdk 가 deprecated 된다? Admob 의 standalone sdk 가 deprecated 된다는 이야기를 들었다. 그럼 지금까지 앱 퍼블리쉬하고 유지보수 안 하는 사람들은 어떻게 하는가?Google Play Service 로 통합하지 않으면 모든 standalone sdk 를 사용한 앱들은 광고부분에서 먹통이 되는가 궁금했다. 그래서 공식사이트를 열심히 살펴보았다. standalone sdk 를 deprecated 시키는 이유는 google play 의 정책에 위배된다고 하는데.사실 한곳에서 지속적 유지보수를 하기 위해 + Google 의 여러가지 서비스를 사용하게 하기 위해서 Google Play Service 를 사용하게 하려는 수작(?) 이다. 2011.. 2014. 4. 28.
[android] java.lang.NoSuchMethodError: java.io.IOException.<init> - com.google.android.gms.internal [android] java.lang.NoSuchMethodError: java.io.IOException. - com.google.android.gms.internal java.lang.NoSuchMethodError: java.io.IOException. at com.google.android.gms.internal.g.f() at com.google.android.gms.internal.g.b() at com.google.android.gms.internal.e.a() at com.google.android.gms.internal.e.a() at com.google.android.gms.internal.bq.a() at com.google.android.gms.internal.cg$1.run() at.. 2014. 2. 20.
java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 4030500 but found 0. You must have the following declaration within the <application> element: <meta-data android:name="co.. java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 4030500 but found 0. You must have the following declaration within the element: 2013. 11. 14.
반응형