BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-19-2010, 07:05 PM   #1
SPM_CR
New Member
 
Join Date: May 2010
Model: 9700
PIN: N/A
Carrier: Student
Posts: 2
Default Connection Blackberry - PC

Please Login to Remove!

Hello everyone.

I would like to know if an app can contact another app but on a PC. I was wondering this because J2SE and J2ME are two different java versions.

I want to create an app that contacts a PC trough internet connection.

Thanks.
Offline  
Old 05-20-2010, 05:05 PM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

Does the PC have a static IP address and is on the internet? If so, what is stopping you from either opening a socket connection to the PC, or putting Apache on it and using HTTP?

Of course, either option requires you to have some server application running on the PC.

Exactly what are you trying to accomplish?
Offline  
Old 05-23-2010, 03:33 PM   #3
SPM_CR
New Member
 
Join Date: May 2010
Model: 9700
PIN: N/A
Carrier: Student
Posts: 2
Default

Hi and thanks for the response.

I want to create a connection on a Blackberry to a PC through the Internet for transmitting data.

What I don't know is how to create a server on a PC and a client on a Blackberry.

Is there any tutorial that you recommend to me?

Thanks for supporting.
Offline  
Old 05-24-2010, 07:29 AM   #4
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

There is no simple answer to this question.

You have to start with some type of web service on the server-side. This really depends on your infrastructure and your expertise. I would suggest Apache/Tomcat as a starting point. Buy a book.

For the client, you would probably access the server via HTTP. See the HTTPDemo that ships with the JDE.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Serta Big and Tall Commercial Office Chair Memory Foam 350 Lb Capacity Black NEW picture

Serta Big and Tall Commercial Office Chair Memory Foam 350 Lb Capacity Black NEW

$169.99



Bunn Ultra-2 Main Control Board FACTORY NEW 44039.1000 38710.1000  - 013 picture

Bunn Ultra-2 Main Control Board FACTORY NEW 44039.1000 38710.1000 - 013

$180.00



SIEMENS 5706439003.02 SRAM MEMORY MODULE 570643.0001.02 OVERNIGHT SHIPPING picture

SIEMENS 5706439003.02 SRAM MEMORY MODULE 570643.0001.02 OVERNIGHT SHIPPING

$287.60



New Siemens 6ES7953-8LL31-0AA0 SIMATIC S7, Micro Memory Card 6ES7 953-8LL31-0AA0 picture

New Siemens 6ES7953-8LL31-0AA0 SIMATIC S7, Micro Memory Card 6ES7 953-8LL31-0AA0

$139.87



Nightingale CXO 6200 Memory Foam, New Headrest, Lumbar Support Ergo Office Chair picture

Nightingale CXO 6200 Memory Foam, New Headrest, Lumbar Support Ergo Office Chair

$415.00



New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC picture

New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC

$286.59







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.