I want to make an app such that, when you install it, it shows no screen/UI but just changes your ringtone and couple of other settings on the phone. I don't mind the app icon showing ont he list of apps. Here's what I tried :
-- since setContentView sets the content for the UI, I removed it from the MainActivity.onCreate() but I still get a white screen on app launch. I don't see a reference to my activity_main.xml anywhere else in my code.
-- I can't seem to find anyone else who has the same issue. Google and forum search don't yield anything that is similar to my situation.
-- Preference fragments are a close match but theyy do need a UI again.
Can someone suggest an approach I can take to accomplish this? I know this sounds like a virus, but it's more of a fun prank app I am developing to prank my friends. Thanks in advance