ANE BB10: error 3500 "the context of the extension has no method '.

I tried this on the Simulator and the device, and I get the error no matter what:

ArgumentError: Error #3500: The extension context does not have a method with the name init.
    at flash.external::ExtensionContext/_call()
    at flash.external::ExtensionContext/call()
    at com.o2interactive.sensor.gps::GeolocationExt()

Have you:

this.ext = ExtensionContext.createExtensionContext( 'com.o2interactive.sensor.gps', null );
this.ext.call( "init" );

In ContextInitializer donkey:

const char *functionNames[] = { "init", "gpsStart", "gpsStop", "gpsSupport", NULL };
FREFunction functionPtrs[] = { init, gpsStart, gpsStop, gpsSupport, NULL };

Just dones not like when I call anything that has been mapped.

Any suggestion is appreciated.

The mistake of 3500 a do because the "bps" library is not linked with your application. You have to do to "[all Configuration]" or you will get the error even depending on your deployment. This changed in the latest version of the IDE (thanks to RIM which helped to discover this).

* C/C++ build / Configuration settings: [configurations]

* Select QCC Linker / library.

* Under libraries (-l) 'Add' /'s.

Tags: BlackBerry Developers

Similar Questions

  • Problem creating ANE, ArgumentError: Error #3500: the context of the extension doesn't have a method with the name

    I'm bit confused about ANE generation, I'm already all direction, but the error always #3500 when I try to call the DONKEY.

    I create NSAS using java android.

    The tools I use: Flash Builder running on Win-64 win.7. I think I have to, right to the point, here, what I did first step by step;

    1. I create the JAVA application first, with the senigo.extension.android package then I create 3 files, Sample.java, SampleContext.java, PassTextFunction.java

    2.pngsdf.png

    Code Source Sample.Java

    package senigo.extension.android;
    
    
    import android.util.Log;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREExtension;
    
    
    public class Sample implements FREExtension {
      @Override
      public FREContext createContext(String arg0) {
      // TODO Auto-generated method stub
      Log.i("Sample", "createContext");
    
    
      return new SampleContext();
      }
      @Override
      public void dispose() {
      // TODO Auto-generated method stub
      Log.i("Sample", "Dispose");
      }
      @Override
      public void initialize() {
      // TODO Auto-generated method stub
      Log.i("Sample", "Initialize");
      }
    
    
    }
    

    Source code for SampleContext.Java

    package senigo.extension.android;
    
    
    import java.util.HashMap;
    import java.util.Map;
    import android.util.Log;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREFunction;
    
    
    public class SampleContext extends FREContext {
      public SampleContext()
      {
      Log.i("SampleContext", "constructor");
    
    
      }
      @Override
      public void dispose() {
      // TODO Auto-generated method stub
      Log.i("SampleContext", "dispose");
      }
      @Override
      public Map<String, FREFunction> getFunctions() {
      // TODO Auto-generated method stub
      Log.i("SampleContext", "getFunctions");
      Map<String, FREFunction> functionMap = new HashMap<String, FREFunction>();
      functionMap.put("passText", new PassTextFunction());
    
      return functionMap;
      }
    
    
    }
    

    Source code for PassTextFunction.Java

    package senigo.extension.android;
    
    
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREExtension;
    import com.adobe.fre.FREFunction;
    import com.adobe.fre.FREObject;
    
    
    public class PassTextFunction implements FREFunction {
    
    
      @Override
      public FREObject call(FREContext arg0, FREObject[] arg1) {
      // TODO Auto-generated method stub
    
      FREObject result = null;
      try{
      result =  FREObject.newObject("Hello World");
    
      }catch(Exception e)
      {
    
      }
      return result;
      }
    
    
    }
    

    After all the files, I create the jar file using the right click on the tree > > export > > Jar file > > Sample.Jar (I already create jar file that contains just the src folder and after I got frustrated, I create the .jar file contains all the project folder as a whole but still did not work).

    Okay, after that, I create project Flex Library Project, which is to contain the actionscript code to call the native and extension.xml, here the code.

    3.png

    Test Source code. As, FYI: I have already create the public function and the static function the error always the same #3500.

    package senigo.extension.android
    {
      import flash.external.ExtensionContext;
    
      public class test
      {
      private static var extContext:ExtensionContext = null;
    
      public function test()
      {
      trace ("Test Constructor");
    
      if (!extContext)
      {
      initExtension();
      }
      }
      public static function get passText():String
      {
      trace ("Test Pass Text");
      if (!extContext)
      {
      initExtension();
      }
      return extContext.call("passText") as String;
      }
    
    
      private static function initExtension():void
      {
      trace ("Vibration Constructor: Create an extension context");
      extContext = ExtensionContext.createExtensionContext("senigo.extension.android", null);
      }
    
    
      }
    }
    

    extension source code. XML

    FYI: Flex when I put the Native Extension, they said have Windows - x 86 so I already create 3 DONKEY, that contain Android-ARM, ARM Android contain by default, Android contain ARM, Default, and Windows - x 86, but still the same error. I don't have it where is the error.

    <extension xmlns="http://ns.adobe.com/air/extension/3.1">
      <id>senigo.extension.android</id>
      <versionNumber>1.0.0</versionNumber>
      <platforms>
      <platform name="Android-ARM">
      <applicationDeployment>
      <nativeLibrary>Sample.jar</nativeLibrary>
      <initializer>senigo.extension.android.Sample</initializer>
      <finalizer>senigo.extension.android.Sample</finalizer>
      </applicationDeployment>
      </platform>
      <!-- <platform name="Windows-x86">
      <applicationDeployment>
      <nativeLibrary>sample.jar</nativeLibrary>
      <initializer>senigo.extension.android.Sample</initializer>
      <finalizer>senigo.extension.android.Sample</finalizer>
      </applicationDeployment>
      </platform>
      -->
       <platform name="default"> 
    <applicationDeployment/> 
    </platform> 
      </platforms>
    </extension>
    

    After that I created, I copy the sample file of file and extension with the file Sample.jar .swc.

    I have extracted the .swc file, copy the library.swf file Android-ARM, by default, Windows-86 and I create build.bat containing the command like this

    adt -package  -storetype PKCS12 -keystore senigo.p12 -storepass l10nk1ng -target ane senigo.extension.android.ane extension.xml -swc AndroidLib.swc -platform Android-ARM -C ./Android-ARM/ . -platform default -C ./default/ .
    

    the I put the donkey for bending mobile project I created:

    4.png5.png

    6.png

    7.png

    I run, but received the error #3500, I get really confused? What is wrong with my code? is there something that I have wrong or I just missed?

    Please someone help me... and what is already donkey file I can debug in Flex Mobile project? I want to log.i code I wrote, but I confuse air how to the Levant in flash builder.

    in the end, I want to said sorry if my English is not very goods and thank you, because want to see my problem and I appreciate it a lot if you can give me a solution

    So you're saying that test.as I created belongs to android?

    Exactly.

    Okay, so then why when I put just ANE build contain Android-ARM, the error still appear?

    Because that when you launch it engine running Windows AIR request use default implementation in this case. But looks like the default implementation, you use the same Android and default value.

    is that what I have to put Windows-86 to run it on windows?

    If you are creating applications / DONKEY for mobile platforms you don't need it.

    I have to use another actionscript that does not ExtensionContext content?

    Exactly!

    For example, look at this: mesmotronic/air-full screen-ane · GitHub

    record full screen-ane-android - Android app

    full screen-ane-default - default implementation (for all other platforms exclude Android)

    It is an excellent example. It's pretty simple, you understand how it works.

  • Server internal error - read the server has encountered an internal error or misconfiguration and was unable to complete your request.

    I get the following error message when you try to access one of my hotmail accounts:

    Internal Server Error - read the server has encountered an internal error or misconfiguration and was unable to respond to your request. Reference #3.269102cc.1330033628.4ef0aa7f.
    What is this error and how to fix it?
    Thanks Ellie

    I get the same message... must be a problem with hotmail.

  • Issue to receive the error message "the system has recovered from a serious error" while working on the computer and the computer restarts automatically.

    Original title: The system has recovered from a serious error-

    The system has recovered from a serious error-

    When you work in windows xp home edition, whenever this programe message and stop running and some auto restart machine.

    What is the solution for this?

    Hi Sandeep,

    Thanks for posting your question in the Microsoft Community forum.
    It seems that you have a problem with the error message "the system has recovered from a serious error," while working on the computer, and the computer restarts automatically.
    I imagine the inconvenience that you are experiencing. We are here to help and guide you in the right direction.
    I may need a few more details to better understand the issue.
    Method 1: I suggest following the steps listed in the article and check if it works.
    Error message: the system has recovered from a serious problem

    Method 2:
    I suggest you analyze your computer by using the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.
    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.
    Important: During the scan of the hard drive if bad sectors are found, the scanner tries to repair this sector, all available on which data may be lost.
    You can see the article for more information:
    A "System has recovered from a serious error" message after every restart.

    Get back to us and let us know the State of the question, I'll be happy to help you. We, at tender Microsoft to excellence.

  • error message "the website has encountered a problem and cannot display the page you are trying to see." and [error number: 0 x 80244019]

    Running Windows XP Pro Service Pack 2. 32-bit version. Recently, I reformatted my hard drive and reinstalled Windows XP. I try to install service pack 3 - and have tried to use the express and custom update options.

    I get the following error:

    The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem.

    [Error number: 0 x 80244019]

    Hi g.dodge,

    First check your level of service pack by clicking on the button start, clicking on "Run" and type "Winver"in the Run dialog box. Click on 'Ok'. If you already have SP2 installed,

    Download and install Win XP SP3 from the link below.

    http://www.Microsoft.com/en-US/Download/details.aspx?displaylang=en&ID=24

    Note: You can ignore the it professional and network installation warning.

    After the installation is complete, restart your computer tand visit the windows update Web site to download and install the latest security updates.

    Good luck.

  • Error message "the website has encountered a problem and cannot display the page" when you try to install Windows XP SP3 update

    Original title: cannot use Windows Update to install Windows XP SP3

    I have done a complete reinstallation of Windows XP Pro from the original disc and managed to update to SP2.  However, when I tried to upgrade to SP3, I got an error that "the site has encountered a problem and cannot display the page.  I tried all the suggested fixes that I can find.

    During the last attempt, I discovered that several dll is missing.  Here's the msxml6.dll, wups2.dll, c:\windows\system32\wucltux.dll and c:\windows\system32\wuwebv.dll.  If they are critical, where can I find them, and how do I get support.

    In addition, mshtml.dll is available, but the DllRegisterServer could not find an entry point.  Is this critical?

    In any case, I still can I install Microsoft Update or download/install SP3.

    The computer is an IBM R50e laptop.

    Thanks for any help you can give.

    Try to run this tool to windows update. This will help to re-register the dll

    After its done. try again and do the update

    hope this helps

  • When I try to map a drive between two areas of trust, I get an error in the RPC has failed.

    When I try to map a drive between two areas of trust, I get an error in the RPC has failed.  These areas are on two separate subnets, but I can their ping.  The trust checks.  Something seems to block the connection, but I can't understand it.  I turned off the thought of firewall, maybe it was the cause, but it still does not work.  Any ideas?

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Forums of Windows networking.

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking/threads

    http://social.technet.Microsoft.com/forums/en-us/category/windowsxpitpro http://social.technet.Microsoft.com/forums/en-us/category/windowsvistaitpro  

  • Cannot install Dragon Naturally Speaking 12 on Windows 7 PC getting error 1321: the installer has insufficient privileges.

    When the program is instalingl I get a: error 1321 the installer has o priveliges insuficient editing the file. C:\Program data\microsoft\windows\start menu\programs\dragon speaking.12.0\about dragon 12.0.ink naturally natrually. I havve summer running DNS 11.5 for more than a year, without any problem.

    Herman

    You should check their support site:

    http://www.nuance.com/support/Dragon-NaturallySpeaking/index.htm

  • I recently upgraded to Photoshop cc (2015) and Windows 10.  Now I get error messages - "the extension of com.adobe.preview.loader could not be loaded because it was not properly signed.  And when I try to open a dng file, it comes up with "cannot be compl

    I recently upgraded to Photoshop cc (2015) and Windows 10.  Now I get error messages - "the extension of com.adobe.preview.loader could not be loaded because it was not properly signed.

    When I try to open a dng file, it comes up with "could not complete your request because it is not the right type of doc.  Now I have "expansion of libraries could not be loaded because it was not properly signed.

    Any help would be greatly appreciated.  The program worked perfectly in the past.

    I contacted Support Adobe this morning, and they were able to solve the problem.  It was difficult.

  • My Adobe Acrobat failed upadte w error 1321 the installer has insufficinet privileges to modify the file...  I followed the instructions Adobe online to change the settings in advance. Now, try to reinstall my Adobe Acrobat, but I don't see the download o

    My Adobe Acrobat update failed w error 1321 the installer has sufficient privileges to modify the file...  I followed the instructions Adobe online to change the settings in advance.

    Now, try to reinstall my Adobe Acrobat but I don't see the download option when I connect to my Adobe account.  Help, please.

    I would also like to confirm that I have uninstall my Adobe Acrobat before reinstalling.

    OK I finally found the download option

  • Getting 7 error with the HTTP POST vi method when deplyed ISO crio as executable... urgent!

    Hi all

    I have an application where I can access the net server point of LabVIEW via the HTTP protocol to send the data. My application works fine when I run it on XP, and also sometimes on cRIO. I'm writing and reading files to store and read data from the server.

    When I do my application executable and deployed on cRIO I am constantly 7 error that says "Error in the node library function to call at the POST vi LabVIEWHTTPCLIENT".

    After getting this error if I try to run the my new project the crio (not through exe) I keep getting the same error. This means once the executable file is deployed on the crio, I get the error in my project application which was working fine before you deploy the executable file.

    7 occurs very frequently. and I am unable to find the reason. I gave all the paths in the constant form located on crio and files accessible also when the application is run.

    Is someone can you please help me what this error 7?

    as a result, that it is bound to the HTTP POST vi method...

    How can it be fix?

    Its quite urgent...

    Thanks in advance.

    Solution is provided by the NOR... Vi POST method missing two files that need to be there in the startup of the CRIO.insted folder there is in the system folder. That's why when running the exe that the startup on crio application it gives error as the files are not there. The fix for this HTTP POST vi update isn't out yet EITHER.

  • Windows XP update error: 0x8024D001, the site has encountered a problem and cannot display the page you are trying to view.

    Original title: Windows XP ~ Windows Update problem.
     
    During three days of solid, and I slept then work, sleep and then working to solve a problem I have with the functionality of Windows XP Windows Update - this is the error message I get constantly

    [Error number: 0x8024D001]

    The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem.

    I installed a new copy of Windows XP on a hard disk nine, installed Service Pack 1, Service Pack 2 and Service Pack 3, installed Internet Explorer 8 installed .NET Framework 2.0 as Microsoft requested, modified popup settings to allow Windows Update page to be free to scan my system for updates, etc... and I even enabled all Active X permissions BUT I still can't Windows Update to allow me to download all updates, patches, etc... Windows Update has generally

    I also turned on automatic updates requirement also BUT no dice - I can't just not update Windows to activate and start as normal, no matter how many times I format the drive and do a fresh install.

    I had to get a new drive hard as my old crashed.

    Now, I have to install Windows XP again but I noticed how old, easy to update somehow has been paralyzed.

    It's as IF Microsoft is crippling of Windows Update to start simple as pie, then now we users HAVE to jump through hoops to get our operating system Windows XP set to day and repeatedly queries Microsoft asks us or install 'FIX IT' service does not work and it is impossible to reach by phone about Microsoft , and the live online help runs into errors when it is installed, so I have to hit the Internet Forum here for advice.

    How, in words simple Windows XP allow Windows Update to run the scan, to download and install the process what it is supposed to do?

    What exactly is missing to allow the screen to show the green bar and scan the notificiation there have updates available?

    What I am doing wrong?

    I really hate to say this, BUT I'm literally at the edge of tears.

    Help!

    Is there a maintenance program master as an "all-in-One rollup patch" that will search the lack of programs, applications, and settings of Windows XP and makes a one-way relay to set everything right and ensure that the programs needed to make Windows Update work are knitted in Windows XP, including all programs missing subprogrammes and to settings then check their self errors or incorrect version but it provides goes off to FIND the RIGHT version of What is needed?

    Or better yet a disc Compilation of master i.e. Final Service Pack 4.0 that contains all fixes known on DVD that would be found in the downloaded Windows Update but rather is purchased for $10.00 that contains each hotfix and update known for Windows XP so that we can manually update Windows XP on the side of the user of the Internet without having to go on the internet?

    You need 3 things to WU work.

    WindowsXP-KB892130-ENU - x 86 .exe   KB892130 Windows Genuine Advantage Validation v1.9.42.0
    WindowsXP-KB898461x86 - ENU.exe   KB898461 Installs a permanent copy of the Package for Windows Installer

    And and unofficial WUA.

    He's right on obsolete dll of WUA that MS is not updated once sometimes for some unknown reason... even the WU Fix there don't solve it. I ran a few tests in the fall and virtual machine on the same issue yesterday. You must install the unofficial Windows UPDATE agent.
    Windows Update Agent below... MS last isn't the last. Boo Ms.
    Download WindowsUpdateAgent7.6.7600.256 - 257.zip to your desktop (MS does not have the latest version of Windows Update Agent. Only 7.4.7600.243 so make us with this).

    Unzip it, go to the folder and double-click RunMe - MakeInstallWindowsUpdateAgent.bat.

    It will download, MS, the files needed to create the Windows Update Agent 7.6.7600.256/257 and then install it. The files that it contains are 100% Microsoft. He uses just a few third-party tools to make it.

    You will be left with the installer, WindowsUpdateAgent7.6.7600.256 - 257.exe. Keep or delete. Your choice.

    Analysis antivirus for WindowsUpdateAgent7.6.7600.256 - 257.zip

    Information for network administrators about how to obtain the latest Windows Update Agent

    Taken from the newsletter above...
    View
    There is no stand-alone installer for the latest version of the Windows Update Agent (7.6.7600.256)

    EDIT: I forgot to mention. It took 1 hour before the scan finished for me. A guy that I was helping on another forum just let WU scan of the day to the next. When he awoke, the scan had the results. So please be patient.

    "Or better yet a disc Compilation of master i.e. Final Service Pack 4.0 that contains all fixes known on DVD that would be in the downloaded Windows Update, but instead is purchased for $10.00 that contains each hotfix and update known for Windows XP so that we can manually update Windows XP on the side of the user of the Internet without having to go on the internet?

    You can create a CD to date and does not deal with all the hassles during the fresh installation. You need nLite and my script of the UDC. You will only need SP3 when "slipstreaming". No SP1 or SP2.

  • Error message: "the server has failed", when you try to download "sp1aexpress_usa".

    Original title: "Server failed" when it tries to connect to / download "http://xpSP1.microsoft.com/isapi/pstream3.dll/xp/SP1.USA.1106a".

    I downloaded the file "sp1aexpress_usa", but when it works, I am getting error "Server failed" when it tries to connect to / download "http://xpSP1.microsoft.com/isapi/pstream3.dll/xp/SP1.USA.1106a".

    Hi JasonVigh,

    You can check the link for redownload SP1a and check if you can install it:

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=19751

    For more information, see the links:

    How to get Windows XP Service Pack 3 (SP3)

    http://Windows.Microsoft.com/en-us/Windows/downloads/service-packs

    You can also check the links of thread for more information:

    Impossible to connect sp1aexpress_usa.exe (Windows XP sp1a), get the error the server has not responded

    Failed to load Service Pack 1

  • Cannot change log users on or off error: Services the customer has disabled the display of welcome and g fast easy

    Original title: XP users

    After you have reinstalled XP, I tried to change the users connect or not, but when I do I get the msg: Services the customer has disabled the Welcome screen and fast switching.  To restore these features, you must uninstall the Client Services for NetWare.  I can't find service to customer or NewWare so I can uninstall.  How do you find the Client Services for NetWare?

    Hello

    I suggest you to follow the steps below and check if it helps.

    Error Message When you try to turn on welcome screen or fast user switch: http://support.microsoft.com/kb/315347

    Hope this information is useful.

  • Error message: the application has failed to start because its side-by-side configuration is incorrect and can not enter in the email and save records

    I get a message that says that the application has failed to start because its side-by-side configuration is incorrect. Check the log of events applications for more details.   I used this link to email for 2 years and NOW I can't in my email and all my saved folders.

    Hi KathyHendges,

    1. What mail client do you use?

    Step 1:

    You can try clicking with the right button on the link and select run as administrator and check.

    Step 2:

    This error code can occur due to corrupted Microsoft Visual c++ installation.

    To resolve this problem, you can install the latest version of visual C++ according to the version of Windows installed on your computer (32-bit or 64-bit) and check:

    Download and install Microsoft visual C++ from the below mentioned link:

    Package redistributable Microsoft Visual C++ 2010 (x 86)

    http://www.Microsoft.com/downloads/details.aspx?FamilyId=a7b7a05e-6de6-4D3A-A423-37bf0912db84&displaylang=en

    Package redistributable Microsoft Visual C++ 2010 (x 64)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=bd512d9e-43c8-4655-81bf-9350143d5867

    For more information, you can consult the following link:

    http://blogs.msdn.com/b/developingfordynamicsgp/archive/2010/08/20/side-by-side-configuration-is-incorrect-error-message-given-launching-Dynamics-GP.aspx

    Hope this information is useful.

