Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

[WARN] : CoreLocation: Could not get ideal gyro update interval, assuming 0.005000 s

$
0
0

button.addEventListener('click', function(e){
            var data = this.dataSource, dialog;
            if(data.phone){
                dialog = Ti.UI.createAlertDialog({
                    buttonNames: ['??', '??'],
                    title: data.title,
                    message: '????? ' + data.phone
                });
                dialog.addEventListener('click', function(e){
                    if(e.index === 1){
                        Ti.Platform.openURL('tel:' + data.phone);
                    }
                });
            }else{
                dialog = Ti.UI.createAlertDialog({
                    buttonNames: ['????'],
                    title: data.title,
                    message: '???????????????????????'
                });
            }
            dialog.show();
        });

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>