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.cognizant.android.PhoneContentSearch; import java.util.ArrayList; import java.util.List; import android.app.ListActivity; import android.app.NotificationManager; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; public class AllFiles extends ListActivity { private List allfiles = new ArrayList(); protected static String file_type = "FILE_TYPE"; protected static String folder_type = "Folder_TYPE"; protected static int search = 0; private int notification_id = 1; private boolean m_shownotification = true; /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); ArrayAdapter directoryList = new ArrayAdapter(this, android.R.layout.simple_list_item_1, getAllFiles()); this.setTheme(android.R.style.Theme_Dark); this.setTitleColor(Color.TRANSPARENT); this.setListAdapter(directoryList); } private List getAllFiles() { allfiles.clear(); String[] fileList = getResources().getStringArray(R.array.allFileList); for (String filetype : fileList) { allfiles.add(filetype); } return allfiles; } /** Called when an item is selected* */ @Override protected void onListItemClick(ListView l, View v, int position, long id) { int selectionRowID = (int) this.getSelectionRowID(); String[] param; String selectedFileString = this.allfiles.get(selectionRowID); start_stop_Notification(); switch (selectionRowID) { case 0: param = getResources().getStringArray(R.array.fileEndingImage); break; case 1: param = getResources().getStringArray(R.array.fileEndingAudio); break; case 2: param = getResources().getStringArray(R.array.fileEndingVideo); break; case 3: param = getResources().getStringArray(R.array.fileEndingApp); break; case 4: param = getResources().getStringArray(R.array.fileEndingWebText); break; default: param = getResources().getStringArray(R.array.fileEndingWebText); } Bundle bundle = new Bundle(); bundle.putStringArray(file_type, param); Intent i = new Intent(AllFiles.this, SearchAllFiles.class); i.putExtras(bundle); i.putExtra(folder_type, selectedFileString); startSubActivity(i, search); } protected void start_stop_Notification() { NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); if (m_shownotification) { nm.notifyWithText(notification_id, getText(R.string.notification_text), NotificationManager.LENGTH_LONG, null); }else{ nm.cancel(notification_id); } } //@Override protected void onActivityResult(int requestCode, int resultCode, String data, Bundle extras) { super.onActivityResult(requestCode, resultCode, data, extras); // Here We identify the subActivity we started if(requestCode == search){ m_shownotification=false; start_stop_Notification(); } } }