Android :: Rotate A Drawable With Anti-aliasing Enabled

Jun 8, 2010

I need to rotate an ImageView by a few degrees. I'm doing this by subclassing ImageView and overloading onDraw(). code...

The problem is that the image that results shows a bunch of jaggies.

How can I antialias an ImageView that I need to rotate in order to eliminate jaggies? Is there a better way to do this?

Android :: Rotate a drawable with anti-aliasing enabled


Nexus :: Disable Browswer Anti-aliasing?

May 27, 2010

Is there a way to permanently disable anti-aliasing? I find anti-aliasing a little irritating. It simply smooths out images which essentially strips out details. I've never liked it.
I find myself slowly scrolling back and forth in the browser to disable the anti-aliasing so that the images I view are more defined.
It seems most poeple complained that the anti-aliasing slowed down performance but that isn't my issues. I simply don't like how it degrades an image.

View 3 Replies View Related

Android :: Rotate A Drawable Programmatically?

Sep 28, 2009

In my application I want to be able to rotate a view programmatically rather than via XML. I can easily create a <rotate/> drawable that references my Drawable, but I can not figure out how to do the same thing in Java. The problem is that many drawables in my scene can be displayed either vertically or horizontally and I do not want to have to create a separate rotate drawable for every drawable in my scene.

One thought I had was to instantiate a RotateDrawable in Java and then use that as the background for my view, but it does not appear that you can set the rotation of a RotateDrawable instantiated this way (you have to feed it XML to get it to be at all useful from what I can tell).

Another thought I had was to rotate the canvas, but I would like to be able to use the drawables as view backgrounds and I do not see a way to rotate the canvas before the background of a view is drawn and then revert it afterwards.

I also looked into creating some generic rotate drawable and then perhaps changing the drawable that it applies to, but that lead no where.

So, does anyone have any ideas about how I can rotate a drawable in code and then use that rotated drawable as a background?

View 6 Replies View Related

Android :: Settings - Secure.ADB ENABLED - USB MASS STORAGE - ENABLED

Nov 20, 2009

I wanna set the ADB_ENABLED and USB_MASS_STORAGE_ENABLED option automatically in my App.

so i add below statement in my App(Activity).

---------------------- Settings.Secure.putInt(getContentResolver(), Settings.Secure.ADB_ENABLED, 0);

or

Settings.Secure.putInt(getContentResolver(), Settings.Secure.ADB_ENABLED, 1); ----------------------

and add below statement in my App(manifest).

---------------------- .... </application> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> .... ----------------------

but some exception are occured in runtime like below.

---------------------- Uncaught hander: thread main exiting due to uncaught exception. java.lang.SecurityException: Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS ... ----------------------

How i can use ADB_ENABLED and USB_MASS_STORAGE_ENABLED in my App?

View 3 Replies View Related

Android :: WebView Border-radius Aliasing

Jul 26, 2010

When using border-radius on my android emulator I am seeing ugliness like this:

Is there anyway to get Android to display rounded corners via -webkit-border-radius in a more pleasing way? Most modern desktop browsers and Mobile Safari seem to antialias their corners, but not Android's renderer.

I'm really hoping I don't have to do this with images, and there is some awesome trick to get pretty corners with only a border radius css declaration.

View 1 Replies View Related

Android :: Rotate Bitmap With Canvas.rotate

Sep 24, 2010

As we know, we can rotate a bitmap through 2 ways. The 1st way is: Matrix mt = new Matrix(); mt. postRotate (degree);Bitmap bitmap = CreateBitmap(src, 0, 0, w, h, mt, true); canvs.drawBitmap(bitmap, 0, 0, paint); In this way, we always need create new bitmap for every rotation, it is not good way for high performance game or app.The 2nd way is: canvas.save(); canvas.rotate(degree); canvas.drawBitmap(bitmap, 0, 0, paint); canvas.restore();In this way, we avoid creating new bitmap frequently, but the rotation bitmap is distortion, the bitmap quality is worse than first way.So, Is there 3rd way to rotate bitmap with high performance and good quality? Your any comments are really appreciated!

