WebView/Browser Viewport Size

by Miguel Paraz » Fri, 06 Mar 2009 23:56:19 GMT


Sponsored Links
 Hi,
Don't you think it would be useful for the WebView or the browser to
set the viewport size? This is to show the entire html content on a
single page, and disable scrolling.

This could be done as a setting on the WebView object, or through
Javascript or meta tags in the browser app (as it is in the iPhone).

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



Other Threads

1. Banned from Android Developers

Hi,

After posting about 50 messages in the Android Developers, i got the
message: "you were BANNED from this group". Is this a kind of joke?
How can they do this without even telling you what you did wrong? Can
someone contact the administrator of the group and ask him to allow me
back? I'm doing a very important project in Android and its a pain
that this occured.

thanks

    guich

-- 

2. save text from edittext to file

Hello,

I'm sure there has been a lot of questions like this here already. But
I haven't been able to find an answer to my question is. I'm still
very new to this so it's probably something very simple.
What I am trying is to save text from a edittext window, it works fine
if I have a pre-written text. Any suggestion on how I should make this
work?

Bellow you can see what I have tried! The row with the stars is what
eclipse doesn't accept.


private EditText bodyText;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);



        bodyText = (EditText) findViewById(R.id.body);
        Button confirmButton = (Button) findViewById(R.id.confirm);
        confirmButton.setOnClickListener(new View.OnClickListener() {

                public void onClick(View view) {
                        try {
                            final String TESTSTRING = new String(bodyText);
********************************************************************************

                            FileOutputStream fOut = 
openFileOutput("samplefile.txt",
MODE_WORLD_READABLE);
                            OutputStreamWriter osw = new 
OutputStreamWriter(fOut);


                            osw.write(TESTSTRING);

                            osw.flush();
                            osw.close();

                        } catch (IOException ioe) {
                            ioe.printStackTrace();
                        }
                }

            });
        }
}

--

3. Moto Droid owner

4. android application using its location functionality

5. How to stop playing music or sound of other application

6. Layout problems: AbsoluteLayout deprecated, how to do it now?

7. W T A : sign off gtalk