nachovall
Posts: 17
Joined: Mon Aug 18, 2008 9:31 pm

Progress whne I recive the file

Thu Aug 28, 2008 4:15 pm

Hi all

I'm using the example of the extendedService to recive files. When I send a file (when other application) I have the event

private void m_objectPush_PutFileProgress(object sender, ObexEventArgs eventArgs)

In this event I set the value of the progress bar. But the service who recive the file has no event to set the value of the progress.

How can I do this?

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Progress whne I recive the file

Thu Aug 28, 2008 4:39 pm

If the service doesn't have the event you have to add it yourself!
The source code is available here: http://www.franson.com/bluetools/download.asp?platform=net

Regards,
Jonas

sgurram
Posts: 2
Joined: Mon Oct 06, 2008 8:57 pm

RE: Progress whne I recive the file

Tue Oct 07, 2008 8:50 pm

can you provide any sample code to add event to receive progress of the file transfer?

Thanks

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Progress whne I recive the file

Tue Oct 07, 2008 9:11 pm

The only samples that are available are already in the SDK. Sorry.

Regards,
Jonas

Return to “BlueTools”