Android :: PNG Quality In WebView Based App
May 10, 2010
I am using WebView to display html content in an app. One of the pages has a rather large PNG image. The image is large and detailed on purpose because the idea is to use it as a map and allow users to zoom in to see the detail. Unfortunately, when the image is displayed with WebView, the quality is horrific. I am assuming that WebView is attempting to do some image optimization to reduce the size of the graphic. Is there anyway to prevent it from doing this? I don't want the image to lose any of its quality. You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 6 Replies
Feb 18, 2009
I'm thinking of using WebView as a container for "Form" based JavaScript+DHTML applications. This is simple fill-out-forms like you have on the web, but now on mobile like for note taking, order taking, and the like.This is to allow web developers to build the bulk of the application - Javascript will perform validation, computations, etc.On the Java side, I only need to implement database CRUD operations, and a ListView to scroll over the forms.To minimize the learning curve on the JavaScript side, I've been thinking on how to emulate AJAX calls so that the web developers don't need to learn new methods to call on the JavaScript-Java bridge. Of course this isn't possible using XMLHttpRequest, so I'm thinking of adapting JQuery or other Javascript libraries for this purpose.
View 3 Replies
View Related
Mar 17, 2010
I want to display an image from an url with an Webview at Android. With Android phones with Version 1.5 and 1.6 there is no problem. but the same pic and the same code on an AndroidPhone with Version 2.0 and the pic is totaly pixelated. Like Android is resizing the image first to a smaller one and then resizing it back to "normal" size. Unfortunately its important to display the pic without any quality loss. I tried to integrate it in the sourcefolder to show it as an normal image, but at Android 2.0 i get an exception because the image is to big. (At Android 1.6 there is no problem) Any ideas how i can display the image without quality loss with Android 2.0 ?
View 2 Replies
View Related
Oct 5, 2010
We have a website that makes use of OAM for single sign on (form-based authentication). When we submit credentials to WebGate / Access Server the authorization succeeds, however after the authentication is performed, the form action (as configured in the Authentication Scheme - with passthrough:no) returns a server error instead of redirecting to the originally requested URL.
If we use Mini Opera, we are able to get authenticated and forwarded properly.
This problem happens on numerous Android phones (versions ranging from 1.5-2.2), as well as the Emulator provided with the SDK.
This is proving to be a real problem as the default browser on Android phones is not able to get access to our sites(and this is the only browser that is having this problem).
I have created a WebView-based custom browser with the hope of seeing a client-side error and tried trapping every possible error....none show up....
I have tried to trace all of the http requests and found only a single difference in the requests... the http header for Connection:keep- alive is not sent by the Android WebView.
I have provided some tracing info below...
CODE:....................
View 2 Replies
View Related
Aug 31, 2010
What are C based services and Java based services in Android? What is similarity and dissimilarity between them ? Are C based services available in Android?
View 1 Replies
View Related
Dec 16, 2008
I want app-based security.If I lose my phone, I don't care if someone sees my contacts, or views my pictures, or plays my games. I do care, however, if they use my email.So, why not be able to assign on an app-by-app basis what is security protected?I should have to log in (a la Android screen lock) whenever I open my email.... but I don't have to just because the screen is asleep.
View 6 Replies
View Related
Dec 21, 2009
can any one tell me what is d actual diff in Stack based and Register based JVM?
View 2 Replies
View Related
Jul 1, 2010
I'm trying to find a messenger app (or apps) that supports at a minimum AIM and Yahoo that *IS* SMS-based. Everything I can find on the app market is data based, and the lackluster battery life on my new Droid Incredible means I can't have an always-open data connection. I do, however, have an unlimited text messaging plan, so incurring SMS charges is precisely zero concern of mine.
Yes, I have a auto task killer. Yes, I know about eBuddy and its power-saving feature, but I hate the fact that messages might have an unacceptably-long 15-minute delay.
View 1 Replies
View Related
Feb 12, 2009
I need to have my view resize itself based on the orientation. After extensive googling (maybe i was using the wrong terms) I could find nothing telling me how to detect when the orientation was changed. Here is my layout file: how do I have it automatically resize itself? I want each item (the EditText and the WebView) to fill half the screen (not counting the title/notification bars). I set the height to absolute and not wrap_content because wrap_content defaults to 1 line for EditText and nothing for WebView. and fill_parent has the EditText on top of the WebView.
View 9 Replies
View Related
Mar 3, 2009
We are developing some applications on cupcake which depend on packages not available in 1.1 version of SDK and will not build on it. Debugging and make are very slow on ubuntu open source. So, we are eagerly waiting for a windows SDK based on cupcake. Is there a timeframe defined for it by Google?
View 7 Replies
View Related
Jul 30, 2010
I am trying to create an application based on Wi-Fi and i would need some suggestion on the same , The scenario am trying is,say, when a user with our android application enters a specific Wi-fi Hotspot, i need an activity to be invoked from my app. Basically I can have a service running as a part of my app and whenever i scan for that specific hot-spot i can call up the activity , BUT , i need to do the otherway round.. i mean instead of running a service in the mobile and utilizing its resource, i want the Wi-fi Hotspot to monitor and if the device is inside the vicinity it needs to invoke a notification from which the activity can be invoked... Few things that i would like to understand is I) When a wifi hot-spot is detected in our android phone what actually happens at the Wi-Fi Hot spot end ?? 2) When our device obtains an IP address from the wi-fi n/w will our device's unique ID or its equivalents be available at the wi-fi provider end ?
View 9 Replies
View Related
May 11, 2010
I have Activity based tabs i.e i have used TabActivity,tabhost etc Now when we switch between the tabs, for the 1st time the oncreate is called and then after the onResume methode is called I want to know what event/function, of the activity, is called when i click on the the tab which is already selected. You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 2 Replies
View Related
Mar 8, 2010
I'm the proud new owner of a Motorola Droid, coming from a Treo 650. There are quite a few cloud-based storage services out there now (Google Docs, DropBox, etc.), but none seem to have clients for the Android phones. I searched the market, and I did find a few 3rd party apps for things like DropBox, but most had mediocre reviews. Anyone use a desktop app/android app/service combination they are happy with and care to recommend?
View 6 Replies
View Related
May 2, 2010
Need some insight on this folks. I want to keep private email truly private, and don't want the emails to go through google servers and/or be on the cloud. Is this possible? Is it more secure just to visit web based email via the internet on android smartphones, and login and view emails?
View 6 Replies
View Related
Jul 27, 2010
Is there a location based reminder app? For example, let's say I need something from the store. I would like an app that would remind you to go to the store when you are near one. It would be cool if you could select specific locations or use generic locations (based on what is in Google Maps maybe). Hopefully it uses the location service without using satellite GPS.
View 8 Replies
View Related
Sep 1, 2009
I'm trying to figure out how to develop a network-based authentication for my apps. I need some way to authentication an ID from the phone with an ID from the purchase order. Google Checkout has an ID in the order listing at the end:
"Trackmaster - Trackmaster is a powerful racing lap timer that runs on your Google Android Phone. It's for the motorsports enthusiast. Record your speed and times, analyze and replay your data, and share with your friends. Works great for autocross, hillclimbs, road rally, and track days! Satisfaction guarantee... - ID: -9037815002946116244"
I checked and this isn't the IMEI.
View 2 Replies
View Related
Jul 16, 2009
Currently have a Nokia E71, Using Advanced Call Manager, which lets me record directly to the phone, I know android can't currently (hope it will one day),
However I'd like to deny all phone calls except those on the white list, according to a schedule, i'll divert them to my work phone system after work hours to record the voicemail there instead of on the mobile itself. Divert/Deny Phone Calls based on a schedule
View 2 Replies
View Related
Sep 16, 2010
Wondering if an application exists to connect through 3G and through my computer's internet connection so that I can send/receive sms from my computer.
While at work it seems silly to type on this tiny-ass touch screen when I have a whole computer sitting right there. My work does not have WiFi, however, so an sms client that relies on wifi won't cut it. I'm hoping that something very similar to awesome drop exists but for sms.
View 5 Replies
View Related
Jul 26, 2010
Under what circumstances would using AIDL to define a service interface be the correct decision (rather than just creating an extension to the service class)?
View 2 Replies
View Related
Apr 22, 2010
I am developing a library for Android applications which does not use native code (JNI). I have tried suppling the library as an external jar in my Android projects but this method does not include the library contents in the apk and thus throws class not found errors when run in the emulator or device. I have also tried creating the library as an Android project in itself and this does work, but only for public static properties (not methods). With the library and application both being in separate apk's I can see that the VM notices references to the library and can read some properties, but when an attempt to instantiate a class in the library is executed I get class not found even though I can read the public static properties from it.
I realize that Davlik byte code is not the same as Java byte code but I am having trouble even finding good information about how to solve what would seem to be a very simple issue in Android. I am looking into the old PlatformLibrary stuff right now but I am not convinced this will work either since the sample has been removed from the Android site.
View 1 Replies
View Related
Aug 19, 2010
How can I highlight a row in a ListView backed by a CursorAdapter knowing the row ID of the item?
View 1 Replies
View Related
Nov 13, 2008
I am about to begin a nursing program in January nd they require us to purchase a Palm T/X PDA ($299) so we can run certain nursing apps such as a note card software, refrence material etc.Now i was wondering, why would i buy a $300 PDA when i can get a G1 for about $200, that's a phone as well nd has a full QWERTY key-board + camera, and... has a 528 MHz processor vs the 312 MHz runnin the Palm T/X (Palm OS Garnet, 5.4.9) So my question is could i run the Palm OS based softwares on a G1 if i get it?
View 7 Replies
View Related
Jun 11, 2010
I know there is an app like this for the iphone but have yet to find one on Android. Basically I am looking for am app that adjusts the volume of your phone based on how fast you are going. Similar to newer car stereos that go up and down based on your speed.
View 2 Replies
View Related
Jul 18, 2010
I am looking for an Android Audio Player that is based on a "now playing" playlist, like Amarok, Winamp or WMP. In relation with that playlist, I want buttons to add a song as the next song, or to add the song to the end of the playlist. Like the Rockbox firmware does it. Is there any app out there that works like this? I don't need any advanced features like lyrics, covers, etc, I just want to listen to music. In case there's nothing around, I'll even consider developing my own. Who needs synched lyrics if there's not even an "add next" option?
View 4 Replies
View Related
Mar 24, 2010
Location based rules dont work. I have GPS checked, and starred but it wont find me. I open up google maps and cell tower triangulation completely sucks. 10 miles off. Now the real question is; Is the dev working on this problem? Should I buy it and hope it gets fixed? The app has alot of potential, but it needs its location fixed bad.
View 11 Replies
View Related
Jul 18, 2010
I am quite familiar with web programming (HTML, PHP, MySQL) and semi-familiar with Android Java programming, and would like to begin a project that combines the two together. Can someone point me into the right direction for how I would access/manipulate a web-based MySQL database from an android app?
View 1 Replies
View Related
Oct 6, 2010
Is there a way to center an image horizontally based on another image? Could be from xml or coded.For example one button on top and another button below (i.e. android:layout_below="@+id/button1"), but centered horizontally based on the first one.
View 1 Replies
View Related
Nov 3, 2010
I am trying to create a screen (in portrait mode) that shows 4 images (same size, intended to scale down to fit screen), taking up the entire screen, breaking up the screen into quadrants (a tall, 2x2 grid). This will act as a main menu type of activity and each image should be clickable, in order to take the user to a different activity.
I have tried using a GridView inside a LinerLayout (using a lot from Google's GridView tutorial) but cannot get the images to all scale properly to fill the entire screen. I get extra margins around the images and/or scrolling of the entire screen. I have also tried using a TableLayout, placing 2 images in each of the 2 rows. Visually, that worked perfectly. Unfortunately when using that, I cannot seem to reference the ImageView items in the TableLayout in my activity code (findViewById always returns null)..................
View 1 Replies
View Related
Oct 12, 2010
I plan to develop database application in a Android mobile ? Is that possible to connect a SQL Server 2000 from an Android mobile, that I could add / delete / edit records from that mobile ?
View 1 Replies
View Related
Jul 1, 2010
I was thinking how awesome it would be to create a to-do list at home, set the location, then have it pop up when you get into the set range. Does this exist already?
View 1 Replies
View Related