Is it possible from Android device to access a local pc?

by Michael Leung » Fri, 24 Jul 2009 05:25:19 GMT


Sponsored Links
 USB.
But whether sdk model allows the phone to access the resources in the my pc.



On Thu, Jul 23, 2009 at 11:47 PM, Sean Hodges






-- 
Regards,
Michael Leung
 http://www.itblogs.info 
 http://www.michaelleung.info 

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to work with ContactsContract.Contacts.CONTENT_VCARD_URI

I can successfully retrieve a  FileInputStream with this uri
as follows

        Uri myPerson = Uri.withAppendedPath
(ContactsContract.Contacts.CONTENT_VCARD_URI, iLookKey);
        AssetFileDescriptor afd =this.getContentResolver
().openAssetFileDescriptor(myPerson, "r");


        FileInputStream fis = afd.createInputStream();


However, when I wanna input a vcard to change the content of a
contact
as follows

        Uri myPerson = Uri.withAppendedPath
(ContactsContract.Contacts.CONTENT_VCARD_URI, iLookKey);
        AssetFileDescriptor afd =       this.getContentResolver
().openAssetFileDescriptor(myPerson, "w");
FileOutputStream fos = afd.createOutputStream();

IOException is caught in the line of "FileOutputStream fos =
afd.createOutputStream();".
and it said that "unable to seek"

I believe that that's no problem about Lookup key .
Could anyone tell me what's wrong with the exception caught???
I need to restore some vcard in codes yet I dun wanna breakdown the
content of vcard by categorys.
Thank You~~

-- 

2. motally analytics for Android

Is anyone using motally for analytics?

If yes - did you experience any problems? I am just wondering how are
they since I want to try them out.


Thanks,
Max.

-- 

3. Informed Build Targeting, what information is out there?

4. Kepikiran

5. Setting permissions on radio (chmod /dev/ttyUSB1) in init.rc

6. HTC Bravo

7. how to know type of the device