“Sneeze Alarm” is the first of it’s kind in the world and connects to the MET office for Pollen data, integrating it into an alarm system.

Users can set multiple one-off/repeating alarms and select from 9 pre-loaded Sneeze sound effects.

Developed using Titanium as a native app for the iPhone. 

Scan me

1 year ago

appceleratorhay feveriphonepollen countsneeze alarmtitanium

jquery Titanium Framework next moves

Adding .attr() support to allow setting one attribute or many including an id property that will add that control to the stack I’m storing for $(‘#id’) retrieval.

1 year ago

TitaniumAppceleratoriOSjQuery

jquery selectors for building mobile apps in Titanium

Good progress today, working on a few new function in the library I’m building.

Examples:-

var controlArray = $(“textfield”);

will get a list of all controls of type = textfield in the current view.

var control = $(“#textfield1”);

will get the field of ID ‘textfield1’

$(“textfield#textfield1”);

will create a new field called ‘textfield1’

$(“textfield:first();

will get the first object back that is a textfield.

Jquery functions to manipulate and build native mobile apps - nice…..

1 year ago

jquerytitaniumappceleratoriOS

jquery style database framework for Titanium

Still work in progress - I’m working on a simple jquery-like syntax for accessing databases under Titanium developer. So far I’ve got the basics of opening, closing, querying and executing SQL plus iterating through the results.

Example usage:-

$(“databasename”).open()

.select(“* FROM mytable”)

  .forEach(function(e) { 
alert(e.fieldByName(‘name’));

})

.close();

So in sequence we open the DB, select a resultset, iterate through (displaying an alert in this case) then close the DB.

You could also split out the code too putting each stage into relevant variables.

Here’s an execute example (setting up the DB in this case) :-

$(“db”).open(databasename)

.execute(‘CREATE TABLE IF NOT EXISTS mytable (ID INTEGER PRIMARY KEY, NAME TEXT)’)

.close();

That’s it for now, comments welcome.

1 year ago

jquerytitaniumappceleratoriOS

Titanium Developer hanging on SDK Loading….

Just a quick post to help anyone that’s getting this. If you’re running Titanium Developer on OSX for iPhone development and you’re seeing a “Loading…” for the SDK dropdown that appears to hang forever, there’s a simple fix.

Delete the project, NOT the folder just the entry in Titanium then re-add it.

Worked for me

1 year ago

TitaniumSDKiPhoneAppcelerator