Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

kaosf/ti-webview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Titanium WebView Application

Versions

  • Java: Oracle JDK 6
  • Titanium Mobile SDK: 3.1.0.GA
  • Node.js: 0.8.19
  • Titanium CLI: 3.0.23
  • Alloy: 1.0.0
  • Grunt: 0.4.1
  • grunt-cli: 0.1.7

Preparation for development

Install Oracle JDK 6 and Node.js.

I recommend you to install Node.js with Nodebrew.

nodebrew install-binary v0.8.19
nodebrew use v0.8.19

Install Titanium CLI, Alloy and Grunt (grunt-cli) with npm.

npm install -g titanium@3.0.23 alloy@1.0.0 grunt-cli@0.1.7

Log in, do setup and install Titanium Mobile SDK with Titanium CLI.

If you are using Ubuntu (or other Linux distribution), you need to install unzip package. Execute sudo apt-get install unzip before going to the next step.

ti login
ti setup
ti sdk install 3.1.0.GA

Create env file.

echo 'hostname: my.domain.com' > env

This content is read from Titanium code. It is used for the hostname.

At last, you only have to install some Node.js packages for Grunt.

npm install

Build

Android application

Download and extract Android SDK. Then, install SDKs.

Build apk file with the following command;

grunt

<project-directory>/build/android/bin/app.apk is generated. You can use it as you like!

iOS application

Coming soon... Would you wait for me a little?

(If you can, make Pull Request.)

License

Apache License v2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors