On Thu, Dec 8, 2011 at 4:23 PM, Nick Pelly <npe...@google.com> wrote: > I haven't seen that one before.
So any suggestions ? To overcome this P2pLinkManager init ? Wanted to check out beam with our platform ... for the p2p stuff. card reading seems alright .. although I'm missing a good apk to write and read tags, since it is a development platform, don't have access to market. > > Nick > > > On Thu, Dec 8, 2011 at 2:01 PM, Pavan Savoy <pavan.sa...@gmail.com> wrote: >> >> Hi, >> >> I am having problems enabling the NfcService when the P2pLinkManager >> is involved. >> I get the following logs when this is enabled, But if I comment out >> the P2pLinkManager init and all its enable/disable routines from the >> NfcService - NFC seems alright and works fine. >> >> The last call in here related to Nfc is E/AndroidRuntime( 328): >> at com.android.nfc.SendUi.<init>(SendUi.java:134) >> & then comes the error failing to inflate widget image ... blah blah .... >> >> Any suggestions ? >> >> ateException: Binary XML file line #25: Error inflating class >> android.widget.[ 34.646331] (stc): all chnl_ids unregistered >> ImageViewE/AndroidRuntime( 328): at >> >> android.app.ActivityThread.handleBindApplication(ActivityThread.java:3928)E/AndroidRuntime( >> 328): at android.app.ActivityThread.access$1300(Activity[ >> 34.667083] (stk) :ldisc_install = 0Thread.java:122)E/AndroidRuntime( >> 328): at >> >> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1184)E/AndroidRuntime( >> 328): at >> android.os.Handler.dispatchMessage(Handler.java:99)E/AndroidRuntime( >> 328): at android.os.Looper.loop(Loope[ 34.692199] (stc): >> st_tty_close r.java:137)E/AndroidRuntime( 328): at >> android.app.ActivityThread.main(ActivityThread.java:4340)E/AndroidRuntime( >> 328): at java.lang.reflect.Method.invokeNative(Native >> Method)E/AndroidRuntime( 328): at >> java.lang.reflect.Method.invoke(Method.java:511)E/AndroidRuntime( >> 328): at >> >> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)E/AndroidRuntime( >> 328): at >> >> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)E/AndroidRuntime( >> 328): at dalvik.system.NativeStart.main(Native >> Method)E/AndroidRuntime( 328): Caused by: >> android.view.InflateException: Binary XML file line #25: Error >> inflating class android.widget.ImageViewE/AndroidRuntime( 328): >> at >> android.view.LayoutInflater.createView(LayoutInflater.java:606)E/AndroidRuntime( >> 328): at >> >> com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)E/AndroidRuntime( >> 328): at >> >> android.view.LayoutInflater.onCreateView(LayoutInflater.java:653)E/AndroidRuntime( >> 328): at >> >> android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:678)E/AndroidRuntime( >> 328): at >> >> android.view.LayoutInflater.rInflate(LayoutInflater.java:739)E/AndroidRuntime( >> 328): at >> >> android.view.LayoutInflater.inflate(LayoutInflater.java:489)E/AndroidRuntime( >> 328): at >> >> android.view.LayoutInflater.inflate(LayoutInflater.java:396)E/AndroidRuntime( >> 328): at >> >> android.view.LayoutInflater.inflate(LayoutInflater.java:352)E/AndroidRuntime( >> 328): at >> com.android.nfc.SendUi.<init>(SendUi.java:134)E/AndroidRuntime( 328): >> at >> com.android.nfc.P2pEventManager.<init>(P2pEventManager.java:65)E/AndroidRuntime( >> 328): at >> >> com.android.nfc.P2pLinkManager.<init>(P2pLinkManager.java:150)E/AndroidRuntime( >> 328): at >> com.android.nfc.NfcService.onCreate(NfcService.java:297) >> -- >> --Pavan Savoy > > -- --Pavan Savoy -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting