Search Type: Posts; User: ggendre
Search: Search took 0.03 seconds.
i had the same problem with Sencha touch 2, Phonegap 1.5 and a Galaxy Nexus.
It seems that the dynamic loading of views/controllers and so on is not working.
Since you package you app in a...
14 Mar 2012 3:42 AM
Okay for the pop() and push() but I don't want to re-create my view.
The documentation is saying I can use setActiveItem to change between existing views.
I think the title should change, and...
9 Mar 2012 5:57 AM
In the senchatouch2 final version, the setActiveItem method of navigationView is not properly changing the title of its navigationBar.
see code below :
9 Mar 2012 1:29 AM
I have the same problem with setActiveItem : the title is not changing :
Look at this small code, when I click on the back button, the title is changing. but when I click on the button that calls...
Good news : I can't reproduce this with the new sencha touch 2 release.
I think you can close this isssue now.
If you are in a classical web app, the device back button should do the "history.back()" stuff.
But if you are in a phonegap environnement it won't.
In your phonegap android handler you can...
sorry, there is so many senchatouch possible implementations.
the this.getHistory().addBeforeListener(), were only some ideas of another user. my answer was just below.
the setActiveItem method...
in my case i am using MVC and routes, so doing an history.back() on the back button has sense.
on this other thread, i just posted an answer on how to redefine the back button action to go back in...
I got the back button card animation working good with routes enabled : here is how :
all my routes are calling one method called 'showview' wich display the good view.
sorry guys, I'm a bit overbooked. I still have the problem so I will try to create a testcase as soon as possible (this week i hope)
I am using senchatouch with phonegap and its webSQL API to access a local database and fill my views with it.
I was using ST2 PR4, and then ST Beta and now i'm trying to move to the RC, but :...
23 Feb 2012 8:29 AM
I have noticed that activeitemchange was fired before the animation between cards started. Is there a way to have an event when the view is fully visible : when the animation between views ended ?...
23 Feb 2012 12:41 AM
I work with phonegap in a webview and I am trying to have a list of 600 contacts items list with correct performance on old phones (I'm testing on an iPod Touch 2nd generation and an android...
thanks for the advice !
when you talk about collision, you mean : collisions with the id of other components? something else?
maybe a class or an id on the body is safer ?
22 Feb 2012 6:36 AM
I don't find natural that, when we set all our routes and use them everywhere, the back button doesn't rely on this history management.
For thoses interested, here is how to have a back button...
you can also specify an id on your main component.
This will create a div with this same id in the HTML dom,
Then, there is a chance that if you put this id before your CSS selector, you will...
I think that if your routes are OK, then you could use "window.history.back();" and it will go back to the last url/route.
(but take my advice with care because I am quite novice in senchatouch.)
I use senchatouch with phonegap and was very interested in reducing the starting time of my app on old devices.
I used the technique described here to create my application production file and it...
did you manage to make a proper production file?
or is the asynchronous trick the only way to have a "fast" startup time ?
thanks luismerino, it worked for me too !
Anybody know why is groupTpl so hard to use now? is there another "official and better" way to customize group headers?
another way of handling the back action, without using history and only in the case of an app based on a navigationView is to do
in the phonegap onBackKeyDown event...
For thoses who are a bit lost like I was, here is what I've done :
My app is based around a big navigationView with an id of 'app'.
in my main controller I added two routes :
thank you for the replies and thank you for the link !!
I was only using the pr4-docs which does not contain any documentation about routes. The snippet I pasted first was (yes, sorry) an extract...
I am developing an app for ios and android with senchatouch and phonegap.
I need to handle the hardware back button of android phones.
In phonegap i can do :
//Define a handler for...
Results 1 to 24 of 24