Parental Control Android 2.1 for Samsung Moment

by Radwan Shaykho » Wed, 30 Jun 2010 02:51:30 GMT


Parental Control Android 2.1 for Samsung Moment

by Radwan Shaykho » Wed, 30 Jun 2010 02:51:38 GMT


Other Threads

1. Database problems...

Hi there

I am trying to create a database with two tables. Employees and
Computers. A spinner with employee names fill properly when I don't
try create and do anything with the second table... The code to create
is:

private static class DBOpenHelper extends SQLiteOpenHelper {
                private static final String CREATE_TABLE_USERS = "create table 
" +
                                TABLE_USERS + " (" + USER_KEY_ID +
                                " integer primary key autoincrement, " +
                                USER_KEY_USER + " text not null, " +
                                USER_KEY_PIN + " string);";
                private static final String CREATE_TABLE_ACCOUNTS = "create 
table "
+
                                TABLE_COMPUTERS + " (" + ACC_KEY_ID +
                                " integer primary key autoincrement, " +
                                ACC_KEY_USERID + " integer not null, " +
                                ACC_KEY_COMP_SERIAL + " text not null);";

                public DBOpenHelper(Context context, String name,
                                CursorFactory factory, int version) {
                        super(context, name, factory, version);
                }

                @Override
                public void onCreate(SQLiteDatabase _db) {
                        _db.execSQL(CREATE_TABLE_USERS);
                        _db.execSQL(CREATE_TABLE_COMPUTERS);
                }

Is there somehting I am doing wrong during the creating, as the rest
of the code (to read data) is exactly the same... but I can't figure
it out.

Please help!!!

Thanks in advance,
Neil

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

2. Haptics on the Android

Hi,
I am trying to figure out how to get Android applications to drive
haptic actuators. I am using haptic actuators from Artificial Muscle
and intend to control them with an analog signal. My current hack has
been to hijack the audio from the device and use the analog audio
signal to drive the haptics, but I would like to be able to divorce
the audio signal from the haptics to allow separate audio and haptics
racks  What I trying to figure out is if there is a way to
either access a separate I/O or an A to D line (or even just one of
the two speakers in the android) with the end goal that we can
directly control the haptics from Android and still be able to play
audio.

Thanks,
Erin

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

3. How to unlock screen through code?

4. Where the Video is decoded in MediaPlayerService.cpp?

5. How to discover exceptions when debugging in actual hardware

6. running wpa_supplicant as non-root

7. Payment options for Android Market