View 3 Replies View Related

Android :: High Density Emulator Use Drawable Mdpi Folder Instead Of Drawable Hdpi

Oct 19, 2010

I am running my application in the emulator using a high density skin (like WVGA800). However the ressources in my application are loaded from the drawable- mdpi folder instead of drawable-hdpi ... what else should I do so that android use the correct folder ?

View 4 Replies View Related

Nexus :: Rotate 1 Way / Landscape Works / Rotate Other Way / It Doesn't

Jul 1, 2010

I just bought the Nexus One unlocked for AT&T and really like it. 1 wierd thing is that when I rotate the phone counter clockwise, the screen goes to landscape just fine; but when I rotate it clockwise it does not go to landscape "the other way". And, if I'm holding the phone 'normally' and rotate it 180 degrees ('upside down') it doesn't follow.My youngest daughter delights in telling me that her iPhone does this with no problem. What's up with that?

View 7 Replies View Related

HTC Magic :: Rotate Home Screen Rotate Right?

Oct 2, 2009

I have a HTC Magic (Rogers Canada).And, I see how the Dream (G1) rotates the home screen. can the Magic do that as well? Also, anybody know if it's possible to rotate the screen to the right and not just to the left? Shouldn't the acceleromater detect all the different rotated modes (even upside down?). that'd be cool

View 1 Replies View Related

Android :: Is It Important To Have Anti Virus?

Aug 24, 2010

Do i really need an anti virus on my moto droid like Norton? Im non rooted?

View 6 Replies View Related

Android :: Strange Behavior After Installing Anti-virus

Aug 28, 2010

Last night I downloaded antivirus free by droidSecurity inc.I ran a scan and it said I had something suspicious but would not allow me to view any details. Eh lame, I removed the app and jumped into bed.Today I was out driving around and got a warning my internal Phone memory was low. I took a look and it said 150 MB free.so I rebooted the phone and maybe I was being dumb because I thought you could cancel the SIM password and use the device as a PDA with no access to make phone calls.Anyhow I restored my clockwork recovery nandroid backup from a couple of days ago and now things seem better. Phone has 0.9 GB free.Are there any good applications to help manage the available memory on the phone?

View 4 Replies View Related

Android :: Anti-Task Killer To Keep Droid From Closing Processes?

Aug 23, 2010

I subscribe to the church of not using a task killer but what I really would like is an app that I can select programs I don't want android to kill.

An example of why I want this: theres 3 to 4 websites I view for the most part on my phone. I like to open my browser and get it all set up in tabs on Dolphin. However, if I don't use it for while, I re-open the browser to find it had been closed and I have to repeat.

I'd use this in conjunction with the app that monitors CPU use (forgot what it was) and gives a notification if an app rises over a customized threshold in case the app started getting too hungry.

View 1 Replies View Related

Sprint HTC Hero :: How To Get An Anti Virus?

Jan 14, 2010

Seriously? Is that really necessary?

View 13 Replies View Related

Motorola Droid :: Looking For Anti Glare?

Mar 2, 2010

i have nothing on my screen right now but its hard to see the screen outside so im looking for antiglare whats the best thing out right now to get for this

View 3 Replies View Related

Samsung Galaxy S :: Is Anti Glare?

Jun 10, 2010

"AMOLED displays are difficult (almost impossible) to view in direct sunlight. Samsung's Super AMOLED technology addresses this issue by reducing the size of gaps between layers of the screen." it is true that super galaxy s is anti glare when it is view in direct sunlight? anyone can kindly post a video of samsung galaxy s in direct sunlight?

View 1 Replies View Related

Games :: Where To Get Anti Aircraft Game?

Aug 16, 2010

I am looking for a game that works like the Google Sky app, but instead of stars it showed little aeroplanes you can shoot down. Basically a real life 3d anti aircraft game.

