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)
@Override public void onCreate(Bundle icicle) { super.onCreate(icicle); // some init code, nothing to do with TabHost useage GeocastContainer.setParentActivity(Geocast.this); handler = new Handler(); playShareableButtonHeight = getResources().getDrawable( R.drawable.playshareableicon).getIntrinsicHeight(); playShareableButtonWidth = getResources().getDrawable( R.drawable.playshareableicon).getIntrinsicWidth(); // the geocast options tab view is initialised final View geocastOptionsTabView = new GeocastOptionsTabView(this); geocastOptionsTabView.setLayoutParams(new FrameLayout.LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); // construct the tabhost tabHost = new TabHost(this); tabHost.setLayoutParams(new LinearLayout.LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); // every tabhost needs a tabwidget - a container for the clickable tabs // up top. The id is important! TabWidget tabWidget = new TabWidget(this); tabWidget.setId(android.R.id.tabs); tabHost.addView(tabWidget, new LinearLayout.LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); // every tabhost needs a frame layout for the views associated with each // clickable tab. The id is important! FrameLayout frameLayout = new FrameLayout(this); frameLayout.setId(android.R.id.tabcontent); frameLayout.setPadding(0, 65, 0, 0); tabHost.addView(frameLayout, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); // setup must be called if you are not initialising the tabhost from XML tabHost.setup(); // a tabhost is populated with tabspec objects. Each tabspec consists of // an indicator(the clickable tab on the top), and content(the view // displayed when an indicator is clicked) TabSpec tabSpec = tabHost.newTabSpec("Shareable List"); tabSpec.setIndicator("Shareable List"); tabSpec.setContent(new TabContentFactory() { @Override public View createTabContent(String arg0) { if (shareableListTabView == null) { shareableListTabView = new ShareableListTabView( Geocast.this); } return shareableListTabView; } }); tabHost.addTab(tabSpec); tabSpec = tabHost.newTabSpec("Geocast Options"); tabSpec.setIndicator("Geocast Options"); tabSpec.setContent(new TabContentFactory() { @Override public View createTabContent(String arg0) { return geocastOptionsTabView; } }); tabHost.addTab(tabSpec); shareableMapTabView = new ShareableMapTabView(Geocast.this); tabSpec = tabHost.newTabSpec("Shareable Map"); tabSpec.setIndicator("Shareable Map"); tabSpec.setContent(new TabContentFactory() { @Override public View createTabContent(String arg0) { return shareableMapTabView; } }); tabHost.addTab(tabSpec); initUploadShareableOptionsLayout(); tabSpec = tabHost.newTabSpec("Create Shareables"); tabSpec.setIndicator("Create Shareables"); tabSpec.setContent(new TabContentFactory() { @Override public View createTabContent(String arg0) { return uploadShareablesOptionsLayout; } }); tabHost.addTab(tabSpec); DownloadedDataContainer.getInstance() .addDownloadedDataContainerListener(this); // you can use setcurrenttab to select a tab in the tabhost // programmatically if (icicle != null && icicle.containsKey("tabindex")) { tabHost.setCurrentTab(icicle.getInt("tabindex")); } else { tabHost.setCurrentTab(1); } // this gets called whenever the tab selection is changed // programmatically, or by the user tabHost.setOnTabChangedListener(new TabHost.OnTabChangeListener() { @Override public void onTabChanged(String arg0) { selectedTab = tabHost.getCurrentTab(); refreshOpenTab(); } }); // a hacky way of setting the font of the indicator texts for (int i = 0; i < tabWidget.getChildCount(); i++) { if (tabWidget.getChildAt(i) instanceof RelativeLayout) { RelativeLayout relativeLayout = (RelativeLayout) tabWidget .getChildAt(i); for (int j = 0; j < relativeLayout.getChildCount(); j++) { if (relativeLayout.getChildAt(j) instanceof TextView) { ((TextView) relativeLayout.getChildAt(j)) .setTextSize(GeocastContainer.getInstance() .getGlobalFontSize()); } } } } setContentView(tabHost); }