Software Archive
Read-only legacy content
17061 Discussions

BUG - Intel XDK or C2

Flemming_P_
Débutant
1 210 Visites

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 Compliments
11 Réponses
Swati_S_Intel1
Employé
1 210 Visites

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

Swati 

0 Compliments
Flemming_P_
Débutant
1 210 Visites
No... I use the cordava build.. And the crosswalk for the android version That plays the audio fine Tanks Flemming
0 Compliments
Swati_S_Intel1
Employé
1 210 Visites

What format is the audio after you convert in C2?

0 Compliments
Flemming_P_
Débutant
1 210 Visites
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 Compliments
Flemming_P_
Débutant
1 210 Visites
I could mail you the files i use for compile cordava xdk
0 Compliments
Swati_S_Intel1
Employé
1 210 Visites

Please zip the project folder and send it.

Thanks,

Swati

0 Compliments
Flemming_P_
Débutant
1 210 Visites

Ive just sent you (pm) the zipped file

0 Compliments
Flemming_P_
Débutant
1 210 Visites

HI  @SWATI S. (Intel)

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

Cheers
Flemming

 

 

 

0 Compliments
Swati_S_Intel1
Employé
1 210 Visites

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 Compliments
Flemming_P_
Débutant
1 210 Visites

OKAY ... Thanks

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

Cheers

 

 

0 Compliments
Flemming_P_
Débutant
1 210 Visites

Hi again

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

Is this not the right way

xdk_audio.png

 

 

0 Compliments
Répondre