can i find the location of NOKIA GPS enabled mobile

by abdalrahman eweiwi » Sun, 07 Jun 2009 03:34:43 GMT


Sponsored Links
 hello guys

i am trying to develop a program that will tell me how much time that is
needed for my friend to reach me , however still i fall in a problem , that
when i extract the address information of my friend (in my contact list in
android) i have always that static location that i have explicitly set when
i added him to my contacts

how can i have his lastKnownLocation????
is that possible with android ???
if yes how to work this out ??
-- 
Regards

Abdalrahman Eweiwi
Msc in Media Informatics
RWTH-AACHEN
B-it

--~--~---------~--~----~------------~-------~--~----~



can i find the location of NOKIA GPS enabled mobile

by abdalrahman eweiwi » Sun, 07 Jun 2009 06:01:19 GMT


 guys any one could just guide me for this problem...


can i get lastknownlocation of a friend using android development toolkit
???


On Sat, Jun 6, 2009 at 9:34 PM, abdalrahman eweiwi <





-- 
Regards

Abdalrahman Eweiwi
Msc in Media Informatics
RWTH-AACHEN
B-it

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


can i find the location of NOKIA GPS enabled mobile

by Mark Murphy » Sun, 07 Jun 2009 06:12:29 GMT


 


This has nothing to do with Android.

Your friend, most likely, is not publicizing his or her location
anywhere. After all, many people consider that a bit of a privacy issue.

If your friend starts using Fire Eagle or a similar service, you can
then write a program to obtain that location information:

 http://fireeagle.yahoo.net/ 

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Need Android talent? Ask on HADO!  http://wiki.andmob.org/hado 

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Audio record and ply the recorded audio..

Hi

I have tried with AudioRecord API's also.

Warm regards,
Vineeth







--~--~---------~--~----~------------~-------~--~----~

2. Not able to launch an activity of other app from Tab activity.

Hi,

  I am getting the following exception when I call an activity1 (
resides in 1.apk) using the following intent from TabActivity
(activity 2 resides in 2.apk)


Intent tab1intent = new Intent();  tab1intent.setAction(
"android.intent.action.VIEW");  tab1intent.addCategory(
"android.intent.category.DEFAULT");

tab1intent.setType("vnd.android.activity/vnd.moto.BookmarkManagerActivity");
tab1intent.putExtra("BROWSER LAUNCH", true);

Any suggestion how do I handle this error.

Appreciate your great help

Thanks


05-27 19:23:33.311: INFO/ActivityManager(570): Starting activity: Intent {
comp={com. moto.myFamily/com. moto.myFamily.familyTab} (has extras) }
05-27 19:23:33.730: WARN/dalvikvm(761): threadid=3: thread exiting with
uncaught exception (group=0x4000fe70)
05-27 19:23:33.739: ERROR/AndroidRuntime(761): Uncaught handler: thread main
exiting due to uncaught exception
05-27 19:23:33.841: ERROR/AndroidRuntime(761): java.lang.RuntimeException:
Unable to start activity
ComponentInfo{com. moto.myFamily/com. moto.myFamily.familyTab}:
java.lang.SecurityException: Requesting code from
com. moto.bookmarkmanager (with uid 10018) to be run in process
com. moto.myFamily (with uid 10019)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.os.Handler.dispatchMessage(Handler.java:99)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.os.Looper.loop(Looper.java:123)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.ActivityThread.main(ActivityThread.java:3948)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
java.lang.reflect.Method.invokeNative(Native Method)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
java.lang.reflect.Method.invoke(Method.java:521)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
dalvik.system.NativeStart.main(Native Method)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): Caused by:
java.lang.SecurityException: Requesting code from
com. moto.bookmarkmanager (with uid 10018) to be run in process
com. moto.myFamily (with uid 10019)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.ActivityThread.getPackageInfo(ActivityThread.java:1932)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2167)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.ActivityThread.startActivityNow(ActivityThread.java:2112)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:600)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.widget.TabHost.setCurrentTab(TabHost.java:310)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.widget.TabHost.addTab(TabHost.java:203)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
com. moto.myFamily.familyTab.onCreate(familyTab.java:60)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231)
05-27 19:23:33.841: ERROR/AndroidRuntime(761):     ... 11 more
05-27 19:23:33.891: INFO/Process(570): Sending signal. PID: 761 SIG: 3
05-27 19:23:33.891: INFO/dalvikvm(761): threadid=7: reacting to signal 3

--~--~---------~--~----~------------~-------~--~----~

3. Is Contact Content Provider threadsafe?

4. items can't be selected (or highlighted

5. Browser scrolling improvement in android cupcake

6. How to detect current screen is vertical or horizontal?

7. Can I use Picture.writeToStream to save picture to filesystem as png or jpeg format?