diff --git a/tizen/MapsWithMe/inc/AboutForm.hpp b/tizen/MapsWithMe/inc/AboutForm.hpp new file mode 100644 index 0000000000..d437ddc805 --- /dev/null +++ b/tizen/MapsWithMe/inc/AboutForm.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include + +class AboutForm: public Tizen::Ui::Controls::Form +, public Tizen::Ui::Controls::IFormBackEventListener +, public Tizen::Ui::IActionEventListener +{ +public: + AboutForm(); + virtual ~AboutForm(void); + + bool Initialize(void); + virtual result OnInitializing(void); + virtual void OnFormBackRequested(Tizen::Ui::Controls::Form & source); + virtual void OnActionPerformed(const Tizen::Ui::Control & source, int actionId); + +private: + static const int ID_CLOSE = 101; +}; diff --git a/tizen/MapsWithMe/inc/AppResourceId.h b/tizen/MapsWithMe/inc/AppResourceId.h new file mode 100644 index 0000000000..d5c1e15391 --- /dev/null +++ b/tizen/MapsWithMe/inc/AppResourceId.h @@ -0,0 +1,210 @@ +#ifndef _APP_RESOURCE_ID_H_ +#define _APP_RESOURCE_ID_H_ + +extern const wchar_t* IDC_ABOUT_BUTTON; +extern const wchar_t* IDC_CLOSE_BUTTON; +extern const wchar_t* IDC_ENABLE_SCALE_BUTTONS_CB; +extern const wchar_t* IDC_FOOTS_CHECKBUTTON; +extern const wchar_t* IDC_MEASUREMENT_NOTE; +extern const wchar_t* IDC_MEASUREMENT_UNITS_LABEL; +extern const wchar_t* IDC_METERS_CHECKBUTTON; +extern const wchar_t* IDC_SELECT_STORAGE_BUTTON; +extern const wchar_t* IDC_VERSION_LABEL; +extern const wchar_t* IDC_WEB; +extern const wchar_t* IDF_ABOUT_FORM; +extern const wchar_t* IDS_ABOUT; +extern const wchar_t* IDS_ABOUT_MENU_TITLE; +extern const wchar_t* IDS_ADDRESS; +extern const wchar_t* IDS_ADD_NEW_SET; +extern const wchar_t* IDS_ADD_TO_BOOKMARKS; +extern const wchar_t* IDS_ADVISE_UPDATE_MAPS; +extern const wchar_t* IDS_ALLOW_STATISTICS; +extern const wchar_t* IDS_ALLOW_STATISTICS_HINT; +extern const wchar_t* IDS_APPSTORE_MESSAGE; +extern const wchar_t* IDS_APP_NAME; +extern const wchar_t* IDS_ARE_YOU_SURE; +extern const wchar_t* IDS_ATM; +extern const wchar_t* IDS_BACK; +extern const wchar_t* IDS_BANK; +extern const wchar_t* IDS_BECOME_A_PRO; +extern const wchar_t* IDS_BOOKMARKS; +extern const wchar_t* IDS_BOOKMARKS_IN_PRO_VERSION; +extern const wchar_t* IDS_BOOKMARKS_USAGE_HINT; +extern const wchar_t* IDS_BOOKMARKS_USAGE_HINT_IMPORT_ONLY; +extern const wchar_t* IDS_BOOKMARK_COLOR; +extern const wchar_t* IDS_BOOKMARK_MOVE_FAIL; +extern const wchar_t* IDS_BOOKMARK_SETS; +extern const wchar_t* IDS_BOOKMARK_SET_NAME; +extern const wchar_t* IDS_BOOKMARK_SHARE_EMAIL; +extern const wchar_t* IDS_BOOKMARK_SHARE_EMAIL_SUBJECT; +extern const wchar_t* IDS_BOOKMARK_SHARE_SMS; +extern const wchar_t* IDS_CANCEL; +extern const wchar_t* IDS_CANCEL_DOWNLOAD; +extern const wchar_t* IDS_CANT_CHANGE_THIS_SETTING; +extern const wchar_t* IDS_CLOSE; +extern const wchar_t* IDS_COLOR; +extern const wchar_t* IDS_CONNECTION_SETTINGS; +extern const wchar_t* IDS_CONTINUE_DOWNLOAD; +extern const wchar_t* IDS_COPIED_TO_CLIPBOARD; +extern const wchar_t* IDS_COPY_LINK; +extern const wchar_t* IDS_COUNTRY_STATUS_ADDED_TO_QUEUE; +extern const wchar_t* IDS_COUNTRY_STATUS_DOWNLOAD; +extern const wchar_t* IDS_COUNTRY_STATUS_DOWNLOADING; +extern const wchar_t* IDS_COUNTRY_STATUS_DOWNLOAD_FAILED; +extern const wchar_t* IDS_DELETE; +extern const wchar_t* IDS_DELETE_OLD_MAPS; +extern const wchar_t* IDS_DESCRIPTION; +extern const wchar_t* IDS_DEVICE_DOESNOT_SUPPORT_LOCATION_SERVICES; +extern const wchar_t* IDS_DISCONNECT_USB_CABLE; +extern const wchar_t* IDS_DONE; +extern const wchar_t* IDS_DOWNLOAD; +extern const wchar_t* IDS_DOWNLOADED_TOUCH_TO_DELETE; +extern const wchar_t* IDS_DOWNLOADED_TOUCH_TO_UPDATE; +extern const wchar_t* IDS_DOWNLOADED_X_Y_TOUCH_TO_DELETE; +extern const wchar_t* IDS_DOWNLOADING; +extern const wchar_t* IDS_DOWNLOADING_COUNTRY_CAN_PROCEED; +extern const wchar_t* IDS_DOWNLOADING_IS_ACTIVE; +extern const wchar_t* IDS_DOWNLOADING_TOUCH_TO_CANCEL; +extern const wchar_t* IDS_DOWNLOADING_X_TOUCH_TO_CANCEL; +extern const wchar_t* IDS_DOWNLOAD_COUNTRY_ASK; +extern const wchar_t* IDS_DOWNLOAD_COUNTRY_FAILED; +extern const wchar_t* IDS_DOWNLOAD_COUNTRY_SUCCESS; +extern const wchar_t* IDS_DOWNLOAD_HAS_FAILED; +extern const wchar_t* IDS_DOWNLOAD_LOCATION_COUNTRY; +extern const wchar_t* IDS_DOWNLOAD_LOCATION_MAP_PROPOSAL; +extern const wchar_t* IDS_DOWNLOAD_LOCATION_MAP_UP_TO_DATE; +extern const wchar_t* IDS_DOWNLOAD_LOCATION_UPDATE_MAP_PROPOSAL; +extern const wchar_t* IDS_DOWNLOAD_MAPS; +extern const wchar_t* IDS_DOWNLOAD_MB_OR_KB; +extern const wchar_t* IDS_DOWNLOAD_RESOURCES; +extern const wchar_t* IDS_DOWNLOAD_RESOURCES_CONTINUE; +extern const wchar_t* IDS_DOWNLOAD_VIEWPORT_COUNTRY_TO_SEARCH; +extern const wchar_t* IDS_DOWNLOAD_X_KB; +extern const wchar_t* IDS_DOWNLOAD_X_MB; +extern const wchar_t* IDS_DO_NOTHING; +extern const wchar_t* IDS_DO_NOT_ASK_ME_AGAIN; +extern const wchar_t* IDS_DROPPED_PIN; +extern const wchar_t* IDS_EDIT; +extern const wchar_t* IDS_EMAIL; +extern const wchar_t* IDS_ENABLE_LOCATION_SERVICES; +extern const wchar_t* IDS_ENTERTAINMENT; +extern const wchar_t* IDS_ENTER_PROMOCODE_HINT; +extern const wchar_t* IDS_EXTERNAL_STORAGE_IS_NOT_AVAILABLE; +extern const wchar_t* IDS_FOOD; +extern const wchar_t* IDS_FREE_DISK_SPACE_FOR_COUNTRY_X; +extern const wchar_t* IDS_FREE_SPACE_FOR_COUNTRY; +extern const wchar_t* IDS_FUEL; +extern const wchar_t* IDS_GETTING_POSITION; +extern const wchar_t* IDS_GET_IT_NOW; +extern const wchar_t* IDS_GPS_IS_DISABLED_LONG_TEXT; +extern const wchar_t* IDS_HOSPITAL; +extern const wchar_t* IDS_HOTEL; +extern const wchar_t* IDS_INFO; +extern const wchar_t* IDS_KB; +extern const wchar_t* IDS_KILOMETRES; +extern const wchar_t* IDS_KITKAT_MIGRATE_FAILED; +extern const wchar_t* IDS_KITKAT_MIGRATE_OK; +extern const wchar_t* IDS_KITKAT_OPTIMIZATION_IN_PROGRESS; +extern const wchar_t* IDS_LATER; +extern const wchar_t* IDS_LEAVE_A_REVIEW; +extern const wchar_t* IDS_LEAVE_REVIEW_TEXT; +extern const wchar_t* IDS_LENGTH; +extern const wchar_t* IDS_LOAD_KMZ_FAILED; +extern const wchar_t* IDS_LOAD_KMZ_SUCCESSFUL; +extern const wchar_t* IDS_LOAD_KMZ_TITLE; +extern const wchar_t* IDS_LOCATION_IS_DISABLED_LONG_TEXT; +extern const wchar_t* IDS_LOCATION_SERVICES_ARE_NEEDED_DESC; +extern const wchar_t* IDS_MAPS; +extern const wchar_t* IDS_MAPS_STORAGE; +extern const wchar_t* IDS_MAPS_STORAGE_SUMMARY; +extern const wchar_t* IDS_MARKED_FOR_DOWNLOADING; +extern const wchar_t* IDS_MB; +extern const wchar_t* IDS_MEASUREMENT_UNITS; +extern const wchar_t* IDS_MEASUREMENT_UNITS_SUMMARY; +extern const wchar_t* IDS_MENU_SEARCH; +extern const wchar_t* IDS_MESSAGE; +extern const wchar_t* IDS_MILES; +extern const wchar_t* IDS_MORE_APPS_ADS; +extern const wchar_t* IDS_MORE_APPS_GUIDES; +extern const wchar_t* IDS_MORE_APPS_TITLE; +extern const wchar_t* IDS_MORE_INFO; +extern const wchar_t* IDS_MOVE_MAPS; +extern const wchar_t* IDS_MY_PLACES; +extern const wchar_t* IDS_MY_POSITION; +extern const wchar_t* IDS_MY_POSITION_SHARE_EMAIL; +extern const wchar_t* IDS_MY_POSITION_SHARE_EMAIL_SUBJECT; +extern const wchar_t* IDS_MY_POSITION_SHARE_SMS; +extern const wchar_t* IDS_NAME; +extern const wchar_t* IDS_NEVER; +extern const wchar_t* IDS_NEW_MAP_DATA_FORMAT_UPGRADE_DIALOG; +extern const wchar_t* IDS_NOT_ENOUGH_DISK_SPACE; +extern const wchar_t* IDS_NOT_ENOUGH_FREE_SPACE_ON_SDCARD; +extern const wchar_t* IDS_NOT_ENOUGH_MEMORY; +extern const wchar_t* IDS_NO_INTERNET_CONNECTION_DETECTED; +extern const wchar_t* IDS_NO_SEARCH_RESULTS_FOUND; +extern const wchar_t* IDS_NO_THANKS; +extern const wchar_t* IDS_NO_WIFI_ASK_CELLULAR_DOWNLOAD; +extern const wchar_t* IDS_OK; +extern const wchar_t* IDS_PARKING; +extern const wchar_t* IDS_PAUSE; +extern const wchar_t* IDS_PHARMACY; +extern const wchar_t* IDS_PLACEPAGE_COORDINATES; +extern const wchar_t* IDS_PLACEPAGE_DISTANCE; +extern const wchar_t* IDS_PLACEPAGE_UNSORTED; +extern const wchar_t* IDS_POLICE; +extern const wchar_t* IDS_POST; +extern const wchar_t* IDS_PREF_ZOOM_SUMMARY; +extern const wchar_t* IDS_PREF_ZOOM_TITLE; +extern const wchar_t* IDS_PROMOCODE_ACTIVATION; +extern const wchar_t* IDS_PROMOCODE_ERROR; +extern const wchar_t* IDS_PROMOCODE_FAILURE; +extern const wchar_t* IDS_PROMOCODE_SUCCESS; +extern const wchar_t* IDS_PRO_VERSION_AVAILABLE; +extern const wchar_t* IDS_REMIND_ME_LATER; +extern const wchar_t* IDS_REMOVE_PIN; +extern const wchar_t* IDS_REPORT_AN_ISSUE; +extern const wchar_t* IDS_SEARCH; +extern const wchar_t* IDS_SEARCH_AVAILABLE_IN_PRO_VERSION; +extern const wchar_t* IDS_SEARCH_MAP; +extern const wchar_t* IDS_SEARCH_MODE_ALL; +extern const wchar_t* IDS_SEARCH_MODE_NEARME; +extern const wchar_t* IDS_SEARCH_MODE_VIEWPORT; +extern const wchar_t* IDS_SEARCH_SHOW_ON_MAP; +extern const wchar_t* IDS_SEARCH_UPDATE_MAPS; +extern const wchar_t* IDS_SELECT_STORAGE; +extern const wchar_t* IDS_SET; +extern const wchar_t* IDS_SETTINGS; +extern const wchar_t* IDS_SHARE; +extern const wchar_t* IDS_SHARED_USER_LABEL; +extern const wchar_t* IDS_SHARE_BOOKMARKS_EMAIL_BODY; +extern const wchar_t* IDS_SHARE_BOOKMARKS_EMAIL_SUBJECT; +extern const wchar_t* IDS_SHARE_BY_EMAIL; +extern const wchar_t* IDS_SHARE_BY_MESSAGE; +extern const wchar_t* IDS_SHARE_MY_LOCATION; +extern const wchar_t* IDS_SHARE_ON_FACEBOOK_TEXT; +extern const wchar_t* IDS_SHOP; +extern const wchar_t* IDS_SHOW_ON_BACKSCREEN; +extern const wchar_t* IDS_STRING1; +extern const wchar_t* IDS_SUGGEST_UNINSTALL_LITE; +extern const wchar_t* IDS_TOILET; +extern const wchar_t* IDS_TOUCH_TO_DOWNLOAD; +extern const wchar_t* IDS_TOURISM; +extern const wchar_t* IDS_TRACKS; +extern const wchar_t* IDS_TRANSPORT; +extern const wchar_t* IDS_TRY_AGAIN; +extern const wchar_t* IDS_UNKNOWN_CURRENT_POSITION; +extern const wchar_t* IDS_UNSUPPORTED_PHONE; +extern const wchar_t* IDS_UPDATE_COUNTRY_ASK; +extern const wchar_t* IDS_UPDATE_MB_OR_KB; +extern const wchar_t* IDS_USE_CELLULAR_DATA; +extern const wchar_t* IDS_USE_WIFI_RECOMMENDATION_TEXT; +extern const wchar_t* IDS_VERSION; +extern const wchar_t* IDS_VISIBLE; +extern const wchar_t* IDS_WAIT_SEVERAL_MINUTES; +extern const wchar_t* IDS_WHICH_MEASUREMENT_SYSTEM; +extern const wchar_t* IDS_YOPME_PREF_SUMMARY; +extern const wchar_t* IDS_YOPME_PREF_TITLE; +extern const wchar_t* IDS_ZOOM_TO_COUNTRY; +extern const wchar_t* string_sample_ID; + +#endif // _APP_RESOURCE_ID_H_ diff --git a/tizen/MapsWithMe/inc/FormFactory.hpp b/tizen/MapsWithMe/inc/FormFactory.hpp new file mode 100644 index 0000000000..e23e39c1e5 --- /dev/null +++ b/tizen/MapsWithMe/inc/FormFactory.hpp @@ -0,0 +1,19 @@ +#pragma once +#include + +// Use 'extern' to eliminate duplicate data allocation. +extern const wchar_t* FORM_MAP; +extern const wchar_t* FORM_SETTINGS; +extern const wchar_t* FORM_DOWNLOAD; +extern const wchar_t* FORM_ABOUT; + + +class FormFactory + : public Tizen::Ui::Scenes::IFormFactory +{ +public: + FormFactory(void); + virtual ~FormFactory(void); + + virtual Tizen::Ui::Controls::Form * CreateFormN(Tizen::Base::String const & formId, Tizen::Ui::Scenes::SceneId const & sceneId); +}; diff --git a/tizen/MapsWithMe/inc/MapsWithMeApp.h b/tizen/MapsWithMe/inc/MapsWithMeApp.h index a91470a197..4db47b7da8 100644 --- a/tizen/MapsWithMe/inc/MapsWithMeApp.h +++ b/tizen/MapsWithMe/inc/MapsWithMeApp.h @@ -54,7 +54,5 @@ private: // Called when the screen switches off. virtual void OnScreenOff(void); -private: - tizen::Framework * m_pFramework; }; diff --git a/tizen/MapsWithMe/inc/MapsWithMeForm.hpp b/tizen/MapsWithMe/inc/MapsWithMeForm.hpp index fa0b5ec3a2..a7c6d46fab 100644 --- a/tizen/MapsWithMe/inc/MapsWithMeForm.hpp +++ b/tizen/MapsWithMe/inc/MapsWithMeForm.hpp @@ -5,16 +5,20 @@ #include #include "../../../std/vector.hpp" -class MapsWithMeApp; +namespace tizen +{ +class Framework; +} class MapsWithMeForm : public Tizen::Ui::Controls::Form , public Tizen::Ui::ITouchEventListener , public Tizen::Ui::IActionEventListener , public Tizen::Locations::ILocationProviderListener + , public Tizen::Ui::Controls::IFormBackEventListener { public: - MapsWithMeForm(MapsWithMeApp* pApp); + MapsWithMeForm(); virtual ~MapsWithMeForm(void); virtual result OnDraw(void); @@ -45,14 +49,28 @@ public: virtual void OnLocationUpdated(Tizen::Locations::Location const & location); virtual void OnLocationUpdateStatusChanged(Tizen::Locations::LocationServiceStatus status); virtual void OnAccuracyChanged(Tizen::Locations::LocationAccuracy accuracy); + + // IFormBackEventListener + virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source); + + void UpdateButtons(); private: bool m_locationEnabled; std::vector > m_prev_pts; - static const int ID_BUTTON = 101; + + static const int ID_BUTTON_GPS = 101; + static const int ID_BUTTON_SETTINGS = 102; + static const int ID_BUTTON_SCALE_PLUS = 103; + static const int ID_BUTTON_SCALE_MINUS = 104; Tizen::Locations::LocationProvider * m_pLocProvider; Tizen::Ui::Controls::Label * m_pLabel; - Tizen::Ui::Controls::Button * m_pButton; - MapsWithMeApp* m_pApp; + Tizen::Ui::Controls::Button * m_pButtonGPS; + Tizen::Ui::Controls::Button * m_pButtonSettings; + + Tizen::Ui::Controls::Button * m_pButtonScalePlus; + Tizen::Ui::Controls::Button * m_pButtonScaleMinus; + + tizen::Framework * m_pFramework; }; diff --git a/tizen/MapsWithMe/inc/SceneRegister.hpp b/tizen/MapsWithMe/inc/SceneRegister.hpp new file mode 100644 index 0000000000..5baf6be60a --- /dev/null +++ b/tizen/MapsWithMe/inc/SceneRegister.hpp @@ -0,0 +1,17 @@ +#pragma once + +// Use 'extern' to eliminate duplicate data allocation. +extern const wchar_t* SCENE_MAP; +extern const wchar_t* SCENE_SETTINGS; +extern const wchar_t* SCENE_DOWNLOAD; +extern const wchar_t* SCENE_ABOUT; + +class SceneRegister +{ +public: + static void RegisterAllScenes(void); + +private: + SceneRegister(void); + ~SceneRegister(void); +}; diff --git a/tizen/MapsWithMe/inc/SettingsForm.hpp b/tizen/MapsWithMe/inc/SettingsForm.hpp new file mode 100644 index 0000000000..b80e410a5a --- /dev/null +++ b/tizen/MapsWithMe/inc/SettingsForm.hpp @@ -0,0 +1,29 @@ +#pragma once +#include + +class MapsWithMeForm; + +class SettingsForm: public Tizen::Ui::Controls::Form +, public Tizen::Ui::IActionEventListener +, public Tizen::Ui::Controls::IFormBackEventListener +{ +public: + SettingsForm(MapsWithMeForm * pMainForm); + virtual ~SettingsForm(void); + + bool Initialize(void); + virtual result OnInitializing(void); + virtual void OnActionPerformed(Tizen::Ui::Control const & source, int actionId); + virtual void OnFormBackRequested(Tizen::Ui::Controls::Form & source); + +private: + static const int ID_BUTTON_STORAGE = 101; + static const int ID_BUTTON_BACK = 102; + static const int ID_SCALE_CHECKED = 201; + static const int ID_SCALE_UNCHECKED = 202; + static const int ID_METER_CHECKED = 301; + static const int ID_FOOT_CHECKED = 302; + static const int ID_ABOUT_CHECKED = 401; + + MapsWithMeForm * m_pMainForm; +}; diff --git a/tizen/MapsWithMe/manifest.xml b/tizen/MapsWithMe/manifest.xml index 1af8598125..23dac13f16 100644 --- a/tizen/MapsWithMe/manifest.xml +++ b/tizen/MapsWithMe/manifest.xml @@ -9,17 +9,18 @@ 2.2 - http://tizen.org/privilege/http http://tizen.org/privilege/location + http://tizen.org/privilege/web.service + http://tizen.org/privilege/http - + MapsWithMe - mainmenu.png + ic_launcher.png diff --git a/tizen/MapsWithMe/res/screen-size-normal/IDF_ABOUT_FORM.xml b/tizen/MapsWithMe/res/screen-size-normal/IDF_ABOUT_FORM.xml new file mode 100644 index 0000000000..c7017deaba --- /dev/null +++ b/tizen/MapsWithMe/res/screen-size-normal/IDF_ABOUT_FORM.xml @@ -0,0 +1,29 @@ + + + + + + 720 +
+ + + + + + + + + + + +
diff --git a/tizen/MapsWithMe/res/screen-size-normal/IDF_SETTINGS_FORM.xml b/tizen/MapsWithMe/res/screen-size-normal/IDF_SETTINGS_FORM.xml new file mode 100644 index 0000000000..95e243f99c --- /dev/null +++ b/tizen/MapsWithMe/res/screen-size-normal/IDF_SETTINGS_FORM.xml @@ -0,0 +1,44 @@ + + + + + + 720 +
+ + + + + + + + + + + + + + + + + + + + + + +
diff --git a/tizen/MapsWithMe/shared/res/screen-density-xhigh/ic_launcher.png b/tizen/MapsWithMe/shared/res/screen-density-xhigh/ic_launcher.png new file mode 100644 index 0000000000..16fc149779 Binary files /dev/null and b/tizen/MapsWithMe/shared/res/screen-density-xhigh/ic_launcher.png differ diff --git a/tizen/MapsWithMe/src/AboutForm.cpp b/tizen/MapsWithMe/src/AboutForm.cpp new file mode 100644 index 0000000000..2b86238734 --- /dev/null +++ b/tizen/MapsWithMe/src/AboutForm.cpp @@ -0,0 +1,79 @@ +#include "AboutForm.hpp" +#include "SceneRegister.hpp" +#include "MapsWithMeForm.hpp" +#include "AppResourceId.h" +#include "../../../base/logging.hpp" +#include "../../../platform/settings.hpp" +#include "../../../platform/tizen_string_utils.hpp" +#include +#include +#include + +using namespace Tizen::Base; +using namespace Tizen::Ui; +using namespace Tizen::Ui::Controls; +using namespace Tizen::Ui::Scenes; +using namespace Tizen::App; +using namespace Tizen::Web::Controls; + +AboutForm::AboutForm() +{ +} + +AboutForm::~AboutForm(void) +{ +} + +bool AboutForm::Initialize(void) +{ + Construct(IDF_ABOUT_FORM); + return true; +} + +result AboutForm::OnInitializing(void) +{ + Label * pCurrentVersionLabel = static_cast(GetControl(IDC_VERSION_LABEL, true)); + + // version + AppResource* pApp = App::GetInstance()->GetAppResource(); + String strVersionFormatter; + pApp->GetString(IDS_VERSION, strVersionFormatter); + String const strVersion = App::GetInstance()->GetAppVersion(); + char buff[100]; + sprintf(buff, FromTizenString(strVersionFormatter).c_str(), FromTizenString(strVersion).c_str()); + pCurrentVersionLabel->SetText(buff); + + // web page + Web * pWeb = static_cast(GetControl(IDC_WEB, true)); + Tizen::Base::String url = "file://"; + url += (Tizen::App::App::GetInstance()->GetAppDataPath()); + url += "about.html"; + pWeb->LoadUrl(url); + + Button * pButtonBack = static_cast