Any native extension for checking memory and cpu/gpu usage of ios and android?

I need to be able to see how much memory/cpu/gpu an app uses while running for ios and android.

Hmm, maybe it can be done with code already included in flash and adobe air, it seems... donno.. found stuff like:
freeMemory
property
freeMemory:Number  [read-only]
Language Version:
ActionScript 3.0
Runtime Versions:
Flash Player 10.1, AIR 2
The amount of memory (in bytes) that is allocated to Adobe® Flash® Player or Adobe® AIR® and that is not in use. This unused portion of allocated memory (System.totalMemory) fluctuates as garbage collection takes place. Use this property to monitor garbage collection. 
Implementation
    public static function get freeMemory():Number
Related API Elements
privateMemory
totalMemory
totalMemoryNumber 
donno how to use it...

Similar Messages

  • Any native extensions for iBeacon on iOS and Android?

    Any native extensions in AIR 13 for iBeacon on iOS and Android?

    Sure is, complete cross-platform, Android/iOS, iBeacon interface. You can find it here:
    http://distriqt.com/product/air-native-extensions/beacon
    >> Moved to here: distriqt // air native extensions

  • Are there any good tool for checking security risks, Code review, memory leakages for SharePoint projects?

    Are there any good tool for checking security risks, Code review, memory leakages for SharePoint projects?
    I found one such tool "Fortify" in the below link. Are there any such kind of tools available which supports SharePoint?
    Reference: http://www.securityresearch.at/en/development/fortify/
    Amalaraja Fernando,
    SharePoint Architect
    Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.

    Hi Amalaraja Fernando,
    I'm not sure that there is one more tool that combines all these features. But you may take a look at these solutions:
    SharePoint diagnostic manager
    SharePoint enterprise manager
    What is SPCop SharePoint Code Analysis?
    Dmitry
    Lightning Tools Check
    out our SharePoint tools and web parts |
    Lightning Tools Blog | Мой Блог

  • Developing and using Adobe AIR native extensions for Android devices

    I was using this tutorial:
    "Developing and using Adobe AIR native extensions for Android devices"
    http://www.adobe.com/devnet/air/articles/ane-android-devices.html
    When packing the Flex mobile ANESampleTest to deploy on an Android device, the below error happens
    Error occurred while packaging the application:
    aapt tool failed:invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/drawable-xxhdpi
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw600dp
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw720dp-lan
    Does anyone know what the issue might be?

    Did you find a workaround for the Error? I'm getting the same and I can't seem to find any solution.

  • Any good Native extensions for iOS yet?

    Hi,
    I wonder if there are any usable native extensions around yet for iOS features?
    I have only found these: http://www.adobe.com/devnet/air/native-extensions-for-air.html which seems to be mostly tech-demos (battery, network info etc). I thought at least in-app-purchases, Game Center support, iAds, alertbox etc should have been released by now?
    Since I have no knowledge in objective-c I can't do it myself, but I would gladly pay for ANE-files that are usable in real projects.
    /Karl

    http://code.google.com/p/flash-for-mobile/
    qq讨论群:56892018
    version for iphone and ipad https://github.com/lilili87222/admob-for-flash
    this is a actionscript native extension for developer to ad advertisement to their air mobile application run on iphone or android.it very easy to use
    admob for flash android this lib enable you to add admob ad to your flash air application to add native advertisement to your actionscript3 application you just need to do four step
    1.replace D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.1\lib\android\lib\resources\android-res.jar with android-res.jar
    2. add this config to -app.xml
    <android>
    <manifestadditions><![CDATA[
    <manifest android:installLocation="auto">  <uses-sdk android:targetSdkVersion="11"/> <uses-sdk android:minSdkVersion="8"/>  <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <application><!-- <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation"/> --> <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize |smallestScreenSize"/>
    </application>
    Unknown end tag for </manifest>
    ]]></manifestadditions>
    </android>
    3.add this config to -app.xml
    <extensions>
    <extensionid>so.cuo.ane.Admob</extensionid>
    </extensions>
    4. add code to your android air application like follow 
    test1(); private function test1():void {  var admob:Admob=Admob.getInstance(); if(admob.isSupported){  admob.setUnitId(gid); admob.dispatcher.addEventListener(AdEvent?.onReceiveAd,this.adHandler); admob.dispatcher.addEventListener(AdEvent?.onFailedToReceiveAd,this.adHandler);
    // admob.showRelation(AdMobAlignment?.ALIGN_BOTTOM,AdType?.BANNER); 
    admob.show(50,100,AdType?.BANNER);
    }else{  trace("not support"); }
    protected function adHandler(event:AdEvent?):void {  trace("receive ad"); }

  • Hi All,Can any provide an example for SAP MEMORY AND ABAP memory

    Hi All,
          Can any provide me an example for SAP MEMORY AND ABAP memory.
    thanks&regards.
    Bharat.

    HI Bharat
    A simple example of ABAP memory is using the EXPORT/IMPORT statements.
    Here in this program, I get the data, export it to memory,
    clear out the internal table in my progam, then reimport the data into it and write out the data.
    You probably wounldn't do this in a normal program,
    but this is how you can pass data from program a to program b when A Submits program B.
    report zxy_0002 .
    data: it001 type table of t001 with header line.
    select * into table it001 from t001.
    export it001 = it001 to memory id 'ZXY_TEST'.
    clear it001. refresh it001.
    import it001 = it001 from memory id 'ZXY_TEST'.
    loop at it001.
    write:/ it001-bukrs, it001-butxt.
    endloop.
    SAP Memory
    SAP memory is a memory area to which all main sessions within a SAPgui have access.
    You can use SAP memory either to pass data from one program to another within a session,
    or to pass data from one session to another.
    Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters).
    These parameters can be set either for a particular user
    or for a particular program using the SET PARAMETER statement.
    Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement.
    The most frequent use of SPA/GPA parameters is to fill input fields on screens
    ABAP/4 Memory
    ABAP memory is a memory area that all ABAP programs within the same internal session can access
    using the EXPORT and IMPORT statements.
    Data within this area remains intact during a whole sequence of program calls. To pass data
    to a program which you are calling,
    the data needs to be placed in ABAP memory before the call is made.
    The internal session of the called program then replaces that of the calling program.
    The program called can then read from the ABAP memory.
    If control is then returned to the program which made the initial call, the same process operates in reverse.
    SAP memory
    The SAP memory, otherwise known as the global memory,
    is available to a user during the entire duration of a terminal session.
    Its contents are retained across transaction boundaries as well as external and internal sessions.
    The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.
    ABAP/4 memory
    The contents of the ABAP/4 memory are retained only during the lifetime of an external session
    (see also Organization of Modularization Units).
    You can retain or pass data across internal sessions.
    The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory.
    ABAP Memmory & SAP Memmory
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Set
    http://www.geocities.com/SiliconValley/Campus/6345/set_para.htm
    GET
    http://www.geocities.com/SiliconValley/Campus/6345/get_para.htm
    EXPORT
    http://www.geocities.com/SiliconValley/Campus/6345/export01.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bc4358411d1829f0000e829fbfe/frameset.htm
    Other Imp Help
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    Regards Rk

  • In App Purchase Native Extension for Android

    Hi All
      I was wondering whether anyone has done any work on an In App Purchase native extension for Android?  If one does not already exist I am going to be starting work on one shortly. 
      I did a google search and found this stackoverflow post http://stackoverflow.com/questions/8053049/air-native-extensions-for-android-in-app-billin g .  The poster is having difficulty with the call back from the Android market.    One of the responses mentions that 'Native extensions have an issue with java libraries' .  Has anyone else come across this issue and if so how did you fix it? 
    thanks for any help you can provide!
    Mark

    I have just finished a (commercial) extension that lets you directly do in-app purchases on android from Actionscript 3. You can check it out here.

  • Adobe Air native extension for admob

    Dear Adobe Team,
    We have recently purchased Adobe Air native extension for admob for android & ios
    but every time we upload our app to an ipad or iphone, the app crashes.
    We have carefully followed your instructions, and we're sure we've not made a mistake writing the action script 3 code.
    We need your help in solving this problem urgently, as we are now running behind schedule in uploading our app.
    Thanks very much,
    Amir Steklov and Dorit Leshnick

    Before I was also searched a lot to find good  add network and also Admob.
    Finally we done successfull integration using..  working fine in all IOS devices. not yet released to Apple app store
    http://code.google.com/p/flash-air-admob-ane-for-ios/source/browse/trunk/admobaneiphone/sr c/admobtest.as?r=2
    You can check our add setups using Air ANE's for our android game ExpressTrain.
    https://play.google.com/store/apps/details?id=air.timuzsolutions.expresstrain&feature=sear ch_result#?t=W251bGwsMSwyLDEsImFpci50aW11enNvbHV0aW9ucy5leHByZXNzdHJhaW4iXQ..
    you no need to buyAdobe Air ANE's everything is free but all u need to do is googling,
    hope this will help.
    Bala
    Message was edited by: vamsibalu

  • Using OpenCV inside an Adobe Native Extension for IOS

    I'm trying to use OpenCV.framework inside an Adobe Native Extension that I'm developing to use on an IOS application made in Flex.
    The problem is that I get errors while packaging the application:
        Undefined symbols for architecture armv7:
          "__ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv", referenced from:
              __ZNSt3__16vectorIiNS_9allocatorIiEEE8__appendEm in opencv2(smooth.o)
              __ZNSt3__16vectorIN2cv6Point_IiEENS_9allocatorIS3_EEE21__push_back_slow_pathIKS3_EEvRT_ in opencv2(hough.o)
              __ZNSt3__16vectorIN2cv3VecIiLi128EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
              __ZNSt3__16vectorIN2cv3VecIiLi64EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
              __ZNSt3__16vectorIN2cv3VecIiLi32EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
              __ZNSt3__16vectorIN2cv3VecIiLi16EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
              __ZNSt3__16vectorIN2cv3VecIiLi12EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
        ld: symbol(s) not found for architecture armv7
        Compilation failed while executing : ld64
    and this is the platformoptions.xml I use to compile the ANE:
        <platform xmlns="http://ns.adobe.com/air/extension/4.0">
            <sdkVersion>8.0</sdkVersion>
            <linkerOptions>
           <option>-framework opencv2</option>
           <option>-framework UIKit</option>
           <option>-framework Foundation</option>
           <option>-framework CoreGraphics</option>
           <option>-framework Accelerate</option>
           <option>-framework AssetsLibrary</option>
           <option>-framework AVFoundation</option>
           <option>-framework CoreImage</option>
           <option>-framework CoreMedia</option>
           <option>-framework CoreVideo</option>
           <option>-framework QuartzCore</option>
        </linkerOptions>
        </platform>
    Any idea?

    Problem solved. I've added this line
    <option>-lc++</option>
    to the platformOptions.xml.
    Now OpenCV works great in my actionscript native extension.

  • Native extension for Game Center

    Hi guys,
    As I understand it with the latest Air Beta it's possible to implement native extensions for iOS, and in theory that would make it possible to connect to both Game Center and in-app purchases.
    Has anyone here tested this? It would be nice to know if there are any show stoppers before I start "digging"...
    Cheers,
    /Andreas

    I just finished an extension for AIR that adds Game Center (commercial.)  I'm going to be doing Multiplayer next.  I'm pretty sure there's an in app purchase one out there, I'm looking for it now, I'll post if i find it.

  • External library inside Air native extension for android

    Hello everyone,
    First, I've been looking throught this topics
    - http://stackoverflow.com/questions/7732742/air-3-native-extensions-for-android-can-i-how-t o-include-3rd-party-libraries
    - http://stackoverflow.com/questions/24626380/how-to-include-additional-jar-in-android-nativ e-extension-for-adobe-air-mobile
    I got a similar problem. But not exactly the same. And the solution didn't worked for me :(.
    First of all, I don't have any visible error.
    -I can easily talk between java and action script.
    -The gateway is set without problems.
    My problem comes when, from my java-side-part of the extension, I try to call a 3rd party library. This library is (and I think this is where I do something  wrong) linked to my project as an external lib, in .jar format.
    So when I make a call to 3rd party library, it just doesn't print anything. Neither on the adobe part or on the java part. The logs that are before my call are printed but not the ones after.
    I tried different solutions that are:
    -Taking all compiled class files of my external lib and add it inside the main native extension jar [link1]
    same result (no errors)
    -including the 3rd party jar inside the ANE by adding a dependence file that require the .jar [link2]
    with this method i got this error that I don't get
    > aapt tool failed:ERROR: input directory '--auto-add-overlay' does not exist
    My third party library also include's itself some external .jars so do I need to include every jars inside the same packaged jar?
    I can see that a lot of people are dealing with issues like that so my question would be:
    What is the best way to include 3rd party library inside android AIR Native Extension ?.
    For information, here is what I do to create the ANE
    >adt -package -target ane AirInfinitGameANE\AirInfinitGame.ane AirInfinitGameASLib\src\extension.xml -swc AirInfinitGameANE\AirInfinitGameASLib.swc -platform Android-ARM -C AirInfinitGameLib .
    - AirInfinitGameASLib: just the folder with the actionScript part and the config xml file
    - AirInfinitGameANE: folder in the one that will be the native extension
    - AirInfinitGameLib: the eclipse java project. I need to put in that folder the airInfinitgamelib.jar(extension jar) and the library.swf (from the swc file) in order to beeing able to compile the ANE.
    Here it is ! Thanks a lot for thoses who'll read me.

    I had the same problem recently and fixed it as follows;
    - Extract the 3rd party jar file and copy the class folder (usually named "com" in the root of the jar) to my project.
    - Under Project Properties -> Java Build Path -> Libraries click "Add class folder" and add the "com" folder you just extracted from your .jar.
    Hope this helps

  • Transaction for monitoring memory and resources on BW server

    hi experts
    I have the task to determine what occurred from an hour specified on few minutes, because there was a process or program ( we don't know ) which collapse memory and resources on BW server. I check throw SM37 if some Job was executed but no one was. I need a transaction for monitoring / checking memory and resources.
    Please I will appreciate any helpfull information.
    Regards
    mgg

    Hi
    You can use ST03 / ST03 N also check ST04, ST06 . If you have access to the service market palce please check SAP Note - 618868 ( FAQ: Oracle Performance )  and related notes for more help.
    Hope this helps
    Assign points if useful
    Regards

  • Native Extension for AIR publishing error : framework not found

    Hello,
    I'm trying to build an iOS app using native extensions for AIR, but when I publish, I've an error message saying : framework not found
    I tried with this ANE for GameCenter integration : https://github.com/StickSports/ANE-Game-Center
    it says " ld: framework not found GameKit "
    Same problem with GREE Platform SDK for AIR :
    https://docs.developer.gree.net/en/globaltechnicalspecs/#sdkforair
    it says " ld: framework not found CoreTelephony "
    The thing is that these frameworks are already included, I guess.
    I'm using flash cs6 on mac, and I've included the path to iOS SDK in the publishing settings.

    Are you using the ANE from there or are you recompiling the ANE at your end?
    If you are recompiling, please make sure that you are using the platform.xml file they have provided.
    If you are using their precompiled ANEs, probably, the path to iOS SDK is not correct. It should be upto the folder iPhoneOSx.y.sdk.

  • Air Native Extension for OS X. Cant call functions from native code.

    Hi, I am trying to build native extension for OS X.
    After creating context, I try to call native function with "call" method, but always I have an error "The extension context does not have a method with the name ..."
    In as3 code my ExtensionContext is not null, so it's okay. And in native objective-c code I have a function, which I call in as3 code.
    What should I do?
    Here my code.
    Objective-c:
    FREContext AirContext = nil;
        FREObject init(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])
            return nil;
        FREObject someFunction(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])
            FREDispatchStatusEventAsync(AirContext ,(uint8_t*) "SOME_EVENT", (uint8_t*) "some information" );
            return nil;
        void ANEContextInitializer(void* extData, const uint8_t* ctxType, FREContext ctx, uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet)
            NSLog(@"Entering ContextInitinalizer()");
            *numFunctionsToTest = 5;
            FRENamedFunction* func = (FRENamedFunction*) malloc(sizeof(FRENamedFunction) * *numFunctionsToTest);
            func[0].name = (const uint8_t*) "init";
            func[0].functionData = NULL;
            func[0].function = &init;
            func[1].name = (const uint8_t*) "someFunction";
            func[1].functionData = NULL;
            func[1].function = &someFunction
            // other blank functions
            *functionsToSet = func;
            AirContext = ctx;
            FREDispatchStatusEventAsync(AirContext ,(uint8_t*) "SOME_EVENT", (uint8_t*) "some information" );
        void ContextFinalizer(FREContext ctx) {
            NSLog(@"Entering ContextFinalizer()");
            NSLog(@"Exiting ContextFinalizer()");
        void ANEInitializer(void** extDataToSet, FREContextInitializer* ctxInitializerToSet, FREContextFinalizer* ctxFinalizerToSet )
            NSLog(@"Entering ExtInitializer()");
            *extDataToSet = NULL;
            *ctxInitializerToSet = &ContextInitializer;
            *ctxFinalizerToSet = &ContextFinalizer;
            NSLog(@"Exiting ExtInitializer()");
        void ANEFinalizer(void* extData)
            return;
    ActionScript3:
    public class MyANE extends EventDispatcher{
            private static var _instance:MyANE;
            private var extCtx:ExtensionContext;
            public function MyANE()
                if (!_instance)
                    if (this.isSupported)
                        extCtx = ExtensionContext.createExtensionContext("my.awesome.ane", null);
                        if (extCtx != null)
                            trace('context is okay'); //this trace works
                            extCtx.addEventListener(StatusEvent.STATUS, onStatus);
                        } else
                            trace('context is null.');
                _instance = this;
                else
                    throw Error('singleton');
        public static function getInstance():MyANE
                return _instance != null ? _instance : new MyANE();
        public function get isSupported():Boolean
                var value:Boolean = Capabilities.manufacturer.indexOf('Macintosh') > -1;
                trace(value ? 'supported' : 'not supported ');
                return value;
        private function onStatus(event:StatusEvent):void
                trace('Event', event, 'code', event.code, 'level', event.level); //this traсе does not works
         private function test(): void
              extCtx.call("someFunction"); //this throws error
    XML:
        <extension xmlns="http://ns.adobe.com/air/extension/3.9">
            <id>my.awesome.ane</id>
            <versionNumber>1.0.0</versionNumber>
            <platforms>
                <platform name="MacOS-x86">
                    <applicationDeployment>
                        <nativeLibrary>MyANE.framework</nativeLibrary>
                        <initializer>ANEInitializer</initializer>
                        <finalizer>ANEFinalizer</finalizer>
                    </applicationDeployment>
                </platform>
            </platforms>
        </extension>
    And this script Im using for build ANE:
        mv ../as3/bin/MyANE.swc .
        unzip MyANE.swc
        mv library.swf mac/
        rm catalog.xml
        rsync -a ../Obective-C/ANE/Build/Products/Debug/ANE.framework/ mac/ANE.framework/
        adt -package -target ane MyANE.ane extension.xml -swc MyANE.swc -platform MacOS-x86 -C mac .
        mv MyANE.ane ~/Work/_Projects/test/libs-ane/

    I haven't done Objective C in a long time, but if I'm not mistaken, it requires the semicolon to terminate a line of code. The line containing "func[1].function = &someFunction" does not have that termination and since that is the function you are trying to execute, maybe that is the source of the error.

  • How to forbid any further changes for PO (QTY and price ) after it has been

    Hi,
    How to forbid any further changes for PO (QTY and price ) after it has been done GR and LIV? Thanks.

    Hi,
    Price anyway cannot be changed once GR is posted on the PO item, it can be changed only by cancelling the GR, the same applies to IR too.
    But quantity can be changed at any time.
    So if you are looking at blocking qty too, then a customized message through save exit is the option, I am not aware of any standard SAP messages that can be configured to achieve this..
    Ramesh

Maybe you are looking for

  • Printing to Epson CX4200

    I just bought an new iMAC G5 with an Epson CX 4200. I plugged it in, the Mac recognized the printer and it prints great B&W. When I print in color however I get red and blue text in a seperate lines, almost mirrored on top of each other. Is it a prin

  • How to re-install Acrobat Pro 9.0 without it being read as a trial version

    Please respond to me at: <private info removed by admin>

  • Made a mask, cannot adjust anymore now?

    Sometimes I duplicate a layer. Then I run a filter on the dupe layer like unsharp mask. Then I put a black mask on right hand side and then brush back in the filter. Then after a lot of work I discover there is something I need to do on the image! Th

  • Zip the data and send through JDBC adapter.

    hi,    I need to retrive the data from database, zip it and send to xi. At the receiver and i need to unzip it. I know that it can be achieved using java mapping. Is there any other solution?

  • Photosmart 7150 - Prints left side of page only

    I have used my Photosmart 7150 for years. All of a sudden, prior to printing I get a "PAPER SIZE MISMATCH" message telling me to pull the photo slider out. The photo slider is all the way out. I press the "RESUME" button, and only the left side of th