-
7 Mar 2013 2:34 AM #11
Of course, thanks a lot for this news..

rgporter mentioned something else, let him show how he does that ^_^
-
7 Mar 2013 2:42 AM #12
I think, rgporter was probably not aware, we were talking about native packaged apps.
-
9 Mar 2013 12:53 PM #13
-
19 Mar 2013 12:13 PM #14
Android Back Button with PhoneGap
Android Back Button with PhoneGap
If you package your Sencha Touch app with PhoneGap, you can easily bind the Android back button to your own javascript function like this:
From here, you implement that function onBackKeyDown, which can get a reference to your Sencha Touch application, and in turn get access to its state. This means, whenever you hit the back, that function needs to determine what view is shown to the user so you can take appropriate action. For our app, its pretty simple:Code:document.addEventListener("backbutton", Ext.bind(onBackKeyDown, this), false); // add back button listener
Login View = exit app on back
Main View (NavigationView) = back button pops a view, if there is only 1 view, then it exits app
It's actually pretty easily to implement. I can't speak for apps packaged with Sencha Native Packager, as we use PhoneGap.
Cheers,
Scott
-
19 Mar 2013 11:20 PM #15
Thank you for sharing! But that is the catch: you still need PhoneGap to do that. But this thread is about new features for ST2.2 (=no PhoneGap)...
As I said: some of the most basic functions for a native app are not possible with plain ST...
-
20 Mar 2013 5:00 AM #16
Auto Complete Text Field Component
Auto Complete Text Field Component
@Mitchell,
I would like to know about whether sencha touch 2.2 supports Auto Complete(Text Field) Component.
If it comes with new ST 2.2 , i would be very happy
Thanks,
-
20 Mar 2013 5:43 AM #17
Actually this thread is not about new features of ST 2.2 - this thread is about someone's wishlist for Sencha Touch and Android. The title of the thread is misleading. As Mitchell stated from the 2nd post, there are a lot of things they want to support, but I doubt you will see them 2.2. If you've been following what 2.2 is mainly about - it's all about setting up the framework to support different browsers besides webkit. This involves going through all of the styles and breaking them out into a base stylesheet and then implement specific browser stylesheets that are loaded by the microloader. This is a great direction for the framework.
Personally, I would like to see the Sencha team focus on improving their framework (and especially Sencha Cmd- its horrible), and not focusing on the native aspect, as PhoneGap already implements most of the native hooks you'll want to do. You can create a wishlist all you want, but my original post was telling you that there are ways to accomplish what you want today, and even tools to help you with it.
-
20 Mar 2013 7:49 PM #18
Misleading ? did you read the first post ? Is my english so bad ? there is no possible confusion, imho...
Sencha cmd is quite good. i choose sencha at the first place because it's (almost) the only framework who can pack native app.
I don't quite understand what you would like in sencha 2.2.... What I could say is that I can build nice, responsive app, quite fast, but the lack of android hardware implementation is a pain on native app.
By the way, do you have application in production with cordova on ios or android market ? I'd like to see them, because (and I know those tools) when I tried to build them, the app speed has declined significantly. I red a lot about that, and the fact that you add a ton of js and calls when you use phonegap....
Again, if you make a poll, I don't think your wishes will be the same as many other users asking the same feature on this forum...
EDIT : A great tool on ST2 and ST2 : superant from Ross, https://vimeo.com/47215405
-
24 Mar 2013 7:33 AM #19


Reply With Quote