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; /* w w w . j a va 2 s . c om*/ import android.app.LoaderManager.LoaderCallbacks; import android.database.Cursor; import android.net.Uri; import com.glasstunes.cards.BrowseCard; import com.glasstunes.screenslide.BasicCardFragment; public class LauncherActivity extends BaseContentCardActivity implements LoaderCallbacks<Cursor> { @Override protected Uri getContentUri() { return Uri.parse("content://com.google.android.music.xdi/launcher"); } @Override protected BasicCardFragment getCardFromCursor(Cursor cursor) { return BrowseCard.newInstance( cursor.getString(cursor.getColumnIndex("display_name")), cursor.getString(cursor.getColumnIndex("intent_uri"))); } }