How to send and receive an object from PC to an Android Device
I am getting trouble in sending and receiving an objects From Pc to An Android device.
I tried using ObjectInputStream
, but I wasn't able to get it t开发者_JS百科o work.
Any suggestions?
The following example shows how to copy a file from PC to android.
http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/
See copyDataBase() . In this example, the user is copying a db file (not database per se) to android as a file. So same trick should work for you.
Make sure you are copying content to your package
精彩评论