• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

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?
0
jpp1jpp1
Asked:
jpp1jpp1
1 Solution
 
antonsigurCommented:
Connnect a PC with a GPRS phone, now connect to internet through the phone

Then run the application...

What do you mean?
0
 
antonsigurCommented:

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();

   }
}
0
 
antonsigurCommented:
wov, now I'm dum... Posted in wrong window.. hehe
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
jpp1jpp1Author Commented:
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
0
 
antonsigurCommented:
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...
0
 
jpp1jpp1Author Commented:
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?
0
 
God_AresCommented:
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.
0
 
jpp1jpp1Author Commented:
Well, I thought this thread was already dead, been a long time.....

The update is that I have already resolved this issue, we bought a Nokia GPRS/WLAN card (D211 Model); u don't have to mess w connection kits no longer, it works as a WLAN (802.11) card i.e. u install it and u don't have to worry about anything more (u can even browse the web)

0
 
jpp1jpp1Author Commented:
Btw how can I close this thread?
0
 
CleanupPingCommented:
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.
0
 
girionisCommented:
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
0
 
jpp1jpp1Author Commented:
You can close this thread.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now