I am trying to get my apps ready for the Kindle Fire HDX. Amazon has a test app to do preliminary test. My application fails with a ringtone detected error. See attachment. Any suggestions. I used the phone library as such:
If FirstTime Then
Dim p As Phone
If p.Model = "Kindle Fire" Then
Kindle = True
Else
Kindle = False
End If
I guess that you are not using RingtoneManager, right?
Try these steps:
- Make a copy of Phone.xml and Phone.jar (to MyPhone.xml and MyPhone.jar)
- Open MyPhone.jar with a program such as 7zip.
- Open the folders until you see all the class files.
- Delete the two RingtoneManagerWrapper classes.
I guess that you are not using RingtoneManager, right?
Try these steps:
- Make a copy of Phone.xml and Phone.jar (to MyPhone.xml and MyPhone.jar)
- Open MyPhone.jar with a program such as 7zip.
- Open the folders until you see all the class files.
- Delete the two RingtoneManagerWrapper classes.
I guess that you are not using RingtoneManager, right?
Try these steps:
- Make a copy of Phone.xml and Phone.jar (to MyPhone.xml and MyPhone.jar)
- Open MyPhone.jar with a program such as 7zip.
- Open the folders until you see all the class files.
- Delete the two RingtoneManagerWrapper classes.
@Erel, I'd like to upload my apps to Amazon too, but I also get the "your app is a ringtone" warning when I upload my APK.
I tried doing what you describe above, but when I open my duplicated Phone.jar (2.27), I can see all the classes, but I can't find anything with the phrase "ringtone" in it.
That's the strange part - I've never touched the Phone library files before this. And when I go back to the original Phone library file (Phone.jar), it doesn't have Ringtone classes either.
Anyway, I'll recompile and test against Amazon in the next few days and report back. Thanks!
Ah, good catch. It looks like I have Phone libraries in the app's folder and in my "more libs" folder. And I have some other duplicates too (IME, JavaObject, etc.), probably from third-party libraries that included them.
I assume I should delete the duplicates from "more libs"?
yes. Probably.
For the future you need to read carefully when you get an update from @Erel (or find it here in forum). He maybe say "place the files into the internal libs folder", maybe "place the files into the additional libs folder"
I have in mind i ran into the same trap while updating my httputils with the new okhttputils;
Just to confirm, once I got rid of the duplicate libs and removed RingtoneManager from my "Amazon" copy of the Phone lib, uploading to Amazon's testing service showed no complaints about ringtones. Thanks!