• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

|ios|adobe vibration + game center ane conflict

Community Beginner ,
Apr 14, 2015 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

533

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
community guidelines
Adobe Employee ,
Apr 15, 2015 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

Votes

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
community guidelines
Community Beginner ,
Aug 07, 2015 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?

Votes

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
community guidelines
Adobe Employee ,
Aug 11, 2015 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

Votes

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
community guidelines
Community Beginner ,
Aug 11, 2015 Aug 11, 2015

Copy link to clipboard

Copied

LATEST

Thank you!

Looking forward.

Votes

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
community guidelines