matomo-org / matomo-sdk-android

SDK for Android to measure your apps with Matomo. Works on Android phones, tablets, Fire TV sticks, and more!
BSD 3-Clause "New" or "Revised" License
388 stars 162 forks source link

Cannot test it on a LocalHost #88

Closed Shah-Sahab closed 8 years ago

Shah-Sahab commented 8 years ago

Hi,

I am trying to test the sample application. Running wamp as a server on my system and using it as a local host. Already have installed piwik on wamp. Created a website: http://demo.piwik.com And used it in my application class as: mPiwikTracker = getPiwik().newTracker("http://demo.piwik.com", 1);

Once application runs, I tap on different buttons in the demo app but the demo app doesnt record any clicks on against the local host.

d4rken commented 8 years ago

Check the configuration, by default the example app is in dryrun mode: https://github.com/piwik/piwik-sdk-android/blob/master/exampleapp/src/main/java/com/piwik/demo/DemoApp.java#L37