2016년 10월 28일 금요일

android:process attribute of Android App Manifest

If you want to run a service/receiver on different process on Android, like implementing a never die service, you have to add android:process attribute in App Manifest.

만일 안드로이드에서 절대 죽지 않는 서비스를 구현할 때와 같이, 서비스나 리시버를 별도의 프로세스에서 실행하려면 App Manifest에 다음과 같이 android:process 속성을 추가해야 합니다.

When I googled about never die service, there are many examples like blow.

구글에서 죽지않는 서비스에 대해 검색을 해보면 다음과 같은 예제들이 나옵니다.


That may worked find before but not working at all now.

하지만 전에는 잘 동작했는지 몰라도, 지금은 전혀 동작하지 않습니다.

Also, official Android document have no comment on dot('.') and suggest colon(':') to fork a new process.

또한, 공식 안드로이드 문서를 보면 '.' 에 대한 언급은 없고, 새 프로세스로 구동하려면 ':'을 사용하라고 합니다.


So, you should add android:process attribute like below.

그러므로 android:process 속성은 다음과 같이 추가해야 합니다.


Here's the actual process list of my example app.

제 예제에서의 실제 프로세스의 목록은 다음과 같습니다.


So, please DO NOT post blog or reply with ".remote".

그러니까, 블로그나 댓글에 ".remote" 로 적지 말아주세요.

It's not working.

그건 동작하지 않습니다.

2016년 1월 13일 수요일

AWS has arrived on Seoul

Finally, AWS offers Seoul Region.

No more suffering from horrible latency in South Korea.





Supported instance types are little narrower than Tokyo but price is a bit lower.

< Seoul Region Prices >


<Tokyo Region Prices >