My favorites | Sign in
Project Home
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 10: Source doesn't compile in Android
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Apr 2011

Sign in to add a comment
Reported by, Apr 19, 2011
AncientEgyptianDecomposition  depends on the use of Math.scalb  and Math.getExponent not present in the Android SDK. 
I was able you work around this issue by providing my own versions of the code within the code. Everything else compiles fine within the Android SDK. 

public static double scalb(double f, int scaleFactor) { 
  return f * Math.pow(2, scaleFactor); 

public static int getExponent(double f) { 
  return (int) (Math.log(f)/Math.log(2)); 
10.3 KB   View   Download
Apr 19, 2011
Project Member #1 cscheiblich
Hello sashi,

thanks testing JWave for android! Great to hear the code is running; makes me happy :)

Added your workarounds and ran my tests, seems to be fine.
(probably you can check r62 again)

Status: Fixed
Apr 19, 2011
That was some quick response time. I'll see if any other issues come up while using the code within android. Thanks
Apr 19, 2011
Project Member #3 cscheiblich
Mar 24, 2014
Thank you for sharing this code.
I am interested in using the code in Android. How can I import it as android application project?
Sign in to add a comment

Powered by Google Project Hosting