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 /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

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

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 /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - why my listactivity show nothing?

why my listactivity show nothing?

Put your problem here if it does not fit any of the other categories.

why my listactivity show nothing?

Postby andrew » Tue Jan 22, 2008 3:58 am

I can see the view with correct title. But there is none list item.

Following is my code. Please advise.



ReminderListActivity.java
------------------------------------------------------------
import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;

public class ReminderListView extends ListActivity {

public void onCrate(Bundle icicle) {
super.onCreate(icicle);

setListAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1,
reminderTimeArray));
}

private String[] reminderTimeArray = { "5:30", "8:00", "9:30" };

}

AndroidManifest.xml
--------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.java23.erv">
<application android:icon="@drawable/icon">
<activity class=".ReminderListView" android:label="Easy Voice
Reminder">
<intent-filter>
<action android:value="android.intent.action.MAIN" />
<category
android:value="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
andrew
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Jan 22, 2008 3:55 am

Top

Check your spelling

Postby raquibulbari » Tue Jan 22, 2008 9:51 am

what function did u override,
u r supposed to override
Code: Select all
public void onCreate(Bundle icicle){}

But you overrode what???
Code: Select all
public void onCrate(Bundle icicle) { }

what is this onCrate????
Shimugool
User avatar
raquibulbari
Developer
Developer
 
Posts: 25
Joined: Sun Dec 16, 2007 6:31 am
Location: dhaka,bangladesh

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 9 guests