2008-01-30 12:43:08

by Pierre-Emmanuel DUBREUIL

[permalink] [raw]
Subject: [Bluez-users] BlueZ : to send pictures from a Java software

Hello.

I am implementing a software (now in Java, but I am ready to change the
language if it is requested), using USB bluetooth dongles to send JPG files
to the remote devices.
To do that, I am using the Linux command line "gnome-obex-send --dest
......".
But I have 2 problems :
1/ I cannot choose the dongle that will be used to send the picture
2/ if the sending fails (remote device is absent or doesn't support that
protocol), the process is blocked, waiting that someone clicks on the window
about the failure.

So, would you have any idea to help me, please ?

Thank you.


Pierre-Emmanuel DUBREUIL

_____________________________________________
Engineering student of Informatics
Informatics Research Institute (IRI)- Newcastle University
Computing Science - Université de Technologie de Compiègne (UTC)
Mobile : +44 (0)792 0035 191 / +33 (0)6 21 20 36 19
Fax : +33 (0)8 21 48 29 37


Attachments:
(No filename) (895.00 B)
(No filename) (1.08 kB)
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments

2008-01-30 13:57:47

by Miguel

[permalink] [raw]
Subject: Re: [Bluez-devel] [Bluez-users] BlueZ : to send pictures from a Java software

Avetana is the java implementation that people usually use. You can try
it. An example is also given.

good luck
M



On Wed, 2008-01-30 at 12:43 +0000, Pierre-Emmanuel DUBREUIL wrote:
> Hello.
>
> I am implementing a software (now in Java, but I am ready to change
> the language if it is requested), using USB bluetooth dongles to send
> JPG files to the remote devices.
> To do that, I am using the Linux command line "gnome-obex-send
> --dest ......".
> But I have 2 problems :
> 1/ I cannot choose the dongle that will be used to send the picture
> 2/ if the sending fails (remote device is absent or doesn't support
> that protocol), the process is blocked, waiting that someone clicks on
> the window about the failure.
>
> So, would you have any idea to help me, please ?
>
> Thank you.
>
>
> Pierre-Emmanuel DUBREUIL
>
> _____________________________________________
> Engineering student of Informatics
> Informatics Research Institute (IRI)- Newcastle University
> Computing Science - Université de Technologie de Compiègne (UTC)
> Mobile : +44 (0)792 0035 191 / +33 (0)6 21 20 36 19
> Fax : +33 (0)8 21 48 29 37
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users


Attachments:
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments

2008-02-05 18:37:14

by Pierre-Emmanuel DUBREUIL

[permalink] [raw]
Subject: Re: [Bluez-devel] [Bluez-users] BlueZ : to send pictures from a Java software

Thank you for the answer and sorry for the delay...
I read some documentation about Avetana, and I discovered 2 problems :

- Avetana is not free
- "The JSR82 Specification allows to work only with one Local Device"

And I need to use several local devices, to have a faster detection.

PE


On 30/01/2008, Miguel <[email protected]> wrote:
>
> Avetana is the java implementation that people usually use. You can try
> it. An example is also given.
>
> good luck
> M
>
>
>
> On Wed, 2008-01-30 at 12:43 +0000, Pierre-Emmanuel DUBREUIL wrote:
>
> Hello.
>
> I am implementing a software (now in Java, but I am ready to change the
> language if it is requested), using USB bluetooth dongles to send JPG files
> to the remote devices.
> To do that, I am using the Linux command line "gnome-obex-send --dest
> ......".
> But I have 2 problems :
> 1/ I cannot choose the dongle that will be used to send the picture
> 2/ if the sending fails (remote device is absent or doesn't support that
> protocol), the process is blocked, waiting that someone clicks on the window
> about the failure.
>
>
> So, would you have any idea to help me, please ?
>
>
>
> Thank you.
>
>
>
>
> Pierre-Emmanuel DUBREUIL
>
> _____________________________________________
> Engineering student of Informatics
> Informatics Research Institute (IRI)- Newcastle University
> Computing Science - Université de Technologie de Compiègne (UTC)
> Mobile : +44 (0)792 0035 191 / +33 (0)6 21 20 36 19
> Fax : +33 (0)8 21 48 29 37
>
> -------------------------------------------------------------------------This SF.net email is sponsored by: MicrosoftDefy all challenges. Microsoft(R) Visual Studio 2008.http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>


--

_____________________________________________
Pierre-Emmanuel DUBREUIL
Engineering student of Informatics
Computing Science - Université de Technologie de Compiègne (UTC)
Informatics Research Institute (IRI)- Newcastle University
Mobile : +44 (0)792 0035 191 / +33 (0)6 21 20 36 19
Fax : +33 (0)8 21 48 29 37
Skype : pedubreuil


Attachments:
(No filename) (2.58 kB)
(No filename) (4.85 kB)
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments