Back to project page PrettyBundle.
The source code is released under:
Apache License
If you think the Android project PrettyBundle listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.tale.prettybundle.sample.services; /*w ww . j a va2s . c o m*/ import android.app.Service; import android.content.Intent; import android.os.IBinder; import com.tale.prettybundle.Extra; import com.tale.prettybundle.PrettyBundle; /** * Created by giang on 2/27/15. */ public class TestPrimaryTypeService extends Service { @Extra int requestId; @Override public IBinder onBind(Intent intent) { return null; } @Override public int onStartCommand(Intent intent, int flags, int startId) { PrettyBundle.inject(this, intent); return super.onStartCommand(intent, flags, startId); } }