Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23932] Hyperloop Android: App crashes while trying to create Intent using Hyperloop

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2016-10-09T14:03:08.000+0000
Affected Version/sRelease 5.4.0
Fix Version/sRelease 6.0.0, Hyperloop 2.0.0
ComponentsAndroid, Hyperloop
Labelsandroid, hyperloop, intent
Reporter Ricardo Ramirez
AssigneeChee Kiat Ng
Created2016-09-21T00:24:46.000+0000
Updated2016-10-25T22:58:19.000+0000

Description

Issue Description

App is closing after try to call the intent

Steps to Reproduce

Create a new alloy project with hyperloop and test services enabled

Import the content from this sample project

https://drive.google.com/file/d/0BwTWo-c2a0b9NjJfZDI0eWhHelU/view?usp=sharing

Run

Here is a sample of the intent call:
		var context = Ti.Android.currentActivity,
		    Activity = require('android.app.Activity'),
		    Intent = require('android.content.Intent');

		var myIntent = new Intent(context, RegistrationIntentService.class);

		var activity = new Activity(Ti.Android.currentActivity);
		activity.startService(myIntent);

Comments

  1. Chee Kiat Ng 2016-09-21

    [~rramirez] can you include more information. Like the crash log if any. And verify if your SDK in environment is correct. it's says 4.4.0. And more environment info please. crash on device or emulator?
  2. Hans Knöchel 2016-09-21

    I guess it's a duplicate of the general problem with opening intents. [~msamah], what was the ticket number again?
  3. Ricardo Ramirez 2016-09-21

    There is any crash log, the app only stop working and get closed
  4. Ashraf Abu 2016-09-22

    Intents at TIMOB-20490 [~hansknoechel]
  5. Hans Knöchel 2016-10-09

    This is a duplicate of TIMOB-23953 and will be fixed with Hyperloop 2.0.0 and Titanium 6.
  6. Lokesh Choudhary 2016-10-25

    Closing as duplicate.

JSON Source