Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - show html file

show html file

Put your problem here if it does not fit any of the other categories.

Postby soniya » Thu Feb 28, 2008 2:46 pm

but i used image file to raw/zip file....can we access file to path on webview????
soniya
Senior Developer
Senior Developer
 
Posts: 111
Joined: Mon Jan 14, 2008 1:52 pm
Location: india

Top

Postby plusminus » Thu Feb 28, 2008 4:13 pm

Hello soniya,

you have a a image inside of a zip in /raw/ and you want to refer to it with a single html tag :?:
Impossible :!:

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby soniya » Fri Feb 29, 2008 2:58 pm

thanks for reply if i try image show after webview
using xml code

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <WebView android:id="@+id/WebView"
  2.  
  3.      android:layout_below="@id/listimg1"
  4.  
  5.      android:layout_marginTop="10px"
  6.  
  7.      android:layout_marginLeft="@dimen/ten_pixel"
  8.  
  9.      android:layout_marginRight="30px"
  10.  
  11.      android:layout_width="fill_parent"
  12.  
  13.      android:layout_height="fill_parent"
  14.  
  15.    
  16.  
  17.       />
  18.  
  19.        <ImageView android:id="@+id/showimg"
  20.  
  21.         android:layout_width="fill_parent"
  22.  
  23.         android:layout_height="fill_parent"
  24.  
  25.        android:layout_below="@id/WebView"
  26.  
  27.        android:src="@drawable/icon"
  28.  
  29.       android:layout_marginBottom="@dimen/listsix"
  30.  
  31.      />
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


and in java simple use loaddata()

but it cannot show anything
how to show image after webview????how to get height of webview??
soniya
Senior Developer
Senior Developer
 
Posts: 111
Joined: Mon Jan 14, 2008 1:52 pm
Location: india

Postby plusminus » Fri Feb 29, 2008 3:36 pm

Hello soniya,

your webview already fills the whole screen:
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.       android:layout_width="fill_parent"
  2.       android:layout_height="fill_parent"
Parsed in 0.000 seconds, using GeSHi 1.0.8.4


so the ImageView will be offscreen.

You can determine the height/width of a View by calling .getHeight() / .getWidth().

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby soniya » Fri Feb 29, 2008 3:57 pm

thanks a lots it working....... :lol: :D
soniya
Senior Developer
Senior Developer
 
Posts: 111
Joined: Mon Jan 14, 2008 1:52 pm
Location: india

Top
Previous

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media, Yahoo [Bot] and 19 guests