Titanium API

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.

The aim of this group is to centralize the various resources and discussion on using Drupal as a base for iPhone/android apps through use of the services module and the Titanium API.

eleonel's picture

Remote Drupal Developer wanted at Spinetta Inc. 合同会社 - Visa sponsorship available.

We're on the hunt for seasoned Drupal Developers who are passionate about weaving code for both front-end and back-end tasks, serving our domestic and international clients. This role is stationed at the intersection of creativity, critical thinking, and technical prowess, set against the backdrop of a dynamic, fast-paced work environment.

Your knack for problem-solving, your meticulous attention to detail, and your ability to juggle multiple tasks while meeting tight deadlines will be fundamental in this role.

What we expect from you:

Read more
kiwipion's picture

Examples of titanium connecting to drupal sevices

Hi, I've posted a couple of videos here & here that demonstrate a titanium application GET'ing data in the form of image fields and PUT'ing GPS data in the form of location coordinates to a geofield.
Note this is on titanium 3.0.2GA & services 3.

Read more
lelizondo's picture

Drupanium = Drupal, Services and Titanium Studio documented

Just to let everyone know about a project I started a while ago. Drupanium is a distribution and an app with code and documented examples on how to integrate Drupal, Services and Titanium Studio.

There's also some documentation about the Services REST API.

http://drupanium.org

I hope you like it.

Read more
philosurfer's picture

Is there a step by step for using Services with a Ti app?

I have seen two presentations on Titanium now at 2 different camps. Only one of which was successfully using services with their native app (@BADcamp 2011)

Is there any step by step on getting this going?

if not.. can we start a documentation Wiki?

Read more
Orkut Murat Yılmaz's picture

How To Post Images From Android Device To Drupal by Titanium?

Is there any -step by step- documentation for this issue?

We tried a lot and still haven't succeeded. Any help would be great:)

Read more
dereckd's picture

Kitchen Sink for Drupal / Titanium

I've been messing around with Drupal and Titanium for a while. I started out with sumitk's examples and then when the Palentir code became available, I experimented a bit with that. I have not however been able to cobble together a working application with the functionality I desire.

The code that Palentir provided is very powerful, in that it keeps a persistent store of the drupal objects, in the phone. It is rather complex, however and difficult to follow (at least for me). It also uses views_datasource rather then services, which for some applications is not secure.

Read more
g.k's picture

JSON_RPC Service: node creation and file attachment

I am trying to upload a file as cck attachment to a new node using JSON_RPC service. The file gets uploaded to the Drupal file system but it's blank, 0 byte file. I think problem lies somewhere in encoding and may be it's a TI api issue. I submitted a question"How to convert a Titanium Blob to string?" on their forum but also want to check with the Drupal community and see if anybody else faced the same issue. Here is the code

Read more
tauno's picture

DrupalCon Mobile app

It looks like Palantir has made the source for the DrupalCon mobile app available on github: https://github.com/palantirnet/drupalcon_mobile

Read more
mrgoltra's picture

My 1st Mobile app using Drupal 7 as a backend

Good Day,

Noob question here. I am interested in developing a simple mobile app for the iPhone and Android(clients) using Drupal 7 as a backend. I plan to use Titanium.

Mobile App Functionality:

  1. Register/Login Users
  2. Post Content (Title, Message, Geolocation, Images and Video upload)
  3. Show other user submitted content
  4. Update/Delete user submitted content
  5. Message Inbox (maybe)
  6. Simple User profile (maybe)
  7. Push Notifications

Drupal End

  1. To show content (Title, Message, Geolocation, Images and Video) posted from mobile app.
  2. No user registration
Read more
iaminawe's picture

Fringefest.ca - iphone, web app & open data case study

I recently posted a case study on our competition entry FringeFest.ca, for the Apps4Edmonton competition that made use of Drupal, Appcelerator Titanium and Mobile Webkit to create a web app, iphone app and smartphone friendly version of the web app using Open Data made available by the City of Edmonton.

