Flash on the iPad vs Flash on Android [HUMOR]

by SuRahMat » Sat, 17 Apr 2010 07:57:45 GMT


Sponsored Links
  http://phandroid.com/2010/04/16/flash-on-the-ipad-vs-flash-on-android-humor/ 

Just to break up the day, morning all..!

----
Transmitted using Milestone Green Robot 2.1

-- 
"



Other Threads

1. Emulator critical runtime error

Hello,
I have created a virtual device; "android list avd" displays it OK,
but "emulator -avd myavd" goes crashed.

Here is some info from error report:

Exception Information
Code: 0xc0000005          Flags: 0x00000000
Record: 0x0000000000000000          Address: 0x000000000053961f

System Information
Windows NT 5.1 Build: 2600
CPU Vendor Code: 756E6547 - 49656E69 - 6C65746E
CPU Version: 000006FA  CPU Feature Code: BFEBFBFF
CPU AMD Feature Code: 00E4E824


Hope you can fix it, thx.

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

2. more experimenting, new view

Tonight's experimenting lead me to the hello-webview tutorial.

http://developer.android.com/guide/tutorials/views/hello-webview.html

I can't get that darn thing to work!   I just get a blank screen.
I have seen a few comments such as this posted, but I can't follow
through to a solution.

Thank you for your help.

 Mike

Here is my layout: (main.xml)
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <WebView
        android:id="@+id/webview"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
    />

</LinearLayout>


Here is my manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.edi.hellowebview"
      android:versionCode="1"
      android:versionName="1.0">

    <uses-permission android:name="android.permission.INTERNET" />

    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:name=".HelloWebView"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <uses-sdk android:minSdkVersion="3" />
</manifest>


Here is my code:
package com.edi.hellowebview;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;


public class HelloWebView extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        WebView webview ;
        setContentView(R.layout.main);
        webview = (WebView) findViewById(R.id.webview);
        webview.getSettings().setJavaScriptEnabled(true);
        webview.loadUrl("www.yahoo.com");

    }
}

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

3. loading external data on local file in WebView

4. onPreViewFrame obtain wrong data

5. change Launcher

6. Playing recorded sounds in Android 1.5

7. Fail to install Maps.apk on cupcake