polfdz / osmbonuspack

Automatically exported from code.google.com/p/osmbonuspack
0 stars 0 forks source link

osmbonuspack not work on android 4 #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create routing project 
2.create loading kml from url project 
3.create show pois project

What is the expected output? What do you see instead?
these project run on galaxy ace with android 2.3.6 but they are not work 
properly on devices with android 4.1.2(galaxy young) and 4.2.2(galaxy tab3).for 
routing it just shows the straight line ,for second one it does not show the 
kml overlay. and the last one force closed . 

What version of the product are you using?
osmdroid-android-4.0  slf4j-android-1.6.1-RC1 
osmbonuspack_v4.2.4
Please provide any additional information below.

Original issue reported on code.google.com by arabi.gh...@gmail.com on 12 Jan 2014 at 3:23

GoogleCodeExporter commented 9 years ago
ps:i checked the version of sdk .i used these:
    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="18" />
and i am sure my devices connected to the internet.but when device with android 
2.3.6 disconnect from internet the programs do like  4.1.2  and 4.2.2.
forexample for the number 3 logcat shows this error : nominatimpoiprovider 
request failed 

Original comment by arabi.gh...@gmail.com on 13 Jan 2014 at 10:43

GoogleCodeExporter commented 9 years ago
Look at the "important note" in Tutorial_1: if you followed the tutorials, you 
probably do the network calls in the main thread, which is not allowed since 
SDK 3.0. 

Either use Async tasks (recommended - see OSMBonusPackDemo source code for 
examples), or target an SDK version <= 9. 

Original comment by mathieu....@gmail.com on 14 Jan 2014 at 9:20

GoogleCodeExporter commented 9 years ago

Original comment by mathieu....@gmail.com on 14 Feb 2014 at 3:34