Skip to content
This repository has been archived by the owner on Nov 24, 2019. It is now read-only.

PR:: adding of parameter 'itemId' to 'addAlarmService' #62

Open
AppWerft opened this issue Jun 4, 2015 · 0 comments
Open

PR:: adding of parameter 'itemId' to 'addAlarmService' #62

AppWerft opened this issue Jun 4, 2015 · 0 comments

Comments

@AppWerft
Copy link

AppWerft commented Jun 4, 2015

Hi Ben,
I have cloned you last version and modified. Now it is possible:

am.addAlarmService({
     service : 'de.appwerft.eppendorf.LabortimerService',
     second : alarm.duration,
     forceRestart : true,
     itemId : '' + alarm.id
 });

and in
service.js:

var intent = Ti.Android.currentService.getIntent();
var itemId = intent.getStringExtra('itemId');

I don't know how I can pull. How can I do?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant