Back to project page GlassTunes.
The source code is released under:
Apache License
If you think the Android project GlassTunes listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.glasstunes; //from w ww. ja v a 2 s. co m import android.database.Cursor; import android.net.Uri; import com.glasstunes.cards.ActionCard; import com.glasstunes.screenslide.CardFragment; public class DetailActivity extends BaseContentCardActivity { @Override protected Uri getContentUri() { return Uri.withAppendedPath(getIntent().getData(), "/actions"); } @Override protected CardFragment getCardFromCursor(Cursor cursor) { return ActionCard.newInstance( cursor.getString(cursor.getColumnIndex("display_name")), cursor.getString(cursor.getColumnIndex("intent_uri"))); } }