Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Tom_Rush

208 posts

Master Geek


#3398 5-Feb-2005 22:43
Send private message

Does anybody here know if J2ME(JAVA) network programs work via NZ Vodafone?
Do they block it?

Has anybody written/used a J2ME application on their JAVA mobile phone and been able to connect to an external network/web site.

The reason I'm asking is that I wrote some code to quickly test using the SE T610 mobile phone emulation on my PC and it connects to the external web site and retrieves the required information. Lovely thus far.

If I transfer this application to my mobile and run it is doesn't work.

Thought I'd better ask before I spent hours debugging my code or thumbing through my comm setup on my mobile.

Any help or ideas would be greatly appreciated

Tom

Update: found this example code on the Sun JAVA development site that can be used to test with. This also works on my emulation but not on my mobile.

I'm using a Sony Ericsson T610 (MIDP 1.0) via Vodafone NZ.

http://developers.sun.com/techtopics/mobility/midp/articles/network/SecondExample.java

If it is the phone Data Comms settings, does anybody know what they should be? Is it just the APN that needs to be changed or is it looking at the CID number too.




Create new topic
cokemaster
Exited
4927 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

#12537 6-Feb-2005 00:21
Send private message

I know that you can use Java apps to connect outwards. The Z600 that I used previously worked with a Java QQ ICQ client, however I had little luck with anything else because apparently Java was limited in the network / sockets department.

In saying that, if you are trying to retrieve data from a website, make sure you have the correct APN. I always had to switch to the web gprs rather than the wap (live) one. I suspect that is the problem if you are having problems on your phone, but not the emulator.... maybe.

http://live.vodafone.co.nz can send the GPRS profiles to your phone you want.

Edit: Might have shot myself in the foot, but does it try connecting (as in ask for GPRS access, connect to WAP) and returns a server not found error?




webhosting

Loose lips may sink ships - Be smart - Don't post internal/commercially sensitive or confidential information!




Tom_Rush

208 posts

Master Geek


#12539 6-Feb-2005 00:58
Send private message

The mobile appears to connect and this may be specfic to my phone, but it asks:

Allow Web access
Ask per access
Deny Web access


This seems to be a built in function.

Selecting Allow Web access the GPRS symbol is show and the mobile appears to hang. After a while the connection is cleared. No IO error messages.

I've provided the example code if anybody is interested in checking it out.

It does work. ... just not on my SE T610 via vodafone NZ using my current mobile settings.

cheers,

Tom




cokemaster
Exited
4927 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

#12541 6-Feb-2005 03:43
Send private message

The 'ask for internet query' is built in and for a good reason: To stop java apps automatically opening your wap connection (let it be GPRS or CSD).

Try using the VFNZ Internet wap profile rather than the VFNZ Gateway / VFNZ PXT, it might make a difference as its open internet.

If you don't have it, you can install it from http://wireless.vodafone.co.nz - I know that with a few messengers (an old Java QQ IRQ messenger), you couldn't use it on the WAP apn, you had to use it on open internet otherwise no dice.




webhosting

Loose lips may sink ships - Be smart - Don't post internal/commercially sensitive or confidential information!




Tom_Rush

208 posts

Master Geek


#12543 6-Feb-2005 04:23
Send private message

Cool.

That works. Thank you, cokemaster.

I had WAP set to Vodafone live within the WAP options.

However with the WAP options now set to VFNZ Internet, WAP services now fail.

So it's, WAP on. WAP off.

Oh well it gives me something new to grumble about.

OK, you know what my next question is. How do you get a setup that works with both?

You can't tell clients to disable their WAP service every time they want to use your J2ME service.

Thanks again,

Now we can start work on my second question :-)

Tom




cokemaster
Exited
4927 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

#12545 6-Feb-2005 04:55
Send private message

Not too sure how to do that myself. My play around with my z600 (and to an extent a p910c) is that you set one wap profile for them all, you can't have Java use one profile and your browser use the other.

The exception being MMS which allows you to set a wap profile (usually the Vodafone Gateway/MMS/Live!).

The P910 allows you to select what profile you use each time you connect out.

----

The solution to stop your clients (or yourself) from having to switch Wap profiles all the time is to get accessable from the wap profile, but I don't really know much about that.




webhosting

Loose lips may sink ships - Be smart - Don't post internal/commercially sensitive or confidential information!


sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

#12553 6-Feb-2005 17:04
Send private message

The T610 is crap for any java internet apps as they can only be run over WAP using your default WAP connection, they can't access the internet directly due to SE not implimenting the capability to do this. I managed to get a few different programs working on my T610 but there are many that won't function correctly.


Tom_Rush

208 posts

Master Geek


#12640 9-Feb-2005 11:49
Send private message

Ha, ha, ha, thought oh, what the heck I'll ring Vodafone and just see what they say.

Got through to the help desk lady and no more than seconds after mentioning the word JAVA the mobile cut off. I still had a signal and my SE T610 has never dropped me before.

I'd be gob smack to think they hang up on me or dropped my call. I'm sure they didn't.
I've worked for multinational companies with hundreds of people manning help desks and in general they're very conscientious and protect us back room geeks from a lot of crap.

Just odd timing I guess. Bit of a giggle though. I knew I should of said J2ME as it has more mystery to it. :-)

Tom


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.