开发者

android- OnStart never called when files come from the Gallery

开发者 https://www.devze.com 2023-03-26 12:56 出处:网络
what am i doing wrong here or is this a feature. My Activity is set up in the manifest to be recipients for images.

what am i doing wrong here or is this a feature.

My Activity is set up in the manifest to be recipients for images.

I select an image in the Android Gallery and press share.

My activity start and i do stuff with the image.

Now, when long-press Home button and open my mail

and then go back to my Activity i was expecting the

OnStart() to be called.

It is not called.

I place breakpoints on other places a开发者_Python百科nd they work.

This Activity does not have a .LAUNCHER setup

an can only be accessed this way.


It would be calling onResume check that. It essentially means that your activity is still in the memory for the second time.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号