How to run android program without open the app?

后端 未结 3 712
忘了有多久
忘了有多久 2021-01-28 04:56

My app can be opened by NFC, and then use the information in the tag to do some processing, the processing is around 5 seconds.

If my app is opened by NFC, I don\'t want

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-28 05:10

    In your manifest.xml you can specify set the following theme for your activity:

    android:theme="@android:style/Theme.Translucent.NoTitleBar"

    This makes your activity invisible (if it's empty).

提交回复
热议问题