Can you share me the project git hub link I'll try to simulate this. Suho
On Tue, Dec 1, 2015 at 2:41 PM, Janitha Samarasinghe <[email protected]> wrote: > Hi, > > I attempted to run Siddhi 3.0.4 on Android. But encountered the following > problems: > > 1. Gradle build fails due to duplicate files in META-INF folder in the > jars: > 1. siddhi-core-3.0.4-SNAPSHOT.jar > 2. siddhi-query-api-3.0.4-SNAPSHOT.jar > 3. siddhi-query-compiler-3.0.4-SNAPSHOT.jar > - *By deleting the files NOTICE, LICENSE and DEPENDENCIES files > located in the META-INF floder in all but one of the .jars, the build > was a > success.* > 2. Once built, the Android application cannot run any of the samples > as it freezes while logging: > - E/File: fail readDirectory() errno=13 > - The permissions to read and write from and to external storage > have been given in AndroidManifest.xml as: > > <uses-permission > android:name="android.permission.READ_EXTERNAL_STORAGE" /> > > <uses-permission > android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> > > > > > On Fri, Nov 27, 2015 at 1:53 PM, Sriskandarajah Suhothayan <[email protected]> > wrote: > >> Were you able to run Siddhi 3.0 in Android. >> Try that and escalate the issues ASAP >> >> Suho >> >> On Fri, Nov 27, 2015 at 12:27 PM, Janitha Samarasinghe <[email protected]> >> wrote: >> >>> 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 >>> >> >> >> >> -- >> >> *S. Suhothayan* >> Technical Lead & Team Lead of WSO2 Complex Event Processor >> *WSO2 Inc. *http://wso2.com >> * <http://wso2.com/>* >> lean . enterprise . middleware >> >> >> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog: >> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter: >> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in: >> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>* >> > > > > -- > Janitha Samarasinghe > Intern Software Engineer > WSO2 Inc: http://wso2.com > phone: +94716517331 > -- *S. Suhothayan* Technical Lead & Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * <http://wso2.com/>* lean . enterprise . middleware *cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter: http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in: http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
