Jahia Template Forum > iPhone, Android...

0 (0 Good)
0 (0 Bad)

iPhone, Android and other devices templates

by  shuber »  2011/06/07 20:10

Hi guys,

I often get the question of how to integrate rendering for iPhone and Android, and also this is not a complete guide yet, I hope this will give you a quick overview of how to get started.

Jahia works by checking the user agent of the browser, and if it detects a particular pattern (configurable), it will look for different templates. This works for both Jahia 6.1 and 6.5.

In Jahia 6.1, this is configured in the WEB-INF/etc/spring/applicationcontext-pipelines.xml file, in the following section :

[code:3lal5zoo]
lt;bean class=

Serge Huber (shuber)

Number of messages  271
Registration date
0 (0 Good)
0 (0 Bad)

Re: iPhone, Android and other devices templates

by  dirkvranckaert »  2011/06/07 20:10

Serge,

Can you post or send us some screenshots of the demo iPhone application that you've written? Maybe others find it usefull too to see some screenshots to see what the webservices can offer...

Kr,

Dirk
  • Re: iPhone, Android and other devices templates
    2011/06/07 20:10

    dirkvranckaert Serge,<br/><br/>Can you post or send us some screenshots of the demo iPhone application that you've written? Maybe others find it usefull too to see some screenshots to see what the webservices can offer...<br/><br/>Kr,<br/><br/>Dirk

  • Number of messages  2
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: iPhone, Android and other devices templates

    by  shuber »  2011/06/07 20:11

    Sure, here are a few iPhone and iPad screenshots :

    iPhone :

    News viewing : [attachment=0:3tg5myr1]NewsListViewing.png[/attachment:3tg5myr1]

    iPad :

    News viewing : [attachment=2:3tg5myr1]NewsViewing.png[/attachment:3tg5myr1]
    News input : [attachment=1:3tg5myr1]NewsInput.png[/attachment:3tg5myr1]

    As you can see the layouts are very basic, but they can easily be customized using HTML markup.

    Regards,
    Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page