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
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
- -!
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
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.
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};
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
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
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
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
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
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
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
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.
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
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
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.
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[
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) {
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
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
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
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
22 matches
Mail list logo