android-browser

Android Browser: open several URLs, each on new window/tab (programmatically)

余生颓废 提交于 2019-12-01 01:46:39
I know how to open a URL using Intents: Intent browserIntent = new Intent("android.intent.action.VIEW", Uri.parse("http://www.lala.com")); startActivity(browserIntent); But how can I open multiple URLs, each on new window/tab??? Tried creating several Intents and opened each with different startActivity but it just opens the last one on the list; code code code startActivity(Intent1); startActivity(Intent2); startActivity(Intent3); -> only Intent3 is opened eventually (which of course make sense :)). Appreciate any help! UPDATE: still looking for an answer :/ I've come up with a possible

FusionCharts in Android?

淺唱寂寞╮ 提交于 2019-12-01 01:23:31
I have been trying to get the Fusion Charts to work on Android 2.2 (emulator). But its not loading anything . i can see only blank screen. Has anyone run Fusion Charts on the Android device / emulator before? Can Fusion charts run on Android itself? Edit: I have try to load the chart in default browser of android. In that also its not loading. But its running in Opera and Mozilla Firefox. Any Idea? Additional Information : Browser version is Webkit 3.1 FusionCharts Flash version loads fine on devices supporting Flash (Glaxy Tab, etc.) For JavaScript version, the story is slightly different. I

Android programmatically delete Chrome / default browser cookies, history, searches

夙愿已清 提交于 2019-11-30 23:20:06
Like the title. I want to delete cookie, cache of browser of Android by coding in my application. (browser not webview) Thank you! In your Activity or Service , add ContentResolver cR = getContentResolver(); if(Browser.canClearHistory(cR)){ Browser.clearHistory(cR); Browser.clearSearches(cR); } where Browser is the android.provider.Browser class. This will clear the default browser's history. Yes it is possible to clear chrome history & searches from your application. Please see below. /** * Clear the browser history */ private void clearChromeHistory(){ ContentResolver cr = getContentResolver

Android Browser: open several URLs, each on new window/tab (programmatically)

与世无争的帅哥 提交于 2019-11-30 21:28:59
问题 I know how to open a URL using Intents: Intent browserIntent = new Intent("android.intent.action.VIEW", Uri.parse("http://www.lala.com")); startActivity(browserIntent); But how can I open multiple URLs, each on new window/tab??? Tried creating several Intents and opened each with different startActivity but it just opens the last one on the list; code code code startActivity(Intent1); startActivity(Intent2); startActivity(Intent3); -> only Intent3 is opened eventually (which of course make

FusionCharts in Android?

﹥>﹥吖頭↗ 提交于 2019-11-30 20:30:20
问题 I have been trying to get the Fusion Charts to work on Android 2.2 (emulator). But its not loading anything . i can see only blank screen. Has anyone run Fusion Charts on the Android device / emulator before? Can Fusion charts run on Android itself? Edit: I have try to load the chart in default browser of android. In that also its not loading. But its running in Opera and Mozilla Firefox. Any Idea? Additional Information : Browser version is Webkit 3.1 回答1: FusionCharts Flash version loads

How to continue using Browser Bookmark Changes in Android 6.0 (API 23)

孤街醉人 提交于 2019-11-30 07:27:46
In my app, I have been using some of these function that are coming up as unknown when using Android 6.0 ( buildToolsVersion "23.0.1" ), the functions are: Browser.getAllVisitedUrls(getContentResolver()); , BookmarkColumns.URL , etc. How can I use the same functions going forward with Android 6.0. In the list of things that have changed in Android 6.0 , I see the following: Browser Bookmark Changes This release removes support for global bookmarks. The android.provider.Browser.getAllBookmarks() and android.provider.Browser.saveBookmark() methods are now removed. Likewise, the READ_HISTORY

Samsung Galaxy Tablet does not allow entering floating point numbers to inputs with “number” type

本秂侑毒 提交于 2019-11-29 13:10:45
Our client wants us to display numeric keyboard for an input field so basically I created a field like: <input type="number" name="quantity" step=".01" value="0.00" /> However, Galaxy Tablet erases "." and merges numbers before and after it, also disables "." in the keyboard. Is there another way to solve this issue or display numeric keyboard in input field when using type="text"? Note: I tried using pattern attribute (which works on iPhone). I tested this issue on various Android devices with Android 2.1+. I did not encounter this error on any other HTC and Samsung devices. maxweber Yes,

changePage “jumps” back to old page

丶灬走出姿态 提交于 2019-11-29 01:16:12
I've a big problem with a jQuery Mobile Application: I'm using custom functions (they are triggered by onClick) to switch the page with currentPage. It only happens on Android-Devices on sites in which has changed (due to ajax requests) with the integrated browser. iOS and Chrome works nice. After clicking on an element, the animation started but just before it ends, it switches back to the old page. After a half second, it switches back to the new. I made a movie of the bug here: http://www.youtube.com/watch?v=sXxvVUxniNg Thank you very much Code (CoffeeScript): class Guide @categoriesLoaded

Performance problems with HTML5 Canvas in some mobile browsers.

*爱你&永不变心* 提交于 2019-11-28 16:45:31
Hi I have a Webapp that should be able to run on both Smartphone and Desktop Browsers alike. While I was expecting to get some curious behaviour on small devices like the Iphone, I was pretty confident that it would run well on an Android Galaxy Tab which is the Android Device that I can run tests with at the moment. Now I have installed a bunch of Browsers on the Galaxy Tab to test things with: Android Native Browser Chrome for Android Firefox for Android On the Desktop I have used Firefox Google Chrome and finally I have an Iphone to test with. The website uses HTML5 canvas for pixel and

Android: The type java.lang.Enum cannot be resolved

浪子不回头ぞ 提交于 2019-11-28 12:36:39
I downloaded Android's Browser project (from git) and imported it to Eclipse. I cannot build it however because of the following error: The type java.lang.Enum cannot be resolved. It is indirectly referenced from required .class files Now... this is a development environment that has been working very well for other projects: Windows 7 Ultimate 64-bit. JDK 64-bit (jdk-6u23-windows-x64.exe installed.) Eclipse Classic 3.6 64-bit (eclipse-SDK-3.6.1-win32-x86_64.zip) Android 2.3 SDK Starter Package So I am not sure where the problem could lie. How do I solve this? At best, your build path is