Software Archive
Read-only legacy content
17061 Discussions

BUG - Intel XDK or C2

Flemming_P_
Beginner
1,193 Views

Hi hope someone can help with this

https://www.scirra.com/forum/viewtopic.php?f=146&t=127580&p=901896#p901896

Since im running out of idears - Would be so greatfull if someone could fix this issue

Cheers
Flemming

 

 

0 Kudos
11 Replies
Swati_S_Intel1
Employee
1,193 Views

Looks like you are using Legacy build option. Try using Cordova build options, Legacy build is going to be deprecated soon.

Swati 

0 Kudos
Flemming_P_
Beginner
1,193 Views
No... I use the cordava build.. And the crosswalk for the android version That plays the audio fine Tanks Flemming
0 Kudos
Swati_S_Intel1
Employee
1,193 Views

What format is the audio after you convert in C2?

0 Kudos
Flemming_P_
Beginner
1,193 Views
IT is imported from wav and convertet as M4a as you ser in the post at C2 I forllow the guide in hos to export in C2 So it is therefore I seak helt here ;-)
0 Kudos
Flemming_P_
Beginner
1,193 Views
I could mail you the files i use for compile cordava xdk
0 Kudos
Swati_S_Intel1
Employee
1,193 Views

Please zip the project folder and send it.

Thanks,

Swati

0 Kudos
Flemming_P_
Beginner
1,193 Views

Ive just sent you (pm) the zipped file

0 Kudos
Flemming_P_
Beginner
1,193 Views

HI  @SWATI S. (Intel)

have you had time to see whats wrong with my project ?

Cheers
Flemming

 

 

 

0 Kudos
Swati_S_Intel1
Employee
1,193 Views

Hi Flemming,

I tried your app you sent me. It looks like it is using Web Audio when you are running on the device. The audio is generally supported in webview but not reliable. You should be using Cordova for audio. If there is a way in C2 to force your app to use Cordova you should do that, otherwise you have to write js code to implement audio using Cordova plugin. There are examples available in sample apps.

Swati

0 Kudos
Flemming_P_
Beginner
1,193 Views

OKAY ... Thanks

Just dont quite understand ... In C2 its exported as Cordova project
and in XDK build its a Cordova build ?

Cheers

 

 

0 Kudos
Flemming_P_
Beginner
1,193 Views

Hi again

I still dont have any audio on my C2 > Cordova > xdk build

Is this not the right way

xdk_audio.png

 

 

0 Kudos
Reply