[JAVA] Foreground Service, send Intent object and thread
*Foreground Service를 동작하면서 Thread를 돌리고 Foregroudn Service를 동작할때 Intent에 Intent Object를 전달하는 방법 *MainActivity Intent getIntent = getIntent(); testSerializable testSerializable = (com.example.myapplication.testSerializable) getIntent.getSerializableExtra("userIntent"); if(testSerializable != null){ Log.d(TAG, "NUM : " + testSerializable.getNum()); }else{ Log.d(TAG,"userObject Null"); } 1. getInten..
2021.02.20