View Full Version : Sencha Touch 2 Profiles Issue

17 May 2012, 7:16 AM
Hello Community.
I'm having an issue with profiles in ST2. When I test my application on the Galaxy Tab displays the Phone scripts!
I really like to know how Sencha knows what's a Phone and what's a Tablet... :-?

Thanks for any information. :)

21 May 2012, 6:13 AM
What does the isActive methods on your profiles look like?

23 May 2012, 6:23 AM
Hi, thanks for the reply.


isActive: function() {
return Ext.os.is.Phone;


isActive: function() {
return Ext.os.is.Tablet || Ext.os.is.Desktop;

That's the code. But, the problem was (I think!) that I was testing in Galaxy Tab simulator in my Eclipse. And by default it comes with android version 2.2.
When I test in a real Galaxy Tab with android 3.x, it works perfectly! :D

23 May 2012, 6:28 AM
Great. Be warned thought that we don't support Android 3.x, things may work but we are not going to guarantee that things will work. Android 3.x's browser has a lot of quirks and bugs.