{ "id": "63200", "key": "TIMOB-2568", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11234", "name": "Release 1.6.0 M01", "archived": true, "released": true, "releaseDate": "2010-12-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:28.000+0000", "created": "2011-04-15T03:23:02.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "defect", "release-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:59:28.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

You define an Android Service in tiapp.xml with a block such as\nthis:

\n
\n<android xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <services>\n        <service url=\"myservice.js\" type=\"interval\"/>\n    </services>\n</android>\n
\n

When build the app, the type attribute above is\naccidentally making it into the generated AndroidManifest.xml as\nservice_type. It's confusing and ugly but doesn't\nactually hurt anything. It looks like this:

\n
\n<service \n    android:name=\"com.billdawson.myservice.MyserviceService\"\n    service_type=\"interval\"\n/>\n
\n

So that service_type attribute should\nnot be there.

{html}", "attachment": [], "flagged": false, "summary": "Android: Service \"type\" attribute in tiapp.xml accidentally making it into AndroidManifest.xml", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "128800", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

To test this, just make sure that service_type is\nnot in build/android/AndroidManifest.xml when you launch the app\n(after installing the fixed SDK).

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:23:02.000+0000", "updated": "2011-04-15T03:23:02.000+0000" }, { "id": "128801", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

using [INFO] Titanium SDK version: 1.6.0 (01/04/11\n08:01 e49700d) I see only:

\n

<service
\nandroid:name=\"com.appcelerator.simpleStub.MyserviceService\"
\n/>

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:23:03.000+0000", "updated": "2011-04-15T03:23:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }