Android - tiapp.xml analytics: false -> database install on device fails
hello everybody!
i just noticed (after spending some hours to find it), the following bug:
if i set the analytics-property in my tiapp.xml to "false" and run my app on my android device, the installation of my database fails.
if i reset this analytics property to "true" the installation works.
This issue only occurs on my Android Device (T-Mobile G2 Touch aka HTC Hero), the emulator works fine.
strange…
ps: using Ti SDK 1.4.1.1 and 1.4.2
5 Answers
-
Robert
I have it on good authority from the core dev team for android that you should be able to have analytics disabled and install to the device.
I can't find anything obvious relating to this type of issue for android in Lighthouse.
Hence, if (and I emphasise the "if") you can replicate this issue using a new project, unmodified apart from tiapp.xml and installing a database, then it would be good grounds to raise a new ticket in Lighthouse.
Once you've done it, please would you post the number here so that others can find it in future?
Cheers
-
Robert
As Hamilton hasn't provided the usecase code or raised a ticket, it would be really good if you woudld do this so that it can be resolved, to save others from the problem in future.
Cheers
-
hi hal,
i tried to reproduce this issue within a new titanium mobile project with reduced code,
but in the new project everything is working with the database installation.
so i'm sorry that i can't provide you any details or code :(robert
-
I am having the same problem. I cannot supply you with the code and database here since it is proprietary, but the code is very similar to the above. The database is about 8.2MB, and whenever I set the analytics flag in tiapp.xml to false the database is NOT installed on the device. It works in the emulator though.
The problem is in Android 2.2. I am using Titanium SDK 1.5.1.
This is a major problem since my customer will not accept analytics to be tracked. If the flag is set to true, will anything be sent to any analytics server? Will anything be sent on the network at all?
I love the framework, though. Keep up the good work.
-
I am having the same problem. I cannot supply you with the code and database here since it is proprietary, but the code is very similar to the above. The database is about 8.2MB, and whenever I set the analytics flag in tiapp.xml to false the database is NOT installed on the device. It works in the emulator though.
The problem is in Android 2.2. I am using Titanium SDK 1.5.1.
This is a major problem since my customer will not accept analytics to be tracked. If the flag is set to true, will anything be sent to any analytics server? Will anything be sent on the network at all?
I love the framework, though. Keep up the good work.