Need Android consultants - Los Angeles - 3-6 months

by Chiru » Mon, 15 Sep 2008 16:51:04 GMT


Sponsored Links
 Mieli Biiuliai,

kaip jau turbt esate girdj per iniasklaidos priemones, praeit
etadien, rugpjio 30 d., pratyb metu nuskendo krato apsaugos savanoris
Dovydas Teresius, ateitinik biiulio dievdirbio Adolfo Teresiaus snus. Jis
paarvotas Kauno gulos banyioje. Laidotuvi v. Miios rytoj, t.y.
rugsjo 2 d.12.00 val. Karstas ineamas 13.00 val. Laidotuvs vyks Jonui
kapinse.

Su nuoirdia uuojauta artimiesiems ir biiuliams - Vidas Abraitis



Other Threads

1. How to add scrollbars in a custom view which override onDraw() method?

Hi everyone,

I refered to APIDemo "LabelView" to create a custom view which
overrides onDraw() method. I would like to have scrollbars in this
widget. I added android:scrollbars="vertical" parameter in xml file,
however, it did not display scroll bar.

I guess that it could because that I overrided onDraw() method, the
scrollbar is "overrided" by onDraw() method. Is it possible to show
scrollbars in custom widget which onDraw() method? How can I add
scroll bar in such a case?

Any ideas? Thank you.

--~--~---------~--~----~------------~-------~--~----~

2. Update Contact

Hi all,

Am not able to update a contact, the snippet of code for updating a
contact is as fallows
                Uri uri1 = ContentUris.withAppendedId
(People.CONTENT_URI, 15);
        ContentValues values1 = new ContentValues();
//              values1.put(People.NAME, "Abraham");
                values1.put(People.Phones.TYPE, People.Phones.TYPE_MOBILE);
                values1.put(People.Phones.NUMBER, "4084444444");
                getContentResolver().update(uri1, values1, null, null);

Able to update the Name but not the phone numbers. When i ran the
above code, it's throwing an Exception as


E/Database(   93): Error updating number=4084444444 _sync_dirty=1
using UPDATE p
eople SET number=?, _sync_dirty=? WHERE _id=15
E/DatabaseUtils(   93): Writing exception to parcel
E/DatabaseUtils(   93): android.database.sqlite.SQLiteException: no
such column:
 number: , while compiling: UPDATE people SET number=?, _sync_dirty=?
WHERE _id=
15
E/DatabaseUtils(   93):         at
android.database.sqlite.SQLiteProgram.native_
compile(Native Method)
E/DatabaseUtils(   93):         at
android.database.sqlite.SQLiteProgram.compile
(SQLiteProgram.java:110)
E/DatabaseUtils(   93):         at
android.database.sqlite.SQLiteProgram.<init>(
SQLiteProgram.java:59)
E/DatabaseUtils(   93):         at
android.database.sqlite.SQLiteStatement.<init
E/DatabaseUtils(   93):         at
android.database.sqlite.SQLiteDatabase.compil
eStatement(SQLiteDatabase.java:824)
E/DatabaseUtils(   93):         at
android.database.sqlite.SQLiteDatabase.update
(SQLiteDatabase.java:1277)
E/DatabaseUtils(   93):         at
com.android.providers.contacts.ContactsProvid
er.updateInternal(ContactsProvider.java:2168)
E/DatabaseUtils(   93):         at
android.content.SyncableContentProvider.updat
e(SyncableContentProvider.java:267)
E/DatabaseUtils(   93):         at android.content.ContentProvider
$Transport.upd
ate(ContentProvider.java:155)
E/DatabaseUtils(   93):         at
android.content.ContentProviderNative.onTrans
act(ContentProviderNative.java:164)
E/DatabaseUtils(   93):         at android.os.Binder.execTransact
(Binder.java:27
6)
E/DatabaseUtils(   93):         at dalvik.system.NativeStart.run
(Native Method)
D/AndroidRuntime(  251): Shutting down VM
W/dalvikvm(  251): threadid=3: thread exiting with uncaught exception
(group=0x4
000fe68)
E/AndroidRuntime(  251): Uncaught handler: thread main exiting due to
uncaught e
xception
E/AndroidRuntime(  251): android.database.sqlite.SQLiteException: no
such column
: number: , while compiling: UPDATE people SET number=?, _sync_dirty=?
WHERE _id
=15
E/AndroidRuntime(  251):        at
android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:142)
E/AndroidRuntime(  251):        at
android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:110)
E/AndroidRuntime(  251):        at
android.content.ContentProviderProxy.update(C
ontentProviderNative.java:385)
E/AndroidRuntime(  251):        at
android.content.ContentResolver.update(Conten
tResolver.java:414)

Can anybody tell what's wrong in the above code...

Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~

3. USB Mouse Not working after install

4. HTTP-DELETE-Method doesn't support payload?

5. Audio FFT and Spectrum View

6. How can I programatically launch Browser in my android application

7. Building different versions of an app -- best practice?