Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package com.Main; import java.util.ArrayList; import java.util.Collections; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.view.View; public class board extends View{ private cards card1, card2, card3, card4, card5,card6,card7,card8,card9; private int cardCount = 81; private int cardsOnTable = 9; public board(Context context){ super(context); ArrayList MyCards = shuffleCards(); card1 = new cards(context,getResources().getIdentifier((String)MyCards.get(81-cardCount), "drawable", "com.Main")); card1.setName((String)MyCards.get(81-cardCount)); cardCount=cardCount-1; card2 = new cards(context,getResources().getIdentifier((String)MyCards.get(81-cardCount), "drawable", "com.Main")); card2.setName((String)MyCards.get(81-cardCount)); cardCount=cardCount-1; card3 = new cards(context,getResources().getIdentifier((String)MyCards.get(81-cardCount), "drawable", "com.Main")); card3.setName((String)MyCards.get(81-cardCount)); cardCount=cardCount-1; card4 = new cards(context,getResources().getIdentifier((String)MyCards.get(81-cardCount), "drawable", "com.Main")); card4.setName((String)MyCards.get(81-cardCount)); cardCount=cardCount-1; card5 = new cards(context,getResources().getIdentifier((String)MyCards.get(81-cardCount), "drawable", "com.Main")); card5.setName((String)MyCards.get(81-cardCount)); cardCount=cardCount-1; card6 = new cards(context,getResources().getIdentifier((String)MyCards.get(81-cardCount), "drawable", "com.Main")); card6.setName((String)MyCards.get(81-cardCount)); cardCount=cardCount-1; card7 = new cards(context,getResources().getIdentifier((String)MyCards.get(81-cardCount), "drawable", "com.Main")); card7.setName((String)MyCards.get(81-cardCount)); cardCount=cardCount-1; card8 = new cards(context,getResources().getIdentifier((String)MyCards.get(81-cardCount), "drawable", "com.Main")); card8.setName((String)MyCards.get(81-cardCount)); cardCount=cardCount-1; card9 = new cards(context,getResources().getIdentifier((String)MyCards.get(81-cardCount), "drawable", "com.Main")); card9.setName((String)MyCards.get(81-cardCount)); cardCount=cardCount-1; } @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); Paint paint = new Paint(); paint.setStyle(Paint.Style.FILL); // make the entire canvas white paint.setColor(Color.BLACK); canvas.drawPaint(paint); card1.setX(5); card1.setY(10); card2.setX(160); card2.setY(10); card3.setX(5); card3.setY(91); card4.setX(160); card4.setY(91); card5.setX(5); card5.setY(172); card6.setX(160); card6.setY(172); card7.setX(5); card7.setY(253); card8.setX(160); card8.setY(253); card9.setX(5); card9.setY(334); // draw some text using STROKE style paint.setStyle(Paint.Style.STROKE); paint.setStrokeWidth(1); paint.setColor(Color.BLACK); paint.setTextSize(30); paint.setAntiAlias(true); canvas.drawBitmap(card1.getBitmap(), card1.getX(), card1.getY(),null); canvas.drawBitmap(card2.getBitmap(), card2.getX(), card2.getY(),null); canvas.drawBitmap(card3.getBitmap(), card3.getX(), card3.getY(),null); canvas.drawBitmap(card4.getBitmap(), card4.getX(), card4.getY(),null); canvas.drawBitmap(card5.getBitmap(), card5.getX(), card5.getY(),null); canvas.drawBitmap(card6.getBitmap(), card6.getX(), card6.getY(),null); canvas.drawBitmap(card7.getBitmap(), card7.getX(), card7.getY(),null); canvas.drawBitmap(card8.getBitmap(), card8.getX(), card8.getY(),null); canvas.drawBitmap(card9.getBitmap(), card9.getX(), card9.getY(),null); invalidate(); } static ArrayList shuffleCards() { //shuffles my card array // Collections.shuffle(myCardArray); ArrayList myCardArray = new ArrayList(); myCardArray.add("gsf1"); myCardArray.add("gse1"); myCardArray.add("gsh1"); myCardArray.add("gcf1"); myCardArray.add("gce1"); myCardArray.add("gch1"); myCardArray.add("gtf1"); myCardArray.add("gte1"); myCardArray.add("gth1"); myCardArray.add("bsf1"); myCardArray.add("bse1"); myCardArray.add("bsh1"); myCardArray.add("bcf1"); myCardArray.add("bce1"); myCardArray.add("bch1"); myCardArray.add("btf1"); myCardArray.add("bte1"); myCardArray.add("bth1"); myCardArray.add("rsf1"); myCardArray.add("rse1"); myCardArray.add("rsh1"); myCardArray.add("rcf1"); myCardArray.add("rce1"); myCardArray.add("rch1"); myCardArray.add("rtf1"); myCardArray.add("rte1"); myCardArray.add("rth1"); myCardArray.add("gsf2"); myCardArray.add("gse2"); myCardArray.add("gsh2"); myCardArray.add("gcf2"); myCardArray.add("gce2"); myCardArray.add("gch2"); myCardArray.add("gtf2"); myCardArray.add("gte2"); myCardArray.add("gth2"); myCardArray.add("bsf2"); myCardArray.add("bse2"); myCardArray.add("bsh2"); myCardArray.add("bcf2"); myCardArray.add("bce2"); myCardArray.add("bch2"); myCardArray.add("btf2"); myCardArray.add("bte2"); myCardArray.add("bth2"); myCardArray.add("rsf2"); myCardArray.add("rse2"); myCardArray.add("rsh2"); myCardArray.add("rcf2"); myCardArray.add("rce2"); myCardArray.add("rch2"); myCardArray.add("rtf2"); myCardArray.add("rte2"); myCardArray.add("rth2"); myCardArray.add("gsf3"); myCardArray.add("gse3"); myCardArray.add("gsh3"); myCardArray.add("gcf3"); myCardArray.add("gce3"); myCardArray.add("gch3"); myCardArray.add("gtf3"); myCardArray.add("gte3"); myCardArray.add("gth3"); myCardArray.add("bsf3"); myCardArray.add("bse3"); myCardArray.add("bsh3"); myCardArray.add("bcf3"); myCardArray.add("bce3"); myCardArray.add("bch3"); myCardArray.add("btf3"); myCardArray.add("bte3"); myCardArray.add("bth3"); myCardArray.add("rsf3"); myCardArray.add("rse3"); myCardArray.add("rsh3"); myCardArray.add("rcf3"); myCardArray.add("rce3"); myCardArray.add("rch3"); myCardArray.add("rtf3"); myCardArray.add("rte3"); myCardArray.add("rth3"); Collections.shuffle(myCardArray); return (myCardArray); } }