电话差距应用程序关闭,如果我移动到其他文件夹 [英] Phone gap application close if i move to other folder

查看:161
本文介绍了电话差距应用程序关闭,如果我移动到其他文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用手机gap cord-ova 2.7.0 Android操作系统特定的相机功能和社交分享功能的应用程序。在我的应用程序,当我选择图像选择功能。然后它移动我到图库文件夹,当我回来,通过按回来按钮选择图片后,我的应用程序停止。




相机事件功能没有错误,因为如果我选择一个快速的照片,并回到应用程序。


  • 我尝试了暂停和恢复事件,但它没有帮助


  • 我已检查所有值.no null found found!

    b
    $ b

    要注意的重要事项:



    如果我在Twitter上分享我的信息并返回到社交功能,应用程序停止。

    解决方案

    在您的设备中转到设置 - >开发者选项 - 保持活动。
    如果选中,取消选中并尝试。


    I am making a application in phone gap cord-ova 2.7.0 Android OS specific with camera feature and social sharing feature. In my application when I choose image selection feature. Then it moves me to gallery folder and when I come back after selecting picture by pressing back button, my application stops. I am totally confused.

    Things I already tried:

    1. There is no mistake in camera event feature because if I select a picture fast and come back to application. Then it does not stops but if i waste 5 sec to select a picture my application state get lost.

    2. I have tried pause and resume event but its not helping in that problem.

    3. I have checked all values .no null value found!

    Important things to notice:

    Same issue happens with social feature if I go on Twitter to share my message and come back to the application stops.

    解决方案

    In your device Go to settings --> Developer options -->In apps tab check "Don't keep activities". If it is checked uncheck it and try.

    这篇关于电话差距应用程序关闭,如果我移动到其他文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