12-20-2012 04:33 AM
I am trying the demo applicationn of blackberry analytic , but report is not updating in my account
. please help
Solved! Go to Solution.
12-20-2012 08:03 AM
If you just started using Analytics you will need to either wait a day to see stats or set a custom date range that includes today to see current stats.
12-20-2012 08:18 AM
I have set custom date also but still It is not updating ![]()
12-20-2012 08:20 AM
Have you set the value in the sample to the value needed for your account?
12-20-2012 08:23 AM
package mypackage;
import com.webtrends.mobile.analytics.rim.WebtrendsConfig
import com.webtrends.mobile.analytics.rim.WebtrendsConfig
import com.webtrends.mobile.analytics.rim.WebtrendsDataCo
import com.webtrends.mobile.rim.WebtrendsUiApplication;
public class MyApp extends WebtrendsUiApplication {
public static void main(String[] args) {
MyApp theApp = new MyApp();
theApp.enterEventDispatcher();
}
public MyApp() {
WebtrendsConfigurator.LoadConfigFile(new AnalyticsConfig());
WebtrendsDataCollector wtDC = WebtrendsDataCollector.getInstance();
wtDC.Initialize();
pushScreen(new MyScreen());
}
private class AnalyticsConfig extends WebtrendsConfig {
public String wt_dc_app_name() {
return "sample";
}
public String wt_dc_app_version() {
return "1.0.1";
}
public String wt_dc_dcsid() {
return "dcswcrmlj9dv0hgctfq9y6lw8_3w4g"; // Analytics Demo
}
public String wt_dc_debug() {
return "true";
}
public String wt_dc_timezone() {
return "+5:30";
}
public String wt_dc_url() {
return "http://dc.webtrends.com/v1";
}
public String wt_dc_app_category() {
return "Utilities";
}
public String wt_dc_request_permission() {
return "true";
}
public String wt_dc_app_publisher() {
return "cdn123";
}
}
}
package mypackage;
import com.webtrends.mobile.analytics.IllegalWebtrendsPar
import com.webtrends.mobile.analytics.rim.WebtrendsDataCo
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.FieldChangeListener;
import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.container.MainScreen;
public final class MyScreen extends MainScreen implements FieldChangeListener{
ButtonField b;
public MyScreen() {
b=new ButtonField();
b.setChangeListener(this);
add(b);
}
public boolean onClose() {
try {
WebtrendsDataCollector.getInstance().onApplicatio
} catch (IllegalWebtrendsParameterValueException err) {
WebtrendsDataCollector.getLog().e(err.getMessage(
}
System.exit(0);
return true;
}
public void fieldChanged(Field field, int context) {
if(field==b){
try {
WebtrendsDataCollector.getInstance().onAdClickEve
} catch (IllegalWebtrendsParameterValueException e1) {
System.out.println(e1.toString());
e1.printStackTrace();
}
}
}
}
I made a space with name "sample" in my account
12-20-2012 08:32 AM
Can you PM me your account details (company name)? I can look into it more from the admin side.
12-20-2012 08:33 AM
sir thanks for replying . sir what are the necessary value for showing report in my account
12-20-2012 08:51 AM
sir , I have sent my details
12-20-2012 09:09 AM
Everything looks good in your dashboard. Does your device have a BIS data plan active?
12-20-2012 09:10 AM
Sir I tested it on simulator