• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Sony(Works Fine) Nokia(Can't Even Connect To Server)

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have one application which works fine with sony and fetches result from server.and shows result correctly , everything is just fine.

But when i install and run same application in Nokia It does'nt Work and comes immediately after login and i think its not even connecting to server.

i can't understand why its happening.
Anyone having any idea.
Any???
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try to change the server's timeout values . sometimes this is happning when you using the slow connections in the small devices like mobil phones . when you loading a big web page using your mobil phone web browser you probably get some time out errors !

if this is not the case , then it may be a security certificate that your sony phone have and nokia does not .

If this is not the case , then there can be some third parts APIs to that can be needed to run your application. Shuch as when you wants to access to the location based web service you needs a specific library .
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I m having same problem Dear !

i m developing application in j2me polish
and I have created http connection to get data from php with following link .

and i get connection successful in sony ericson w580i and also in computer on simulator of all types ofhandset and RMS also get created after getting data from gprs .

but when i created same application's jar for N95 using simulator and i put application in N95,N70,(whole N series ) Nokia , i m having problem like .

when i submit url in phone browser , data is available with me ,but when my application try ti fetch data from gprs using application and not getting created RMS also in N95 ?

any buddy pls help me , and suggest me .

pls reply ASAP frnds .i m waiting for yr answers ....

=======================================

HttpConnection http = null;
DataInputStream dis = null;
String URL = "http://www.****.com/******/****.php?"+s;
try
{
http = (HttpConnection) Connector.open(URL, Connector.READ_WRITE, true);
http.setRequestMethod(HttpConnection.POST);
http.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.1");

dis = new DataInputStream( http.openInputStream() );
System.out.println("inside try");
int ch;

================================
[ April 28, 2008: Message edited by: Pollux java ]
 
Saloon Keeper
Posts: 28319
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Pollux java",

We don't have many rules here at the JavaRanch, but we do insist that you use you Real Name and not some sort of "handle" or obvious alias. If you're not sure about this, see
http://www.javaranch.com/name.jsp .
 
brevity is the soul of wit - shakepeare. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic