Pass data from SystemService to APP layer

22 views
Skip to first unread message

SSI

unread,
Sep 16, 2014, 5:48:25 AM9/16/14
to android...@googlegroups.com
Hello,

  1.  In my android project I created Service for my module using SystemService.java located in   
  
        "frameworks/base/services/java/com/android/server" I registered my service in SystemServce this service is triggered by android system. 

2.   For module I created  a manager class in framework/base/core/java/android/MyManager.java.

     Now my problem is pass a data from Service to App layer through a MyManager.java . How to pass data?. I am trying to send data using sendBroadcast API, but it is throwing error saying  sendBroadcast not found.

     Can anyone help me solve this problem.

Thanks

Reply all
Reply to author
Forward
0 new messages