View Full Version : How to use Application Profiles to provide device-specific layouts?

27 Apr 2011, 9:26 PM
I'm building a mapping application for which I'd like to support device-specific layouts. For example a list of map layers might be presented in a sidebar in a 2 column layout when running on a tablet while on a phone displayed as a separate view.

I've had a look at the Kitchen Sink demo but it doesn't appear to be using the new profile API functions. Can somebody give me an overview of how to use the profile API?

Any examples would be great.


28 Apr 2011, 12:50 AM
I'm not sure what you mean by "new profile API functions".
I couldn't find any reference in the API docs..

28 Apr 2011, 1:06 PM
@realjax Application profiles are described here: http://dev.sencha.com/deploy/touch/docs/?class=Ext.Application in the introductory description of the Application class.