Solution: I am using the C++ program as a deamon and using Android LocalSocket to do the IPC between C++ Server and Java client.
On Jan 25, 3:33 pm, Vasudev Sharma <vasu...@azoi.com> wrote: > Hi All, > I have experience working of with Linux platform but I am quiet new to > Android, I need suggestion with the newarchitectureof an existing > application while porting from Linux to Android. > > I have created a custom hardware device and connected to Linux PC. > 1. there is a demon application (written in C++ and acts as server) > which continuously reads from device and provides a shared memory > interface. > 2. I have created a C++ client library which encapsulates the shared > memory call and provides a simplified interface, so that any developer > can use the libraries and do IO with custom hardware. > > As someone with understanding of Android system, how would you design > thearchitecture? > Do you think running the C++ application as demon with socket for IPC > is a good idea? > > my goal is to avoid re-writing code as much as possible and to provide > a new JNI interface to android applications. > > -Vasudev -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en