Maybe you are looking for

  • user id password

    How to create a user name and a password just like in the case of any website? Suppose a new user is there, in a first step, it must create its own ID and password that is stored in a file. Then, whenever the next time he tries to open the VI and sei

  • case low dv6 3110sl

    Hello the bottom of the casing to my hp dv6 3110sl Lalonde broke. The screw was always in trouble. Now, I'm looking for replacement part, but I couldn't find anywhere, I tried on partsurfer, but it didn't recogize the serial number or product number,

  • Suddenly disconnected, can not reconnect

    Network Magic c. 5-1 - 9055.0 - Pure0 Greenfields Communication FTTH (Fiber to the Home) connection Conexant D850 56K V.9x DFVc Modem Linksys WRT160N Router 1.02.2 V. Air in D - Link DWL-520 Wireless PCI Adapter (Rev D) Microsoft XP Home Edition (5.1

  • scanned the file appears on the desktop screen (Windows 7) and couldnot be removed, what should I do?

    scanned the file appears on the desktop screen (Windows 7) and couldnot be removed, what should I do?

  • BlackBerry Smartphones has new Curve?

    Hello world! I had just a small question so its time for a new blackberry and I love the curve series, and I was wondering if he had plans for a new curve (for AT & T) at any time in the near future. I don't want to buy one and get a new one out shor