Created
October 8, 2013 22:31
-
-
Save pegli/6892916 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Created new Android module project. | |
2. Deleted ExampleProxy.java | |
3. Added MyWindowProxy.java and edited build.xml and module file. | |
4. ant clean compile, successful build. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This file was auto-generated by the Titanium Module SDK helper for Android | |
* Appcelerator Titanium Mobile | |
* Copyright (c) 2009-2013 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. | |
* | |
*/ | |
package com.example.androidextension; | |
import org.appcelerator.kroll.KrollModule; | |
import org.appcelerator.kroll.annotations.Kroll; | |
import org.appcelerator.titanium.TiApplication; | |
import org.appcelerator.kroll.common.Log; | |
@Kroll.module(name="Androidextension", id="com.example.androidextension") | |
public class AndroidextensionModule extends KrollModule | |
{ | |
// Standard Debugging variables | |
private static final String TAG = "AndroidextensionModule"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="androidextension" default="dist"> | |
<description> | |
Ant build script for Titanium Android module AndroidExtension | |
</description> | |
<property name="ti.module.root" location="${basedir}"/> | |
<property file="build.properties" /> | |
<path id="dependencies"> | |
<filelist> | |
<file name="${titanium.platform}/android/modules/titanium-ui.jar"/> | |
</filelist> | |
</path> | |
<import file="${titanium.platform}/../module/android/build.xml"/> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.androidextension; | |
import ti.modules.titanium.ui.WindowProxy; | |
public class MyWindowProxy extends WindowProxy { | |
public MyWindowProxy() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment