[android-developers] Re: mount sd card
Best would probably be to have your application put some data in a known place on the card and then have your desktop application check for that. You can probably also find the vendor and product ID's of the USB device that is exporting the mass storage and see if that matches a known android phone, though you would have to update your application every time a new one is released. Maybe there is something in the mass storage volume information or usb device descriptors which can identify it as android. Personally I think the mass storage mode is generally a bad idea, and should be avoided, as it gives the desktop computer too much opportunity to make a mess of things. The card should really belong to the phone... what are needed are more portable means of programprogram communication with the desktop. I generally use adb commands to get things on and off of it rather than mass storage mounting, though the current implementation of that is more developer targeted than end user friendly. On Sep 15, 11:13 am, manigault manig...@gmail.com wrote: I am trying to write a desktop client to synchronize data with my android app. When i mount the sd card how can i find is this is android sd card and how to check if given application is installed of the phone ( by de desktop client). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: mount sd card
You could write a client/server app. The server run's on your phone and informs the client when to mount the sdcard. Also the server informs were to find the data you want to share. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 15, 8:13 am, manigault manig...@gmail.com wrote: I am trying to write a desktop client to synchronize data with my android app. When i mount the sd card how can i find is this is android sd card and how to check if given application is installed of the phone ( by de desktop client). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: mount sd card
On Sep 15, 6:25 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You could write a client/server app. The server run's on your phone and informs the client when to mount the sdcard. Also the server informs were to find the data you want to share. On an average consumer's phone and computer (ie, usb debugging not on, no sdk installed on pc) is there a recommended or even available communication channel to do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: mount sd card
As long as Bluetooth API support is limited the communication channel would be Wifi. Of course ip support over UDP would be another option but this requires platform changes. Chris as you pointed out in your post, whatever people are trying to implement to sync data over usb, it will be a hacked solution with many concerns. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 15, 4:42 pm, Chris Stratton cs07...@gmail.com wrote: On Sep 15, 6:25 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You could write a client/server app. The server run's on your phone and informs the client when to mount the sdcard. Also the server informs were to find the data you want to share. On an average consumer's phone and computer (ie, usb debugging not on, no sdk installed on pc) is there a recommended or even available communication channel to do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---