Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on Android 1.5 #1

Closed
GoogleCodeExporter opened this issue May 15, 2015 · 6 comments
Closed

Doesn't work on Android 1.5 #1

GoogleCodeExporter opened this issue May 15, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
>adb.exe install wheel.apk
825 KB/s (29602 bytes in 0.035s)
Can't dispatch DDM chunk 46454154: no handler defined
Can't dispatch DDM chunk 4d505251: no handler defined
        pkg: /data/local/tmp/wheel.apk
Success

After this I can see the application icon, but I can't access the menu items 
Cities, and others

What version of the product are you using? On what operating system?
Version of wheel demo: 1.2
Version of android sdk: r06 for windows
Eclipse: Galileo
OS: Vista Business

Original issue reported on code.google.com by Monomac...@gmail.com on 11 Sep 2010 at 12:02

Attachments:

@GoogleCodeExporter
Copy link
Author

in WheelView 
commented following lines to work on 1.5
itemsPaint.density = getResources().getDisplayMetrics().density;

and 
valuePaint.density = getResources().getDisplayMetrics().density;

Original comment by khurrum....@gmail.com on 25 Oct 2010 at 11:10

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Thank you!

Is it because getResources() or getResources().getDisplayMetrics() returns null?

Or something else?

Original comment by yuri.kan...@gmail.com on 1 Nov 2010 at 10:55

@GoogleCodeExporter
Copy link
Author

because in itemsPaint.density, the density does not exist in 1.5 same for the 
later one, thanks

Original comment by khurrum....@gmail.com on 1 Nov 2010 at 11:36

@GoogleCodeExporter
Copy link
Author

Thank you very much!

Original comment by yuri.kan...@gmail.com on 2 Nov 2010 at 7:56

@GoogleCodeExporter
Copy link
Author

Fixed. The corresponding code is commented.

Original comment by yuri.kan...@gmail.com on 3 Nov 2010 at 7:12

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant