Search Type: Posts; User: arlo.carreon

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Well in our case sencha was not capturing the event of turning the iPad/iPhone sideways. So in order to help sencha recognize the orientation change, we listen to this event:
    ...
  2. Replies
    8
    Views
    3,860
    I modified the file a bit and it now works for me.

    The problem was that the LocInfo.getLocation() function was making an ajax call, so JS would continue running code asynchronously (another reason...
  3. Replies
    8
    Views
    3,860
    Why don't you paste (or attach) your app.js file here or in a PM. This will probably help speed along the process.
  4. Replies
    8
    Views
    3,860
    updateUserLocation is being used as a parameter so that getLocation() can call it later as a callback. When getLocation(callbackFunction) calls the callback function (provided through its...
  5. That looks awesome!!! Can't wait to try it, I like this better than static width and heights. Thanks for sharing.

    p.s. this was tested with phonegap and ipad simulator correct?
  6. Replies
    8
    Views
    3,860
    The google api was giving an error with "getLocation:true". Try to use sencha geo location.

    Implement these functions:


    var userLocation = {};
    function getLocation()
    {
    // Get lat/long...
  7. That is awesome! I am glad you got it working. About the issue with the app crashing after an alert, that has to do with the phonegap.js code. You should not include phonegap.js file, it appears to...
  8. Although this is not the fix you are looking for, I have suggested some syntax correction from the code you provided. I believe the callback was not working before, because of where you had that...
  9. Evant,

    I have tried the suggested override, but I still do not seem to have access to the keyCode attribute. Besides the suggested override, should I change anything else in this code?



    var...
  10. I am using this searchfield:


    var searchField = new Ext.form.SearchField({
    value:'Address OR MLS',
    cls:'searchfield',
    listeners: {
    focus: function(){ searchField.setValue(''); },...
  11. Fabien,

    I finally got this to work. I had the same problem you were having with PhoneGap and Sencha. Apparently Sencha, does recognize the WindowResize event so I used that event to manually...
  12. Hey Fabien,

    I have been following your threads since yesterday. I am also trying to launch an iPad app into the app store and my final step is getting the orientation to change on the ipad with...
  13. Replies
    2
    Views
    1,057
    How can I use the regular functionality for radio buttons? I just need to know which one was checked.
  14. Replies
    15
    Views
    2,888
    Here is some code that works for me.



    // Some Variables
    var defaultLocation = {latitude:29.763324,longitude:-95.379634};


    // Map Object/Settings
    var HARmap = new Ext.Map({
  15. Replies
    15
    Views
    2,888
    I have tested this and it works fine. It is the bare bones of my current project.



    // Some Variables
    var defaultLocation = {latitude:29.763324,longitude:-95.379634};


    // Map...
  16. Replies
    15
    Views
    2,888
    lol, awesome. Seems like it is coming along.
  17. Replies
    15
    Views
    2,888
    Your map object and marker object are good. I inserted them into my application and it shows your map with your marker. You must have something wrong with your flow. I attached a screen shot.
  18. Replies
    15
    Views
    2,888
    lol, I guess so. Sorry I couldn't help.
  19. Replies
    15
    Views
    2,888
    did you try adding the marker in the:


    Ext.Setup({ onReady: function(){
    var mapObj = this.panelMap.map;
    var marker = new google.maps.Marker({
    map: mapObj,...
  20. Replies
    15
    Views
    2,888
    I see what the problem is. You need to create the marker sometime AFTER the map has been loaded into the panel.
  21. Replies
    15
    Views
    2,888
    Your syntax looks good. I think it might be the "this" object that is confusing your marker config can you try this code for your marker.



    var mapObj = this.panelMap.map;
    var marker...
  22. Replies
    2
    Views
    1,057
    {
    xtype: 'fieldset',
    title: 'Property Status',
    defaults: { required: true, xtype: 'radio' },
    items: [
    { name : 'prop_type_status', label: 'For Sale', checked: true, value: 'sale'...
  23. Yea pretty much. Have you seen the docs?

    http://www.sencha.com/deploy/touch/docs/
  24. I think I can help a little.

    This code:


    var dockedItems = [{
    xtype: 'toolbar',
    ui: 'metal',
    items: buttonsGroup,
    dock: 'top',
  25. ok, I know what you mean. The USA Today iPad App does just that.

    i'm not a sencha expert, but I think you might have to divide your html content into "pages" and add a vertical carousel (with...
Results 1 to 25 of 34
Page 1 of 2 1 2