Skip to content

Commit

Permalink
v1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Manoj Kumar committed Jun 6, 2015
1 parent 42cb907 commit 7bdbf9d
Show file tree
Hide file tree
Showing 17 changed files with 520 additions and 232 deletions.
9 changes: 4 additions & 5 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
<classpathentry kind="src" path="android/src"/>
<classpathentry kind="src" path="android/build/.apt_generated"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="/Applications/android-sdk/platforms/android-19/android.jar"/>
<classpathentry kind="lib" path="/Applications/android-sdk/add-ons/addon-google_apis-google-19/libs/maps.jar"/>
<classpathentry kind="lib" path="/Users/MyKingdom/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/android/titanium.jar"/>
<classpathentry kind="lib" path="/Users/MyKingdom/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/android/kroll-common.jar"/>
<classpathentry kind="lib" path="/Users/MyKingdom/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/android/kroll-apt.jar"/>
<classpathentry kind="lib" path="/Applications/android-sdk/platforms/android-22/android.jar"/>
<classpathentry kind="lib" path="/Users/MyKingdom/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/titanium.jar"/>
<classpathentry kind="lib" path="/Users/MyKingdom/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/kroll-common.jar"/>
<classpathentry kind="lib" path="/Users/MyKingdom/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/kroll-apt.jar"/>
<classpathentry kind="src" path=".apt_generated">
<attributes>
<attribute name="optional" value="true"/>
Expand Down
1 change: 0 additions & 1 deletion .project
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
</buildCommand>
</buildSpec>
<natures>
<nature>com.aptana.projects.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>com.appcelerator.titanium.mobile.module.nature</nature>
</natures>
Expand Down
8 changes: 4 additions & 4 deletions android/build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
titanium.platform=/Users/MyKingdom/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/android
android.platform=/Applications/android-sdk/platforms/android-19
google.apis=/Applications/android-sdk/add-ons/addon-google_apis-google-19-1
android.ndk=/Applications/android-ndk
titanium.platform=/Users/MyKingdom/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android
android.platform=/Applications/android-sdk/platforms/android-22
google.apis=/Applications/android-sdk/add-ons/addon-google_apis-google-22
android.ndk=/Applications/android-ndk-r8d
module.ndkbuild=true
Binary file added android/dist/com.mykingdom.mupdf-android-1.8.zip
Binary file not shown.
Binary file modified android/dist/mupdf.jar
Binary file not shown.
6 changes: 4 additions & 2 deletions android/documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ mupdf.createView({

## Usage


```javascript
var enabled = true;
var count = 0;
var keyword = "because";
var keyword = "the";

var win = Ti.UI.createWindow({
backgroundColor : 'white',
Expand Down Expand Up @@ -59,6 +58,9 @@ var pdfReader = READER_MODULE.createView({

//pdfReader.loadPDFFromFile(file);

//READER_MODULE.DIRECTION_VERTICAL || READER_MODULE.DIRECTION_HORIZONTAL (default)
pdfReader.setScrollingDirection(READER_MODULE.DIRECTION_VERTICAL);

win.add(pdfReader);

/*
Expand Down
5 changes: 4 additions & 1 deletion android/example/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var enabled = true;
var count = 0;
var keyword = "because";
var keyword = "the";

var win = Ti.UI.createWindow({
backgroundColor : 'white',
Expand Down Expand Up @@ -32,6 +32,9 @@ var pdfReader = READER_MODULE.createView({

//pdfReader.loadPDFFromFile(file);

//READER_MODULE.DIRECTION_VERTICAL || READER_MODULE.DIRECTION_HORIZONTAL (default)
pdfReader.setScrollingDirection(READER_MODULE.DIRECTION_VERTICAL);

win.add(pdfReader);

/*
Expand Down
Binary file modified android/libs/armeabi-v7a/libcom.mykingdom.mupdf.so
Binary file not shown.
Binary file modified android/libs/armeabi/libcom.mykingdom.mupdf.so
Binary file not shown.
Binary file modified android/libs/x86/libcom.mykingdom.mupdf.so
Binary file not shown.
4 changes: 2 additions & 2 deletions android/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 1.7
version: 1.8
apiversion: 2
architectures: armeabi armeabi-v7a x86
description: mupdf
Expand All @@ -15,4 +15,4 @@ name: mupdf
moduleid: com.mykingdom.mupdf
guid: 23304e3b-0417-41d3-b6f1-b52c11eb3c73
platform: android
minsdk: 3.5.1.GA
minsdk: 3.1.3.GA
Loading

0 comments on commit 7bdbf9d

Please sign in to comment.