Page 1 of 1

Detecting device type (mobile/tablet)

Posted: Sat Sep 08, 2012 6:26 pm
by Appmos

Could I use the panel component to create a script in javascript to recognise a device for android? if yes, what's happens if open it in iOS device? Works too? Thanks


Detecting device type (mobile/tablet)

Posted: Sat Sep 08, 2012 7:27 pm
by maxkatz

Yes, you can. You can also use Modernizr library to detect browser features.


Detecting device type (mobile/tablet)

Posted: Sat Sep 08, 2012 7:54 pm
by Appmos

The app-builder solution that I used had a screen that works as a browser. This screen opening html pages (online / offline) that allowed to call other pages. I only need to store these pages in a project folder (eclipse / xcode). Even used a script that randomly open these pages. How this works in Tiggzi? (Please, explain with details). Thanks.


Detecting device type (mobile/tablet)

Posted: Sun Sep 09, 2012 5:36 am
by maxkatz

In Tiggzi you always start with HTML5 mobile app. The final app will be running in the browser -- is that what you are asking? As for scripts, you can include/use any JavaScript. You will find all the information here: http://help.tiggzi.com


Detecting device type (mobile/tablet)

Posted: Sun Sep 09, 2012 11:51 am
by Appmos

But I can ́t call html pages directly, like I did in the other solution. I need to create screens and link these screens, correct? In my 1th project I had 50 pages that I opened ramdomly. How to do this in Tiggzi? (example, please).


Detecting device type (mobile/tablet)

Posted: Sun Sep 09, 2012 4:32 pm
by maxkatz

You create a new page by going to Project Create New Screen.

I'm not sure I understand what you mean by opening them randomly -- when the app is running?