Git Product home page Git Product logo

kiwix-mobile's Introduction

GETTING STARTED:

  1. Setup your development environment

  2. Setup the project

  3. Pull down external dependencies via command line by running

    make remotes

ENVIRONMENT SETUP

  1. Follow Steps 1 & 2 from the instructions found on the PhoneGap.com Getting Started Page to get all the necessary software for contributing to this project.

CHECKING OUT THE SOURCE CODE

  1. Create your own fork of the Wikipedia code.
  2. Clone your fork onto your computer.

SETTING UP THE PROJECT WITHOUT ECLIPSE

There is a highly useful tutorial @ http://www.mediawiki.org/wiki/Mobile/PhoneGap/Tutorial#Setup

SETTING UP THE PROJECT IN ECLIPSE

  1. In Eclipse choose to import a project by going to File (in the menu bar) -> Import.
  2. Select General -> Existing Projects into Workspace
  3. Choose Select Root Directory radio button and then click the Browse button next to the right.
  4. Navigate to the directory where you cloned the source code and then click the Open button on the bottom of the dialog.
  5. Click the Finish button.

The project should now be setup in Eclipse.

ANT CONFIGURATION

Make sure to modify the sdk.dir variable in the local.properties file so that it points to the location where the android sdk is installed on your computer.

BUILDING FOR PLAYBOOK

  • Grab the SDK from here.

  • Update the project.properties in the blackberry folder, you will need signing keys to load onto a device

  • run:

    ant playbook load-device

FAQ:

Q. I'm seeing an error that says "DroidGap cannot be resolved to a type", how do I fix it?

A. You will need to add the PhoneGap library to your project, by following these steps to get the file.

  1. Download PhoneGap
  2. Unzip the PhoneGap files.
  3. Copy Android/phonegap-1.1.0.jar into the libs folder of your project.
  4. To add the phonegap-1.1.0.jar into your project, right click your Eclipse project and select Properties.
  5. Select Java Build Path, click on the Libraries tab and then click the Add JARs button.
  6. Browse to libs/phonegap-1.1.0.jar and choose to add it.

CONTRIBUTING Please ensure you read STYLE_GUIDELINES before making any contribution to this project!

kiwix-mobile's People

Contributors

astagi avatar bvibber avatar chrismckee avatar dante-101 avatar debloper avatar devicewall avatar dkormalev avatar flyingclimber avatar gtanner avatar hartman avatar hashar avatar hermwong avatar hundfred avatar imhotep avatar jdlrobson avatar jeroendedauw avatar jsoby avatar kshdeo avatar nextgensh avatar nikerabbit avatar pfhayes avatar reedy avatar siebrand avatar suyashcjoshi avatar tpt avatar weareallricky avatar yllierop avatar yuvipanda avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

kiwix-mobile's Issues

Images not displayed

In commit f4d5a49 the following issues regardings images have been observed.

  1. pngs are not displayed.
    As a workaround metatype image/png are replaced with image (or even image/jpeg). Unclear why this solves the problem.
    Workaround implemented in commit 2bf0f02.
    In addition odd that webview example (which is basically the same code as main.qml from kiwix-mobile),
    does display pngs correctly, despite that http header is also image/png.
  2. jpeg are not displayed on Android 2.2, while they are not displayed on android 4.0.3.
    May be related to issue described in http://grokbase.com/t/gg/android-qt/124ek7q93c/jpeg-image.
    Note that also a qml webview example which just loads google.at shows same problem on 2.2. (on Android 4.0.3 it works correctly as well).

Note: With implementation used in wikionboard (just setting mimetype to text/html) on Android 4.0.3 pngs are not displayed, while jpegs are displayed.
Test systems:
emulator android 2.2 and 4.0.3.
Compiled for corresponding api level. (In addition tested compile for 2.2 on 4.0.3)
Necessitas alpha 3 (probably) using new ministro This http://files.kde.org/necessitas/installer/MinistroActivity.apk.
Note that tests on alpha 4 show that same issue.
zim file: http://download.kiwix.org/zim/0.9/wikipedia_sw_all_04_2011.zim, Article: /A/Kenya.html

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.