Key modules include: Services, Feeds, JSON Server, Views, Location and more detailed in the case study

Read more
Anonymous's picture

Example android application

Next to my previous post, I've also created a small application for the Android platform.

It is called Drupal Power and with this app. users are able to post blog posts to their drupal site.

http://www.androidzoom.com/android_applications/social/drupal-power_hdcc...

Read more
Anonymous's picture

Some examples Drupal + Titanium

Hi all,

I've just joined this group. At the moment I'm developing mobile inspection tools with which an audit/technical inspection company can do all their on-site inspections. I've created two demo videos for this purpose and they can be found on youtube:

Mobile inspection app. on android with drupal as back-office system: http://www.youtube.com/watch?v=bEUvVbdBQT0

And another demo: http://www.youtube.com/watch?v=ODtPZSKrp7k

At the moment I'm not using the json server, but just the "standard" xml-rpc module which works perfectly for me.

Read more
JayCally's picture

Passing data to a new page

I am pulling in data from a Drupal JSON service and displaying in a tableview. Working great. When you click a row, the full node is displayed in a webview. Works good but I'd like to display the node in the app instead of a webview. I tweaked things and now when you click a row, a new page loads which gets the node with node.get service.

Read more
yurtboy's picture

Just wondering if there is a point where html5 is enough and titanium is not needed?

I mean I guess titanium is great for a ton of reasons.
Code desktop apps that integrate with your toolbar, create mobile apps etc. But then there is HTML5 and css3. Right now on Android I can attach files to nodes etc due to HTML5 and the way Android deals with it. And HTML5 can store stuff in a local db for offline use (maybe though this is not good enough?)

So just wondering if others have any thoughts on when HTML5 alone is enough and where Titanium is key.

Read more
JayCally's picture

Help with map displaying Drupal JSON service

UPDATED

I'm working on adding points to a map from a drupal json service. I have it pulling the data in but its only placing one location and not all of them. Each location should get placed but it isn't. I'm not sure what I am doing wrong. Can anyone help? Below is the code.

Thanks

var lat = '';
var lon = '';

var url = 'http://localhost:8888/testsite/services/json';

var data = [];

var view = new Object;
view.method = 'views.get';
//view.hash = hash;
//view.domain_name = domain;
//view.domain_time_stamp = timestamp;
//view.nonce = nonce;
view.view_name = 'yardsales';

Read more
JayCally's picture

Using node.get

I'm using Sumitk's great example on using Titanium with Drupal JSON service. I can pull in view data and display it correctly and link to the node in a webview. I'd like to just get a node. I've modified the views.get example to get the node but it isn't displaying.

I have a tableview with links to different durpal content like a view of nodeA. One title I want to link to a node. I it linking to 'page.js' which has the below code.

var url = 'http://localhost:8888/testsite/services/json';

var win = Titanium.UI.currentWindow;
win.backgroundColor = '#dce0e4';

var data = [];

Read more
sumitk's picture

CCK Fields Data in Titanium javascript

This is from Gregg's email .... I am moving here so it could be helpful for everyone

When I want to post info from a CCK text field called "field_origin" the services output looks like this

[field_origin] => Array
                 (
                     [0] => Array
                         (
                             [value] => Edmonton, Alberta, Canada
                         )

                 )

And when I use this Titanium code I get the full output of the array including brackets and the [value] text


var label2 = Ti.UI.createLabel({

Read more
iaminawe's picture

Existing Drupal/Titanium API Resources

This is intended to be an initial set of resources for those looking at getting started in this exciting area of drupal/mobile app development.

These resources are largely the work of Sumit Kataria of Civic Actions and my interest and excitement stem from this awesome presentation at Drupalcon SF2010 http://sf2010.drupal.org/conference/sessions/developing-apps-iphoneipada...

The presentation is broken down a little further with some provided code samples and an adjusted json server module.

Read more
Subscribe with RSS Syndicate content

Titanium API

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: