Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1043839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:43:55+00:00 2026-05-16T15:43:55+00:00

Hi I have recently noticed that when Running the function geoCoder.getFromLocationName() on android 2.2

  • 0

Hi I have recently noticed that when Running the function geoCoder.getFromLocationName() on android 2.2 (Froyo) then i Receive a IOExeption (Which does not occur on other SDK versions).

After some reserch i have found suggentions to add the following Permisions:

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

However this does not solve the problem, and this appears to be a Android SDK Bug.
Is there a knows solution to this problem?

EDIT: Here is the stack trace though it is not particularly helpful the inner stack trace is null so not great.

08-26 18:37:53.831: WARN/System.err(347): at android.location.Geocoder.getFromLocationName(Geocoder.java:159)
08-26 18:37:53.831: WARN/System.err(347): at com.Finko.HomeScreen.onCreate(HomeScreen.java:32)
08-26 18:37:53.851: WARN/System.err(347): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
08-26 18:37:53.851: WARN/System.err(347): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
08-26 18:37:53.851: WARN/System.err(347): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
08-26 18:37:53.861: WARN/System.err(347): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
08-26 18:37:53.861: WARN/System.err(347): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
08-26 18:37:53.871: WARN/System.err(347): at android.os.Handler.dispatchMessage(Handler.java:99)
08-26 18:37:53.882: WARN/System.err(347): at android.os.Looper.loop(Looper.java:123)
08-26 18:37:53.882: WARN/System.err(347): at android.app.ActivityThread.main(ActivityThread.java:4627)
08-26 18:37:53.891: WARN/System.err(347): at java.lang.reflect.Method.invokeNative(Native Method)
08-26 18:37:53.903: WARN/System.err(347): at java.lang.reflect.Method.invoke(Method.java:521)
08-26 18:37:53.903: WARN/System.err(347): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
08-26 18:37:53.911: WARN/System.err(347): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
08-26 18:37:53.911: WARN/System.err(347): at dalvik.system.NativeStart.main(Native Method)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:43:55+00:00Added an answer on May 16, 2026 at 3:43 pm

    now then,

    It seems to me that this is a problem with the emulator… The getFromLocationName method seems to work just fine on the devices (at least I’m not getting reports of it not working from any users)

    Whilst this is a total pain whilst developing and debugging on this version of Android, it seems you can use it.

    I ended up adding a couple of text boxes that I’d just stick long and lat into whilst debugging, then removing before final build.

    Not the best answer, but it might get you moving man. Good luck with it

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently noticed that a lot of JavaScript files on the Web start
I have a few forms that use tiny mce. I have noticed recently that
I have never come across this issue but most recently I noticed that a
I have recently started a new job and noticed that all the SQL tables
I have recently noticed that when i visit certain websites, there are usually links
I have recently noticed that nobody uses views in my company (and it's a
I have recently noticed that inside the collection objects contained in System.Collections.Concurrent namespace it
I have recently noticed that my test code is too close to the production
I have recently noticed that my wp_options table seems to be a bit large.
I have been using Rstudio a great deal these days but recently noticed that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.