Examples of titanium connecting to drupal sevices
June 27 Portsmouth meeting on mobile web app frameworks/platforms
Howdy,
On Wed Jun 27 there will be a meetup in Portsmouth on mobile web app platforms/frameworks.
The abstract reads:
- Mobile web apps are the future but that future is still very uncertain. Brian will go over his experience with various leading mobile web app platforms and go over the good and bad about each. He will be discussing Phonegap, Sencha Touch, Titanium, jQuery Mobile, and many other mobile web frameworks.
Visit Web Dev Meetup to sign up.
Bob
Read moreDrupanium no DrupalCamp Porto 2012 - Feedback
Boa tarde, para os que ficaram interessados no projecto drupanium.org deixem aqui o vosso feedback, e quem quiser fazer parte da equipa e/ou trabalhar no projecto, que fale comigo. Também podem contribuir code e bug fixes através do repositório do exemplo que usei no DrupalCampPorto 2012. Estou aberto a sugestões.
Aqui ficam os links relevantes:
Forums & Site: http://drupanium.org
API + Services: http://api.drupanium.org
GitHub: https://github.com/drupanium
Exemplo da sessão DrupalCamp Porto 2012: https://github.com/utneon/drupanium_authentication
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 moreKitchen 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 moreDrupalCon 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 morePassing 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 moreHelp 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';
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 moreCCK 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({

