Languages

Menu
Sites
Language
Abnormal operation when BACK key interruption occurs

The application is not terminated or the previous page does not appear when the BACK key is pressed.

Ref: Please build your application on the latest SDK as possible.(SDK2.2)

 

 

CheckBackKey.log

arc = 1, optind = 1 ,Kb 0, rotate 4
--------- beginning of /dev/log_main
I/TZAUTO  ( 2814): virtual void ConnectionManager::OnSocketReadyToReceive(Tizen::Net::Sockets::Socket &)(184) > TURNSCREENON#
I/TZAUTO  ( 2814): bool MessageHandler::ProcessMsg(Tizen::Base::String)(129) > _MessageHandler::ProcessMsg() called
I/TZAUTO  ( 2814): Message *MessageHandler::ParsingMsgN(Tizen::Base::String)(839) > ParsingMsgN TURNSCREENON#
I/TZAUTO  ( 2814): Message *MessageHandler::ParsingMsgN(Tizen::Base::String)(845) > 1
I/TZAUTO  ( 2814): Message *MessageHandler::ParsingMsgN(Tizen::Base::String)(854) > Command TURNSCREENON
I/TZAUTO  ( 2814): Message *MessageHandler::ParsingMsgN(Tizen::Base::String)(868) > 1
I/TZAUTO  ( 2814): Message *MessageHandler::ParsingMsgN(Tizen::Base::String)(878) > ParsingMsgN Command TURNSCREENON 0
I/TZAUTO  ( 2814): bool MessageHandler::ProcessMsg(Tizen::Base::String)(538) > Screen On Success
I/TZAUTO  ( 2814): result MessageHandler::SendString(Tizen::Base::String)(101) > Text Length TRUE
I/TZService( 2814): result MessageHandler::SendString(Tizen::Base::String)(111) > Text Length 5
I/TZAUTO  ( 2814): virtual void ConnectionManager::OnSocketReadyToReceive(Tizen::Net::Sockets::Socket &)(158) > OnSocketReadyToReceive() called
I/TZAUTO  ( 2814): virtual void ConnectionManager::OnSocketReadyToReceive(Tizen::Net::Sockets::Socket &)(175) > OnSocketReadyToReceive(). 侯샄븩靴솙솴爻삻€₃쨿뼮?쬂뻽좛솙돬侯샄븩靴솙솴爻삻€₃쨿뼮?킍쫫좣?뇡?턁뇡₃텋넲∧젟넡?츥┰껤찟냽?죹뼶?쪠텈?룑)끗짏탫?깮넅?쪢┨?쨿뿊}틲븧⅜틢┨?틶넅뢃짏탪빡퀩넅?캈낏빡킍뼪x뒕삝煦뵸퉷塤솘?朽썺퐙侯쓥뜢煦씈겇?늽뫆侯썺묻煦슅몿朽삍뎌勛솘씉侯뵵㉩酵슅솾爻쓤뜢廓뒊뫐侯뵴€€酵슅솾爻쓤뜢廓뒊뫐?늺쯄侯뵹걼勛솙솾嗅샄퐪驩떁뫁塤쑗쪒喚뒉묑勳뎿€₃뱫꽕€?뫒뀩?뿵몠?뵷괒윍킅둃럱뵝괒븧?뷋몖콍?뵶몛?몦쓠?븼퐫?뮆뜏?뮁걥?봾퐪?뫁몓?뿴탵?뮆뛿?뵲걥?몧솒?벘뙛?븘븢勛삒몥勳뎿겢??€??€??€??€?€€€?€€€??€??€??€??€??€??€?€€€?€€€??€??€??€?€€€?€€€??€?€€€??€
I/TZAUTO  ( 2814): virtual void ConnectionManager::OnSocketReadyToReceive(Tizen::Net::Sockets::Socket &)(180) > OnSocketReadyToReceive(). 侯샄븩靴솙솴爻삻€₃쨿뼮?킍쫫좣?뇡?턁뇡₃텋넲∧젟넡?츥┰껤찟냽?죹뼶?쪠텈?룑)끗짏탫?깮넅?쪢┨?쨿뿊}틲븧⅜틢┨?틶넅뢃짏탪빡퀩넅?캈낏빡킍뼪x뒕삝煦뵸퉷塤솘?朽썺퐙侯쓥뜢煦씈겇?늽뫆侯썺묻煦슅몿朽삍뎌勛솘씉侯뵵㉩酵슅솾爻쓤뜢廓뒊뫐侯뵴€€酵슅솾爻쓤뜢廓뒊뫐?늺쯄侯뵹걼勛솙솾嗅샄퐪驩떁뫁塤쑗쪒喚뒉묑勳뎿€₃뱫꽕€?뫒뀩?뿵몠?뵷괒윍킅둃럱뵝괒븧?뷋몖콍?뵶몛?몦쓠?븼퐫?뮆뜏?뮁걥?봾퐪?뫁몓?뿴탵?뮆뛿?뵲걥?몧솒?벘뙛?븘븢勛삒몥勳뎿겢??€??€??€??€?€€€?€€€??€??€??€??€??€??€?€€€?€€€??€??€??€?€€€?€€€??€?€€€??€

Responses

1 Replies
Lakshmi Grandhi

Your app needs to handle the back functionality

 

document.addEventListener( 'tizenhwkey', function(e) {
        if (e.keyName === 'back') {
            if ($.mobile.activePage.attr('id') === 'page1') {
                tizen.application.getCurrentApplication().exit();
            } else {           
                    history.back();          
            }
        }
    });