Highlighted

|ios|adobe vibration + game center ane conflict

Community Beginner ,
Apr 14, 2015

Copy link to clipboard

Copied

Hello, I am having trouble then I try to use adobe's vibration and Game center ane's in a project.

debug mode log:

[SWF] com.adobe.Vibration - 857 bytes after decompression

[SWF] com.adobe.ane.gameCenter - 2079 bytes after decompression

[SWF] Vibration and Gamecenter.swf - 142 bytes after decompression

Vibration isSupported()

Vibration Constructor: Create an extension context

ArgumentError: Error #3500: The extension context does not have a method with the name initNativeCode.

  at com.adobe.nativeExtensions::Vibration$/initExtension()[/Users/meetshah/Documents/Adobe Flash Builder 4.5/VibrationActionScriptLibrary/src/com/adobe/nativeExtensions/Vibration.as:58]

  at com.adobe.nativeExtensions::Vibration$/get isSupported()[/Users/meetshah/Documents/Adobe Flash Builder 4.5/VibrationActionScriptLibrary/src/com/adobe/nativeExtensions/Vibration.as:43]

  at GameCenterTest()

  at GameCenterTest()

Cannot display source code at this location.

Vibration isSupported()

air sdk: 17.0.0.138

Project:

Dropbox - vibration and gamecenter.zip

TOPICS
Development

Views

389

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

|ios|adobe vibration + game center ane conflict

Community Beginner ,
Apr 14, 2015

Copy link to clipboard

Copied

Hello, I am having trouble then I try to use adobe's vibration and Game center ane's in a project.

debug mode log:

[SWF] com.adobe.Vibration - 857 bytes after decompression

[SWF] com.adobe.ane.gameCenter - 2079 bytes after decompression

[SWF] Vibration and Gamecenter.swf - 142 bytes after decompression

Vibration isSupported()

Vibration Constructor: Create an extension context

ArgumentError: Error #3500: The extension context does not have a method with the name initNativeCode.

  at com.adobe.nativeExtensions::Vibration$/initExtension()[/Users/meetshah/Documents/Adobe Flash Builder 4.5/VibrationActionScriptLibrary/src/com/adobe/nativeExtensions/Vibration.as:58]

  at com.adobe.nativeExtensions::Vibration$/get isSupported()[/Users/meetshah/Documents/Adobe Flash Builder 4.5/VibrationActionScriptLibrary/src/com/adobe/nativeExtensions/Vibration.as:43]

  at GameCenterTest()

  at GameCenterTest()

Cannot display source code at this location.

Vibration isSupported()

air sdk: 17.0.0.138

Project:

Dropbox - vibration and gamecenter.zip

TOPICS
Development

Views

390

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 14, 2015 0
Adobe Employee ,
Apr 15, 2015

Copy link to clipboard

Copied

Hi Nitacawo,

I tried reproducing the issue. And I couldn't find the reference to the path "/Users/meetshah/Documents/Adobe Flash Builder 4.5/VibrationActionScriptLibrary/src/com/adobe/nativeExtensions/Vibration.as" Is it from the swc file that is used in the project ? Can you rather provide the code so that we could find out what is going wrong here ?

-Tushar

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 15, 2015 0
Community Beginner ,
Aug 07, 2015

Copy link to clipboard

Copied

Hey there tdwivedi

I am having kinda the same issue with the Vibration ane on iOS only. On Android the same code works perfect.

if (Vibration.isSupported)

{

                vibe = new Vibration();

}

Here is the trace:

Vibration isSupported()

Vibration Constructor: Create an extension context

ArgumentError: Error #3500: The extension context does not have a method with the name initNativeCode.

Tested on an iPad 2

Any clue how i can get around this error?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 07, 2015 0
Adobe Employee ,
Aug 11, 2015

Copy link to clipboard

Copied

Hi Rares Neamtiu,

We could successfully reproduce the issue. We will be communicating it to the concerned team for further investigation.

-Tushar

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 11, 2015 0
Community Beginner ,
Aug 11, 2015

Copy link to clipboard

Copied

Thank you!

Looking forward.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 11, 2015 0