Hi all,

The way in which the existing Android EdgeAnalyticsService is implemented
is not structured as an Android system service. We are currently
re-structuring it to be usable just as an Android system service. This is
what getting the service on a client would look like once completed:


   1. public class MainActivity extends WSO2Activity {
   2.
   3.     EdgeAnalyticsService edgeAnalyticsService;
   4.
   5.     @Override
   6.     protected void onCreate(Bundle savedInstanceState) {
   7.         super.onCreate(savedInstanceState);
   8.         setContentView(R.layout.activity_main);
   9.
   10.         edgeAnalyticsService = (EdgeAnalyticsService) getWSO2Service(
   WSO2Context.EDGE_ANALYTICS_SERVICE);
   11.     }
   12.     ...


Currently we are creating interfaces in order to establish communication
between the service and the clients

Thanks and Regards,
-- 
Janitha Samarasinghe
Intern Software Engineer
WSO2 Inc: http://wso2.com
phone: +94716517331
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to