</arguments>
</buildCommand>
<buildCommand>
- <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
<name>json.validation.builder</name>
<arguments>
</arguments>
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.tizen.web.privilege.nature.PrivilegeBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.tizen.web.editor.css.nature.CSSBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>json.validation.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.tizen.web.project.builder.WebNature</nature>
+ <nature>org.tizen.web.privilege.nature.PrivilegeNature</nature>
+ <nature>org.tizen.web.editor.css.nature.CSSNature</nature>
</natures>
</projectDescription>
<tizen:application id="1I49ZSFY56.CallLog" package="1I49ZSFY56" required_version="2.2"/>
<content src="index.html"/>
<icon src="icon.png"/>
- <name>CallLog</name>
+ <name>Call log</name>
<tizen:privilege name="http://tizen.org/privilege/application.launch"/>
<tizen:privilege name="http://tizen.org/privilege/callhistory.read"/>
<tizen:privilege name="http://tizen.org/privilege/callhistory.write"/>
color: #FFF;
}
+.call {
+ -moz-border-radius-bottomleft: 0;
+ -webkit-border-bottom-left-radius: 0;
+ border-bottom-left-radius: 0;
+ -moz-border-radius-bottomright: 0;
+ -webkit-border-bottom-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
.call .callTime {
font-size: 14px;
color: #646464;
opacity: 0.5;
}
-.exit,.back {
- background-image: url(../images/exit.png);
- width: 44px;
- height: 27px;
- float: right;
- border: 0;
- margin-right: 15px;
- background-repeat: no-repeat;
- margin-top: 8px;
- background-size: 44px;
-}
-
.cancel {
width: 64px;
height: 27px;
margin-top: 0px;
height: 30px;
width: 40px;
- padding-left: 10px;
+ padding-left: 4px;
}
.selectAllBox p {
padding: 0px;
}
-#delete {
- width: 70px;
-}
-
-#delete-toolbar {
- width: 70px;
-}
-
.ui-controlbar-s, .ui-controlbar-left, .ui-controlbar-right {
border: 0px;
}
.date.ui-corner-top {
border-radius: 0;
-}
\ No newline at end of file
+}
<html>
<head>
<meta charset="utf-8"/>
- <meta name="description" content="CallLog Web Sample App"/>
+ <meta name="description" content="Call log Web Sample App"/>
<meta name="viewport" content="width=360, user-scalable=no"/>
- <title>CallLog</title>
+ <title>Call log</title>
<script src="/usr/share/tizen-web-ui-fw/latest/js/jquery.min.js"></script>
<script src="/usr/share/tizen-web-ui-fw/latest/js/tizen-web-ui-fw-libs.min.js"></script>
<link rel="stylesheet" type="text/css" href="./css/style.css"/>
</head>
<body>
- <div data-role="page" data-footer-Exist="false" id="callView" data-add-back-btn="header"></div>
+ <div data-role="page" data-footer-Exist="false" id="callView" ></div>
</body>
</html>
\ No newline at end of file
appControl,
null,
function () {
+ app.ui.unlockOptionButtons();
},
function (e) {
console.error('App_makeCall: CALL service failure', e);
self.ui.showErrorPopup('Call service is unavailable');
+ app.ui.unlockOptionButtons();
},
{
onsuccess: function () {
+ app.ui.unlockOptionButtons();
},
onfailure: function (er) {
console.error('Error during call to ' + phoneNumber, er);
+ app.ui.unlockOptionButtons();
}
}
);
var self = this,
appControl = new tizen.ApplicationControl(
- 'http://tizen.org/appcontrol/operation/send_text',
+ 'http://tizen.org/appcontrol/operation/compose',
'sms:' + phoneNumber
);
appControl,
null,
function () {
+ app.ui.unlockOptionButtons();
},
function (e) {
console.error('Message launch error: ', e);
self.ui.showErrorPopup('Message service is unavailable');
+ app.ui.unlockOptionButtons();
},
{
onsuccess: function () {
+ app.ui.unlockOptionButtons();
},
onfailure: function (er) {
console.error('Message service launch error: ', er);
self.ui.showErrorPopup('Message service is unavailable');
+ app.ui.unlockOptionButtons();
}
}
);
app.showCallHistory();
});
+ $(".ui-scrollview-view").listview();
+
$('#historyForCallerView').on('tap', '.ui-btn-back', function (event) {
event.preventDefault();
event.stopPropagation();
$('#historyForCallerView').on('pageshow', function () {
$('#content').css('top', '160px');
$('#header').css('height', '160px');
- $('#delete-toolbar').css('width', '70px');
$('#callerListContainer')
.children('.ui-overflow-indicator-top', '.ui-overflow-indicator-bottom')
.hide();
.fadeOut(200);
});
- $(window).on('resize', function () {
- $('#delete-toolbar').css('width', '70px');
- });
-
$('.selectAllBox').children().on('tap', function () {
self.selectAll();
self.selectAllDetailsEach();
},
lockOptionButtons: function () {
- var buttons = $('#callActionBtn, #smsActionBtn');
- buttons.data('activated', true);
+ $('#callActionBtn, #smsActionBtn').data('activated', true);
+ },
+
+ unlockOptionButtons: function () {
setTimeout(function () {
- buttons.data('activated', false);
+ $('#callActionBtn, #smsActionBtn').data('activated', false);
}, 2000);
},
.empty()
.append(elements);
+ /* workaround solution for not auto refreshing list view*/
+ setTimeout(function () {
+ $(".ui-scrollview-view").listview().listview('refresh');
+ }, 0);
+
/* workaround for registering call during working app in removeMode */
if (this.removeMode) {
if ($('#selectAllDetails').attr('checked')){
}
$('#forCallerList .toRemove').show()
}
-
- /* workaround for UIFW & webkit scroll*/
- $.mobile.activePage.css('min-height', 0);
},
/**
},
scrollToBottom: function () {
- var scrollView = $(".ui-scrollview-view");
- scrollView.css("-webkit-transform", "translate3d(0px, -" + scrollView.height() + "px, 0px)");
+ $(".ui-scrollview-view")
+ .css("-webkit-transform", "translate3d(0px, -" + scrollView.height() + "px, 0px)");
},
onVisibilityChange: function () {
<div data-role="page" id="callView" data-add-back-btn="header">
<div data-role="header" id="page-header" data-position="fixed">
- <h1>Call Log</h1>
+ <h1>Call log</h1>
</div>
<div data-role="content">
<ul data-role="listview" id="calllogList" data-filter="true" data-position="fixed" data-inset="true"></ul>
- <div data-role="page" id="historyForCallerView" data-add-back-btn="header">
+ <div data-role="page" id="historyForCallerView">
<div data-role="header" data-position="fixed" id="header">
- <h1>History For Caller</h1>
+ <h1>History for caller</h1>
<div class="contact">
<div class="infoContainer">
<div class="photo"></div>