开发者

Android App without a Main Activity?

开发者 https://www.devze.com 2023-02-10 11:07 出处:网络
I would like for my application to not show any activity except on launch or specifi开发者_开发知识库cally requested by the widget it contains. In other words I want it to find and launch the main act

I would like for my application to not show any activity except on launch or specifi开发者_开发知识库cally requested by the widget it contains. In other words I want it to find and launch the main activity on Launching the app, but otherwise I don't want any Activity at all to show unless an intent specifically requests it. I don't want the app coming to the foreground to mean that the main activity always displays. How can the main activity be supressed except on launch? thanks


Based on Feedback the Answer is that no main activity is required for an Android application.

0

精彩评论

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

关注公众号