Hi Lyniker,

(Answers below)

On Fri, Dec 16, 2011 at 11:01 AM, Lyniker Aoyagui <[email protected]>wrote:

> Hello Everybody,
>
> this is my first e-mail.
>
> I'm working in a project of home automation.
>
> Here's how I'm intending to make it work:
>
>    - The APP starts and it'll have a button to load a XML file.
>    - The XML will have information about the rooms in the house like
>    "Living Room, Dinning Room, Kitchen etc.", it'll also have the information
>    about the equipments "Home Theater, TV, Blu-Ray Player, etc. in this case
>    with a relation with the room that they belong" and so on with the IR,
>    RS-232 cmds...
>    - I'll install this app in different houses, so I intend just to
>    change the XML file as the house changes.
>    - I intend to generate the UI from the information of XML file. E.g.
>    The house has only "Living Room and Dinning Room" So at the tabbar I'll
>    just appear two tabs (Living and Dinning Room).
>
> Here's the question's:
>
>    - Is The way I'm planning to do my software allowed by Apple, or they
>    are gonna reject my App?
>
>
It sounds like it should be accepted, but I'm no expert on these matters.


>
>    - Is it possible to just download the App from the App Store in the
>    iOS of the customer, and change and load the XML file? I mean, there's a
>    package in the .app file, is it possible to open it and change the .xml
>    file inside it? And load the .xml file?
>
>
If you enable the "Application supports iTunes File Sharing" attribute in
the Info.plist (advanced tab), it will allow syncing your xml file from the
user's PC to their iPhone and back. This might be useful to you...

However, I would suggest having some sort of UI in your app to allow
customizing the xml file through the App, rather than forcing the user to
hand-edit an xml file.


>
>
> And the last one, for the advanced programmers:
>
>    - Is it fully possible to change the UI as the XML information changes?
>
>
I don't see why not...


>
>
> Do you recommend me some book to read about it? Cause, I was reading a lot
> of them, and I didn't find such a specific information.
>

There are a few recommended books on http://docs.xamain.com/ios that you
may find useful... although the documentation we've been building on that
website may be enough.


Hope that helps!

Jeff
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to