}
else if(__pWindowInfo != null)
{
- if(__pWindowInfo->pageUrl.GetLength() > 0 && previousSceneId != IDSCN_MULTIPLE_WINDOW && previousSceneId != IDSCN_MULTIPLE_WINDOW_GRID && previousSceneId != IDSCN_BOOKMARK_VIEW && previousSceneId != IDSCN_SETTINGS && previousSceneId != IDSCN_MAIN_VIEW)
+ if(__pWindowInfo->pageUrl.GetLength() > 0 &&previousSceneId != IDSCN_BRIGHTNESS && previousSceneId != IDSCN_HISTORY_LIST && previousSceneId != IDSCN_MULTIPLE_WINDOW && previousSceneId != IDSCN_MULTIPLE_WINDOW_GRID && previousSceneId != IDSCN_BOOKMARK_VIEW && previousSceneId != IDSCN_SETTINGS && previousSceneId != IDSCN_MAIN_VIEW)
{
LoadUrl(__pWindowInfo->pageUrl);
}
void
MainForm::OnPageTitleReceived(const Tizen::Base::String& title)
{
- AppLog("MainForm::OnPageTitleReceived");
+ AppLog("MainForm::OnPageTitleReceived %ls",title.GetPointer());
if (__pWindowInfo)
{
__pWindowInfo->pageTitle = title;
//__isLongPressedDone = true;
result r =__pWebViewer->SetBlockSelectionPosition(currentPosition);
- if (((tagName.CompareTo(L"INPUT") == 0) || tagName.CompareTo(L"TEXTAREA") == 0) && innerHtml.GetLength() == 0 && __isWebKeypadOpened == true && __currentSelectedStr.CompareTo(L"") == 0 && r == E_INVALID_ARG)
+ if (((tagName.CompareTo(L"INPUT") == 0) || tagName.CompareTo(L"TEXTAREA") == 0) && innerHtml.GetLength() == 0 /*&& __isWebKeypadOpened == true*/ && __currentSelectedStr.CompareTo(L"") == 0 && r == E_INVALID_ARG)
{
AppLog("MainForm::OnWebPageBlockSelected show paste option");
AppLog("CreateStatementN error: %s", GetErrorMessage(GetLastResult()));
return GetLastResult();
}
- __pDbStatement->BindString(0,historyUrl);
- __pDbStatement->BindString(1,historyTitle);
+ r = __pDbStatement->BindString(0,historyUrl);
+ AppLog("BindString result historyUrl %s",GetErrorMessage(r));
+ r = __pDbStatement->BindString(1,historyTitle);
+ AppLog("BindString result historyTitle %s historyTitle %ls",GetErrorMessage(r),historyTitle.GetPointer());
String visitedTime = GetStringFromDate(date);
/*DateTimeFormatter *pFormatter = DateTimeFormatter::CreateDateFormatterN(DATE_TIME_STYLE_DEFAULT);