Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16291] Android: Maps V2 displays black with anyDensity=false

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2014-01-28T18:12:18.000+0000
Affected Version/sRelease 3.2.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterLuciano Damiani
AssigneeIngo Muschenetz
Created2014-01-20T23:10:35.000+0000
Updated2017-03-22T23:01:37.000+0000

Description

Steps to Reproduce

Create a project that use Android Maps V2 and set tag anyDensity=false. SDK: 3.2.0 Android: Samsung GS 4 mini with Andorid 4.2.2 I am using all the steps of this link: http://docs.appcelerator.com/titanium/3.0/#!/guide/Google_Maps_v2_for_Android

Actual Result

When opening the app shows a black window instead the map.

Expected Result

The map should open like when I use anyDensity=true

Attachments

FileDateSize
.log2014-01-20T23:10:50.000+00001668068
diagnostic3244361413546593708.log2014-01-20T23:10:53.000+000015391
TesteAlloy.zip2014-01-20T23:11:54.000+00007457890

Comments

  1. Ritu Agrawal 2014-01-21

    I can reproduce this issue with "anyDensity=False" but this flag is set to true by default and it is not recommended by Google to set it to false. http://developer.android.com/guide/topics/manifest/supports-screens-element.html android:anyDensity Indicates whether the application includes resources to accommodate any screen density. "For applications that support Android 1.6 (API level 4) and higher, this is "true" by default and you should not set it "false" unless you're absolutely certain that it's necessary for your application to work. The only time it might be necessary to disable this is if your app directly manipulates bitmaps (see the Supporting Multiple Screens document for more information)."
  2. Lokesh Choudhary 2014-01-21

    The issue is reproducible on latest 3.2.X, 3.2.0.GA & 3.1.3.GA SDK's.We see a black window instead of a map. Setting the "anyDensity=true" the app works as expected & we can see the map. Environment: Appc Studio : 3.2.1.201401201818 Ti SDK : 3.2.1.v20140117222448 Mac OSX : 10.8.5 Alloy : 1.3.1-beta3 CLI - 3.2.1 from github Samsung Galaxy S4 running android 4.2.2
  3. Ritu Agrawal 2014-01-23

    Moving this ticket to engineering to decide if it wants to fix this issue even though it is not recommended by Google to set anyDensity to false.
  4. Ingo Muschenetz 2014-01-28

    As anyDensity=false is not recommended, we will not be addressing this issue.
  5. Samuel Dowse 2014-05-12

    Tested on: Mac OSX 10.9.2 Appcelerator Studio, build: 3.2.3.201404181520 Titanium SDK, build: 3.2.3.GA Titanium CLI, build: 3.2.3 Alloy: 1.3.1 Setting AnyDensity to false in the tiapp.xml causes map view to open a blank screen. Removing the AnyDensity tag resolves the issue as the map displays correctly.
  6. Lee Morris 2017-03-22

    Closing ticket as "Won't Fix".

JSON Source