Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Reply
New Contributor
Posts: 3
Registered: ‎04-05-2010
My Device: pearl
My Carrier: pouch

How to execute Socketdemo program ?

[ Edited ]

Hello friends,

I'm using RIM simulator  v4.7.0

Please, can anyone tell me how to execute the socket demo program ?

What should I give the input & what is the expected output ?

New Contributor
Posts: 3
Registered: ‎04-05-2010
My Device: pearl
My Carrier: pouch

Re: How to execute Socketdemo program ?

Anyone please help me out...

I'm not able to go further Smiley Sad

 

Atleast tell, what should I give the input ?

BlackBerry Development Advisor
Posts: 15,264
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: How to execute Socketdemo program ?

Note that there are 2 parts to the socketdemo.  There is a BlackBerry smartphone side application and a PC side application.  You'll need to run both applications, which communicate with one another.  The PC side application is located in the Eclipse\plugins\net.rim.ejde.componentpack#.#.#_#.#.#.##\components\samples\com\rim\samples\server\socketdemo directory.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Super Contributor
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT

Re: How to execute Socketdemo program ?

How to execute the program??

 

D:\eclipse-SDK-3.6.2-win32\eclipse\plugins\net.rim.ejde.componentpack7.0.0_7.0.0.33\components\samples\com\rim\samples\server\socketdemo

-Fight with BB10
Super Contributor
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT

Re: How to execute Socketdemo program ?

Smarphone site: Opening Connection.

PC site: Listening for clients.

 

Could I use the application to transfer a file such as .txt.?

 

Thank your attention.

 

 

 

-Fight with BB10
Super Contributor
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT

Re: How to execute Socketdemo program ?

My method.

 

1.Run socketdemo from eclipse blackberry compoent 

   D:\eclipse-SDK-3.6.2-win32\eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.43\components\samples\com\rim\samples\server\socketdemo

2.Upload socketdemo into BlackBerry 9900 with BlackBerry jre 6.0. Put into local host:***.***.***.** with "Go"

3.No helloWorld 

 

Does anyone know what's wrong in my method?

After I google the problem, still could not find out how to execute socketdemo??

 

Thanks your attention.

 

 

 

 

 

-Fight with BB10
Super Contributor
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT

Re: How to execute Socketdemo program ?

So far, I could use simulator 9800/9900 to link with other pc by socketdemo.

However, smartphone connection with other computer is fail by socketdemo.

 

Does anyone know the reason?

 

Thank your attention.

 

-Fight with BB10