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)
import java.awt.BorderLayout; import java.awt.Toolkit; import java.awt.image.BufferedImage; import java.io.BufferedInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.text.SimpleDateFormat; import java.util.Date; import javax.imageio.ImageIO; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; import com.sun.medialib.mlib.Image; import net.xeomax.FBRocket.FBRocket; import net.xeomax.FBRocket.Facebook; import net.xeomax.FBRocket.LoginListener; import net.xeomax.FBRocket.ServerErrorException; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.Handler.Callback; import android.util.AttributeSet; import android.view.Gravity; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.webkit.WebView; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.ProgressBar; public class TestRocket extends Activity implements LoginListener { public FBRocket fbRocket; public static String currentFileName ; public final String images[] = {"http://safesport.site40.net/tv.jpg"}; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); shareFacebook(); } public void shareFacebook() { fbRocket = new FBRocket(this, "test", "ommited"); if (fbRocket.existsSavedFacebook()) { fbRocket.loadFacebook(); return; } else { //fbRocket.login(R.layout.testrocket); fbRocket.login(R.layout.testrocket); } } public void onLoginFail() { fbRocket.displayToast("Login failed!"); //fbRocket.login(R.layout.correr); } public String setFileName(String filename) { // TODO Auto-generated method stub TestRocket.currentFileName = filename; return filename; } public void onLoginSuccess(Facebook facebook) { SimpleDateFormat sdf = new SimpleDateFormat("dd:MM:yyyy"); SimpleDateFormat sdf1 = new SimpleDateFormat("HH:mm:ss"); String data = sdf.format(new Date()); String time = sdf1.format(new Date()); try { facebook.setStatus("Start Walk:"+time+"\n"+ "Day:"+data+"\n"+"Where:"+"\n" +"http://maps.google.com/?q=http://safesport.site40.net/"+currentFileName); fbRocket.displayToast("Status Posted Successfully!! "); return ; } catch (ServerErrorException e) { if (e.notLoggedIn()) { fbRocket.login(R.layout.ciclismo); } else { System.out.println(e); } } } }