Community Questions & Answers

xmlrpc

Below is an extremely simple xmlrpc client. This does not support multicalls or any other fancy functionality. This simply gives you the bare bones functionality. I'm posting this here not as a question but simply as a reference and as a ploy to coax the...

Loop through a Json File ?!

Hey Guys, i have tried several things, but i just can't get it work... I wanna loop through my json data with a recursiv function. I've uploaded an example to my webserver. Help would be so much awesome. my mind is totally fucked by that stuff...

How to parse XML on mobile web

Hello, I need to parse an .xml file. I tried it using following code. On Android/iPhone works just fine, but when I try it on a mobile web it doesn't work. I'm getting a parse error and Titanium.XML.Document is empty... How can I parse the .xml file to...

Parse and xml to an array

Hey people! I need some help. I must parse an online XML document and put the elements of each item in an array. I'm trying to do it but when i do `data.length();` it is 0. ~~~ function parsear() { var data = []; var xhr =...

sqLite or XML

We are building a content managed app that downloads a lot of data as XML for the apps pages from a server... Would it lead to a better performance, to read the XML and store it in a database and then query the database for the relevant data, or just read...

Break in string from xml?

Hey, i am pulling some text stuff from xml (localization) everything works fine - except the breaks :/ In my XML strings there is (for example) <string name="hello_world_text">Hello \n World</string> If i write this stuff...

How to preferences.xml dynamic list?

There is some way to make a preferences XML where the user would be able to add/remove from a list of things? ie. On option on the preferences where the user can add/remove contacts. So when he open that option he will see a list of contacs he added...

bug in xml on blackberry

i am coming from this sample [http://docs.appcelerator.com/titanium/3.0/#!/guide/Working_with_XML_Data] and it works well on ios but i found bugs on bb10 error message 'TypeError: Cannot read property 'documentElement' of undefined '

Retrieving local xml data

Hi I want to retrieve local xml data this is the fomat of xml data ~~~ <?xml version="1.0" encoding="utf-8"?> <database> <category> Asistir a misa todos los Domingos y fiestas de guardar. 1 <item>He usado...

XML Document Builder

Hello there, I want to generate XML document from data. In API doc, they have given Titanium.XML.DocumentImplementation.createDocument method. But while using it in my Application, it gives error, Can anyone help me with any example?

How to call method using WCF Service ?

Hi all, I am trying to call WCF Service in my project. Just i want to call GetAddition Method and GetImage Method. Please someone help to me. Below is the code ~~~ var win = Titanium.UI.createWindow(); win.backgroundColor = '#ffffff'; var xhr =...

Alloy template namespaces for custom modules

What is the syntax for including custom module views in Alloy XML templates? I've tried ~~~ <View ns="com.foo.bar"/> ~~~ where `com.foo.bar` is the module ID as defined in tiapp.xml, but it doesnt find it. Do I need to import the...

Complete Alloy View XML Guide

While the office [Alloy XML Markup Guide](http://docs.appcelerator.com/titanium/latest/#!/guide/Alloy_XML_Markup-section-35621528_AlloyXMLMarkup-CollectionElement) is a good start, it is not complete enough for building more advanced interfaces. Is there...

XMLTools for rss feed

Use [XMLTools](https://github.com/dbankier/XMLTools-For-Appcelerator-Titanium) for parsing RSS. Everything is working fine, but [feed](http://habrahabr.ru/rss/best/) returns: ~~~ { channel = "\n\t"; version =...

Sort a TiDOMDocument

Is there any way to randomly sort a TiDOMDocument's elements or the underlying XML data? I've been stuck on this for days - while it's not difficult to convert the underlying data to an array and sort that way, it's not evident how to push that data back...

Template in Alloy?

Hi! I have another problem...I would want to create an xml containing only a redefinition of LefNavButton and RightNavButton. That way, I do not have to reimplement the same component in all my views. For example : My classical view...

Alloy: how to switch between windows in Alloy?

hi ! I have two window declared with alloy XML & tss, and would like to have window 1 push (like segue in iOS) to window 2 , this is what I have so far: ~~~ function switchToNextView (e){ var window = Ti.UI.createWindow({ url:...

Storing and Removing Bookmarks

I'm still quite new to appcelerator and my javascript knowledge isn't that much either so please pardon my mistakes and misunderstandings if any. I'm making a RSS Feed Reader app for a website for example, BBC. I've been reading numerous questions and...

Showing 1-50 of 529 1 2 3 4 5 611