Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,293 Members 38,882 Now Online
XDA Developers Android and Mobile Development Forum

Implementing syslog for Android application

Tip us?
 
alwaysnative
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 1
Join Date: Feb 2014
Default Implementing syslog for Android application

I'm going to develop a native syslog client on Android 4.3.

I have two applications which needs to be able to print syslog messages to a file and/or a syslog server.

I'm wondering what the best approach would be so the reason for my post here is to get some inspiration and advice.

I would like to keep everything in native code and then expose some methods to the Java level via JNI.

It would be great if the two applications I have could send syslog messages to the same native syslog instance, but I'm not sure how that would be done and what the approach would be? Is it possible to deploy native code as a service which can be used by different apps?

Or should I just implement some syslog code in C/C++ and then let that code be compiled in with each application?

Any thoughts, ideas and/or advice?

Thanks.
 
mgdes
Old
#2  
mgdes's Avatar
Member
Thanks Meter 2
Posts: 30
Join Date: Jan 2011
Location: ACCOLAY
Thank you very much for your help putting very valuable !
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes