Native extension for Game Center

Hi guys,.

If I understand well with the last Beta of Air it is possible to implement native extensions for iOS, and in theory, which would make it possible to connect to Game Center and in-app purchases.

If anyone here has tested this? It would be nice to know if there is no show plugs before starting to 'dig '...

See you soon,.

/ Andreas

You can find here in-app purchase - http://code.google.com/p/in-app-purchase-air-ios/

Tags: Adobe AIR

Similar Questions

  • Any good native extensions for iOS yet?

    Hello

    I wonder if there is any native extensions that can be used around again for the features of iOS?

    I've found these: http://www.adobe.com/devnet/air/native-extensions-for-air.html which seems to be especially tech-demos (battery, network info etc.). I thought at least in-app-purchases, support Game Center, IAD, alertbox etc. should have been released now?

    Since I have no knowledge in objective-c, I can't do it myself, but I'd be happy to pay for DONKEY - files that can be used in real projects.

    / Karl

    to the original question - I had extensions for iOS Game Center and AdMob Android (commercial) -.

    AdMob Android for Adobe AIR extension

    iOS Game Center Extension for AIR

    I would like to know what you think would be cool!

  • Can someone tell me what I'm doing wrong when you create a native extension for iPad? (Very detailed)

    My company is developing a game for iPhone and iPad using Flash cs5.5 and Air3.0

    The customer requires that certain features be supported - these things as GameCenter, rating, etc... which none are currently supported by flash for the iOS.

    However, they provide us with a bunch of xCode example files on how they want things to work.

    My idea was to bridge the gap in functionality by creating a native extension using the xcode source that was given to me, giving me the required functionality.

    But first, I need to truly CREATE a native extension, even just a base echo/hello everyone... I followed all the steps of various guides and tutorials and I have managed to create an ipa and put it on my iPad 2 to test, but when the program starts, nothing happens, I find myself with a black screen. When I comment on the lines of code that initialize the extension, it fires just fine.

    (and Yes, I even tried to put things in try blocks where there was a mistake - no luck)

    So I hope that someone can read through the process of what I do below and point out what I am doing wrong, or what Miss me.

    What I use:

    Mini Mac running OS x 10.7.2 - this is used to run xCode 4.1 build 4B 110

    PC - Windows 7 home 64 bit - running Flash CS5.5 (version 11.5.1.3469) with the 3.0 SDK inside AIR. I also have the sdk 3.0 air in a separate file for the command-line running. (This is my primary development platform)

    The PC has flash builder installed, but I've never really used it, and I don't know how to use it... everything that has been built to date has been done using Flash CS5.5

    So, here's what I did.

    The first thing we do is to create a library static .a on mac.

    I open xcode and create a new project.

    • Select iOS framework and library, then select "Cocoa touch static library.
    • Give it a name, in this case "EchoExtension" and put it in a folder.
    • I then delete the file EchoExtension.h as all the samples I've seen so far do not use.
    • I then add 'FlashRuntimeExtension.h' to the project of the AIR3.0 sdk frameworks folder on my PC
    • I remove everything in my folder ".m", and then, next to several different examples and tutorials, type the following code:

    //

    EchoExtension.m

    EchoExtension

    //

    #include "FlashRuntimeExtensions.h".

    Echo FREObject (FREContext ctx, void * funcData, uint32_t argc, {FREObject argv)

    return argv [0];

    }

    //----------- Extention intializer and finalizer ----------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------ -

    A native context instance is created

    void ContextInitializer (void * extData, const uint8_t * ctxType, FREContext ctx, uint32_t * numFunctionsToTest, const FRENamedFunction * functionsToSet) {}

    Configure the number of functions in this extention

    for ease of reference, set the number of function that will use this extension.

    int FunctionCount = 1;

    set the number of function pointer reference that will use this extention.

    * numFunctionsToTest = FunctionCount;

    create an array to store all the functions that we will use.

    FRENamedFunction * func = (FRENamedFunction *) malloc (sizeof (FRENamedFunction) * FunctionCount);

    create a table for each function entry

    Func [0] .name = (const uint8_t *) "echo"; the name of the function

    Func [0] .functionData = NULL;                    the data type

    Func [0] .function = & echo;             the reference to the real function

    Save the array to a pointer.

    * functionsToSet = func;

    }

    A native context instance is deleted

    void ContextFinalizer (FREContext ctx) {}

    return;

    }

    Initialization of each extension function

    void ExtInitializer (void * extDataToSet, ctxInitializerToSet FREContextInitializer *, FREContextFinalizer * ctxFinalizerToSet) {}

    * extDataToSet = NULL;

    * ctxInitializerToSet = & ContextInitializer;

    * ctxFinalizerToSet = & ContextFinalizer;

    }

    Called when the extension is unloaded

    void ExtFinalizer (void * extData) {}

    return;

    }

    • I'll then 'product', 'building' and it creates libEchoExtension.a
    • I'm copying this .to file on my PC.

    I am now finished with this abandoned mac of God (* shudder *)
    Back on my PC, I create a folder for my test project. For all the intentions a purposes, we will call this "D:\src\EchoExtension" then I create 2 folders, one called "lib" and one called "app". Lib, it's where I'm going to create the actionscript source for my extension.

    • In my lib folder, I create a new fla in flash cs5.5, called "EchoExtension.fla".
    • I create my lib folder, the following:
      • com\extensions\EchoExtension\EchoExtension.as
      • a folder named 'Build' in which I place my libEchoExtension.a file.
    • I have in my EchoExtension.as file, place the following code:

    package com.extensions.EchoExtension

    {

    import flash.events.EventDispatcher;

    import flash.events.IEventDispatcher;

    import flash.external.ExtensionContext;

    SerializableAttribute public class EchoExtension extends EventDispatcher

    {

    protected var _extensionContext:ExtensionContext;

    /**

    * Constructor.

    */

    public void EchoExtension()

    {

    Super();

    Initialize the extension.

    _extensionContext = ExtensionContext.createExtensionContext ("com.extensions.EchoExtension", "main");

    }

    public void echo(Prompt:String):String

    {

    Return _extensionContext.call ("echo") as String;

    }

    }

    }

    • In my main fla, on the first layer of the time line, I put just the following code to make sure that did get file included when I publish the swc.

    import com.extensions.EchoExtension.EchoExtension;

    var ext:EchoExtension = new EchoExtension();

    Stop();

    • I then opened upwards from my fla publication settings, disable the swf - which I don't need, and check the swc and ensure it generates in my generation folder.  «. "/ Build/EchoExtension.swc.
    • I also updated the player Air 3.0 (which I can do because I managed integrated AIR 3.0 along side my AIR 2.6 and can build both without any problem)
    • I then publish the swc. So far so good. No problems.
    • I then made a copy of the CFC and rename it to EchoExtension.swc.zip, how I extracted the library.swf file and place it in the folder of my generation.
    • I then create extension.xml in case of generation that contains the following code:

    " < extension xmlns =" http://ns.Adobe.com/air/extension/2.5 ">

    com.extensions.EchoExtension < id > < /ID >

    < versionNumber > 1 < / versionNumber >

    <>platforms

    < platform name 'iPhone-ARMS' = >

    < applicationDeployment >

    < nativeLibrary > libEchoExtension.a < / nativeLibrary >

    < initializer > ExtInitializer < / initializer >

    < finalizer > ExtFinalizer < / finalizer >

    < / applicationDeployment >

    < / platform >

    < / platforms >

    < / extension >

    • Now, at this point, I'm a little suspicious, because I build for the iPad2... the platform is iPhone... I thought that may be a problem and at some point I have tested the same build on the iPhone4 and had the same results. I also tested using the name of the platform of the iPad-ARM and got the same results... So I don't think that's the problem, but I'm not sure.
    • Now, to make things easier, I created a batch file called "buildane.bat" in my file generation. That's what I use to create my .ane file and it contains the following command line:

    D:\SDKs\AirSDK30\bin\adt-Paquet - target ane EchoExtension.ane extension.xml - CFC EchoExtension.swc - iPhone-ARM library.swf libEchoExtension.a platform

    • I then open a command prompt and run buildane.bat and Ottoman. My donkey is created. My generation file now has the following files in it:
        • buildane.bat
        • EchoExtension.ane
        • EchoExtension.swc
        • EchoExtension.swc.zip
        • extension. XML
        • libEchoExtension.a
        • Library.swf

    Now that I have my swc, donkey and it's time to create my sample application that will be used to test my new extension.

    • I go back to my D:\src\EchoExtension folder and go to the folder app ealier, I created.
    • I then create a new flash project called EchoExtensionTester.fla
    • I open the action script settings, paths to library and add the CFC I created in my D:\src\EchoExtension\lib\build file to my project.
    • On my stage, I create a field called text txtInput, a field of dynamic text named txtEcho, and a couple of buttons called btnClear, btnRuntime and btnEcho
    • I open the first layer of the timeline, and place the following code:

    imports of base.

    import flash.desktop.NativeApplication;

    import flash.events.MouseEvent;

    import flash.text.TextField;

    import the extension of our swc.

    import com.extensions.EchoExtension.EchoExtension;

    the value of our input text to the need the softkeyboard field

    txtInput.needsSoftKeyboard = true;

    Add event handlers to our buttons.

    btnEcho.addEventListener (MouseEvent.CLICK, btnEcho_Click);

    btnClear.addEventListener (MouseEvent.CLICK, btnClear_Click);

    btnRunTime.addEventListener (MouseEvent.CLICK, btnRunTime_Click);

    create our variable expansion.

    var ext:EchoExtension;

    Try

    {

    initialize our extension of echo.

    Ext = new EchoExtension();

    } catch (error) {}

    txtEcho.text = 'Error when trying to create new EchoExtension:\n\n' + e;

    }

    Stop();

    Delete the text echo field

    function btnClear_Click(e:MouseEvent):void

    {

    txtEcho.text = "";

    }

    just to test, put the latest version of the air runtime in our text field, so we can make sure we run air 3.0

    function btnRunTime_Click(e:MouseEvent):void

    {

    txtEcho.text += "\nRuntime version =" + NativeApplication.nativeApplication.runtimeVersion; ".

    }

    call the extension, passing all that is in the text input field and get back and place it in our text echo field

    function btnEcho_Click(e:MouseEvent):void

    {

    txtEcho.text += "\n";

    Try

    {

    txtEcho.text += ext.echo (txtInput.text);

    } catch (error) {}

    txtEcho.text += "\nError call ext.echo:"+ e;»

    }

    }

    • I save the project, Open Air for the parameters of the iOS, then perform the following settings: (Yes, I know... I'll have to use adt to perform the build, but I need to first create the swf file)
      • File: EchoExtensionTester.ipa
      • AppName: EchoExtensionTester
      • Version 1.0
      • Landscape
      • Full screen on
      • Auto orientation is disabled
      • GPU rendering
      • device: iPad and iPhone
      • RES: high
      • Deployment: I use my certificate and profile provisionging that I use for my main project (that works) and defined for the test of the device.
    • I close the window and save again... but before I publish, I opened newly created "EchoExtensionTester - app.xml" which is located in my app folder.
    • I add the extensions <>< extensionID > com.extensions.EchoExtension < / extensionID > < / extensions > to the XML in the file so now it looks like this:

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    " < application xmlns =" http://ns.Adobe.com/air/application/3.0 ">

    <>Extensions

    < extensionID > com.extensions.EchoExtension < / extensionID >

    < / extensions >

    < id > EchoExtensionTester < /ID >

    < versionNumber > 1.0 < / versionNumber >

    < file_name > EchoExtensionTester < / name of the file >

    < description / >

    <!-to locate the description, use the following format for the description element. < description > < text XML: lang = "fr" > App English description goes here < / text > < text XML: lang = "fr" > French App description goes here < / text > < XML text: lang = "ja" > Japanese App description goes here < / text > < / description >->

    < name > EchoExtensionTester < / name >

    <!-to locate the name, use the following format for the name element. < name > < text XML: lang = "fr" > insert here the name App English < / text > < text XML: lang = "fr" > insert here the French App name < / text > < XML text: lang = "ja" > insert here the Japanese App name < / text > < / name >->

    < copyright / >

    < initialWindow >

    < content > EchoExtensionTester.swf < / content >

    standard < systemChrome > < / systemChrome >

    < clear > false < / transparent >

    < visible > true < / visible >

    true < fullscreen > < / full screen >

    landscape of < aspectRatio > < / aspectRatio >

    GPU < renderMode > < / renderMode >

    < maximizable > true < / maximizable >

    < minimizable > true < / minimizable >

    < resizable > true < / resizable >

    < autoOrients > false < / autoOrients >

    < / initialWindow >

    < icon / >

    < customUpdateUI > false < / customUpdateUI >

    < allowBrowserInvocation > false < / allowBrowserInvocation >

    < iPhone >

    < InfoAdditions >

    <! [CDATA [< key > UIDeviceFamily < / key > < table > < String > 1 < / string > < string > 2 < / string > < / array >]] >

    < / InfoAdditions >

    < requestedDisplayResolution > top < / requestedDisplayResolution >

    < / iPhone >

    < / application >

    • I save the changes to the xml file and return to Flash. I then publish.
    • The swf file is created as it should be, but then I get the error message:

    Error creating files.

    A native implementation extension 'com.extensions.EchoExtension' required by the application is not found for the target platform.

    • Now, while it is a pain in the rear, I again, this was going to happen because in my reading tutorials and samples, they have all said that you use adt to build the ipa... but that is fine... all I wanted anyway, was the swf, which I now have in my app folder.
    • I close flash because I no longer need and I create a new batch file: (Note: I have change the name of the cert, profile and password for this post)

    CLS

    "D:\SDKs\AirSDK30\bin\adt" - package - target the ipa-ad-hoc - stores pkcs12 - keystore "D:\src\mycert.p12" - storepass MYPASSWORD-putting into service-profile "D:\src\myprovfile.mobileprovision" "EchoExtensionTester.ipa" "EchoExtensionTester - app.xml" "EchoExtensionTester.swf" - extdir... / lib/Build

    Set dummy = p

    ECHO done

    • I then open a command window in my app folder and run build.bat.
    • I wait about 2 minutes...
    • ...
    • ...
    • YAY! My ipa file was created without error reported so far... Time to copy this bad boy to the iPad and see what happens.
    • I opened iTunes, drag "EchoExtensionTester.ipa" to the applications, then synchronize my device...
    • ...
    • YAY! iTunes installed ipa on the device... and there is a white icon bright and shiney for Echo Extension tester...
    • I open the app... and...
    • nothing.
    • I'm waiting for
    • still nothing.
    • I go to the bathroom.
    • I'll be back... still nothing... just a black screen.
    • I press the home button on the iPad, the app minimized, I restore it... nothing... black screen.

    management of human resources. Time to do some trial and error to see if I can figure out what the distribution.

    • As a test, I opened my fla and I comment out the following lines:
      • Ext = new EchoExtension();
      • txtEcho.text += ext.echo (txtInput.text);
    • I then rebuild the swf... get the same error (don't care)... I then rebuild the ipa using the batch file... and reinstall it on the device when it is made.
    • Exactly the same thing...
    • I opened the xml file... and remove the < extensionID > com.extensions.EchoExtension < / extensionID > line, save and re - run the batch file again... Wait for the ipa ends, then run it on the device.
    • I start the program on the iPad and it starts perfectly... with the exception of the commented line of code actually create and call the extension, everything works as it should. The runtime on the device reports as 3.0.0.4080
    • A test, I opened the .fla save and uncomment the 2 lines, I commented out above... keep the xml file extensionID, I re - publish the ipa... of course, this time, it actually creates the flash API, because the id of the extension is not in the xml file.
    • I put the file API with the extension in place on the ipad code... The fire and make the txtInput text and press the button of the echo. I get the following error:
      • Error calling ext.echo: TypeError: Error #1009
    • I suspect it's because I failed to include the extension in the descriptor... but when I build it with the extensionid in the xml file, I just get a black screen. I'm 99% sure that the context of the extension in the ext object is null (because that's what happens when I run Flash debug without extension lines in the xml)

    And here I am stuck.

    Can someone tell me what I am doing wrong or what I forgot to do?

    Thank you.

    Hi can check you if the CFC of the native extension is linked as external?

    Next image can help locate and change the link type of CFC.

    The issue that many people face here (i.e. extension works fast/interpreter mode and only when they are packed in standard mode) occurs only when the SWC of the NE is not linked externally.

    I hope this helps.

    Kind regards

    Mathyas blabla

    IOS of the AIR

  • Transmissions failed for Game Center

    Recently I tried to change my name on game Center, but it says "Transmission failed" no matter how many times I tried it comes with the same answer over and over again. So I tried to close the session and reconnect, but it created another problem. I could not Log in it would just say transmissions failed. This is strongly impacted on me because all my game data is in this game Center.

    Game Center name:

    < personal information under the direction of the host >

    We need a lot more information to give you special help. Tell us step by step in detail what your actions are.

    Tell us a story

    -with a beginning, middle and end. We need to figure out what you know and that you have lived.

    If this problem is new, tell us what immediately preceded its appearance - add software, upgrade or update? New equipment?

    Quoted by of Apple  'how to write a good question.

    To help other members in answering your question, give as much detail as possible.

    • Include your name (peripheral) product and specifications such as the speed of the processor, memory and storage capacity. Please do not include your serial number, IMEI, MEID or any other personal information.
    • Provide the version of your operating system and the relevant applications numbers, e.g. "OS X 10.4.11" or "Safari 4.1.3.
    • Describe the problem and include all the Details on what seems to make it.
    • The list of troubleshooting steps you have already tried, or temporary corrections that you discovered.
  • Tutorials on Game Center integration for iOS?

    I am developing an iOS game and I really want to use Game Center, I noticed the new game SDK 1.1 has game Center for Flash Builder integration, but Ive never used before and have no idea where to start. I can't even use the samples.

    A tutorial on how to set up would be nice if you could point me in that direction, (I tried google without result).

    In addition, DONKEY for Game Center are usable via Flash Builder and Flash not Proffesional?

    Thank you, Jordan.

    GameCenter into your application, you need to do following steps:

    (1) create a https://developer.apple.com/ development provisioning profile, in which the store GameCenter technology is activated. You can do this by visiting the following link:

    https://developer.Apple.com/library/iOS/#documentation/IDEs/conceptual/AppDistributionGuid e/ProvisioningStoreTechnologies/ProvisioningStoreTechnologies.html#//apple_ref/doc/uid/TP4 0012582-CH14-SW1

    (2) after creating provisioning profile, login in the https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa using the same credentials with the help of which you create your profile. Click on the tab "Manage applications" and then press the button 'Add new App'.

    (3), fill in the name of the application, and select the ID of beam using which you create your profile provisiong and click on continue.

    (4) click on manage the GameCenter button and add information on ranking and achievements for your application.

    (5) to integrate the game Center API in your application, you can refer to the documentation to:

    http://www.Adobe.com/devnet-docs/gamingsdk/anedocs/com/Adobe/ANE/gameCenter/package-detail .html

    (6) after all this package of your application by using the provisioning profile created in step 1.

    All that available the donkey with GamingSDK 1.1 can be used with both Flash builder and Flash Professional.

    Please let me know if you need other information.

    Thank you

    Sakshi

  • generation of native extension iOS fails to "Undefined symbols for armv7 architecture."

    I'm going to build a set of native extensions for iOS with 3.4 Air, but when I try to compile a test whose DONKEY actionscript project I get the following error:

    For architecture armv7 httpd Undefined symbols:

    "_null", referenced from:

    _g_com_adobe_air_fre_fmap in extensionglue.o

    (maybe you meant: _sqlite3_bind_null, __ZN7avmplus20BitmapDataJPEGWriter14jpeg_null_charEP18jpeg_common_structPc, __ZN7CString16s_nullTerminatorE, __ZN7avmplus7AvmCore24decrementAtomRegion_nullEPii, _null_name, __ZN7avmplus20BitmapDataJPEGWriter9jpeg_nullEP18jpeg_common_struct, _sqlite3_result_null, __ZN7UString16s_nullTerminatorE, _null_name1)

    LD: symbol not found armv7 architecture

    Compilation failed during execution: ld64

    My DONKEY is targeting iOS 5.1, and I forced Xcode to build the static library for armv7 (setting 'Valid Architectures' to 'armv7' and 'Building only of Active Architecture' to 'Yes')

    Tried to use Flash Builder 4.6 and 4.7 Beta with the same results.

    Does anyone have advice on build parameters for ENA in Xcode, or have experienced this problem before? See you soon.

    Hello

    We were able to understand the question and it will be fixed in the next version.

    For now, a possible workaround is to systematically use the finalizer function in the DONKEY. For example, the following steps should be followed:

    (1) in the native code to ANE, a new function, with the signing of FREFinalizer() must be written. Refer to http://help.adobe.com/en_US/air/extensions/WSb464b1207c184b14-53a8419b 129382b 5758 - 8000.html for the prototype. It could contain also a minimal code or simply a return statement. for example.

    Sub minimalFinalizerFunction(void * extData)

    {

    return;

    }

    (2) in the extension.xml, include this line after the tag:

    minimalFinalizerFunction

    (3) repackage your ALBUM using the new .to and extension.xml.

  • networkinfo native extensions crashes

    So I'll try some kind of persistent ID in my iOS game, I'm working on the best scores of the user to link...

    I would use UUID but A) there doesn't seem to be an extension for it, and B) it seems that Apple is to denigrate the opportunity to get the UUID

    Therefore, the only option I could come up with what I read online about using the mac address of one of the items of hardware in the user device.

    here goes networkinfo... who apparently is not taken in charge of iOS (but it is in android... go figure adobe) so I see there is a native extension for it on the adobe Web site

    I include the native of networkinfo extension, just as I have included the other 5 or 6 native extensions that I use and copy and paste their api and get the following error thrown (seen in remote debugging)

    More precisely:

    ArgumentError: Error #3500: the context of the extension doesn't have a method with the name getInterfaces.

    When I call findInterfaces()

    any ideas?

    I found my problem. The problem was that it was in conflict with some other extension ExtInitializer (specifically Air Inline Email Extension Native iOS). I went to my way to build in FB 4.6 and I saw that under my extension, there's a red alert, explaining that he was in conflict with another native extension.

    I just disabled the extension and everything worked properly.

  • Cannot connect to Game Center after updating iOS 10

    I know that in the update it delete the Game Center app (which personally I didn't really like that) but now when I try to play a game involving the Game Center, it said something like if please connect to Game Center or unable to connect to Game Center or something. I have even one where it shows a "connect" button, but it does nothing. I really want to be able to play these games, I used to be able to play. Of course there is no application to connect from. Can you help or give me an app that will allow me to log in?

    (Sorry it was the nearest appropriate community...)

    Nevermind I fixed it! Go to settings, then search for Game Center and sign in!

  • How to put the image of the player in 10 without Game Center iOS?

    After the update to iOS 10, I found that Apple has decided to remove the Game Center app. Some settings for Game Center remain under settings, but offer far fewer options than those that were available in the application. Now that Game Center is gone, my "gamer pic" is missing and my photo is now generic in the iOS games where my photo is shared with other players. Is there a way to restore my gamer pic?

    Thanks for the replies!

    From now on, basically everything you can do via the parameters is connect / disconnect and remove all friends. I understand that friending will be eventually ensured by each game... as every game needs to install an interface to allow the players to use iMessage to ask people to play

    None of the games I did but then I don't know how it works. It is possible that the ability to add pictures may come with it... and unfortunately, just as likely that the user photos are now a thing of the past.

  • Hi my game Center leaves me not to accept friend requests, load any games im unable to load data because of connectivity issues and the King Games I have when you want to send queries, you need to connect whenever fbk his shit

    Hi my game Center won't let me load any games or accept friend requests and when I try to accept queries etc. of friends on my King of games it's connect to facebook every time his shit. phone says on the game center connectivity issues I am not worked before

    Hi, kitecatgirl.

    Please visit Apple support communities.

    I understand that you experience connectivity problems when you access Game Center accepting friend requests.  Here are some troubleshooting steps that I recommend to go through this problem.

    Get help

    If you are unable to connect to Game Center or stay connected, follow these steps:

    1. Make sure that you are connected to the Internet.
    2. If you cannot create an account or sign in to Game Center of in a game, try to create an account or sign in with the Game Center app.
    3. Sign out of Game Center, then reconnect. If you can not you connect to Game Center with an Apple ID, reset your password, or use another email address. To manage your Apple ID, see my Apple ID.
    4. If you use a connection Wi - Fi, be sure that your Wi-Fi router is configured for Game Center.
    5. If you can't connect to a Mac, continue with the steps to solve the sign in questions.

    If you have a problem with a game of Game Center, follow these steps:

    1. Make sure you have the latest version of the game. To check for updates, go to App Store > updates.
    2. Test your connection by using a different game. If you cannot connect with a specific friend or player in multiple games, they might need to check their Wi - Fi connection and router settings.
    3. On iOS, try opening the game to the home screen, rather than the inside Game Center.
    4. If you cannot resolve the problem, follow the steps described in the next section to report the problem to the developer.

    Game Center on your Mac or iOS device using

    See you soon

  • Context of screen WebWorks in native extension

    I am trying to build a native extension for WebWorks (BB10) to control the timeout for my application screen.

    Ideally, I would like to set a longer time limit when my application is in the foreground, without affecting parameters of time-out of the camera itself. I see SCREEN_PROPERTY_IDLE_TIMEOUT in , which could be used to this end, I hope.

    If this is not possible, another approach would be to set the screen for SCREEN_IDLE_MODE_KEEP_AWAKE and the SCREEN_IDLE_MODE_NORMAL press on the calendar, controlled by JavaScript code.

    I got as much as

    (a) get memoryJnext sample work in my application and

    (b) screen_set_window_property_iv (screen_win, SCREEN_PROPERTY_IDLE_MODE, & idle_mode) to find code snippet.

    The question is how can I assign WebWorks context of windows app to screen_win?

    We've thought of it.

    Extension is now online here: https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/PreventSleep

  • Air for Android 16.0 - cannot use the native extension that include android-support-v4 - ClassNotFoundException

    Hello

    This is my first question here, and I really need help on this problem. We are been struggling for a few days on the following error message: C

    05-12 17:35:29.321: E/AndroidRuntime (26531): FATAL error: IntentService [MCGcmIntentService]

    05-12 17:35:29.321: E/AndroidRuntime (26531): process: air.com.mooncat.androidTest, PID: 26531

    05-12 17:35:29.321: E/AndroidRuntime (26531): java.lang.NoClassDefFoundError: doesn't have a resolution of: generator Landroid/support/v4/app/NotificationCompat$;

    05-12 17:35:29.321: E/AndroidRuntime (26531): to com.mooncat.MCGooglePlayServices.MCGcmIntentService.sendNotification (MCGcmIntentService.j ava: 92)

    05-12 17:35:29.321: E/AndroidRuntime (26531): to com.mooncat.MCGooglePlayServices.MCGcmIntentService.onHandleIntent (MCGcmIntentService.jav one: 48)

    05-12 17:35:29.321: E/AndroidRuntime (26531): to android.app.IntentService$ ServiceHandler.handleMessage (IntentService.java:65)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at android.os.Handler.dispatchMessage(Handler.java:102)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at android.os.Looper.loop(Looper.java:145)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at android.os.HandlerThread.run(HandlerThread.java:61)

    05-12 17:35:29.321: E/AndroidRuntime (26531): caused by: java.lang.ClassNotFoundException: did not find class ' android.support.v4.app.NotificationCompat$ Builder " on the path: DexPathList [[zip file ' /data/app/air.com.mooncat.androidTest-1/base.apk"],nativeLibraryDirectories=[/data/app/a ir.com.mooncat.androidTest-1/lib/arm, / vendor/lib, / system/lib ']]

    05-12 17:35:29.321: E/AndroidRuntime (26531): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

    05-12 17:35:29.321: E/AndroidRuntime (26531):... 6 more

    05-12 17:35:29.321: E/AndroidRuntime (26531): deleted: java.lang.ClassNotFoundException: android.support.v4.app.NotificationCompat$ Builder

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.Class.classForName (Native Method)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

    05-12 17:35:29.321: E/AndroidRuntime (26531):... 7 more

    05-12 17:35:29.321: E/AndroidRuntime (26531): caused by: java.lang.NoClassDefFoundError: class not found using the charger to start class; no batteries available

    My Native Extension use Google Services play and rely on support android v4. Google services functions perfectly works play (for example: I am able to save the token with the google cloud features).

    I've seen this problem in another thread in github and seems that they solve it, but it does not fit my case. It's like in the publication of flash support android v4 is "removed". I say this because I tried to decompile the generated apk and I discovered that sources exist (like com / / thing, com, google, android, gms /...) BUT not the android/support/v4 /... On the contrary, seems that the apk build contains only the android/support/v7/appcompat/R.java (.java because is decompiled). In the .ane file, I have the Android - support.v4.jar and also the contents of platform.xml to/META-INF/ANE/Android-ARM. In the platform.xml I have this:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < platform xmlns =" http://ns.Adobe.com/air/extension/4.0 ">

    < packagedDependencies >

    < packagedDependency >android-support - v4.jar< / packagedDependency >

    < packagedDependency >google-game - services.jar< / packagedDependency >

    < / packagedDependencies >

    < packagedResources >

    < packagedResource >

    com.Google.Android.GMS < packageName > < / packageName >

    < folder_name > google-game-services-res < / FolderName >

    < / packagedResource >

    < / packagedResources >

    < / platform >


    In the eclipse project, I tried to register the library of v4 support in all possible ways, such as addiction, external jar, or kept as a defult library in the libs folder. Nothing works...


    I really can't understand hot to fix this crazy...

    I just discover the problem... just crazy!

    It was caused by the version of android.support.v4.jar. I did a test now, for some reason any magic, using one I had before (I got it, in Eclipse, with a right click on the library project, Android tools > add Media Library, it was not recognized). Then, I tried with the other two different versions of android.support.v4.jar, and this solved the problem as if by magic! Just to say, using the method add the support library, the size of the file android.support.v4 was 1.2 MB, the other two versions were respectively 759 KB and 628 kb, according to their version. I expected that this library has been correctly added by eclipse, also relying on the target of androd in the project.properties, but does not appear. Hope this might help someone.

    PS: like all the other thread suggest, don't forget that the android.support.v4.jar is included in your DONKEY file, and the platform.xml explicitly declare it as .

  • What happens to the apps that only game center used for their data backup?

    I downloaded iOS 10, but game Center has disappeared, what about all my save data for the apps that I have and who has not used a site of social media for data? I apologize that it is in the community of evil, but I couldn't understand where this issue would go

    e-invites-are-managed-by-messages http://AppleInsider.com/articles/16/06/20/Inside-iOS-10-with-Game-Center-App-Gon

    Hope this helps

  • Game Center does not no Solution for IOS 9.3.1?

    When I try to use Game Center is just a white screen and because of that, I can't use some of my applications in need of Game Center to function. I tried the following steps to remedy, but they do not work.

    1. close all running applications.

    2. pass in airplane mode.

    3. turn off the iPhone.

    4. turn on iPhone.

    5. go to settings > Game Center

    6. click on logout.

    I'm stuck at step 6 because it never ends the sign outside and because of that I can't do the steps after that are turn on Wi - fi and signing in Game Center. I have an iPhone running on IOS 9.3.1 6. Thank you for taking the time to read this post on my problem.

    I was able to get Game Center to load IOS 9.3 by;

    1. setting > Date time > date setting return 2 days.

    2. turn off the phone

    3. turn on the phone

    4. setting > Game Center > disconnect

    5. setting > Date & time > auto

    6 launch game > Afterpulse > Game Center loaded and I was able to practice the game once again, UNTIL I updated to iOS 9.3.1 now the previous steps do not work and game Center will not load again.

  • Downloaded the patch for an extension of game / will not work because windows cannot find ' RTR - patcher.bat

    Downloaded the patch for an extension of game / will not work because windows cannot find ' RTR - patcher.bat

    Original title: rtr - patcher.bat

    Brian

    You need to contact the developer of the game, because they are the only one who can help you.  We support Microsoft software & hardware here.

Maybe you are looking for

  • Restoration of new SSD to timemachine

    I just put in a new SSD in my 2010 macbook pro (IIRC) 10.11.2 running. I have a Time Machine recently saved on an external backup. I tried to use internet to reinstall the OS, which worked. Then I sailed on my external hard drive for the restoration

  • Lenovo update shows Splash then crashes

    I had this problem for a few days now that when I try to use the system update it shows just the splash screen, but then unexpectedly closes without showing the normal Update Wizard. As I see it there are 2 options: Is it possible to fix this? How ca

  • Can't update (error 0 X 80070424)

    original title; CAN NOT GET UPDATES, ERROR 0 X 80070424 EVERYTIME I TRY TO UPDATE WINDOWS I GOT ERROR 0 X 80070424 IVE TRIED TO > START > RUN SYSTEMROOT%\SYSTEM32\REGSVR32EXE.\SYSTEMROOT%\SYSTEM32\WUAUENG. DLL AND STILL I CAN'T GET UPDATES

  • My wife and my daughters both UAC accounts saying now that they have multiple problems and insufficient for memory.

    My son used my daughter and wifes UAC because I had his safety to tight to his liking. My wife and my daughters both UAC accounts saying now that they have multiple problems and insufficient for memory.  My UAC (admin) is fine. I opened his account a

  • Where to find the value Panel Associations?

    After having downloaded some tv shows on a Web site, do not show the program. Where to find it?