***lapi   getLocation Exception **please helpe***I am getting crazy*****

Hi frnd
Recently I am working on a location based project on mobile.I have search the net and found many source code for get BTS CELL ID and coordinates and all the source code have the same code.
but when I install on mobile I get *{color:#ff0000}location Exception{color}*{color:#ff0000}...
{color}I have search the net and every where and yet not found the solution, even i am using Nokia N71 which supports location based api.
guys Really i am getting crazy, there should be a solution .... please help me
there is a program in simbian "celltrack", It easily shows the BTS information,
if any body has Idea please help me... thankssssssssss
...piece of code ....
LocationProvider lp=*null*;
Location location=*null*;
try
Criteria cr = new Criteria();
//cr.setHorizontalAccuracy(1000);
//cr.setVerticalAccuracy(1000);
//cr.setPreferredPowerConsumption(Criteria.POWER_USAGE_LOW);
lp = LocationProvider.getInstance(cr);
if(lp.getState()==1)
message="provider! is valid" + "\n";
//timeout
{color:#ff0000}location = lp.getLocation(60); // Exception happens here
....{color}
catch(LocationException e)
btsInfo +="1:"+e.toString()+ "\n";

Konapalli.Gopi wrote:
i am using websphere application server to deploy the web application.
javax.mail.SendFailedException: Sending failed;
nested exception is:
     class javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
     java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
I would guess
com.ibm.websphere.ssl.protocol.SSLSocketFactoryis not on your classpath.

Similar Messages

Maybe you are looking for