I am evaluating panic and integrating it into a testing project
Activity:
Public-class testing expands fly activity activity {/ ** is called when activity first created * / @Override Public Zero onCreate (bundled savedInstanceState) {super.onCreate ( SavedInstanceState); SetContentView (R.layout.main); Button Button = (Button) Find VVBIID (R.B. button 1); Button .setOnClickListener (see new OnClickListener) {@Override public void onClick (see v) {hashtable & lt; string, string & gt; map = new hashtable & lt; string, string & gt; (); Int i = 0; i & lt; 20; i ++) {map.put ("map" + I, "mapped" + i);} log D. ("nervousness", "incident 2") ; Fluorigent.language ("button pressed", map);}}); } Start at Public Zero () {super.start (); Log D. ("Fly", "Initial 1"); FlurryAgent.onstart session (this, "FlurryKey"); Log D. ("Fly", "User Setting"); FlurryAgent.setUserId ("user1"); Log D. ("Nervousness", "Event 1"); FlurryAgent.logEvent ("EVENT1"); } Ontop at public zero () {super.onStop (); FlurryAgent.onEndSession (this); }} Manifest:
& lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Manifest xmlns: Android = "http://schemas.android.com/apk/res/android" package = "com.test.flurry" Android: versionCode = "1" Android: versionName = "1.0" & gt; & Lt; Use-sdk android: minSdkVersion = "7" /> & Lt; Usage-permission Android: name = "android.permission.INTERNET" /> & Lt; Usage-permission Android: name = "android.permission.ACCESS_FINE_LOCATION" /> & Lt; Apps Android: Icon = "@ Draubable / IC_Luncher" Android: label = "@ string / app_name" & gt; & Lt; Activity Android: name = "TestFlurryActivity" android: label = "@ string / app_name" & gt; & Lt; Intent-Filter & gt; & Lt; Action Android: name = "android.intent.action.MAIN" /> & Lt; Category android: name = "android.intent.category.LAUNCHER" /> & Lt; / Intent-Filter & gt; & Lt; / Activity & gt; & Lt; / Application & gt; & Lt; / Reveal & gt; When I run this sample on my device it looks like the nervousness is not working. Except for my logs ("nervousness" tag) no log in is logged.
I doubled the flood key and even did not try the string "XXX" and nothing else.
What am I doing wrong?
You can forget to end your session I believe that to post the data the wanted.
Comments
Post a Comment