How to extract sound of unity game from apk? - android

I previously developed a unity game many years ago.
Now I have lost my project and I only have an apk.
To say in short, in my new game I need some audio files from that game. I have extracted the apk but strangely I haven't found any audio formatted file in the asset!
So what are the formats of unity audio assets?!
and how can I extract and change them to common formats like .ogg or .mp3?
Thanks for your attention.

You can try Unity Assets Explorer.
http://forum.xentax.com/viewtopic.php?f=10&t=10085

I didn't find any solution(stop searching more although, you maybe find something on more googling)
But for those who have same requirement, I did it by an android application that work only on rooted devices, which can record sounds internally.
Hope to help:)

Related

Resize videos in android

I'm looking to resize videos captured using the MediaStore Intent after they have been saved to the SD card. I've done similar things with c# and ffmpeg and thought about using that with android but I've yet to be able to find a way to incorporate that into my eclipse running on my windows 7 machine.
I'm a total *nix noob so all of the solutions that I've found for building ffmpeg into an android app are completely greek to me.
Is there an alternative solution to ffmpeg that perhaps is already built into the android sdk for resizing videos?
I'm just looking for the path of least resistance here...
No, there is no api in android, to resize the video you have in sdcard. Because resizing video means you are manipulating the video, which is a complex task and no android api is currently available to do that task.
So you just have to make use of external lib. like ffmpeg and make *.so of it for using it in android. You can have a look at link to have a help for making *.so files.
Hope this helps. Cheers. :)

playing a MP3 file android NDK using openSL from memory

I have my android app where data is packed using FileWrap. The thing is I want to wrap the mp3 data into the android file and play from that memory. I have checked the nativeaudio example in NDK which shows how to play MP3 as an asset or as a filesystem file, but it does not show how I can play an MP3 that is embedded into memory.
Please help. Thanks.
I don't think that is possible... yet.
AFAIK android opensl only supports MP3 decode & playback from a stream...
I have not seen the latest ndk release (r9b) yet, but if the opensl example app does not support in-memory, on-the-fly decoding, I doubt it is available.
Perhaps having a look here may clear things up:
https://groups.google.com/forum/#!searchin/android-ndk/opensl|sort:date/android-ndk/cMHlkyQkFU0/vMkyO2201yYJ
Or you could just dump your MP3 files in the "assets" folder and play them using the AAssetManager as per usual.

Choose which audio file format to use between Android and IOS?

In my app,I want to make sure user can record his sound and sent to other user to listen to it.
In android platform I choose .amr ,it's not too big and easy to record.
Then I realized I should make sure my ios user can chat with my android user,but .amr seems not support in ios(after v4.3).
So is there a certain audio file format that can use between android and ios platform?
Or I have to let my Server to do the Transcoding job?
Both android and iOS should be able to handle mp3 files.
You can encode to mp3 on the device using various open source projects (could be a combination of steps).
I would personally go for a server-side encoding/conversion, because too many things can go wrong (especially on all the various Android versions and devices)
At last we use amr. Ios client do the decode job.

Phonegap Android App - Display Store MP3 Media

I've been following this blog to help me make a simple music player function with an Android app (http://simonmacdonald.blogspot.com/2011/05/using-media-class-in-phonegap.html).
All works well - but I would like some way to extract a list of all music media stored on the phone so the user can click a file and play it. Does anyone know if this is possible via phone gap? I'd need to access track name/artist etc and a link to the track.
Cheers
Paul
Prognosis is not good.... PhoneGap does not have an API for accessing the media library. So, you would have to fall back to the File API to locate music files, and then... you would have to read the binary data in the actual files to extract out the track/artist metadata. Ouch. Seems pretty impractical.
[EDIT]
By the way, PhoneGap is not the only game in town. Appcelerator seems to solve the same problem, and apparently has a richer API, which includes
access to media metadata

Streaming .m3u file in Android 3.0

I am looking to develop an application where I have to stream .m3u file, this is for ANDROID 3.0 only.
I want to stream this link
dl.dropbox.com/u/2377944/test/abr_test/index.m3u8
it must work in emulator too
I searched a lot, but nothing seems to be working too good.
Please help.
Thanks in advance.
m3u is a play list format, a text file, and not actually audio/video media itself. That means it references media that you would want to stream. The distinction is important.
The contents of the m3u file is important. (Your link is dead, btw.) Show that to use and we can help more. Each of the media files contained in the m3u must be valid and point to media that is compatible with Android.
What makes the media compatable? Check the Android Supported Media Formats page.

Categories

Resources