Querying applicationScale in Android

If you let Android auto-scale your app (this is what happens when you set anyDensity=false in AndroidManifest.xml) for different densities and resolutions, debugging it can be painful because you can’t confirm or query the application scale that Android chooses. While poking around this week on a particularly tricky bug in Titanium Mobile for Android, I came up with the following snippet that gives me the current applicationScale from the internal CompatibilityInfo class:

All you need is a View, and you can get your app’s scale. Keep in mind this API is not official, so it could change in future versions of Android. Fake Yves Saint Laurent Online
Cheap Bottega Veneta Handbags Online
Buy Cheap Balenciaga Bags
Cheap Replica Louis Vuitton Shoes
Buy Discounted Designer Replica Celine Bags Online
Purchase Replica Salvatore Ferragamo Pumps Online
Purchase Cheap Lancel Handbags Online
Purchase Discounted Bottega Veneta
Buy Cheap Designer Replica Miu Miu Flats
Discounted Designer Replica Manolo Blahnik Booties Online
Purchase Cheap Designer Replica Loewe Online
Discounted Chloe Totes Online
Fake Tory Burch Shoes Online
Purchase Fake Miu Miu
Buy Cheap Fake Lv Bags
Purchase Discounted Hermes Online
Purchase Cheap Replica Alexander Mcqueen Shoes
Designer Replica Alexander Mcqueen Shoes
Fake Miu Miu Handbags
Marni Online
Discounted Replica Giuseppe Zanotti Sandals
Purchase Discounted Designer Replica Cartier Handbags Online
Purchase Cheap Replica Yves Saint Laurent Sandals
Purchase Discounted Replica Mulberry Bags
Purchase Cheap Designer Replica Dior Homme Loafers
Cheap Alexander Mcqueen Pumps Online
Discounted Ysl Handbags Online
Buy Discounted Fake Marc Jacobs Wallets
Purchase Tory Burch Shoes Online
Purchase Discounted Replica Givenchy Handbags
Cheap Replica Cartier Bags
Buy Discounted Designer Replica Coach Handbags Online
Purchase Discounted Replica Yves Saint Laurent Slingbacks
Purchase Discounted Designer Replica Jimmy Choo Shoes Online
Designer Replica Lv Online
Purchase Cheap Designer Replica Gucci Handbags
Cheap Designer Replica Coach Handbags Online
Purchase Fake Alexander Mcqueen
Discounted Replica Phillip Lim Bags
Purchase Replica Miu Miu Bags Online
Fake Jimmy Choo Pumps
Purchase Cheap Alexander Mcqueen Booties Online
Cheap Designer Replica Alexander Wang Bags
Fake Christian Dior Wallets Online
Discounted Fake Fendi Sneakers Online
Purchase Fake Louis Vuitton Shoes
Ysl Online
Tory Burch Shoes
Cheap Jimmy Choo Pumps Online
Fake Giuseppe Zanotti Booties
Buy Fake Marc Jacobs Shoes Online
Replica Christian Dior Wallets
Buy Cheap Fake Jimmy Choo Shoes
Buy Designer Replica Alexander Wang Wallets Online
Discounted Designer Replica Salvatore Ferragamo Wallets Online
Purchase Cheap Manolo Blahnik Boots
Buy Cheap Gucci Sneakers Online
Discounted Replica Balenciaga
Purchase Discounted Fake Cartier Wallets
Buy Cheap Designer Replica Burberry
Buy Replica Fendi Totes Online
Purchase Designer Replica Lanvin Shoes
Purchase Cheap Fake Chanel Sandals Online
Purchase Burberry
Replica Dior Homme Loafers
Cheap Replica Bottega Veneta Totes
Buy Cheap Replica Balenciaga Handbags Online
Purchase Cheap Designer Replica Anya Hindmarch Wallets
Buy Discounted Jimmy Choo Shoes Online
Purchase Discounted Bally
Purchase Alexander Mcqueen Bags
Buy Discounted Fake Anya Hindmarch Bags
Purchase Bottega Veneta Bags Online
Purchase Replica Balenciaga Online
Buy Replica Louis Vuitton Monogram Canvas Abbesses
Discounted Designer Replica Givenchy Handbags Online
Purchase Fake Hermes Bags Online
Gucci Totes Online
Cheap Designer Replica Celine Bags Online
Purchase Designer Replica Manolo Blahnik Boots
Purchase Replica Thomas Wylde Bags
Purchase Discounted Fake Valentino Online
Designer Replica Tory Burch Booties
Designer Replica Mulberry
Cheap Designer Replica Alexander Wang Wallets Online
Purchase Designer Replica Thomas Wylde
Cheap Versace Online
Buy Cheap Fake Jimmy Choo Bags
Buy Replica Christian Louboutin
Replica Miu Miu Flats
Purchase Replica Hermes Handbags
Purchase Discounted Jimmy Choo Online
Replica Valentino Online
Purchase Tory Burch Booties Online
Purchase Discounted Versace Totes Online
Purchase Cheap Fake Balenciaga Totes Online
Louis Vuitton Handbags Online
Purchase Discounted Replica Alexander Wang Totes
Cheap Fake Celine
Purchase Discounted Designer Replica Christian Dior Totes Online

Also read...

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>