Android
Pages
Codes and Examples
How To Install Android
Android Interview Questions
Windows Shortcuts
Word shorcuts
Emulator Shortcuts
Saturday, January 26, 2013
Iterate through array values and insert to sqlite db:
String [] arrayA ={"a","b","c"};
Value[] adst =new Value[arrayA.length];
for( int i = 0; i < arrayA.length; i++)
{
String something = arrayA[i];
Value dist =new Value();
dist.setname(something);
adst[i]=dist;
}
valuedao.insertInTx(adst);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment