2015-04-13 09:00:33 |
XiaoGuo, Liu |
description |
I have a sample application at:
bzr branch lp:~liu-xiao-guo/debiantrial/bubblekid
The application plays some background music using the following code:
SoundEffect {
id: bubblepop
source: "sounds/bubblepop.wav"
volume: 1.0
}
MediaPlayer {
id: backgroundMusic
source: "sounds/background.mp3"
autoPlay: true
loops: MediaPlayer.Infinite
volume: 1.0
}
The app works well on the phone and on the desktop environment without any problem. However, it cannot play the music in the emulator. A developer also found this problem, and she needs the feature to test the app since she does not have a phone yet.
Best regards,
XiaoGuo |
I have a sample application at:
bzr branch lp:~liu-xiao-guo/debiantrial/bubblekid
The application plays some background music using the following code:
SoundEffect {
id: bubblepop
source: "sounds/bubblepop.wav"
volume: 1.0
}
MediaPlayer {
id: backgroundMusic
source: "sounds/background.mp3"
autoPlay: true
loops: MediaPlayer.Infinite
volume: 1.0
}
The app works well on the phone and on the desktop environment without any problem. However, it cannot play the music in the emulator. A developer also found this problem, and she needs the feature to test the app since she does not have a phone yet.
I test it using the following image:
phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 206
device name: generic_x86
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
last update: 2015-03-12 01:35:11
version version: 206
version ubuntu: 20150312
version device: 20150116
Best regards,
XiaoGuo |
|