Giter VIP home page Giter VIP logo

songpickerane's People

Contributors

richpixel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

songpickerane's Issues

Android PickSong issue

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

memory allocation issue

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 ;]

iOS 8.4

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

Android Manifest Additions

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>

New 64-bit compatibility rules

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?

issue with iOS 8.4.1

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?

setVolume issue on iOS

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

Only show tracks on device (iOS)

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

Resume playing on iOS

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.

Android 4.X

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

Does this work on iPhone 5S(iOS 10.3.2) ?

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?

songID <-> iOS's iTunesID ?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.