access parent's protected variable when extend a android class!

by Romain Guy » Thu, 12 Mar 2009 09:44:22 GMT


Sponsored Links
 Because as you said, this field has the default access modifier, which
restricts its use to the android.widget package.






-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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



Other Threads

1. How to replicate GUI of Android settings menu

Hi!

I want to make my settings menu look like the one in Android where
they have a heading and a multiline text below the heading for each
listitem. Anyone got the source code for that GUI? :-)
--~--~---------~--~----~------------~-------~--~----~

2. delete carriers table in TelephonyProvider

Hi,

Please help me to understand if I delete carriers table in
TelephonyProvider. What will be happened?

I use code below:

                try
                {
                        Uri mContacts = 
Uri.parse("content://telephony/carriers");
                        ctx.getContentResolver().delete(mContacts, null,null);
                }
                catch(Exception e)
                {

                }

the table is created using sql:

     db.execSQL("CREATE TABLE " + CARRIERS_TABLE +
                "(_id INTEGER PRIMARY KEY," +
                    "name TEXT," +
                    "numeric TEXT," +
                    "mcc TEXT," +
                    "mnc TEXT," +
                    "apn TEXT," +
                    "user TEXT," +
                    "server TEXT," +
                    "password TEXT," +
                    "proxy TEXT," +
                    "port TEXT," +
                    "mmsproxy TEXT," +
                    "mmsport TEXT," +
                    "mmsc TEXT," +
                    "type TEXT," +
                    "current INTEGER);");

I don't know the table is for what kind of service. My best guess is
for mms. If i delete this table, mms does not work. Am I right?

Thanks,
Forrest
--~--~---------~--~----~------------~-------~--~----~

3. BitmapFactory.decode*() => bug ?

4. Does anyone need an Android Developer Job??

5. How do i get a transparent background for icons/shortcuts?

6. android porting on target pxa270 (need help!!!!!!!...could not proceed further)

7. widgets (editText and button) drawn on top of bitmaps...