Not using setContentView

Okay...so I am completely new to Android or mobile app dev. If I don't use setContentView in my code, will my code still execute in background with nothing showing on the phone's screen? I can't try this out right now because of a few issues.

Posts

  • CheesebaronCheesebaron DKInsider, University mod

    No. It will show a black screen and either a title bar or ActionBar in the top with your application name.

    For something to run in the background you need a Service.

Sign In or Register to comment.