Android :: How Browser Decides Html Size On 2.1?
May 20, 2010
We have one html page whose backgroud is an image(1024px*600px) with no-repeat. We displayed it in Browser rightly on 1.6 HVGA(160) and WVGA(240) emulator and scrollbar displaed on both sides. But we got different result when testing on 2.1 HVGA(160) and WVGA(240) emulator. On 2.1 HVGA(160), the background image is scaled smaller and we saw large wide margin on the right. On 2.1WVGA (240), There are two margins on right and bottom sides. There is no scrollbar displayed on 2.1. And we put few small element in our html page.
View 2 Replies
May 13, 2010
I;ve been trying to create a custom button in android using this tutorial - http://www.gersic.com/blog.php?id=56
It works well but it doesn't say how to change the font size or weighting. Any ideas?
There was another question on here and the only answer was to use html styling but you can't change a font size in html without using css (or the deprecated font tag). There must be a better way of setting the pixel size of the font used on buttons?
View 1 Replies
View Related
Jan 19, 2009
How to load simple html file present in sd mmc card from web browser. It is mentioned in the net that due to security reasons this is not allowed. Is there any way to access the file from sdcard? Tried modifying private String homeUrl =
"file:///sdcard/index.html";
in BrowserSettings.java file but browser throws an error "could not be loaded".
View 4 Replies
View Related
Jul 30, 2010
Like the title says, I am thinking about developing my own browser for Android devices.
My first thought is to know what kind of possibilities I have, before I begin creating my software architecture. Are there any (open?) Browser Engines you could include into your library and reuse them?
(There are some unknown browsers in the Android Market and I can't imagine they implemented the parsing).
Furthermore: If there IS something like I've described before, is it possible to modify (or "fine tune") the render methods? This is one of the most interesting points I guess.
And to end this question and catch the else-case: What would be the alternative way to begin?
[I guess this is not only interesting to know for mobile developers, also for desktop software developers]
Abbreviated version of this question: I want to develop my own Android Browser. How to begin?
View 2 Replies
View Related
Aug 31, 2009
My open source application needs to browse local HTML files on the SD card, and WebView is not enough because I need history and bookmarks. I wrote the following code. It correctly opens the browser, but fails to reach catalog.html and in fact it just opens whatever page was last browsed:
Uri uri = Uri.parse("content://com.android.htmlfileprovider/sdcard/ myapp/catalog.html");
Intent intent = new Intent(); intent.setData(uri); intent.setClassName("com.android.browser", "com.android.browser.BrowserActivity"); startActivity(intent);
View 2 Replies
View Related
Nov 20, 2009
I wanted to be able to use my Google bookmarks on my Droid. I found a program that imports them to the phone, but it replaces everything and I didn't want all those bookmarks in my browser. I exported my Google bookmarks to a HTML file and stored it on my SD card in the download folder and named it bookmarks.htm. I then went into the Droid browser and typed the following URL: content://com.android.htmlfileprovider/sdcard/download/bookmarks.htm
I then created a bookmark of the link.
Now, I open my browser, click on the bookmark, and all my Google Bookmark sites are displayed as links in order listed under their categories.
View 1 Replies
View Related
Apr 7, 2010
The company I work for produces allot of video and we want to target as many devices as possible, but the question came up of what does the Android do? I personally own an Android based phone running 2.1, but I can't seem to get the HTML 5 tag to work. Even when I can trigger the browser to playback the video it just throws a notification error that it can't.Are there guidelines to producing Android/HTML 5 compatible videos? Is it truly supported?
View 2 Replies
View Related
Apr 9, 2010
I have a bunch of pages that render normally on the Android 1.6 native browser as well as on the iphone Safari browser, but are heavily zoomed out and small by default on the Android 2.1 native browser.The pages are zoomed out by about 4x making them appear very small.Of course I can manually zoom in, but I dont want the users to have to deal with that.Anyone else face this issue, and is there a fix for this that doesn't break how it works on other browsers?
View 2 Replies
View Related
Oct 21, 2010
With the Dolphin browser, is there a way to "force" a website to load as a FULL/normal/regular html website rather than as an m.site.com mobile website?
For example, when I try to navigate to eBay - New & used electronics, cars, apparel, collectibles, sporting goods & more at low prices I am ALWAYS redirected to m.ebay.com
Is this a setting within the Dolphin Browser or is this controlled by the website itself??
I looked through the settings and could not find a preference to chose between mobile and "full html" site options
View 2 Replies
View Related
Mar 9, 2010
I know there is no app for the slingbox. For those of u that have the slingbox can u watch it via a web browser log in. I am thinking of getting one but really want to watch it via the droid.
View 5 Replies
View Related
Apr 6, 2013
I've a Samsung galaxy ace GT-S5830i and I'm using a simplisity custom Rom. The dev has replaced the 'stock Internet Browser HTML' with 'Voda phone opera mini' and I've been searching for the stock version for days now.
View 1 Replies
View Related
Jul 30, 2009
Configure the web browser cache size? In HTC's new product HERO, they limit the cache size from 100KB to 6MB, and user can configure it manually. It can prevent browser sucking up memory space too much.
View 2 Replies
View Related
Nov 8, 2010
The webserver wants to get info like screen size from each mobile handset that browses a webpage. The Javascript functions screen.width and screen.height return wildly inaccurate values.Is there a way for the webserver to detect the screen size of the mobile handset? The client browser is webkit on Android.
View 1 Replies
View Related
Aug 8, 2010
I'm working on a site that's supposed to scale fluently down to low resolutions, so that it would work just as well on a phone. This works well in Firefox and Chrome when I just make the window small, but when I try it out on an actual Android phone (Nexus One running Android 2.2), it renders it super-huge! (Using JS's window.innerWidth and window.innerHeight properties, it seems the viewport resolution it reports is 800x1271!.Is there a way to render the page at actual-size in the browser window so I can have my full design show up on the phone? User-agent sniffing is allowed, JS is allowed but discouraged.
View 2 Replies
View Related
Nov 1, 2010
I have heavily edited the original text and instead of the how question I am posting the code that produces the effect I wanted, namely a floating menu on top that stays fixed as I scroll whatever is in the middle with a lower menu at the bottom of the screen. Ain't life sweet - Might even work on the iPhone as well.
Why I posted was like I said in the original question. I'm fiddling with creating the initial lay out for a "mobile" application for the disabled, have tonnes of data, dictionary files, icons for the purpose etc. I want to have the app running as HTML to make it as portable as possible, i.e. make it runnable on Android, Iphone, Maemo... whatever.
I got some hints by looking at the example at http://www.quackit.com/css/codes/css_floating_menu.cfm as well as a lot of trial and error and finally minor edits by a paid freelancer.
Below you can find some crude (to put it mildly) HTML/CSS (cut the CSS part and load a style instead in the HTML's you create for cleaner code) but for now, let's look at the prototype concept.
CODE:...........
You can see the working example on your Android device or in your Android emulator http://globability.org/webapp/aaa.html
Need to get the sound working though - but nearly there :)Links to the different web based version and thoughts behind application can be found on:
The project this application springs from can be found on [url] - Look under prototypes (it is the top one under the heading protypes).
View 1 Replies
View Related
Jul 26, 2010
I've searched and searched. I guess it may be that it's not possible, but Can the stock Evo browser font size be increased, made larger?
View 2 Replies
View Related
May 18, 2010
Ever since the 2.1 OTA upgrade,when I open my web browser it defaults to an extremely tiny size.I'd describe it as fit-to-screen where the entire web page will be fit to the size of the phone screen, thus making the words unreadable.I have to use my fingers to expand it before I can read it.But before the upgrade, it would open by default to a size that was at least readable.How can I change the default size of the web page?
View 3 Replies
View Related
Sep 23, 2010
So I'm loading images from a web service, but the size of the images are sometimes smaller or bigger than other images and the visualization looks silly when I put them in a ListView in android. I'd like to fix the size of my ImageView so that it only shows a portion of the image if it's larger than a preset amount. I've tried everything I can think of setting the setMaxWidth/setMaxHeight, setting the scale type to centerCrop, using ClipableDrawable wrapping my BitmapDrawable, setting using Drawable.setBounds(). I've tried setting in the XML and programmatically, but neither worked. I'm very surprised setting max width/height didn't do anything. Below is the XML I'm using ImageView definition in my layout file
View 1 Replies
View Related
Oct 2, 2009
I am currently developing a dictionary application with voice database. I would like to know about the current Android limitation on the file size. I am using a self-provided sqlite database ( > 50mb ) . I tested that once the built .apk size exceeds ~30mb the app will not be installed onto the simulator (INSTALL_FAILED_ INSUFFICIENT _STORAGE). Could anyone confirm me that if up until now there is no way to embed such large size files in a single apk ( Aimed to sell at Google Market without requiring user to download datafile afterwards). Also, is there a limitation of 1,048,576 bytes for a single file in the assets folder ?
View 3 Replies
View Related
Jan 22, 2009
if size of image is larger than or smaller than specified display size (on screen), then it is automatically, compressed and stretched resp by android run time or require to handle by explicitly.
View 2 Replies
View Related
May 7, 2009
Hi,
I would like to see how my app works on a 800x600 android netbook. how can i setup an emulator with this size?
thanks chris
View 4 Replies
View Related
Jun 30, 2010
I manage a cache of bitmap. Do you have an advise to fix the maximum size of it?
View 2 Replies
View Related
Jul 8, 2010
Can somebody explain to me what makes up the installed application size? I have an apk that is about 8 MB, and often when I install I get the INSUFFICIENT_STORAGE error. I have around 25-30 MB free space on the phone. I'm doing debugging so I have to upload lots of new versions. If I uninstall the previous version then I can install the new version. The application manager claims that the app is taking up 22 MB. So back to the original question, how come the app is taking up 22 MB when it really only is 8 MB?
View 7 Replies
View Related
Sep 14, 2010
I would like to know why the size of my shared library .so is bigger than my .apk file generated with Eclipse? Approximatly the so size is twice the apk one. What is strange is after having installed it in the device (2.1 firmware) I checked the size of the apk when I uninstalled it from the device and surprisingly the apk size indicated is bigger even than the .so one. Is there any explaination of that?
View 2 Replies
View Related
Oct 7, 2010
My app downloads .png files to the sd card for later use. I kept getting OutOfMemoryErrors (if anyone could explain this too, that'd be great!) and so I took a look at the sizes of the images saved to the sd card, and they seem to be roughly double what they are on the server. Why is this, and how can I make them smaller?
public void onCreate(Bundle saved)
setContentView(R.layout.namedrxnscreen);
TextView t1 = (TextView)findViewById(R.id.rxn_text1);
TextView t2 = (TextView)findViewById(R.id.rxn_text2);
TextView t3 = (TextView)findViewById(R.id.rxn_text3);
TextView t4 = (TextView)findViewById(R.id.rxn_text4);
iv = (ImageView) findViewById(R.id.rxn_image);
pb = (ProgressBar) findViewById(R.id.rxn_loading);
vs = (ViewSwitcher) findViewById(R.id.rxn_switch);
View 1 Replies
View Related
Dec 19, 2012
I am programming an app using an absolute layout (@ eclipse). How to fit the button size with the screen size? (I have four buttons per row).
View 1 Replies
View Related
Jan 2, 2010
Its there any way to make dolphin the default browser for all applications that launch a browser? Like quick search?
View 13 Replies
View Related
Dec 26, 2009
This is my first post. I've had a Moto Droid since day one, and I just love it. It is without a doubt better than any phone that I've had over the years, and that includes the iPhone, BB, etc.
However, there are 2 things that I don't understand - Font size and a spell checker. It is imposiible to read the small font size in emails or text messages.
1. Why has there not been an app to either change the font size or be able to zoom in? Picasy has incorporated multi-touch for zooming, so I've to assume that its doable! Why not have the same in an email client.
2. Why is there not an email client out there that allows for spell checking? There are many such apps for the BB! I am a terrible speller.
I am not complaining, I just want to understand the limitations from a developers prospective, as I am sure these isuues will eventually be addressed.
View 12 Replies
View Related
Nov 16, 2010
I have an ImageView which I want to always be the same size. If the image is smaller than the view, I'd like it to be centred in the view. If the Image is larger than the view then I'd like it scaled down - with aspect ratio preserved.I've had several attempts at this myself
View 2 Replies
View Related
Dec 16, 2009
I downloaded an external browser and I would like to use it as my default, so if I click on a link, it opens it up in the new browser. Is there a way to go about doing this?
View 7 Replies
View Related