Link to home
Start Free TrialLog in
Avatar of jpp1jpp1
jpp1jpp1

asked on

Migrating to GPRS

I currently have a Java app. that exchanges some text data w a server using TCP/IP (class Socket).

As we look to use it in a laptop and the wireless cards (802.11)have a short range we'd like to give GPRS a try; can you guys give some guidelines to follow?
Avatar of antonsigur
antonsigur
Flag of Iceland image

Connnect a PC with a GPRS phone, now connect to internet through the phone

Then run the application...

What do you mean?

import javax.swing.*;
import java.awt.*;

public class prufa2 extends JFrame{
   public prufa2(){
       JPanel panel = new JPanel();
       panel.setPreferredSize(new Dimension(100,100));
       JScrollPane scroll = new JScrollPane();
       scroll.add(panel);

 /// ***********
// Always show the scrollbar - this was missing...    
scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS );
 /// ***********
       getContentPane().setLayout(new BorderLayout());
       getContentPane().add(scroll, BorderLayout.CENTER);
        //pack();
       setVisible(true);
   }
   public static void main(String[] args){
    new prufa2();

   }
}
wov, now I'm dum... Posted in wrong window.. hehe
Avatar of jpp1jpp1
jpp1jpp1

ASKER

Lol, no problem.

"Connnect a PC with a GPRS phone, now connect to internet through the phone"

Sounds easy that way, could you be more specific (f.ex. hardware involved)?

My app is obviously the client side
You phone company must provide internet through GPRS...
Now you ofcorse will need a GPRS phone!
There should be ,,connection kit" awailable for your gsm phone (serial cable and software driver that matches your operating system) Installation instruction are included in this kit.
Now your provider will need to enable the GPRS and you can now dial a connection to the internet using the installed software driver.

Now your computer is on the internet! (but on a slow connection)...

p.s.
Why do you wan't to test it on GPRS?
GPRS only provides you a internet connection, but a slow one...
You could use a normal analog modem, and select a low connection speed to test how the application works on a slow internet connection...
Well, I need mobility, the app will be tested while in a car...

With these GPRS kits, do I have to implement (some of) the TCP/IP stack or will it be a transparent TCP/IP connection?, in other words do I have to change something in my app?
Hi I'm developing for the ppc (windows ce)
>the TCP/IP stack or will it be a transparent TCP/IP >connection?, in other words do I have to change something >in my app?

i thouth it was transparant, but it seems it's not.. don't know any more do.
ASKER CERTIFIED SOLUTION
Avatar of jpp1jpp1
jpp1jpp1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Btw how can I close this thread?
jpp1jpp1:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
Avatar of girionis
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- To be PAQed and points refunded.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

girionis
EE Cleanup Volunteer
You can close this thread.