Skip to content

Instantly share code, notes, and snippets.

@isis
isis / ApplistModule.java
Created April 10, 2012 23:30
main module class of Applist Module for Titanium mobile
/**
*/
package jp.isisredirect.applist;
import org.appcelerator.kroll.KrollModule;
import org.appcelerator.kroll.annotations.Kroll;
import org.appcelerator.titanium.TiApplication;
import org.appcelerator.titanium.util.TiConvert;
import org.appcelerator.kroll.common.Log;
@isis
isis / AssetsStrings.java
Created April 17, 2013 04:16
AssetsStrings:loose implement of string resource getter from strings xml in assets directory (Android)
/*
* loose implement of string resource getter from strings xml in assets directory
* usage:
* AssetsStrings as = new AssetsStrings();
* String s = as.getString(mContext, "strings.xml", "message");
*
*/
package <your package here>;
@isis
isis / builder.py
Created July 29, 2013 12:27
remove x86 support from Titanium SDK 3.1.1 GA android/builder.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Appcelerator Titanium Mobile
# Copyright (c) 2011-2012 by Appcelerator, Inc. All Rights Reserved.
# Licensed under the terms of the Apache Public License
# Please see the LICENSE included with this distribution for details.
#
# General builder script for staging, packaging, deploying,
# and debugging Titanium Mobile applications on Android