Git Product home page Git Product logo

oxygenguide-android's Introduction

OxygenGuide-Android

2016 UPDATE: This app is now deprecated in favour of Wikivoyage Offline which is open source too.

Wikivoyage offline app for Android

Data comes from the OxygenGuide wiki-to-HTML project.

Install from Google Play Store

Please report problems, suggest ideas or ask questions here, thank you for your feedback!

Looking for volunteers, patches are also warmly welcome!

Logo

oxygenguide-android's People

Contributors

nicolas-raoul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jarondl

oxygenguide-android's Issues

Split into regions

By Alexander:

Will it be possible to split this content into regions? When the full download takes one hour, frequent updates become difficult.

Integrate maps

By Alexander:

Several Android apps allow the download of OSM maps for one particular city/region. Do you know how it works, and did you think about integrating this feature? It could be a great way of getting travel guide plus zoomable map in one package

Update mechanism

While the metadata is protocol is present for update, the feature is not implemented yet.

Backport to Android 2.1

By Alex:

I think it'd be cool if Wikivoyage would work on devices running Android
2.1; an example would be the Nook Simple Touch.

I've actually used apktool to build myself an apk with
android:minSdkVersion="7" and it seems to work. The only problem I've
noticed is that after a few clicks, it doesn't load further pages (e.g.
Europe->United Kingdom->England->Bristol changes the title bar, but doesn't
load)

"Download(only the first time)" don't work on HTC Explorer

Hello,

On my HTC explorer, the android application don't allow me to download the data.
I checked my sd card and there is enough free size on it (700 Gb)

There is the logcat when I tried to download:
D/WifiStateTracker( 363): get mPhoneStateListener D/dalvikvm( 363): GC_CONCURRENT freed 1272K, 45% free 8576K/15559K, external 371K/788K, paused 20ms+12ms D/WifiStateTracker( 363): get mPhoneStateListener D/View ( 9790): onTouchEvent: viewFlags: 0x18004001 D/View ( 9790): onTouchEvent: isFocusable: true, isFocusableInTouchMode: false, isFocused: false; focusTaken: false D/OxygenGuide( 9790): Entering download method. D/WindowManagerImpl( 9790): addView, new view, mViews[1]: com.android.internal.policy.impl.PhoneWindow$DecorView@40625978 E/OxygenGuide( 9790): Exception:Only the original thread that created a view hierarchy can touch its views. D/WindowManagerImpl( 9790): finishRemoveViewLocked, mViews[1]: com.android.internal.policy.impl.PhoneWindow$DecorView@40625978 D/InputManagerService( 363): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40d0eca0 D/WifiStateTracker( 363): get mPhoneStateListener

There are also some useful information about my device:
HTC explorer/pico (as known as A310e)
Rooted
Custom rom (jaggyrom 3.x.x)
Kernel 2.6.38.6
Android 2.3.5
HTC Sense 3.5

Thank you

NullPointerException at MainActivity.java:176

03-04 17:29:04.719 E/AndroidRuntime( 2275): FATAL EXCEPTION: main
03-04 17:29:04.719 E/AndroidRuntime( 2275): java.lang.NullPointerException
03-04 17:29:04.719 E/AndroidRuntime( 2275):     at org.github.OxygenGuide.MainActivity$DownloadFile.onPostExecute(MainActivity.java:176)
03-04 17:29:04.719 E/AndroidRuntime( 2275):     at org.github.OxygenGuide.MainActivity$DownloadFile.onPostExecute(MainActivity.java:1)
03-04 17:29:04.719 E/AndroidRuntime( 2275):     at android.os.AsyncTask.finish(AsyncTask.java:602)

Clicking on 'travel guide (android browser)' causes fatal crash

This is the output of adb logcat...

I/ActivityManager( 188): START {act=android.intent.action.VIEW dat=file://sdcard/OxygenGuide/index.html typ=text/html cmp=com.android.browser/.BrowserActivity} from pid 21500
D/AndroidRuntime(21500): Shutting down VM
W/dalvikvm(21500): threadid=1: thread exiting with uncaught exception (group=0x40a3d1f8)
E/AndroidRuntime(21500): FATAL EXCEPTION: main
E/AndroidRuntime(21500): java.lang.IllegalStateException: Could not execute method of the activity
E/AndroidRuntime(21500): at android.view.View$1.onClick(View.java:3044)
E/AndroidRuntime(21500): at android.view.View.performClick(View.java:3511)
E/AndroidRuntime(21500): at android.view.View$PerformClick.run(View.java:14105)
E/AndroidRuntime(21500): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime(21500): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(21500): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(21500): at android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime(21500): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(21500): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(21500): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime(21500): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime(21500): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(21500): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime(21500): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(21500): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(21500): at android.view.View$1.onClick(View.java:3039)
E/AndroidRuntime(21500): ... 11 more
E/AndroidRuntime(21500): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.browser/com.android.browser.BrowserActivity}; have you declared this activity in your AndroidManifest.xml?
E/AndroidRuntime(21500): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1508)
E/AndroidRuntime(21500): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1384)
E/AndroidRuntime(21500): at android.app.Activity.startActivityForResult(Activity.java:3190)
E/AndroidRuntime(21500): at android.app.Activity.startActivity(Activity.java:3297)
E/AndroidRuntime(21500): at org.github.OxygenGuide.MainActivity.launchAndroidBrowser(MainActivity.java:125)
E/AndroidRuntime(21500): ... 14 more
W/ActivityManager( 188): Force finishing activity org.github.OxygenGuide/.MainActivity
W/ActivityManager( 188): Activity pause timeout for ActivityRecord{41a45800 org.github.OxygenGuide/.MainActivity}
D/dalvikvm( 407): GC_CONCURRENT freed 2451K, 27% free 18803K/25479K, paused 3ms+7ms

Pretty UI

Now it is really ugly.
Maybe white + large logo in background?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.