The other day I ran into this:
http://code.google.com/intl/es-ES/apis/analytics/docs/tracking/mobileAppsTracking.html
You might want to check it: it basically is google analytics, but for mobile apps. It works for iPhone and Android so far.
A fast, easy to use, free, and community supported 2D game engine
The other day I ran into this:
http://code.google.com/intl/es-ES/apis/analytics/docs/tracking/mobileAppsTracking.html
You might want to check it: it basically is google analytics, but for mobile apps. It works for iPhone and Android so far.
Nice find! Dont forget to follow the tip in there about informing users of the tracking, as Apple will reject any app that doesnt warn about it.
"Apple will reject any app that doesnt warn about it"
Im not sure thats true - it seems like analytics packages get away with phoning home silently. Lots of people seem to use things like Pinch Media w/o telling the user in advance.
yeah, like @codemattic says, apple says you have to inform the user, however, I don't think apple checks that you're not calling home without telling the user.
hey rolando... quick aside.... You mentioned some time ago that you were using XPathQuery:
http://cocoawithlove.com/2008/10/using-libxml2-for-parsing-and-xpath.html
to do your xml parsing now, and liked it.... Are you using it directly, or are you using the "hpple" wrapper:
http://github.com/topfunky/hpple
And one more thing... If you've done an XPath query, gotten a result, do you know how to iterate over the children of a node?
e.g. Just say I have an xml structure like so:
<objects>
<group type="platforms">
<item file="platform1.png"></item>
</group>
<group type="doors">
<item file="door1.png"></item>
</group>
</objects>
If you needed to create items and store them in their groups, how would you do this using xpath query, for each group? From my understanding, I can see how you'd do a query to get the groups, and a query to get the items, but how would you know which items belonged to which group? I'm not looking for any code, just a "how to", or "how you're doing it"... Thanks....
@bradparks this get us somewhat out of this topic, but I'll quickly reply this (if you need to go further on this, please open a new thread)
First, with a XPath query, you can search for some node in the xml tree. After that, you would normally perform another query on that subtree (not possible with XPathQuery.m, since it returns a NSArray) or just iterate over the children, or get some property. In the case of wanting to iterate over the childre, this would be specific to what library you're using, if you're using XPathQuery.m (from the link I provided), the array returned should contain all the nodes that match your query. Each node is a NSDictionary that has some special keys (which in turn are more NSArrays or NSDictionaries). The key you're looking for is nodeChildArray. I'm not saying anything new here, and you should really look at the code provided by Matt Gallagher in his page (the link I provided).
Now, for your specific example, you would perform different queries for all the groups or just the items in each group, for instance:
//group[type=platforms]/item
should return all items that have as a parent a node with type attribute equal to "platforms".
hth
PS: remember if you need further explanation, please open a new thread.
You must log in to post.