[android-porting] Where exactly is /data

2010-02-04 Thread Tomei Ningen
I found that writing to /data/dalvik-cache is surprising fast. Also, the more files I write onto /data, the less free RAM I have left. Does this mean /data is RAM-based file system? If so, how does the contents of /data/dalvik-cache persist across phone reboot? Thanks -- unsubscribe: android-po

[android-porting] Takes too long to build libwebcore.so.

2010-04-22 Thread Tomei Ningen
If I just change one line in WebView.cpp and do a mmm external/webkit It takes almost 3 minutes on a fast quad-core Xeon. Most of the time is spent linking libwebcore.so Is there a way to speed up the linking process. This is just for development so I am willing to give up optimization. Than

[android-porting] How does a service know if a client has disconnected

2010-05-11 Thread Tomei Ningen
Hi, I need to implement a new service inside system service. I would like it to work similar to the window manager -- a client would connect to my service and create a "thing" (e.g., a window). When the client disconnects (e.g., if its process gets killed), I need to delete this "thing". How do I