*Copying your existing database seems like a simple solution.*
Copying? just pick data row-row to a file?
*I read about save to SD card, but I didn't underastand
many things. For exaple did I need a key for the permission? Or just put a
line of code in the manifest file?*
you could convert you date like this:
private Date ConvertToDate(String dateString){
SimpleDateFormat dateFormat = new SimpleDateFormat(-MM-dd HH:mm);
Date convertedDate;
try {
Log.i(SocialFeedLatestBuzz, Date before convert = + dateString);
convertedDate = dateFormat.parse(dateString);
Ok Thanks for the explanation,
but when I start the app , for example I have 1 list item,(with 2
textviews, a button and an imageview in the list_item.xml) I see that the
getView() is called 3 times.
...?
Thank you!
--
You received this message because you are subscribed to the Google
Groups
06-29 19:45:34.471: ERROR/AndroidRuntime(435): FATAL EXCEPTION: main
06-29 19:45:34.471: ERROR/AndroidRuntime(435):
java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2
06-29 19:45:34.471: ERROR/AndroidRuntime(435): at
The groupPosition is wrong? But I don't know why is this happen. Because
I have this code int the getGroupView() method in my adapter, so this is
being called for each group. But the app crashes only if I have a group
with no children. I can't understand. :p
--
You received this message
View ind = v.findViewById( R.id.explist_indicator);
ImageView indicator = (ImageView)ind;
indicator is just a name of an image viewa and I change the visibility.
The code works perfectly when I change the value of the
getChilderCount(groupPosition) to something other than 0.
--
You
Ok, I 'll see this again and then I 'll tell you my news/ :-) Thanks you
very much!
--
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,
/ExpList ( 336): onChildClick [Begin]
I/ActivityManager( 61): Starting: Intent { cmp=aexp.explist/.NoteEdit }
from p
id 336
D/AndroidRuntime( 336): Shutting down VM
W/dalvikvm( 336): threadid=1: thread exiting with uncaught exception
(group=0x4
0015560)
E/AndroidRuntime( 336): FATAL
ok, do you think it would br better to use a base expandable list
adapter?
my errors are in the arraylist which used in simple adapter?
I an new to android and sorry for my english!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
thanks a lot i completely undersatnd that you are telling to me.
I 'll try to fix my code .
Would you see how I create my data structure?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
thank you so much! I 'll work on it!
--
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
force close when i click an group
sorry i didn't expalin better
--
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
I tried this but i had the same problem.
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
I ' ll try the debug..Thanks Treking.
--
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
Yes, you are both rigth. I 'll try to develop my questions to be easily
understand.
Emanuel Moecklinthanks for your help.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
15 matches
Mail list logo