Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connection-Download  RSS feed

 
andrea piroi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excuse me I'm italian...I will try to write in English!!!
I download file "Png Image Viewer",I put the file.java in my project/src....(I use wireless Toolkit 2.2).I succes to Build and Run but when I push "View" ,in the screen view a form with this string:
"PngViewer wants to send and receive data using the network.THis will use and may result in charges.

Is it OK to use airtime?"

At the bottom screen there are two button "No" and "Yes".I tried to push Yes but continue to not view nothing!

I should want an help,please.
Thanks.

Excuse me to my English.
 
Jamshid Afshar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Noticed the same thing in a little test app. In my case, the Connector.open(url) was in a Canvas.paint(). Moving it out if that method and into MIDLet.startApp() fixed it.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!