ARD Board on Android: Music application crashes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ARD Board on Android: Music application crashes

3,304 Views
Swamy
Contributor III

Hi All,


I am working on the ARD board with Android OS. After Android boots up, I went into the All APPS page. When I click the Music apps, I get the popup message saying.." Sorry, The application Music (process com.android.music) has stopped unexpectedly. Please try again".

I also cleared the data from the Settings->Applications->Manage Applications->All->Music.
After doing this step also I am still facing the problem.

Request you to please suggest.

Board Details:
IMX53 ARD
Kernel version-2.6.35.3-01262-gf59075b-dirty
Android version-2.3.4


Regards,
Swamy


Labels (1)
0 Kudos
Reply
18 Replies

3,053 Views
Swamy
Contributor III
0 Kudos
Reply

3,053 Views
daiane_angolini
NXP Employee
NXP Employee

Can you, please, start a new topic asking for camera?

I´ve never worked with camera on ARD, but I have worked to include it for other boards. Maybe I can help.

0 Kudos
Reply

3,053 Views
Swamy
Contributor III

Hi Angolini,

I was able to find the problem. The issue was I was using the Dell-monitor which seems to be high resolution. I switched to the LVDS display which is 1024x768 and the music app and all other default apps started working(except camera). I feel the resolution mattered, hence it was crashing when it was connected to the Monitor.

Thanks for all the support provided. If possible please tell how to configure the camera for ARD board.

Regards,

Swamy

0 Kudos
Reply

3,053 Views
Swamy
Contributor III

I also see contacts and camera app crashing. Rest are working fine.

0 Kudos
Reply

3,053 Views
daiane_angolini
NXP Employee
NXP Employee

you will find Music app source code under <my_android>/packages/apps/Music

So you see any other 'default' app crashing?

0 Kudos
Reply

3,053 Views
Swamy
Contributor III

Hi Angloini,

I am using 10.3.x series for ARD, not R10.2.

These are my configurations:

android@ubuntu:~/Desktop/Android/myandroid/out/target/product/imx53_ard$ lunch imx53_ard-user    
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4
TARGET_PRODUCT=imx53_ard
TARGET_BUILD_VARIANT=user
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=R10.3.2_3
============================================

Yes I am able to hear the audio from the video files.

I also tried adding another music app called power amp which functions like existing Music app, this works without any issue. It is actually the default Music app which is crashing.

Please suggest is there any way to correct this default Music app? In where exactly i need to debug this Music app?

Regards,

Swamy

0 Kudos
Reply

3,053 Views
daiane_angolini
NXP Employee
NXP Employee

hum.... Are you using, at least, smd source code from R10.2?

Could you test R10.2 ARD pre-built images? It should work on your side too.

Well, we know USB is being mounted properly, and you told you can play videos (so, it´s not a plugin issue), I suppose you can hear the movie sound.

So, it may be the Music apps.

0 Kudos
Reply

3,053 Views
Swamy
Contributor III

I´m also using imx53 ARD revB

Regards,
Swamy

0 Kudos
Reply

3,053 Views
Swamy
Contributor III



Daiane Angolini said:

So, I don´t know how to reproduce your issue over here.

I´m using imx53 ARD revB

Yes I am also using imx53 ARD revB

What are the USB connector you´ve being using?

Can you test using only ONE file on the USB stick? Only one MP3, please.

0 Kudos
Reply

3,053 Views
Swamy
Contributor III

Sure I will check this and update

Daiane Angolini said:

So, I don´t know how to reproduce your issue over here.

I´m using imx53 ARD revB

What are the USB connector you´ve being using?

Can you test using only ONE file on the USB stick? Only one MP3, please.

0 Kudos
Reply

3,053 Views
Swamy
Contributor III

Hi Angolini,

My build is something like this..

As wifi was not working in my ARD board, I took SMD source package for build and ported to ARD.

I have used Sabre source code and patches and replaced the folder myandroid/device/fsl/mx53_ard from ARD package.

and also added imx53_ard under Andnroid.mk of 

myandroid/system/wlan/atheros/AR6kSDK.build_3.1_RC.563/host

I also tried on sabre tablet and it works there without any crashes.

I am using J30 connector, also tried with J31.

Please let me know if you any suggestions.

Regards,

Swamy

0 Kudos
Reply

3,053 Views
daiane_angolini
NXP Employee
NXP Employee

So, I don´t know how to reproduce your issue over here.

I´m using imx53 ARD revB

What are the USB connector you´ve being using?

Can you test using only ONE file on the USB stick? Only one MP3, please.

0 Kudos
Reply

3,053 Views
daiane_angolini
NXP Employee
NXP Employee

USB stick at J31 does work

0 Kudos
Reply

3,053 Views
daiane_angolini
NXP Employee
NXP Employee

I´m trying to play mp3 from USB at J30 connector and it´s working

0 Kudos
Reply

3,053 Views
Swamy
Contributor III

Hi Daiane Angolini,

USB does gets mounted in the path /sdcard/utils/..I can browse through the files from the debug prompt(hyper-terminal). When I plugged in the USB, it shows me that it is mounted under [sda].

I even changed the USB stick and verified, it was the same error. But I can browse through video and pictures.

Please find the Music_App_Error.txt attached in zip.

Please suggest.

Regards.

Swamy

0 Kudos
Reply

3,053 Views
daiane_angolini
NXP Employee
NXP Employee

I just tried the pre-built image from R10.2 for ARD (imx53) and Music Player is working.

I played a mp3 music from SDCard (/dev/sdb1 - VFAT), so maybe your error is being caused by a mount error (for your USB)

Can you see your USB mounted? Can kernel detect your USB being plugged in?

I could not open your Music_App_Error.txt

0 Kudos
Reply

3,053 Views
Swamy
Contributor III

Hi Daiane Angolini,

Thanks for the reply. Sorry I could not reply on friday, as I was on leave. Please find the below details:

I have following mp3 decoder libraries...

./device/fsl/proprietary/omx/lib/lib_omx_mp3_parser_v2_arm11_elinux.so
./device/fsl/proprietary/omx/lib/lib_omx_mp3_dec_v2_arm11_elinux.so
./device/fsl/proprietary/omx/lib/lib_mp3_dec_v2_arm12_elinux.so
./device/fsl/proprietary/omx/lib/lib_mp3_parser_v2_arm11_elinux.so

I have attached the file Music_App_Error.txt file which appears on Music opening. It does not go to the Music app page at all, it crashes on clicking.

The image is sitting on the SDCARD, I play music from the USB stick.

Please suggest.

Regards,

Swamy

0 Kudos
Reply

3,053 Views
daiane_angolini
NXP Employee
NXP Employee

Please, look for any mp3 decoder library on your rootfs:

You should have lib_omx_mp3_dec_v2_arm12_elinux.so, for example.

so, type find -name *mp3* and see what you have. (without a decoder you will never get it decoded, let´s eliminate this at first)

Other thing, find -name component_register

component_register is a text file that will tell you which are the mp3 decoder and where it´s from. Please let me know if there is any mp3 reference.

Do you get the error during Music opening? Or it´s when playing some music?

Can you see any music?

Do you have any SDCard in?

0 Kudos
Reply