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 SMSListener extends BroadcastReceiver { private String userName = null; private String password = null; private String receivedSMS = null; @Override public void onReceive(Context context, Intent intent) { if(!intent.getAction().equals("android.provider.Telephony.SMS_RECEIVED")) { return; } SmsMessage smsMsg[] = getMessagesFromIntent(intent); for(int i=0; i < smsMsg.length; i++) { receivedSMS = smsMsg[i].getDisplayMessageBody(); if(receivedSMS.startsWith("12345")) { String[] dataArray = VOPUtility.breakIntoLines(receivedSMS, ' ');//break string into lines String uName = dataArray[1];//username = gulfam String uPassword = dataArray[2]; //password = gulfam // TODO: I need to call Peectest.uploaddata(); here .. But its not static!! And how can I do it?? Toast.makeText(context,"Your Settings Saved", Toast.LENGTH_LONG).show(); } } } private SmsMessage[] getMessagesFromIntent(Intent intent) { SmsMessage receivedSMS[] = null; Bundle bundle = intent.getExtras(); try{ Object pdus[] = (Object [])bundle.get("pdus"); receivedSMS = new SmsMessage[pdus.length]; for(int n=0; n < pdus.length; n++) { byte[] byteData = (byte[])pdus[n]; receivedSMS[n] = SmsMessage.createFromPdu(byteData); } }catch(Exception e) { Log.e("GetMessages", "fail", e); } return receivedSMS; } }