How to use foreground dispatch system of android NFC with AIR native extension?

Hello,
I'm developping an AIR application which invokes NFC on android, via AIR native extension (ANE).
I would like to enable foreground dispatch system of NFC (see http://developer.android.com/guide/topics/nfc/advanced-nfc.html#foreground-dispatch), but unfortunately it has not been achieved so far.
[Problem]
For enabling foreground dispatch system of android NFC, we need to listen some android native events e.g.) Activity.onNewIntent(), Activity.onPause() and Activity.onResume(). But I have no idea how to dispatch them to ANE. Could anyone tell me how to get it?
I know there is an available ANE for android NFC as follows:
http://code.google.com/p/ane-lab/source/browse/#svn%2Ftrunk%2Fmobile%2Fandroid%2Fjava%2Fnf c1
But it is not fit for our use case, as it just uses "intent dispatch system" (another way to use android NFC).
Maybe AIR must be extended for this case, but any information is welcome.
Thanks.

Hello
My name is Sadao Tokuyama.(http://twitter.com/tokufxug)
Is the person who is to manage the sample code in experimental AIR
Native Extension.
If you want to achieve the de-patch system foreground NFC, it is
necessary to consider the following points.
1.Create FREFunction for initial processing. processing of onCreate.
2.can be obtained in onResume Event.ACTIVATE. After issuing
Event.ACTIVATE, call the FREFunction to run in onResume.
3.can be obtained in onPause Event.DEACTIVATE. After issuing
Event.DEACTIVATE, call the FREFunction to run in onPause.
4.onNewIntent can be obtained at InvokeEvent.INVOKE. After issuing
InvokeEvent.INVOKE, call the FREFunction to run onNewIntent.(Gets the
Intent of the scanned NFC. : FREContext.getActivity().getIntent())
I have committed the sample code. Your reference.
http://code.google.com/p/ane-lab/source/browse/#svn%2Ftrunk%2Fmobile%2Fandroid%2Fjava%2Fnf c-foreground-dispatch
Thanks.

Similar Messages

  • How to access android resource in java native extension....??

    hi..
    i want access android resource..
    for example, res/menu/menu.xml, res/values/strings.xml ... etc...
    - R.java -
    /* AUTO-GENERATED FILE.  DO NOT MODIFY.
    * This class was automatically generated by the
    * aapt tool from the resource data it found.  It
    * should not be modified by hand.
    package com.flash.extension.nativelib;
    public final class R {
        public static final class attr {
        public static final class drawable {
            public static final int icon=0x7f020000;
            public static final int notification_icon=0x7f020001;
        public static final class layout {
            public static final int main=0x7f030000;
        public static final class string {
            public static final int extension_app_name=0x7f040001;    -> "hi extension"
            public static final int extension_hello=0x7f040000;
    so i used getResourceId("string.extension_app_name");
    but it's not work.. throw NotFoundException error..
    so i used context.getString(R.string.extension_app_name);
    it's work, but return incorrect value.. -> return value is "0.0.0".. it's versionName in actionScript Client Project..
    why can't access android resource in native extension?
    how to get android resource in java natvie extension..??
    Is there anyone who has a sample source??
    help.. me.. please..

    Hello,
    I am facing the same issue with the native extension i am using follwing code to get the resource id
             Intent inte = new Intent(context.getActivity().getApplicationContext(),SecondActivity.class);
              inte.putExtra("layout",context.getResourceId("layout.secondactivity"));
              context.getActivity().startActivity(inte);
    i am getting this exception "android.content.res.Resources$NotFoundException:layout.secondactivity"
    I have included activity in the native manifest file as well as flex's manifest file for android.
    please help me with this or an example will be great thanks.

  • 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.

  • How can use my Wireless Location Appliance to work with RF ID's?

    How can use my Wireless Location Appliance to work with RF ID's for Asset Tagging.
    It seems Smartcard used for ID cards have a small RF ID, can I use this for Asset Tagging?
    Thanks in Advance

    There are two kinds of RFID tags: Active tags, which have a battery or other internal power source, and passive tags, which have no power source and work by reflecting the energy from an RFID scanner (basically). At the energy levels and distances used for WiFi location detection, passive tags will not return a detectable signal.
    Take a look at http://www.aeroscout.com/ for more info on WiFi RFID tagging.

  • How to use Crystal Reports XI release 2 Preview with Lotus Notes  Scripts ?

    <br />Hi all,<br /><br /> How to use Crystal Reports XI release 2 Preview with Lotus Notes 7 Scripts ?<br /><br /> <br /><br />Thank&#39;s  <br />

    Hi,
    we are using Lotus Notes and Crystal Reports for preview and printing reports from our Lotus Notes Applications. We use the RDC object model. For previewing the reports we export them in an pdf-file and then start the PDF Reader to show the Preview. This works fine.
    But with Crystal Reports > 11 the RDC Object Model is no longer supportet, so we look for another way to preview and print our reports.
    I try to preview a report build with crystal report XI release 2 in my thick client (Lotus Notes) using java reporting component JRC, this report uses an native xml file as datasource. If the datasource is saved with the report everything works fine, but otherwise I have the following error:
    JRCAgent1 detected an exception: javax.xml.namespace.QName: method getPrefix()Ljava/lang/String; not found
    I also tried the .jars from Crystal4Eclipse. Doesn't work. When I use Eclipse to view the report everything works fine. The class QName exitsts in the jaxrpc.jar and in the xbean.jar, but only in the xbean.jar a Methode getPrefix exists.
    This is what we tried:
    Works fine with RDC. Doesn't work with JRC until now.
    Did this help you ?
    Perhaps you con help me with the JRC, because I'm a java newbee so any ideas could be helpful.
    Oliver
    <p><a href="http://www.cominform.de">www.cominform.de</a></p>

  • How to use the special character pallet in Maverics with Illustrator

    How to use the special character pallet in Mavericks with Illustrator - I follow the help instructions, but the pasted in object looks like a rectangle with an X, I have done this before, in earlier versions of AI, but cannot make it work in CS6.
    In fact, I can open an old AI file (CS4), copy the character (a graphic symbol, also taken from the special character set), paste it in, and it works, but can't do this with a new one, from the drop down, Show Character Viewer, in the Mavericks menu bar.

    The box with an X indicates the font you are using does not have the glyph you are trying to paste. Try a different font.

  • How to use LABVIEW to collect wireless network camera (with video server) video.

    How to use LABVIEW to collect wireless network camera (with video server) video.I would like to use LABVIEW for a wireless network camera (IP Camera comes with the video server module)the client program.Will the ability to achieve?If feasible, how to do, there are examples, thank you.

    I believe NI Vision is what you are looking for. 

  • AIR Native Extension Application Crash on Android Emulator when Extension method is invoked

    I have developed a Hello World Application using AIR Native Extension on Android Emulator and When i try to run the application its crashes. I was able to run same application sometimes back on Android Emulator on Mac. Right now I am using a Windows machine (as i dont have Mac anymore). I tried running same apk file which was compiled and running on Android emulator on Mac but it failed. Also i tried to recompile entire application from same code base but still it is failing. As far as i know Mac or windows should not play a part but still mentioning it out in the discussion. Also i tried running the application on various Android SDK version but with same results.
    Following is logcat logs for Android 4.0.3.
    D/gralloc_goldfish(  497): Emulator without GPU emulation detected.
    I/ActivityManager(   84): Displayed air.com.deloitte.helloWorld/.AppEntry: +4s82
    6ms
    W/InputManagerService(   84): Starting input on non-focused client com.android.i
    nternal.view.IInputMethodClient$Stub$Proxy@413e17e0 (uid=10009 pid=179)
    W/ActivityManager(   84): Launch timeout has expired, giving up wake lock!
    W/ActivityManager(   84): Activity idle timeout for ActivityRecord{41534258 air.
    com.deloitte.helloWorld/.AppEntry}
    W/NetworkManagementSocketTagger(   84): setKernelCountSet(10009, 0) failed with
    errno -2
    E/dalvikvm(  497): JNI ERROR (app bug): attempt to use stale local reference 0x5
    d500031
    W/dalvikvm(  497): JNI WARNING: 0x5d500031 is not a valid JNI reference
    W/dalvikvm(  497):              in Lcom/adobe/air/customHandler;.nativeOnTouchCa
    llback:(IFFFIFFZ[FI)Z (CallObjectMethodV)
    I/dalvikvm(  497): "main" prio=5 tid=1 RUNNABLE
    I/dalvikvm(  497):   | group="main" sCount=0 dsCount=0 obj=0x409c1460 self=0x128
    10
    I/dalvikvm(  497):   | sysTid=497 nice=0 sched=0/0 cgrp=default handle=107408295
    2
    I/dalvikvm(  497):   | schedstat=( 12139801627 5119955457 1265 ) utm=1128 stm=85
    core=0
    I/dalvikvm(  497):   at com.adobe.air.customHandler.nativeOnTouchCallback(Native
    Method)
    I/dalvikvm(  497):   at com.adobe.air.customHandler.nativeOnTouchCallback(Native
    Method)
    I/dalvikvm(  497):   at com.adobe.air.customHandler.handleMessage(customHandler.
    java:23)
    I/dalvikvm(  497):   at android.os.Handler.dispatchMessage(Handler.java:99)
    I/dalvikvm(  497):   at android.os.Looper.loop(Looper.java:137)
    I/dalvikvm(  497):   at android.app.ActivityThread.main(ActivityThread.java:4424
    I/dalvikvm(  497):   at java.lang.reflect.Method.invokeNative(Native Method)
    I/dalvikvm(  497):   at java.lang.reflect.Method.invoke(Method.java:511)
    I/dalvikvm(  497):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.r
    un(ZygoteInit.java:784)
    I/dalvikvm(  497):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:
    551)
    I/dalvikvm(  497):   at dalvik.system.NativeStart.main(Native Method)
    I/dalvikvm(  497):
    E/dalvikvm(  497): VM aborting
    F/libc    (  497): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
    I/DEBUG   (   34): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
    I/DEBUG   (   34): Build fingerprint: 'generic/sdk/generic:4.0.3/MR1/237985:eng/
    test-keys'
    I/DEBUG   (   34): pid: 497, tid: 497  >>> air.com.deloitte.helloWorld <<<
    I/DEBUG   (   34): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00
    d
    I/DEBUG   (   34):  r0 00000000  r1 00097bd8  r2 00000000  r3 00000000
    I/DEBUG   (   34):  r4 deadd00d  r5 40872c58  r6 0000020c  r7 49622e39
    I/DEBUG   (   34):  r8 4084ee67  r9 4084e703  10 4084ee73  fp 4084f546
    I/DEBUG   (   34):  ip 00000000  sp bed6a248  lr 4080bc8f  pc 4080bc8e  cpsr 600
    00030
    I/DEBUG   (   34):  d0  3f8000003f800000  d1  4b00106845834000
    I/DEBUG   (   34):  d2  4b0010684b000000  d3  0000000045834000
    I/DEBUG   (   34):  d4  0000000000000000  d5  0000000000000000
    I/DEBUG   (   34):  d6  0000000000000000  d7  0000106800000000
    I/DEBUG   (   34):  d8  3f8000003f800000  d9  0000000000100000
    I/DEBUG   (   34):  d10 0000000000000000  d11 0000000000000000
    I/DEBUG   (   34):  d12 0000000000000000  d13 0000000000000000
    I/DEBUG   (   34):  d14 0000000000000000  d15 0000000000000000
    I/DEBUG   (   34):  scr 68000012
    I/DEBUG   (   34):
    I/DEBUG   (   34):          #00  pc 00050c8e  /system/lib/libdvm.so (dvmAbort)
    I/DEBUG   (   34):          #01  pc 0004486e  /system/lib/libdvm.so
    I/DEBUG   (   34):          #02  pc 000451b0  /system/lib/libdvm.so
    I/DEBUG   (   34):          #03  pc 0004c9a0  /system/lib/libdvm.so
    I/DEBUG   (   34):          #04  pc 000e0e4a  /data/data/com.adobe.air/lib/libCo
    re.so
    I/DEBUG   (   34):
    I/DEBUG   (   34): code around pc:
    I/DEBUG   (   34): 4080bc6c 34b4f8d3 ec54f7cd 26001e73 2f01f813  ...4..T.s..&...
    I/DEBUG   (   34): 4080bc7c 42abb152 d0074416 4798e7f8 f7ff4c0a  R..B.D.....G.L.
    I/DEBUG   (   34): 4080bc8c 7026ffa7 ec4af7cd 2006490c 44794a0c  ..&p..J..I. .Jy
    D
    I/DEBUG   (   34): 4080bc9c f7cd447a 2000eb00 ebc2f7cd 58e54b05  zD..... .....K.
    X
    I/DEBUG   (   34): 4080bcac 2b006c6b e7e9d1e9 deadd00d 0006234c  kl.+........L#.
    I/DEBUG   (   34):
    I/DEBUG   (   34): code around lr:
    I/DEBUG   (   34): 4080bc6c 34b4f8d3 ec54f7cd 26001e73 2f01f813  ...4..T.s..&...
    I/DEBUG   (   34): 4080bc7c 42abb152 d0074416 4798e7f8 f7ff4c0a  R..B.D.....G.L.
    I/DEBUG   (   34): 4080bc8c 7026ffa7 ec4af7cd 2006490c 44794a0c  ..&p..J..I. .Jy
    D
    I/DEBUG   (   34): 4080bc9c f7cd447a 2000eb00 ebc2f7cd 58e54b05  zD..... .....K.
    X
    I/DEBUG   (   34): 4080bcac 2b006c6b e7e9d1e9 deadd00d 0006234c  kl.+........L#.
    I/DEBUG   (   34):
    I/DEBUG   (   34): memory map around addr deadd00d:
    I/DEBUG   (   34): bed23000-bed71000 [stack]
    I/DEBUG   (   34): (no map for address)
    I/DEBUG   (   34): (no map above)
    I/DEBUG   (   34):
    I/DEBUG   (   34): stack:
    I/DEBUG   (   34):     bed6a208  00000000
    I/DEBUG   (   34):     bed6a20c  4001df19  /system/lib/libc.so
    I/DEBUG   (   34):     bed6a210  4004770c  /system/lib/libc.so
    I/DEBUG   (   34):     bed6a214  4004c85c
    I/DEBUG   (   34):     bed6a218  00000000
    I/DEBUG   (   34):     bed6a21c  4001f121  /system/lib/libc.so
    I/DEBUG   (   34):     bed6a220  4004755c  /system/lib/libc.so
    I/DEBUG   (   34):     bed6a224  00000000
    I/DEBUG   (   34):     bed6a228  0000020c
    I/DEBUG   (   34):     bed6a22c  49622e39  /data/data/com.adobe.air/lib/libCore.
    so
    I/DEBUG   (   34):     bed6a230  4084ee67  /system/lib/libdvm.so
    I/DEBUG   (   34):     bed6a234  4001df37  /system/lib/libc.so
    I/DEBUG   (   34):     bed6a238  4086df90  /system/lib/libdvm.so
    I/DEBUG   (   34):     bed6a23c  bed6a44b  [stack]
    I/DEBUG   (   34):     bed6a240  df0027ad
    I/DEBUG   (   34):     bed6a244  00000000
    I/DEBUG   (   34): #00 bed6a248  00000038
    I/DEBUG   (   34):     bed6a24c  6c756e28
    I/DEBUG   (   34):     bed6a250  0000296c
    I/DEBUG   (   34):     bed6a254  00000000
    I/DEBUG   (   34):     bed6a258  00000000
    I/DEBUG   (   34):     bed6a25c  00000000
    I/DEBUG   (   34):     bed6a260  00000000
    I/DEBUG   (   34):     bed6a264  00000000
    I/DEBUG   (   34):     bed6a268  00000000
    I/DEBUG   (   34):     bed6a26c  00000000
    I/DEBUG   (   34):     bed6a270  00000000
    I/DEBUG   (   34):     bed6a274  00000000
    I/DEBUG   (   34):     bed6a278  00000000
    I/DEBUG   (   34):     bed6a27c  00000000
    I/DEBUG   (   34):     bed6a280  00000000
    I/DEBUG   (   34):     bed6a284  00000000
    I/DEBUG   (   34):     bed6a288  00000000
    I/DEBUG   (   34):     bed6a28c  00000000
    I/DEBUG   (   34):     bed6a290  00000000
    I/DEBUG   (   34):     bed6a294  00000000
    I/DEBUG   (   34):     bed6a298  00000000
    I/DEBUG   (   34):     bed6a29c  00000000
    I/DEBUG   (   34):     bed6a2a0  00000000
    I/DEBUG   (   34):     bed6a2a4  00000000
    I/DEBUG   (   34):     bed6a2a8  00000000
    I/DEBUG   (   34):     bed6a2ac  00000000
    I/DEBUG   (   34):     bed6a2b0  00000000
    I/DEBUG   (   34):     bed6a2b4  00000000
    I/DEBUG   (   34):     bed6a2b8  00000000
    I/DEBUG   (   34):     bed6a2bc  00000000
    I/DEBUG   (   34):     bed6a2c0  00000000
    I/DEBUG   (   34):     bed6a2c4  00000000
    I/DEBUG   (   34):     bed6a2c8  00000000
    I/DEBUG   (   34):     bed6a2cc  00000000
    I/DEBUG   (   34):     bed6a2d0  00000000
    I/DEBUG   (   34):     bed6a2d4  00000000
    I/DEBUG   (   34):     bed6a2d8  00000000
    I/DEBUG   (   34):     bed6a2dc  00000000
    I/DEBUG   (   34):     bed6a2e0  00000000
    I/DEBUG   (   34):     bed6a2e4  00000000
    I/DEBUG   (   34):     bed6a2e8  00000000
    I/DEBUG   (   34):     bed6a2ec  00000000
    I/DEBUG   (   34):     bed6a2f0  00000000
    I/DEBUG   (   34):     bed6a2f4  00000000
    I/DEBUG   (   34):     bed6a2f8  00000000
    I/DEBUG   (   34):     bed6a2fc  00000000
    I/DEBUG   (   34):     bed6a300  00000000
    I/DEBUG   (   34):     bed6a304  00000000
    I/DEBUG   (   34):     bed6a308  00000000
    I/DEBUG   (   34):     bed6a30c  00000000
    I/DEBUG   (   34):     bed6a310  00000000
    I/DEBUG   (   34):     bed6a314  00000000
    I/DEBUG   (   34):     bed6a318  00000000
    I/DEBUG   (   34):     bed6a31c  00000000
    I/DEBUG   (   34):     bed6a320  00000000
    I/DEBUG   (   34):     bed6a324  00000000
    I/DEBUG   (   34):     bed6a328  00000000
    I/DEBUG   (   34):     bed6a32c  00000000
    I/DEBUG   (   34):     bed6a330  00000000
    I/DEBUG   (   34):     bed6a334  00000000
    I/DEBUG   (   34):     bed6a338  00000000
    I/DEBUG   (   34):     bed6a33c  00000000
    I/DEBUG   (   34):     bed6a340  00000000
    I/DEBUG   (   34):     bed6a344  00000000
    I/DEBUG   (   34):     bed6a348  00000000
    I/DEBUG   (   34):     bed6a34c  00000000
    I/DEBUG   (   34):     bed6a350  00000000
    I/DEBUG   (   34):     bed6a354  00000000
    I/DEBUG   (   34):     bed6a358  00000000
    I/DEBUG   (   34):     bed6a35c  00000000
    I/DEBUG   (   34):     bed6a360  00000000
    I/DEBUG   (   34):     bed6a364  00000000
    I/DEBUG   (   34):     bed6a368  00000000
    I/DEBUG   (   34):     bed6a36c  00000000
    I/DEBUG   (   34):     bed6a370  00000000
    I/DEBUG   (   34):     bed6a374  00000000
    I/DEBUG   (   34):     bed6a378  00000000
    I/DEBUG   (   34):     bed6a37c  00000000
    I/DEBUG   (   34):     bed6a380  00000000
    I/DEBUG   (   34):     bed6a384  00000000
    I/DEBUG   (   34):     bed6a388  00000000
    I/DEBUG   (   34):     bed6a38c  00000000
    I/DEBUG   (   34):     bed6a390  00000000
    I/DEBUG   (   34):     bed6a394  00000000
    I/DEBUG   (   34):     bed6a398  00000000
    I/DEBUG   (   34):     bed6a39c  00000000
    I/DEBUG   (   34):     bed6a3a0  00000000
    I/DEBUG   (   34):     bed6a3a4  00000000
    I/DEBUG   (   34):     bed6a3a8  00000000
    I/DEBUG   (   34):     bed6a3ac  00000000
    I/DEBUG   (   34):     bed6a3b0  00000000
    I/DEBUG   (   34):     bed6a3b4  00000000
    I/DEBUG   (   34):     bed6a3b8  00000000
    I/DEBUG   (   34):     bed6a3bc  00000000
    I/DEBUG   (   34):     bed6a3c0  00000000
    I/DEBUG   (   34):     bed6a3c4  00000000
    I/DEBUG   (   34):     bed6a3c8  00000000
    I/DEBUG   (   34):     bed6a3cc  00000000
    I/DEBUG   (   34):     bed6a3d0  00000000
    I/DEBUG   (   34):     bed6a3d4  00000000
    I/DEBUG   (   34):     bed6a3d8  00000000
    I/DEBUG   (   34):     bed6a3dc  00000000
    I/DEBUG   (   34):     bed6a3e0  00000000
    I/DEBUG   (   34):     bed6a3e4  00000000
    I/DEBUG   (   34):     bed6a3e8  00000000
    I/DEBUG   (   34):     bed6a3ec  00000000
    I/DEBUG   (   34):     bed6a3f0  00000000
    I/DEBUG   (   34):     bed6a3f4  00000000
    I/DEBUG   (   34):     bed6a3f8  00000000
    I/DEBUG   (   34):     bed6a3fc  00000000
    I/DEBUG   (   34):     bed6a400  00000000
    I/DEBUG   (   34):     bed6a404  00000000
    I/DEBUG   (   34):     bed6a408  00000000
    I/DEBUG   (   34):     bed6a40c  00000000
    I/DEBUG   (   34):     bed6a410  00000000
    I/DEBUG   (   34):     bed6a414  00000000
    I/DEBUG   (   34):     bed6a418  00000000
    I/DEBUG   (   34):     bed6a41c  00000000
    I/DEBUG   (   34):     bed6a420  00000000
    I/DEBUG   (   34):     bed6a424  00000000
    I/DEBUG   (   34):     bed6a428  00000000
    I/DEBUG   (   34):     bed6a42c  00000000
    I/DEBUG   (   34):     bed6a430  00000000
    I/DEBUG   (   34):     bed6a434  00000000
    I/DEBUG   (   34):     bed6a438  00000000
    I/DEBUG   (   34):     bed6a43c  00000000
    I/DEBUG   (   34):     bed6a440  00000000
    I/DEBUG   (   34):     bed6a444  00000000
    I/DEBUG   (   34):     bed6a448  00000000
    I/DEBUG   (   34):     bed6a44c  342b19f5
    I/DEBUG   (   34):     bed6a450  00000000
    I/DEBUG   (   34):     bed6a454  4086df90  /system/lib/libdvm.so
    I/DEBUG   (   34):     bed6a458  5d500031
    I/DEBUG   (   34):     bed6a45c  407ff873  /system/lib/libdvm.so
    I/DEBUG   (   34): #01 bed6a460  bed6a54c  [stack]
    I/DEBUG   (   34):     bed6a464  408001b5  /system/lib/libdvm.so
    D/Zygote  (   37): Process 497 terminated by signal (11)
    I/WindowManager(   84): WIN DEATH: Window{41462cb0 SurfaceView paused=false}
    I/ActivityManager(   84): Process air.com.deloitte.helloWorld (pid 497) has died
    W/ActivityManager(   84): Force removing ActivityRecord{41534258 air.com.deloitt
    e.helloWorld/.AppEntry}: app died, no saved state
    W/NetworkManagementSocketTagger(   84): setKernelCountSet(10041, 0) failed with
    errno -2
    I/WindowManager(   84): WIN DEATH: Window{41590db8 SurfaceView paused=false}
    I/WindowManager(   84): WIN DEATH: Window{4158b920 air.com.deloitte.helloWorld/a
    ir.com.deloitte.helloWorld.AppEntry paused=false}
    I/BootReceiver(   84): Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_
    TOMBSTONE)
    E/InputDispatcher(   84): Received spurious receive callback for unknown input c
    hannel.  fd=209, events=0x8
    D/dalvikvm(   84): GC_FOR_ALLOC freed 928K, 13% free 11284K/12871K, paused 84ms
    W/NetworkManagementSocketTagger(   84): setKernelCountSet(10009, 1) failed with
    errno -2
    D/dalvikvm(   84): GC_CONCURRENT freed 141K, 10% free 11601K/12871K, paused 6ms+
    14ms
    D/dalvikvm(   84): GC_FOR_ALLOC freed 177K, 11% free 11552K/12871K, paused 128ms
    D/dalvikvm(   84): GC_FOR_ALLOC freed 128K, 10% free 11616K/12871K, paused 84ms
    D/dalvikvm(   84): GC_FOR_ALLOC freed 427K, 12% free 11445K/12871K, paused 79ms
    W/InputManagerService(   84): Got RemoteException sending setActive(false) notif
    ication to pid 497 uid 10041
    D/dalvikvm(  136): GC_FOR_ALLOC freed 5544K, 37% free 9812K/15495K, paused 47ms
    D/dalvikvm(  179): GC_FOR_ALLOC freed 2416K, 21% free 17911K/22535K, paused 77ms
    D/dalvikvm(  179): GC_FOR_ALLOC freed 659K, 17% free 18828K/22535K, paused 100ms
    D/dalvikvm(  179): GC_CONCURRENT freed 941K, 12% free 19900K/22535K, paused 6ms+
    20ms
    D/dalvikvm(  179): GC_CONCURRENT freed 3259K, 18% free 18684K/22535K, paused 12m
    s+23ms

    I am not able to solve this yet. Is anybody else facing this this problem.

  • 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

  • AIR Native Extensions. How to loop FREObject properties?

    Hello.
    We're working on a new AIR Native Extension, the goal is to run javascript code inside AIR. However that's actually not directly related to the problem.
    The problem itself:
    - we need to pass some AS3-objects to the javascript runtime
    - javascript runtime (SpiderMonkey) has a different GC, different memory aligning and a lot of other things, that differs from AIR
    - the only suitable way for us is to iterate through AS3-Object properties and to create a mirror-object in SpiderMonkey
    - we do not have such an API in FlashRuntimeExtensions.h which would allow us to iterate Object properties
    So the question is - is there any way to iterate on AS3-Object properties in С/С++ side of a Native Extension?
    If there is not than the only possibility for us is to use JSON-strings which is actually far from optimal.
    Thanks in advance,
    Denis

    Thanks for your reply but they are for sale actually, not open sourced... for example: http://myappsnippet.com/gcm/ which supports custom notification icons and sounds...

  • How to use Web Dispatcher in XI

    XI receives some messages and passes them onto CRM for processing. The user ID that is used between XI & CRM communication of  “Service” user type.Due to this reason, this user has consumed the dialog processes available during the process.The error seems to indicate that the load was too heavy and that the system ran out of memory blocks reserved for XI to CRM communication.  There are 2 application servers for CRM, in addition to the central instance.We can use the web-dispatcher in XI (instead of a particular Application instance).
    Web dispatcher will then assign the message to the available application instance.
    The question is How do we Use Web Dispatcher in XI with respect to this scenario??
    Can anybody put light on this issue.

    Have a look here
    http://help.sap.com/saphelp_nw70/helpdata/en/43/39c7b227b91bcbe10000000a1553f7/frameset.htm
    Regards,
    Prateek

  • How to use "do shell script" when Terminal replies with a prompt?

    Hey all,
    I'm wondering how to properly use "do shell script" when Terminal replies with a question? In this example, I'm building a small tool in AppleScript that will auto-update the Android SDK via command line prompts. The problem is when I tell it to update all ("update sdk --no-ui"), I need to accept licence agreements before it continues, and the amount of licence agreements brought up is different every time.
    So, basically, I'm wondering how to handle a case where "do shell script" encounters a case where Terminal would normally need a user's response to?
    Thanks,
    Behn

    If it is variable number of prompts that is a problem.  Look around hd and figure out how many prompts there will be. Ask around android forum for a bash solution. There are some test case apps that will let you put conditionals on output from running programs.
    # traditional way.  Pipe output to command.
    do script "echo 'ok' | update sdk --no-u"
    Here is the preferred way of getting administrator privileges.
    It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on.  Here is an example.
        Author: rccharles
        For testing, run in the Script Editor.
          1) Click on the Event Log tab to see the output from the log statement
          2) Click on Run
        For running shell commands see:
        http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
    on run
        -- Write a message into the event log.
        log "  --- Starting on " & ((current date) as string) & " --- "
        --  debug lines
        set unixDesktopPath to POSIX path of "/System/Library/User Template/"
        log "unixDesktopPath = " & unixDesktopPath
        set quotedUnixDesktopPath to quoted form of unixDesktopPath
        log "quoted form is " & quotedUnixDesktopPath
        try
            set fromUnix to do shell script "sudo ls -l  " & quotedUnixDesktopPath with administrator privileges
            display dialog "ls -l of " & quotedUnixDesktopPath & return & fromUnix
        on error errMsg
            log "ls -l error..." & errMsg
        end try
    end run

  • How to use Microsoft Word's Find and Replace with HTML tags?

    Hello to all!
    I'm trying to figure out how to use the find and replace function in Word to replace html tags. I'd like to be able to change something like this:
    <span class="B01-K-ITAL">random text</span>
    To something like this:
    <em>random text</em>
    I want to replace the open and close tags without changing or interfering with the text between the tags. I'm pretty sure I should use wildcards, but I can't figure out how to use them properly.
    Anyone able to lend a hand?

    Here is my latest regular expression with Perl.   I think it matches the spirit of the request in the original post.
    Note, this isn't as easy as you think.  You need to code up the complete set of html rules in you implementation. You need to allow for a certain amount of mal-formed html.
    perl -0660pe 's^<[sS][pP][aA][nN]\s+class="B01-K-ITAL"\s*>(.*?)</[sS][pP][aA][nN]>^<em>$1</em>^gs' i.html >|o.html
    input text
     <html> <head>...</head> <body>I'd like to be able to change something like this: <span class="B01-K-ITAL">#1 one line</span> I want to replace the open and close tags without changing or interfering with the text between the tags. I'm pretty sure I should use wildcards, but I can't figure out how to use them properly. <p>note, this isn't as easy as you think.  You need to code up the complete set of html rules in you implementation. You need to allow for a certain amount of mal-formed html.</p> <span class="B01-K-ITAL">#2 don't be greedy</span> <span class="B01-K-ITAL">$3 multiline text</span> <span class="B01-K-ITAL">#4 multiline tag. I believe html allow a carriage return in white space of tags</span> <span class="B01-K-ITAL">#5 split after the class tag. optional white space</span> <sPan class="B01-K-ITAL">#6 mixed case tag</Span> <p>no text #7</p><span class="B01-K-ITAL"></span> <!-- Apparently, this is valid     http://www.positioniseverything.net/articles/cc-plus.html --> <!--[if IE]> <div id="IEroot"> <![endif]--> <p id="IE">This browser is IE.</p> <p id="notIE">This browser is not IE.</p><!--[if IE]> </div> <![endif]--></body> </html>
    output text
     <html> <head>...</head> <body>I'd like to be able to change something like this: <em>#1 one line</em> I want to replace the open and close tags without changing or interfering with the text between the tags. I'm pretty sure I should use wildcards, but I can't figure out how to use them properly. <p>note, this isn't as easy as you think.  You need to code up the complete set of html rules in you implementation. You need to allow for a certain amount of mal-formed html.</p> <em>#2 don't be greedy</em> <em>$3 multiline text</em> <em>#4 multiline tag. I believe html allow a carriage return in white space of tags</em> <em>#5 split after the class tag. optional white space</em> <em>#6 mixed case tag</em> <p>no text #7</p><em></em> <!-- Apparently, this is valid     http://www.positioniseverything.net/articles/cc-plus.html --> <!--[if IE]> <div id="IEroot"> <![endif]--> <p id="IE">This browser is IE.</p> <p id="notIE">This browser is not IE.</p><!--[if IE]> </div> <![endif]--></body> </html>

  • How to use same DFF for two different forms with :BLOCK.field reference

    Hi,
    Can anyone suggest how to use the same dff in two different forms by using :BLOCK.field reference.
    Scenario is the same DFF is referenced by two forms, viz. Form-1 & Form-2.
    Form-1 Reference Field is :BLOCK.field name, but the same block is not available in Form-2, which throws an error while opening it.
    Any pointers please.
    Thanks,

    In the environment I currently have access to do not have similar setup.
    Let say you setup the DFF1 default value to $HEADER.customer_name, the name of the DFF is CUSTOMER_NAME, description can be anything.
    In DFF2, default value should be a SQL, where you can reference the DFF1. For example, SELECT DECODE($FLEX.CUSTOMER_NAME, 'ABC', 1, 'DEF', 2, NULL) FROM dual
    In this case, you can reference the DFF1.

  • How to use an external hard drive on a MacBook Air?

    Hi there.
    Recently I bought a portable USB external hard drive for my MacBook Air due to my full startup disk. I also bought multiple disks for the hard drive. I inserted the disk, hooked up the USB, and did everything properly. When I first hooked it up, I lost all internet files that I had saved. All images, videos and downloads (such as Minecraft and other gaming downloads) from the internet were gone and unable to find.
    Now, I don't want to make the wrong move and lose all of my internet files again, so I am asking how to transfer files SAFELY to the USB without any files being deleted. I tranfered files before, but they were just short cuts to the original file, so I am also asking how to fix that as well. My Dad was a computer technician, although he didn't work for Apple, so he doesn't know how to use the USB.
    I've tried everything to find my internet files, but nothing. If there is a way to get them back, I'd be glad if you shared that with me. My dock files aren't working due to this insanely full startup disk, so I'd appreciate it if you could tell me ASAP how to use the USB, how to SAFELY transfer files without them turning into shortcuts, and how to get my internet files back.
    Thank you very much.
    P.s My OS X version is 10.8.3 (Not with Mountain Lion)

    You cannot format a drive so that files will be automatically put on that drive when you run out of room on another drive. Transferring the files must be done specifically by you. You will need to learn how to manage free space on the SSD because 64 GBs is a bit small for much more than OS X.
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

Maybe you are looking for

  • Basic functions and functionality missing from Safari 4.0

    Just trying to move to Safari from Firefox. The Develop tools cinched the move (hidden by default! Huh?). After all the years, I cannot believe Apple still haven't fixed some basic requirements of a web browser. 1. Cannot find anything similar to Liv

  • CL_GUI_HTML_VIEWER in a customcontainer on a popup - not changable

    Hello, I have a little function that eventually call a small modal screen that containes very few valuea, an input field and a custom control.That custom control is linked to CL_GUI_HTML_VIEWER. It should just display a few lines of self created HTML

  • Installation of BI-BPS Business Content

    Hi All,       I have installed business content for BPS Business Content Cubes :       Average Prices for Sales and Profit Planning : 0SEM_C10    while installing the content i have made sure that "before and after data flow" option was used.      In

  • SOA Applicaiton is not configured in the container

    I'm running the SOAHelloApp from the JDevStudio11 installation guide. The SAO Compiler indicates "Build Successful". I then go back and execute the Deploy Method A - Run (select composite.xml and select the run button) and I get a message: Cannot run

  • Eclipse Visual Editor - no "Visual Class"

    I have installed the recent eclipse and eclipse-ve packages. Eclipse says that the Visual Editor is installed. It says the "Visual Editor" is of version 1.4.0 and that the "Visual Editor Property Sheet" is of version 1.5.0. As far as I understand, I