none
Windows Application RRS feed

  • Question

  • I have created a desktop app. in C# . It connects to the Android phone through the SDK provided by Android.

    I can only connect via USB .  There is no wifi ,, no data plan.

    The SDK(command line tool) has a pull command to pull files off the phone to the desktop. I do not find any features in the pull command to append to the file created on the desktop.

    How can I achieve copying multiple files contents into one ..that is append the new file records to the old one on the desktop ? 

    The pull command just copies it to the desktop. I cannot create a buffer to it .

    Right now after copying the file i copy the first file into another files on the same desktop and then over write the first one while merging takes place during copying.

    Thanks.



    usher A

    Monday, June 24, 2019 3:58 PM

All replies

  • I think it's always going to be file-at-a-time.  The access methods are intentionally limited.

    You should be able to mount the device on Windows, then get at the files through Explorer.  Or, you could go through Bluetooth, but again I think you're going to find it is file-at-a-time.

    https://www.wikihow.tech/Access-Your-Android-from-Your-PC


    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Monday, June 24, 2019 5:07 PM
  • Hi usher227,

    Thank you for posting here.

    Since this thread is related to Android phone, I suggest that you could post it in the following forum.

    https://forums.xamarin.com/categories/android

    The Visual C# forum discusses and asks questions about the C# programming language, IDE, libraries, samples, and tools.

    Note:This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, June 25, 2019 6:04 AM