android相关问题 [英] android related issue

查看:96
本文介绍了android相关问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我的api由于高质量图像而崩溃,该怎么办,即图像> 320kb

what should i do if my api crashes due to high quality image ie image >320kb

推荐答案

如果您的API函数引发异常,那么您有来处理它,避免应用程序崩溃.另外,您可能应该通知用户操作未成功.
If your API function throws an exception then you have to handle it, avoiding the application crash. Also, you should probably inform the user the operation was not succesfull.


这篇关于android相关问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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