[Gridflow-cvs] [svn] commit: r6439 - /trunk/src/GridFlow.java

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Oct 30 23:37:06 EDT 2010


Author: matju
Date: Sat Oct 30 23:37:06 2010
New Revision: 6439

Log:
huh

Modified:
    trunk/src/GridFlow.java

Modified: trunk/src/GridFlow.java
==============================================================================
--- trunk/src/GridFlow.java (original)
+++ trunk/src/GridFlow.java Sat Oct 30 23:37:06 2010
@@ -34,6 +34,7 @@
 public class GridFlow {
 	public static Activity activity;
 	public static ImageView iv;
+	public static int[] a;
 	public static void init (Activity acti) {
 		activity = acti;
 		Bitmap b = Bitmap.createBitmap(320, 240, Bitmap.Config.ARGB_8888);
@@ -47,17 +48,25 @@
 		}
 		b.setPixels(a,0,320,0,0,320,240);
 		iv.setImageBitmap(b);
-		//iv.setImageDrawable(activity.getResources().getDrawable(0x7f020000));
 		//iv.setMaxWidth(320);
 		//iv.setMaxHeight(240);
 		iv.setAdjustViewBounds(true);
 		LinearLayout ll = new LinearLayout(activity);
 		iv.setLayoutParams(new Gallery.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
 		ll.addView(iv);
-		activity.setContentView(ll);
+		//activity.setContentView(ll);
 
 		//TextView tv = new TextView(activity);
 		//tv.setText("This is a test from the Emergency Broadcast System");
 		//activity.setContentView(tv);
 	}
+/*
+ 	public int[] getArray () {
+		iv.setImageDrawable(activity.getResources().getDrawable(0x7f020000));		
+		return a;
+	}
+	public void apply () {
+
+	}
+*/
 }



More information about the Gridflow-cvs mailing list