richpixel / songpickerane Goto Github PK
View Code? Open in Web Editor NEWA song picker/player AIR native extension for iOS and Android.
A song picker/player AIR native extension for iOS and Android.
Hi,
Firstly a big thanks for developing this ANE, it's been very useful in terms of getting to grips with ANEs and for actual functionality in our project too. (This is also my first real interaction with Github, so apologies if I'm posting this in entirely the wrong place)
I've had great success integrating the iOS flavour of this ANE into our project, and no problems running your demo AS3 project on a test Android device, but when I attempt to use the ANE in our project on an Android device the PickSong function fails to bring up the native song picker. I'm pretty sure the Java / ANE compilation & build workflow is working alright, as I've added Android test methods to the ANE which can be found and run from our AS3 code, and the PickSong method seems to be found, it's just that nothing happens.
I've compared the app config xml for our AS3 project against your demo project, and it seems to be the same, but I'd guess that it's got to be some sort of config issue in our AS3 project, that's causing it to fail, I just can't see what for the life of me. Any help or advice on debugging this would be enormously useful & appreciated!
Thanks, Ted
Bad memory allocation makes apps crash with messages such as:
"error for object incorrect checksum for freed object - object was probably modified after being freed"
in SNG_PKR_ContextInitializer function:
FRENamedFunction* func = (FRENamedFunction*) malloc(sizeof(FRENamedFunction) * 2);
should be:
FRENamedFunction* func = (FRENamedFunction*) malloc(sizeof(FRENamedFunction) * 5);
That's why it's useful to use #define sometimes ;]
Hi richpixel,
just tried to build a new release of our app with your ANE using iOS 8.4 SDK. Got the following error message:
Error: libGoViralAPI.a are required to have universal iOS libraries. Please contact the ANE developer(s) to get the same.
Please help, thank you
Günter
I need path file of sound file for copy.
is it possible?
thanks you
Do you think you could add something along these lines maybe?
The readme file states
"You must include the following lines in the Android manifest section of your app config xml file to use the picker:"
but then doesn't have anything written. Is it just the following lines, or is there more?
<extensions>
<extensionID>com.newpixel.air.nativeextensions.SongPicker</extensionID>
</extensions>
With the new AIR SDK updated to meet Apple's new 64 bit requirements, I started getting the following error:
Error occurred while packaging the application:
Error: META-INF/ANE/iPhone-ARM/libSongPicker-iOS.a, are required to have universal iOS libraries. Please contact the ANE developer(s) to get the same.
Any chance of recompiling it with the AIR 16 Beta SDK?
Hi,
your SongPicker Example app works fine until iOS 8.4 but if the device has iOS 8.4.1 there is no sound to hear. I got the same issue with our own app and just compiled your example to double check this issue.
There is no error message, no warning, nothing. Just silence.
Any idea?
Hi, thanks for sharing,
as far as I can tell, the ane works fine on Android 4.3 and 4.4.4 but I got an issue on iOS 7.1.2
I can setVolume on iOS 7.1.2 on a iPhone 4 but it has no effect on an iPod touch with 4" retina display. Both devices have iOS 7.1.2 and I use the same *.ipa on both.
Any idea?
Guenter
Hi again.
I'm having an issue with my app in that the SongPicker lists all tracks associated with a device but not necessarily downloaded to the device. iOS has the ability to only show downloaded tracks but this seems to get overridden when using the ANE.
When WIFI is off, an un-downloaded track can't be selected but if it's on then the picker accepts the selection but doesn't play anything.
Would it be possible to send a parameter to the ANE to toggle 'downloaded only' (or even have that as default) in a future build please?
Many thanks in advance.
Tim
Hi,
Is there a way to get the playhead position of the current playing song?
Hi. I seem to be having problems with resuming a track after pausing on iOS. The track starts again from the beginning ('droid works fine). All clues very welcome. Thanks.
Hi, thanks for sharing!
Nothing happens when I call:
SongPicker.instance.pickSong();
I just tried to use your code from example folder.
So it looks like it does not working on Android 4.X
My version 4.4.4
Hello
I've just installed SongPickerANE to my iOS app.
It works on my iPhone 4S(iOS 9.3.5).
But does not work on my iPhone 5S(iOS 10.3.2).
Are there any issues like this?
Hello,
Thank you for this awesome ANE, however I have a problem regarding IDs.
When I call the picker with downloadedSongsOnly = false, All my iTunes library can be accessed. When I pick a song from an album, I would like to be able to play the next track of the album after the current song is finished.
I have all the info via the iTunes API (artwork for example) but I can't make a call like this:
SongPicker.instance.playSong(nextTrackITunesID) because you're using some kind of internal ID which has nothing to do with iTunesID...
Any help would be appreciated ;)
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.