Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void onStart(Intent intent, int startId) {
- super.onStart(intent, startId);
- Toast.makeText(this, "Service Started...", Toast.LENGTH_LONG).show();
- Log.i(tag, "Service started...");
- Handler handler = new Handler();
- handler.postDelayed(new Runnable() {
- public void run() {
- Log.i(tag, "Post Delayed Function");
- }
- }, 2000);
- }
Add Comment
Please, Sign In to add comment