Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Ti.Contacts.Person.Address format

How can I set the address format:

var address = {};
address.Street = STREETNAME;
address.City = CITYNAME;
address.ZIP = ZIPCODE;
address.Country = 'Austria';

When I manually add an address in address book and select country 'austria', the state-field disappears and the zip is written before the cityname (as done in austria)

but setting the country via my app, formatting in incorrect.

is there an additional parameter? what are the properties of the address class?

— asked August 3rd 2010 by Andreas Schauer
  • address
  • contacts
  • format
  • person
1 Comment
  • what about saving contacts to ios < 4?
    this will never be fixed in titatium mobile api?

    — commented August 4th 2010 by Andreas Schauer

1 Answer

  • I found out, that the formatting changes when setting the iphone to german language (in mainmenu > setting)

    — answered August 4th 2010 by Andreas Schauer
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.