You Are Here:

Community: Developer Discussion Boards

#1 Old Sending text,images and vidoe files to mobiles - 2006-10-08, 01:20

Join Date: Oct 2006
Posts: 59
alam.sher
Offline
Regular Contributor
Hello All!

I just want to confirm that is this scenario possible.

I want to discover devices in the vicinity of my PC using a bluetoth dongle.
After discovering them i would like to send them files over bluetooth using a dongle from my desktop app without having any J2Me client on the mobile phone. I want to use Obex File Transfer service for that.

Any sample codes or help would be highly appreciated. Pleaseeeeeeeeee contact me as soon as possible i am in a great trouble.

Regards,
Alam Sher
Reply With Quote

#2 Old Re: Sending text,images and vidoe files to mobiles - 2006-10-08, 12:34

Join Date: Oct 2006
Posts: 59
alam.sher
Offline
Regular Contributor
For God Sake someone please help me out.
Pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee, its too urgent.
Reply With Quote

#3 Old Re: Sending text,images and vidoe files to mobiles - 2006-10-10, 20:04

Join Date: Dec 2005
Posts: 1,159
Location: England,UK
jimgilmour1's Avatar
jimgilmour1
Offline
Forum Nokia Champion
Hi,
I wrote the Java server code at

http://discussion.forum.nokia.com/fo...highlight=obex

The server is in Java 2 and uses Bluecove XP http://bluecove.sourceforge.net/

and avetena http://sourceforge.net/projects/avetanabt/

The OBEX Client is in this thread
http://discussion.forum.nokia.com/fo...light=FTClient

Jim
Last edited by jimgilmour1 : 2006-10-10 at 20:27.
Reply With Quote

#4 Old Unhappy Re: Sending text,images and vidoe files to mobiles - 2006-10-12, 01:24

Join Date: Oct 2006
Posts: 59
alam.sher
Offline
Regular Contributor
Well i have visited these links, thankyou very much. But i was already using these codes.

My problem is i dont want a clinet server in the sense that my PC should detect the mobile phones and then send them the files without needing a Midlet client on the mobile.

Well for that purpose i am using the code like FTClient i found that on vietcovo bluetooth form.

Now everything is fiine with that code. I can discover the service with UUID 1106 and 1105. I get the device address and then open socket to it.

Mobile phone receives the file transfer request and when it accepts it. My application crachses by giving me the exception (connection not accepted c0).

Well i cant figure it whats going wrong with it. Please guide me in this regard,

I am using bluecove and aventaObex packages to gain the desired results.

Another problem is i have to authenticate eachtime a request is sent to client modile with a challenge value. How can i skip this authenticatoin.

Here i am pasting the code which actually is used to connect to the client mobile and throws exception.

String adrProto = "btgoep://" + mobileaddress + ":9";
ClientSession cs = (ClientSession) OBEXConnector.open(adrProto);
System.out.println("opening");
HeaderSet hs = cs.createHeaderSet();
hs = cs.connect(hs);
System.out.println("created header set");


Now the exception is thrown at this line [hs = cs.connect(hs);]

Please please please please help me.

Regards,
Alam Sher
Reply With Quote

#5 Old Re: Sending text,images and vidoe files to mobiles - 2006-10-12, 23:00

Join Date: Oct 2006
Posts: 59
alam.sher
Offline
Regular Contributor
Well i am not requesting but begging for help. I have to finish some tasks very urgently regarding the application that i have explained in the first message of this topic.

Please tell me if even dont have any solution to this, any useful resources, books or paid service. So that i can even pay for help in this regard.

I cant wait now please please please for God sake help me...

Regards,
Alam Sher
Reply With Quote

#6 Old Re: Sending text,images and vidoe files to mobiles - 2006-10-13, 08:40

Join Date: Oct 2006
Posts: 12
stm
Offline
Registered User
Hello,

You want your application in Java?
If not simply go to tinyapps.info download the evulation and run the FTP sample.

Hope this helps
Reply With Quote

#7 Old Re: Sending text,images and vidoe files to mobiles - 2006-10-13, 18:38

Join Date: Oct 2006
Posts: 59
alam.sher
Offline
Regular Contributor
Well i really appreciate ur comments, atleast u responded me. But to make it clear i need this system to be built using Java.

Please help me if u or anyone has any information regarding the issues i have discussed here.

Regards,
Alam Sher
Reply With Quote

#8 Old Re: Sending text,images and vidoe files to mobiles - 2006-10-18, 04:25

Join Date: Oct 2004
Posts: 16
j2me_bluetooth
Offline
Registered User
Quote:
Originally Posted by alam.sher
Hello All!

I just want to confirm that is this scenario possible.

I want to discover devices in the vicinity of my PC using a bluetoth dongle.
After discovering them i would like to send them files over bluetooth using a dongle from my desktop app without having any J2Me client on the mobile phone. I want to use Obex File Transfer service for that.

Any sample codes or help would be highly appreciated. Pleaseeeeeeeeee contact me as soon as possible i am in a great trouble.

Regards,
Alam Sher
Please check http://vietcovo.sf.net to download Obex transfer file . Discuss problem at http://forum.vietcovo.com
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia