I want to port a program I wrote to android. The program is in c++ on windows and linux. The program uses dll's for a plugin architecture. New plugins can be added to the program by downloading a dll which the program loads from a specific folder. My question is... Is it possible to download dlls built for android to a directory on the sdcard then from native code load and use those dll's
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.
Some html files are in my sd card. I am using qualcomm surfs. By using adb shell commands or "adb shell am start -n com.android.browser/.BrowserActivity file://sdcard/example.html" how can i access or open that html files. Is there any method for accessing sd card files.
I have a html file saved in memory and this file have some images (tag ). I can't load these images because they are in the assets folder and I don't know the absolute path. What is the absolute path to assets folder? I think that with the absolute path of the images I could to load these images in my html file into my webview.
I want to parse an html page downloaded from a web server and have pretty much trouble with that. I am trying with saxparser, is there any better solution? With sax I am trying to pre-process the page to make it XML compliant (replace <br> with <br />), but I still have some troubles because of errors in the page (a couple of mismatched tags and "&" in attributes value ISO &). Is there any way to make sax parser ignore these errors and keep on parsing? I tried to use ErrorHandler interface, but I could not catch anything.
We have ported Android on our Development Board and are able to do the Web Browsing . We have 2 WVGA screens on our Development Board . We wanted to know if it possible for us to use the second screen when using the web browser to display large web pages . (Usually we scroll down , but we want to display it on the 2nd screen as much as possible. Any hints or suggestion in this regard would be really appreciated.
I have a WebView on my Android application which loads (WebView.loadUrl()) different local HTML files from phone's internal storage. I would like to include some custom css styles for them, Now, I could have my app edit every HTML file and add linking reference for the CSS file.I could also read the file contents, add the CSS linking and use WebView.loadData() to load it.But is it possible to do this a lot simpler and efficiently.Note: The HTML files are downloaded from a website. So editing them manually is not possible in this case, but once downloaded they can be edited via the app if necessary.
I use webview app to open a web page (url). This web page has a form with a select element to choose. I would like to tell to select a specific value without click the element. Is that possible?If not how I could ?
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?
I'm trying to load/reference images from the app's assets folder from within a HTML page in a WebView. Unlike in most of the examples the HTML page itself is not located in the assets folder but is loaded from a server via http. The background of this question are some performance improvements which should reduce the loading time (and the amount of transferred data) by loading static images directly from the device. I'm not sure if Android has some restrictions here because there's a certain possibility to exploit the app by allowing access to the local file storage from a remotely loaded webpage.
I have a tabbed interface (one activity per tab) where one tab will be a browser view displaying a webpage. The application loads in a different activity / view, but I want it to begin to download the webpage in the background as soon as the app launches, before the user ever clicks on that tab and initiates that activity. How can I do this?
I installed PDAnet, it's been working fine until today. I logged on to my facebook & was playing games & messing around. Later I got online again, went to facebook, the page loaded fine. I typed my login info in, hit enter,it took a minute to load, then said page cannot be displayed,then a box popped up in the corner at the bottom telling me Secured pages are blocked, register for full version. So now I cant login to ANYTHING (except this website for some reason). Any idea as to why it was working fine before but not now?
When I try to connect to my University's network , the my Galaxy S is able to connect JUST fine. However, when I open a browser it says the incoming certificate is not secure and then I have NO INTERNET on any page. It tries to redirect me to the login page for the network but fails to do so with a "communications error" and subsequent no internet access of any sort.
What the network is supposed to do is redirect me to the login page so that I can register the device to the network and login using my university account. My phone can't do that apparently and just sits connected to the network with NO INTERNET connectivity.
This is the university network and the instructions how to get on it for Android devices: [URL] .... I connect to it just fine but am UNABLE to get to that device registration/login page.
This is NOT just for my university. ANY public network which requires me to accept an "agreement" before it lets me have internet access, my phone KILLS ITSELF and CANNOT pull up the agreement page but instead tells me there is no internet. I'm SURE its a software problem or something with settings but can't figure out just what it is.
Just about the only networks I can connect to on Wi-Fi are home networks.
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.
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).
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?
I've got some code that downloads mp3s remotely over a streaming url connection... This all works fine but my problem is once the file is complete and I pull up the music app it's not there. A reboot of the phone and it now shows up... anyone know how to force this refresh to occur from without my code?
I did a quick search and didn't see this tip, but I just accidentally discovered that if you hit the volume key up or down it will scroll the browser page up or down respectively....just thought i would throw that out there in case no one knew..