I want to communicate with an APP in android device using socket. We will send and receive many parcel objects. App will get some system information and it will be easier using parcel. So I have to do more things to parse parcel object...
I can use python or java or jython. But there are no tools to parse parcel.
I want to use Parcel class in android by android.jar, but Exception in thread “main” java.lang.RuntimeException: Stub
, Because android.jar cant use in standalone project.
I try Robolectric, But Parcel need native write and read.
I get libandroid_runtime.so and load it, wrong ELF class: ELFCLASS32
(I work in 64bit ubuntu)...
Except transplant android code to host, are there other methods? Thanks!