Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    35
    Vote Rating
    0
    manoveg is on a distinguished road

      0  

    Default Unanswered: google maps api stopped working in samsung phones

    Unanswered: google maps api stopped working in samsung phones


    Hi ,
    I have a webapp running for quite some time made using sencha touch 1.1 .
    I have used google map api and it was working fine on ios , android (samsung , htc) .

    Recently it has stopped working on Samsung Android phones. It is still working on HTC.

    I have used
    Code:
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
    
    a view mapPlaces.js
    
    
    xyz.views.mapPlaces = new Ext.Map({
        layout:'card',
        id:'myMappp',
        mapOptions : {
            zoom : 12,
            panControl: false,
            streetViewControl: true,
            mapTypeId : google.maps.MapTypeId.ROADMAP,
            navigationControl: true,
            navigationControlOptions: {
                style: google.maps.NavigationControlStyle.DEFAULT
            },
            zoomControl: true,
            zoomControlOptions: {
            style: google.maps.ZoomControlStyle.SMALL
        }
       }
    });
    
    
    
    var marker = new google.maps.Marker({
                    position: new google.maps.LatLng(lat, lon), 
                    title : name, 
                    map: CardForYou.views.mapPlaces.map,
                    discount:discount,
                    icon: icon ,
                    description:description,
                    bild:bild,
                    fotos:fotos,
                    adress:adress,
                    street:street,
                    zip:zip,
                    city:city
                });
                
                markersArray.push(marker);
                
                new google.maps.event.addListener(marker, 'mousedown', function(event) {
    ....
    }
    
    and then
    
    mapOnSuccess = function(position) {
                
              myLat = position.coords.latitude;
              myLon = position.coords.longitude;
              glob_Lat = myLat;
              glob_Lon = myLon;
              
              var myPosition = new google.maps.LatLng(myLat, myLon);
              
              new google.maps.Marker({
                            position: myPosition, 
                            title : 'My location', 
                            map: xyz.views.mapPlaces.map, 
                            icon:'images/my_location.png',
                        });
              
              xyz.views.mapPlaces.update(myPosition);
              loadDataPlaces(myLat, myLon, globRange);
            };
    now it is showing default location of california in samsung phones and not asking permission to use gps. I have done activating location services, clearing cache etc.

    Update
    I tried opening http://maps.google.com/ on the same phone and there also google maps could not get the current location. I also tried http://html5demos.com/geo
    and it could also not get current position and failed.

    Is this an HTML5 problem.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    So it's a device issue and not a Sencha Touch issue if I understand correctly.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.