Of course if it used augmented reality to place the planes on the camera view that would be even better!

Does anything like this exist out there?

View 2 Replies View Related

General :: Anti-theft Embedded In ROM?

Mar 12, 2012

I know that there are a lot of anti-theft apps, but from what I understand they are completely useless if the thief restores factory settings, deleting the app. I would like an anti-theft app integrated in the ROM, so it will survive a factory reset and detect a thief, as long as he doesn't flash another ROM!

View 5 Replies View Related

HTC Desire :: Keyboard Only Does Landscape Anti - Clockwise

Jun 12, 2010

Does your message keyboard only switch to landscape when you rotate the phone anti-clockwise? strange isn't it?

View 5 Replies View Related

Motorola Droid :: How To Install An Anti Virus?

Nov 15, 2009

Has anyone installed an anti virus on the droid yet? is it necessary?

View 6 Replies View Related

Sony Ericsson Xperia X10 :: Need Anti Virus

Aug 6, 2010

Do I need one? Are there any decent ones available on the market?

View 2 Replies View Related

HTC EVO 4G :: Any Good Anti Glare Screen Protectors?

Jun 11, 2010

The horrible write right ones from walmart and radio shack with the hard plastic are horrible...scratch easy and very glary. Any good anti-glare screen protectors that yall have seen?

View 1 Replies View Related

HTC EVO 4G :: ZAGG Or Anti Glare Screen Cover?

Jun 8, 2010

Trying to decide between a Zagg and a anti-glare cover. Who knows where I can buy a good anti-glare screen protector?

View 2 Replies View Related

Samsung Epic 4G :: Anti Virus Software

Oct 18, 2010

This is my first smartphone so spare me the laughter. Is anti virus software really needed in the Epic? I do surf the web a lot.

View 1 Replies View Related

Motorola Droid :: Way To Run An Anti Virus On Phone?

Aug 3, 2010

Just wondering if I really need to run an anti virus on my Droid? If I root using the new one touch root available on the market could I then run set CPU or do I have to run a different ROM to use it.

View 4 Replies View Related

Sony Ericsson Xperia X10 :: How To Get Anti Virus Software For X10?

Sep 13, 2010

Is it necessary to install anti-virus software on the X10? if so, does Sony recommend any particular application?

View 7 Replies View Related

Motorola Droid X :: Anti Smudge Screen Protector?

Oct 10, 2010

I didnt realize how good the quality of the display of the phone (anit-glare/smudge i had on made it not shiny any kinda blury)! I might have to leave it off when i get the new/like-new one im getting!! I mean its gorilla glass anyway so its almost scratch proof right?? you guys have screen protection or no? Id like to see the majority

View 13 Replies View Related

Motorola Droid :: Boxwave Cleartouch Vs Anti Glare

Jan 5, 2010

I know the cleartouch is smoother and has glare.. but besides that what are the pros and cons of both?

View 13 Replies View Related

General :: How To Edit APK To Remove Anti-cheat Protection

Jun 1, 2013

I would like to learn on how to edit an apk that has cheat protection to remove it cause most of the games I play can't be cheated.

View 6 Replies View Related

HTC Droid Eris :: Anti - Glare / Clear Screen Protector?

Jan 23, 2010

I can't find any posts that actually have comparison pictures. I've read reviews but need to see physical evidence that one is better then the other. I'm annoyed with the constant finger prints whipping, so I'd imagine that anti-glare would be the preferred choice. Then again I don't know what the contrast will look like afterward. This is my dilemma

View 21 Replies View Related

HTC EVO 4G :: Clarivue Anti Glare Screen Protector Isn't Reflective Like Mirror

May 31, 2010

Installed my clarivue last night. It was really easy to install. This really helps with visibility outside, the screen isn't reflective like a mirror anymore. The touch screen doesn't feel as good as naked, but it repels fingerprints so I think it's worth the trade off. Excuse the dust.

View 26 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved