Can't get a LiveFolder to launch my activity like it should
- by Felix
I was able to create a ContentProvider for a LiveFolder, but I can't seem to be able to create my intents correctly, so it always gives "Application is not installed on your phone" errors when clicking on items inside the folder. My Activity is defined like so, in the manifest:
<activity android:name=".MyActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
Then, I create the intents I place in the LiveFolders.INTENT column like this:
i = new Intent();
i.setAction(null);
i.setClassName("my.package.here", ".MyActivity");
I don't get why this is not working. Maybe I'm making some stupid mistake, but please point me in the right direction.