Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Implementing syslog for Android application

OP alwaysnative

5th February 2014, 10:48 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Feb 2014
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.
16th February 2014, 06:37 PM   |  #2  
mgdes's Avatar
Member
Flag ACCOLAY
Thanks Meter: 4
 
36 posts
Join Date:Joined: Jan 2011
More
Thumbs up
Thank you very much for your help putting very valuable !
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes