android.content.Context



API Populatity

343 Client projects

Project: android

Package: android.content

Project danieloeh/AntennaPod in file ...rc.de.danoeh.antennapod.util.playback.IPlayer.java (2014-08-05)
@@ -1,5 +1,6 @@
 package de.danoeh.antennapod.util.playback;
 
+import android.content.Context;
 import android.view.SurfaceHolder;
 
 import java.io.IOException;
@@ -63,4 +64,6 @@ public interface IPlayer {
 	void stop();
 
     public void setVideoScalingMode(int mode);
+
+    public void setWakeMode(Context context, int mode);
 }
Project geometer/FBReaderJ in file ...rc.org.geometerplus.android.fbreader.FBReader.java (2011-03-30)
@@ -20,7 +20,6 @@
 package org.geometerplus.android.fbreader;
 
 import android.app.SearchManager;
-import android.content.Context;
 import android.content.Intent;
 import android.net.Uri;
 import android.os.Bundle;
@@ -266,7 +265,6 @@ public final class FBReader extends ZLAndroidActivity {
 	@Override
 	public boolean onCreateOptionsMenu(Menu menu) {
 		super.onCreateOptionsMenu(menu);
-		final ZLAndroidApplication application = (ZLAndroidApplication)getApplication();
 		addMenuItem(menu, ActionCode.SHOW_LIBRARY, R.drawable.ic_menu_library);
 		addMenuItem(menu, ActionCode.SHOW_NETWORK_LIBRARY, R.drawable.ic_menu_networklibrary);
 		addMenuItem(menu, ActionCode.SHOW_TOC, R.drawable.ic_menu_toc);
Project googlemaps/android-maps-utils in file ...m.google.maps.android.utils.demo.MainActivity.java (2013-08-14)
@@ -1,6 +1,7 @@
 package com.google.maps.android.utils.demo;
 
 import android.app.Activity;
+import android.content.Context;
 import android.content.Intent;
 import android.os.Bundle;
 import android.view.View;
@@ -21,6 +22,7 @@ public class MainActivity extends Activity implements View.OnClickListener {
         addDemo("BubbleIconFactory", BubbleIconDemoActivity.class);
         addDemo("SphericalUtil.computeDistanceBetween", DistanceDemoActivity.class);
         addDemo("Clustering", ClusteringDemoActivity.class);
+        addDemo("2000 clustering", BigClusteringDemoActivity.class);
     }
 
     private void addDemo(String demoName, Class<? extends Activity> activityClass) {