[android-developers] Re: How to know it's week when input random date?

2009-05-18 Thread Daehoon Jeon
I'm a beginner of Android 1. I found java.util.Date , but don't know how to use...Could you show me a simple ex.? 2. how to convert them to Julian dates? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: How to send a MessageBox when select a Menu item?

2009-05-18 Thread Daehoon Jeon
oh~~ thanks~~ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-d

[android-developers] Re: How to use setOnItemClickListener ?

2009-05-18 Thread Daehoon Jeon
- -! sorry for such a stupid question. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] Re: How to set some lists in one layout?

2009-05-17 Thread Daehoon Jeon
It's very helpful for me. Thanks for help.there is another problem I can display lists, but I don't know how to set onItemClickListener ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: How to set some lists in one layout?

2009-05-17 Thread Daehoon Jeon
How do we get data from DB to the list?If I use setListAdapter I can get data from DB like this : Cursor notesCursor = mDbHelper.fetchAllNotes(); startManagingCursor(notesCursor); String[] from = new String[]{NotesDbAdapter.KEY_TITLE}; int[] to = new int[]{R.id.text1};

[android-developers] Re: How to set some lists in one layout?

2009-05-17 Thread Daehoon Jeon
If I write list ids like that I can't show list where I want to.I have to separate id to two ListView . ls1.setAdapter(notes); ls2.setAdapter(notes); this is not working. I should set list with setListAdapter, but ListView does not support setListAdaper. ls1.setListAdapter(notes);//The m

[android-developers] Re: How to set some lists in one layout?

2009-05-17 Thread Daehoon Jeon
Can you show me a simple ex.? Actually I don't know how to use multiple ListView widget. If this is two lists in main xml. ListView ls1=(ListView)findViewById(R.id.list1); ListView ls2=(ListView)findViewById(R.id.list2); then how to set List? ??? SimpleCursorAdapter notes = new Simpl

[android-developers] Re: Many Lists in one Layout ?

2009-05-14 Thread Daehoon Jeon
Sorry for that I can't understand the source code you give totally. Did you have looked the sample in the Android named Notepad? It use SimpleCursorAdapter. Get cursor from NotesDbAdapter first. and use setListAdapter() to set list. It only recognize the first ListView of setContentView(R.layout.m

[android-developers] Re: About SQLite (query)

2009-05-13 Thread Daehoon Jeon
Thanks for help...I have already figure it out, thank you anyway. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: About SQLite (query)

2009-05-13 Thread Daehoon Jeon
How to use rawQuery with Variable? Cursor mCursor = mDb.rawQuery("select * from notes2 where title=\"title1\"", null); it's worked but I want to use variable instead of String... like this String str = "title1"; Cursor mCursor = mDb.rawQuery("select * from notes2 where title= str", null); it's

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Daehoon Jeon
Oh,, I just found the problem. I have already change s.getSelectedItemPosition() to position... but it still didn't work. It wasn't a spinner problem. The problem was that the way I called class. Thank you for help. --~--~-~--~~~---~--~~ You received this message be

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Daehoon Jeon
would you mind show me an simple example about using setOnItemSelected() method with position parameter? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Daehoon Jeon
It had exception error, something wrong with code, but i can't find out. Is there anyone help me? thank you private Spinner s; s = (Spinner) findViewById(R.id.dailylog_type); ArrayAdapter adapter = ArrayAdapter.createFromResource( this, R.array.planets_type, android.

[android-developers] Re: How to get id of array in spinner

2009-05-11 Thread Daehoon Jeon
I tried but,, it was not working,,, Someone on the internet said spinner doesn't support setOnItemClickListener(new OnItemClickListener() Is it true ? if it's true how do we set OnItemClickListener? --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Re: How to show two or more fields to list(Notepad Tutorial)?

2009-05-11 Thread Daehoon Jeon
Oh,,, i solved vertical problem,, change vertical to horizontal in xml file, it was working.But I still in trouble with add String to the list. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Re: How to show two or more fields to list(Notepad Tutorial)?

2009-05-11 Thread Daehoon Jeon
Thank you very very much~~ can I ask some another question? I saw list was vertical. like this... title1 name1 -- title2 name2 I wanna change to like this.

[android-developers] Re: How to show two or more fields to list(Notepad Tutorial)?

2009-05-10 Thread Daehoon Jeon
Thank you for help... I tried, but it doesn't work.I wrote xml file like this... it has no error on it... http://schemas.android.com/apk/res/android"; android:layout_width="wrap_content" android:layout_height="wrap_content"> and change code like you told. String[] from = new String[

[android-developers] Re: How to get current date ??

2009-05-06 Thread Daehoon Jeon
In Android we can get current date like this : private TextView mDateDisplay; private Button mPickDate; private int mYear; private int mMonth; private int mDay; static final int DATE_DIALOG_ID = 0; @Override protected void onCreate(Bundle savedInstanceState) {

[android-developers] Re: How to get current date ??

2009-05-05 Thread Daehoon Jeon
Thanks for help, but I already completely done, I think Android is different from Java about get current date. Android site gives source exactly i want. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: How to get current date ??

2009-05-04 Thread Daehoon Jeon
Oh~~~ my mistake, i'm just a beginner of android. I missed that part.Thanks for reply~ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] Re: How to change RadioButton size???

2009-05-04 Thread Daehoon Jeon
Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develope

[android-developers] How to change RadioButton size?

2009-05-01 Thread Daehoon Jeon
How to change RadioButton size? It's too large. I want a small radioButton... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegr