.NET Components for Mobility

Handling File Notification

Last post 01-03-2007 8:31 AM by faltumk. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 12-27-2006 9:39 AM

    Handling File Notification

    Hi,

    I use ObexPushVB to send file to another PDA. On the recepient PDA, i want to trap the notification message that says

    "Receiving Data - Do you want to accept <fileName.Ext>"

    How can I trap this notification? Basically I want to take control of the file being sent and copy to a particular folder, instead of the default "My Documents" folder.

    I would like to have an application running on this PDA that will then play with the file.

    Thanks

     

     

    MK
    Filed under: , ,
  • 01-02-2007 7:37 AM In reply to

    Re: Handling File Notification

    Hi,

     

     This is Parthu, from India.

        Happy New Year..

        I am also facing this problem. I develop a Mobile application for receiving files from bluetoth. But when i receive any messages, apart from the application PDA takes controls over the receiving messages.

         If u find any answer plz. let me know.

         My personal Email Id : parthasarathi.goluguri@gmail.com

     

    Regards,

    Parthu.
     

      

     



    Thanks & Regards
    Parthu
  • 01-02-2007 10:53 AM In reply to

    Re: Handling File Notification

    Do we assume that by "PDA" you mean "PDA running some form of Windows CE", because you say "the default "My Documents" folder."?  My my PalmOS PDA have no such folder for instance…

    I don't know if there is any way to control the behaviour of the built-in OBEX server on CE to do what you want.  Maybe some expert on that platform can tell us if there is.  Otherwise you can disable it and use the implementation provided in the library instead, see class ObexListener.

    Alan J. McFarlane
    http://www.alanjmcf.me.uk/
    Please follow-up in the newsgroup for the benefit of all.
    Have I helped? Consider visiting my Amazon wishlist, see my homepage.
  • 01-02-2007 8:30 PM In reply to

    Re: Handling File Notification

    If it's only a matter of setting your target folder for incoming files, then I suggest you upgrade to windows mobile 2005 AKU3.2 or above. AKU3.2, AKU3.3, and AKU3.5 all have the option of setting your own incoming target folder.

     If you'd like to intercept all incoming files and process them automatically then I would suggest you use the obexlistiner object in the 32feet.net bluetooth library. The ObexListiner object would listen to incoming requests, save the incoming file to a predetermined folder, and then carry out a certain process that would involve that specific file.

    TANworks™ 2006
  • 01-03-2007 4:06 AM In reply to

    Re: Handling File Notification

    My PDA is Dell Axim x51, running on WM 5.0 - (5.1.1702), and it has My Documents as default folder for all file transfers.

    1. How can I change this folder- this question is now as a curiosity, as i believe that obexListener can resolve my problem ?

    2. Can I have sample code for ObexListener ?

    I used the DeviceListener sample application - Received Error

    InTheHand.ObexUri' does not contain a definition for 'UnescapeDataString' 

    3. Does ObjectPushVB (sender) and DeviceListener (receiver) application work with each other ? 

    Thanks

     

    MK
    Filed under: , , , ,
  • 01-03-2007 8:12 AM In reply to

    Re: Handling File Notification

    Hi,

      My problem in not to save the file, before that. That is i am not able to receive the message/file from the application developed by me using BluetoothListener. Apart from my application the PDA receives the message and stores it. But, i want to receive the message/file from the application, which runs continuously using threading.

     

    Byee
     



    Thanks & Regards
    Parthu
  • 01-03-2007 8:31 AM In reply to

    Re: Handling File Notification

    My original requirement is to let my application (C#) send files/folders from one PDA to another PDA at a desried location.

    Environment : Dell Axim x51 PDA's running on WM 5.0, .NET CF 2.0 

     Parthu, can you clearly specify your requirement.

     

    MK
Page 1 of 1 (7 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.