Fwd: Please, hecl me with hecl

19 views
Skip to first unread message

Wolfgang S. Kechel

unread,
Jun 13, 2013, 2:31:50 AM6/13/13
to he...@googlegroups.com
I am forwarding this one since I do not have access to any Android device to I am unfortunately unable to provide any help for this case. Can please somebody who implemented the access to the location interface have a look at this?

Best regards
Wolfgang Kechel


-------- Original Message --------
Subject: Please, hecl me with hecl
Date: Wed, 12 Jun 2013 19:33:24 +0300
From: <Eduard_...@mail.ru>
To: <wolfgan...@data2c.com>


Wolfgang, hello !
 
 I promised more of you not to disturb, but my efforts do not bring results.
 
 For tests I use hecl through connection with a server through telnet on port 7405.
 
 Here that for me was learned:  
 hecl> set context [activity]
 hecl> java android.location.LocationManager lm
 hecl> set ls [$context getsystemservice LOCATION_SERVICE]
 android.location.LocationManager@41a83630
 hecl> $ls getallproviders
 passive gps network
 hecl> $ls getlastknownlocation gps
 [mProvider=gps,mTime=1367486519000,mLatitude=49.70772166666667,mLongitude=35.164703333333335,mHasAltitude=true,mAltitude=202.3,
 mHasSpeed=true,mSpeed=0.0,mHasBearing=true,mBearing=209.13,mHasAccuracy=true,mAccuracy=29.5,
 mExtras=Bundle[mParcelledData.dataSize=4]
 
 I got it the last known location.
 But, for the receipt of the real location, it is necessary to use the method of requestlocationupdates,
 which requires Locationlistener.
 
 to define Locationlistener does not turn out.
 
 hecl> java android.location.LocationListener ll
 hecl> ll -constructors
 returned empty value
 
 How to use Location on android is described here:
 http://developer.android.com/guide/topics/location/strategies.html
 
 Please, help me.

Good luck.
----------------------
With respect, Eduard.
phone:  067 763 86 44
email:  eduard_...@mail.ru
email:  ed.zo...@gmail.com
www:    http://doro.poltava.ua
ICQ:    176017203
jabber: edo...@jabber.linux.it
skype:  edoroe
ekiga:  sip:edo...@ekiga.net


Reply all
Reply to author
Forward
0 new messages