11 Apr 2013 8:03 PM #1
Unanswered: Tear off using EXTJs and using Sencha packagerI am using ExtJs 4.2 in my project and I am stuck with one requirement. Actually what we want is to open a new window which will the replica of widget from where it has been requested. We are able to open it by using window.open(), but please suggest me the way with which i can maintain the same state such as various values in various components etc. present in parent widget. Moreover this child window should be independent from the application. Is there any way of doing it ??
One such example as the requirement is :
the case here is , suppose we have a drop down on a widget and i select , say 'ABC', from the list of data. Now when i open new replica of this widget in a new window i should get the dropdown in the child window prepopulated with the value 'ABC'. Please let me know if we can achieve this.
12 Apr 2013 12:18 PM #2
- Join Date
- Mar 2007
- Frederick, MD
- Vote Rating
Multi-window support for Desktop Packager is coming with version 1.2. We don't have a public timeline for this release as of now, but I can say that the progress with this support is coming along nicely.
One such example as the requirement is :the case here is , suppose we have a drop down on a widget and i select , say 'ABC', from the list of data. Now when i open new replica of this widget in a new window i should get the dropdown in the child window prepopulated with the value 'ABC'. Please let me know if we can achieve this.
- Pass the data on the URL as a query string parameter, that can be extracted by the code in the child window
- Use message passing (postMessage, or Desktop Packager's own inter-window communcation primitives) to send data to the child window
In either case, sending data to the child window will be a very straightforward task.
15 May 2013 12:29 AM #3
what is the deffarence between sencha app build native and sencha app package build
both are giving apk file for android and use same packager.json.
sencha app build native this command will give only sencha related files (we can’t any use related lib files )added apk file and apk file soze will be very less.
Above will less then 1 mb this include only required sencha files
sencha app package build packager.json this command this will give apk file which will have all the sencha files and user libs but apk size too big
this will be in more them 10mb this include all the sencha files
how can we achieve adding only user libs and sencha file which required for our application for reducing the apk file size.