开发者

How to send and receive an object from PC to an Android Device

开发者 https://www.devze.com 2023-02-01 02:23 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消