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)
public class maLocker extends Activity { final maLocker theApp = this; int a = 0; String att1 = "class"; String atv1 = "ptz_value"; String atv2 = "friends"; String atv3 = "check-in-active"; //String atv4 = "completed check-in-notactive"; String ptzValue; String friends; //String urla = "file:///android_asset/Lockerz.htm"; String urla = "http://www.lockerz.com"; public class MyJavaScriptInterface { public void showHTML(String html) throws IOException { String checkIn; String aVal; try{ HtmlCleaner parser = new HtmlCleaner(); TagNode node = parser.clean(html); TagNode node1 = node.findElementByAttValue(att1, atv1, true, true); TagNode node2 = node.findElementByAttValue(att1, atv2, true, true); ptzValue = node1.getText().toString(); friends = node2.getText().toString(); Pattern nPtt = Pattern.compile("[0-9]+"); Matcher m = nPtt.matcher(friends); int numberFr = 0; if (m.find()){ numberFr = Integer.parseInt(m.group(0)); } try{ TagNode node3 = node.findElementByAttValue(att1, atv3, true, true); aVal = node3.getText().toString(); checkIn="No!"; }catch (Exception e){ checkIn="Yes!"; } new AlertDialog.Builder(theApp) .setTitle("Report") .setMessage("Ptz: "+ptzValue+" Friends: "+numberFr+"\nChecked in? "+checkIn) .setPositiveButton(android.R.string.ok, null) .setCancelable(false) .create() .show(); }catch (Exception e){ new AlertDialog.Builder(theApp) .setTitle("Oh F#@K!") .setMessage("Failed to get your data! =[") .setPositiveButton(android.R.string.ok, null) .setCancelable(false) .create() .show(); } } } @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); final TextView lul = (TextView) findViewById(R.id.lul); final WebView browser = (WebView) findViewById(R.id.webview); browser.getSettings().setJavaScriptEnabled(true); browser.addJavascriptInterface(new MyJavaScriptInterface(), "HTMLOUT"); browser.setWebViewClient(new WebViewClient() { public void onPageFinished(WebView webview, String urla){ String b = browser.getUrl(); if(b.equals("http://www.lockerz.com/myLocker")){ browser.loadUrl("javascript:window.HTMLOUT.showHTML(''+document.getElementsByTagName('html')[0].innerHTML+'');"); lul.setText("Your Locker!"); }else{ lul.setText("Login page?"); } } }); browser.loadUrl(urla); } }