Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Titanium" parent="android:Theme">
<item name="android:windowBackground">@drawable/background</item>
</style>
</resources>
@billdawson
billdawson / Mixedmodulemodule.java
Last active December 15, 2015 13:28
Mixed Javascript/Java Titanium Android module code example. This specific example is to help overcome [TIMOB-13097](https://jira.appcelerator.org/browse/TIMOB-13097).
//...
@Kroll.method
public ExampleProxy exampleFactory() {
ExampleProxy proxy = new ExampleProxy();
// ... do stuff (or not) to get
// ... proxy ready however you want
// ...
return proxy;
}
01:10:58 web.1 | GET /api/imports/import-83850355f4e928818b12f296af519dd8-34bcf7ec-6fc0-4ecf-9763-783f7c359eff/status 304 5699ms
01:10:59 web.1 | getting task id 564fb685f8dbfd000700611e from worker
01:11:02 web.1 | resulting task data:
01:11:02 web.1 | {
01:11:02 web.1 | "id": "564fb685f8dbfd000700611e",
01:11:02 web.1 | "created_at": "2015-11-21T00:10:45Z",
01:11:02 web.1 | "updated_at": "2015-11-21T00:11:01Z",
01:11:02 web.1 | "project_id": "55c3969401aaf3000a00002d",
01:11:02 web.1 | "code_id": "55c3984f1aef88000600c019",
01:11:02 web.1 | "code_history_id": "564f9085f8dbfd00090019b4",