Using the browser environment

by Anders Rundgren » Fri, 17 Oct 2008 23:48:41 GMT


Sponsored Links
 I'm in an very early state trying to create a content listener that
would start when the browser hits a MIME it doesn't understand.  That
is feasible, right?

However, I want this app to block (as long as it is active) the
browser and start communicating back to the server using the existing
browser environment including cookies.  Is this only possible using C+
+ and NSAPI?

Thanx
Anders
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. how to use resources from installed app

Hello,

Trying to make it so that the default list highlight, (the orange
highlight, in the contacts list, for example)  will be changeable, at
the app layer.  In the file frameworks/base/core/java/android/widget/
AbsListView.java I modified the function:

 private void useDefaultSelector() {...}

from:

        setSelector(getResources().getDrawable(
 
com.android.internal.R.drawable.list_selector_background));


to:

        Context myContext = null;
        try {
                myContext = getContext().createPackageContext
("com.mycompany.myapp", 0);
        }
        catch (Exception e){
                // deal with exception
        }
        Resources r = null;
        try {
                r = myContext.getResources();
        }
        catch(Exception e ){
                // deal with exception
        }

        Drawable dr = null;
        int resID = r.getIdentifier("list_selector_background",
"drawable", "com.mycompany.myapp");
        try {
                dr = r.getDrawable(resID);
        }
        catch( Exception e){
                // // deal with exception
        }
        setSelector(dr);


Of course, I will put the correct xml file and .png's in the resources
folder of my app.

Should this work?  If so, how do I integrate this change, is it "mmm
frameworks/base" followed "make snod"?

thanks



--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. New push email client

Ada client email baru, namanya push email client..jiahahahaha..lucu 
namanya...ga unik..

Cara kerja persis mirip seven..



--- Sent with SEVEN on Android - the new generation of mobile messaging

--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group, please visit the following page:
 

3. Announcing our ADC2 submission: Xeeku Twitter

4. Can a core class access resources at the app layer?

5. Can a core class access resources at the app layer?

6. cyanogen

7. Zipalign utility not available in android 1.5_r3