![]() |
|
Programación y Desarrollo para Android Subforo exclusivo para temas de programación de software para PDAs y desarrollo de aplicaciones, interfaces, etc bajo Android |
«
Tema Anterior
|
Siguiente tema
»
|
Herramientas |
#1
|
![]()
Hola, tengo un webview que dirige a una carpeta de mediafire pero esta no carga.. (es por el flash creo no?) y queria saber si alguien sabe solucionarlo, os dejo mis codigos:
mediafire.java [HTML]package com.example.todoandroidd; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.webkit.WebView; public class mediafire extends Activity { private WebView webView1; @Override public void onCreate(Bundle b) { super.onCreate(b); setContentView(R.layout.mediafire); webView1=(WebView)findViewById(R.id.webView1); Bundle bundle=getIntent().getExtras(); webView1.loadUrl("http://www.mediafire.com/?ijltqp20rbp2n"); } public void finalizar(View view) { finish(); } }[/HTML] mediafire.xml [HTML]<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/fondo" android ![]() <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android ![]() android:text="Atras" /> <WebView android:id="@+id/webView1" android:layout_width="match_parent" android:layout_height="match_parent" /> </LinearLayout>[/HTML] Haber si alguien me ayuda... gracias! |
|
Respuesta |
![]() |
||||||
|
«
Tema Anterior
|
Siguiente tema
»
|
|
Hora actual: 07:43:05 (GMT +2)
HTCMania: líderes desde el 2007