use of android.content.Intent in project android-betterpickers by code-troopers.
the class ListSamples method activityIntent.
protected Intent activityIntent(String pkg, String componentName) {
Intent result = new Intent();
result.setClassName(pkg, componentName);
return result;
}
use of android.content.Intent in project cw-omnibus by commonsguy.
the class EU4You method onCountrySelected.
@Override
public void onCountrySelected(Country c) {
String url = getString(c.url);
if (details != null && details.isVisible()) {
details.loadUrl(url);
} else {
Intent i = new Intent(this, DetailsActivity.class);
i.putExtra(DetailsActivity.EXTRA_URL, url);
startActivity(i);
}
}
use of android.content.Intent in project cw-omnibus by commonsguy.
the class EU4You method onCountrySelected.
@Override
public void onCountrySelected(Country c) {
String url = getString(c.url);
if (details != null && details.isVisible()) {
details.loadUrl(url);
} else {
Intent i = new Intent(this, DetailsActivity.class);
i.putExtra(DetailsActivity.EXTRA_URL, url);
startActivity(i);
}
}
use of android.content.Intent in project cw-omnibus by commonsguy.
the class DownloaderDemo method doTheDownload.
public void doTheDownload() {
Intent i = new Intent(this, Downloader.class);
i.setData(Uri.parse("https://commonsware.com/Android/excerpt.pdf"));
i.putExtra(Downloader.EXTRA_MESSENGER, new Messenger(handler));
startService(i);
}
use of android.content.Intent in project TakePhoto by crazycodeboy.
the class SimpleActivity method showImg.
private void showImg(ArrayList<TImage> images) {
Intent intent = new Intent(this, ResultActivity.class);
intent.putExtra("images", images);
startActivity(intent);
}
Aggregations