{
"id": "126917",
"key": "AC-1498",
"fields": {
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
},
"project": {
"id": "12217",
"key": "AC",
"name": "Appcelerator - INBOX",
"projectCategory": {
"id": "10000",
"description": "",
"name": "Customer Service"
}
},
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2014-03-10T05:40:49.000+0000",
"created": "2014-02-27T17:03:11.000+0000",
"labels": [
"android",
"ios"
],
"versions": [],
"issuelinks": [],
"assignee": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updated": "2016-03-08T07:37:57.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": "14548",
"name": "Titanium SDK & CLI",
"description": "Please enter tickets related to the MobileSDK here."
}
],
"description": "I'm programing an app in Titanium to Android and iOS. I have five app distinct but all use the same database. \r\nI need open an app from other app, similar at main menu, but I can't open the app. I can open tools tablet basic by example: email, bluetooth. But I can't open my app.\r\nThe next code, it is called with an {noformat}addEventListener{noformat} in a buttom:\r\n{code:title=<-----app.js ----->|borderStyle=solid}\r\nvar intent = Ti.Android.createIntent({\r\n\t\t\t\taction : Ti.Android.ACTION_MAIN\r\n\t\t\t});\r\n\tTi.Android.currentActivity.startActivity(intent);\r\n\t\t\t {code} \r\n\r\nIn my tiapp.xml or AndroidManifest I have:\r\n{code:title=<-----tiapp.xml----->|borderStyle=solid}\r\n\t\r\n\t\t\t\r\n\r\n\t\t\t\t\r\n\t\t\t\t\r\n\r\n\t\t\t\r\n\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n{code} \r\n\r\nHow call I my app in other app made by me? What changes I need do to work correctly?\r\nThe same app should work in android and iOS.\r\n\r\nPlease I need help!\r\n\r\n \r\n",
"attachment": [],
"flagged": false,
"summary": "Open an app titanium from other app titanium",
"creator": {
"name": "mabs86`",
"key": "mabs86`",
"displayName": "Marian Bresol",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "mabs86`",
"key": "mabs86`",
"displayName": "Marian Bresol",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": "Titanium Appcelerator Studio, build: 3.1.2.2.\r\nPlattaform: Windows7\r\nTSdk: 3.1.3.GA\r\nAndroid\r\n\r\n",
"comment": {
"comments": [
{
"id": "294971",
"author": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "This question is more suited for the Q&A forum. I would suggest you to post your question there. Here is the Q&A link\n\nhttp://developer.appcelerator.com/questions/most-recent\n\nI found a similar topic of discussion there that might answer your question:\n\nhttps://developer.appcelerator.com/question/122245/can-i-call-anohter-appliction-or-app-in-titanium-app",
"updateAuthor": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-02-27T19:07:15.000+0000",
"updated": "2014-02-27T19:07:15.000+0000"
},
{
"id": "295068",
"author": {
"name": "mabs86`",
"key": "mabs86`",
"displayName": "Marian Bresol",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "I was checking your recomendations but my problem it is different. Because I don't need open a app like what'sApp, I need open a app made for me. But I don't know how call my app into other app titanium.\r\nIn one recomedation is writing that I can do this {noformat}Ti.Platform.openURL('whatsapp://');{noformat} but the event does not nothing.",
"updateAuthor": {
"name": "mabs86`",
"key": "mabs86`",
"displayName": "Marian Bresol",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-02-28T15:30:08.000+0000",
"updated": "2014-02-28T15:32:24.000+0000"
},
{
"id": "295197",
"author": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Here are a couple of resources that would help you to get started on this topic:\n\nhttp://fokkezb.nl/2013/08/26/url-schemes-for-ios-and-android-1/\nhttps://speakerdeck.com/jasonkneen/titanium-and-url-schemes\n\nLet us know if you have any follow up question.",
"updateAuthor": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-03-03T01:48:28.000+0000",
"updated": "2014-03-03T01:48:28.000+0000"
},
{
"id": "296130",
"author": {
"name": "mabs86`",
"key": "mabs86`",
"displayName": "Marian Bresol",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "I RESOLVED the problem. The solution was: \r\nIt is a event in a button like this:\r\n{code:title=<----------- app.js ----------->|borderStyle=solid}\r\nbuttonOpenApp.addEventListener('click', function() {\r\n\t\tif (isAndroid) {\r\n\r\n\t\t\tvar intent = Ti.Android.createIntent({\r\n\t\t\t\tpackageName : (\"com.package.MyApp\"),//This is the complete package the app.\r\n\t\t\t\tclassName : (\"com.package.MyApp.MyAppActivity\")//This is the name the activity, you need put the complete package.\r\n\t\t\t});\r\n\t\t\tvar activity = Ti.Android.currentActivity.startActivity(intent);\r\n\t\t} \r\n\t});\r\n{code} \r\nI needed change the AndroidManifest in other directory for that the app see the changes the file. My AndroidManifest is equal that this: \r\n\r\n{code:xml} \r\n\r\n\t\r\n\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n \r\n{code} \r\n\r\nI hope this can help you.",
"updateAuthor": {
"name": "mabs86`",
"key": "mabs86`",
"displayName": "Marian Bresol",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-03-07T16:39:13.000+0000",
"updated": "2014-03-07T16:44:52.000+0000"
},
{
"id": "296258",
"author": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "I am glad that you are able to open an application from another application now.",
"updateAuthor": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-03-10T05:40:49.000+0000",
"updated": "2014-03-10T05:40:49.000+0000"
}
],
"maxResults": 5,
"total": 5,
"startAt": 0
}
}
}