?
Solved

Migrating to GPRS

Posted on 2003-03-12
13
Medium Priority
?
313 Views
Last Modified: 2010-03-31
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
Comment
Question by:jpp1jpp1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
13 Comments
 
LVL 2

Expert Comment

by:antonsigur
ID: 8120992
Connnect a PC with a GPRS phone, now connect to internet through the phone

Then run the application...

What do you mean?
0
 
LVL 2

Expert Comment

by:antonsigur
ID: 8121053

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
 
LVL 2

Expert Comment

by:antonsigur
ID: 8121059
wov, now I'm dum... Posted in wrong window.. hehe
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:jpp1jpp1
ID: 8121298
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
 
LVL 2

Expert Comment

by:antonsigur
ID: 8121671
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
 

Author Comment

by:jpp1jpp1
ID: 8126224
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
 
LVL 7

Expert Comment

by:God_Ares
ID: 8488790
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
 

Accepted Solution

by:
jpp1jpp1 earned 0 total points
ID: 8493971
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
 

Author Comment

by:jpp1jpp1
ID: 8493976
Btw how can I close this thread?
0
 

Expert Comment

by:CleanupPing
ID: 9058738
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
 
LVL 35

Expert Comment

by:girionis
ID: 9714425
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
 

Author Comment

by:jpp1jpp1
ID: 9714472
You can close this thread.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question