@@ -0,0 +1,773 @@
+package org.zeropage.apps.zeropage.main;%0A%0Aimport android.app.Activity;%0Aimport android.widget.Toast;%0A%0A/**%0A * Created by hyom on 2017-05-20.%0A */%0A%0Apublic class BackPressCloseHandler %7B%0A%0A    private float backKeyPressedTime = 0;%0A    private Activity activity;%0A%0A    public BackPressCloseHandler(Activity context)%7B%0A        this.activity = context;%0A    %7D%0A%0A    public void onBackPressed()%7B%0A        if(System.currentTimeMillis() %3E backKeyPressedTime + 2000)%7B // 2%EC%B4%88%EA%B0%80 %EC%A0%81%EB%8B%B9%ED%95%98%EB%8B%A4%EB%8B%88%EA%B9%8C%0A            backKeyPressedTime = System.currentTimeMillis();%0A            Toast.makeText(activity, %22%5C'%EB%92%A4%EB%A1%9C%5C' %EB%B2%84%ED%8A%BC%EC%9D%84 %ED%95%9C%EB%B2%88 %EB%8D%94 %EB%88%84%EB%A5%B4%EC%8B%9C%EB%A9%B4 %EC%A2%85%EB%A3%8C%EB%90%A9%EB%8B%88%EB%8B%A4%22, Toast.LENGTH_SHORT).show();%0A            return ;%0A        %7D%0A        else if(System.currentTimeMillis() %3C= backKeyPressedTime + 2000)%7B%0A            activity.finish();%0A        %7D%0A    %7D%0A%7D%0A

Create BackPressCloseHandler Class