Can't get a LiveFolder to launch my activity like it should
Posted
by Felix
on Stack Overflow
See other posts from Stack Overflow
or by Felix
Published on 2010-04-14T17:30:09Z
Indexed on
2010/04/14
17:33 UTC
Read the original article
Hit count: 335
android
|android-livefolders
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.
© Stack Overflow or respective owner