Bug 5946 - Add file templates for new Android Service and IntentService
Summary: Add file templates for new Android Service and IntentService
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: 6.0.0 (C7)
Hardware: All All
: Low enhancement
Target Milestone: (C9)
Assignee: Greg Munn
Depends on:
Reported: 2012-07-02 11:32 UTC by Mike Bluestein
Modified: 2016-10-20 01:38 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Mike Bluestein 2012-07-02 11:32:46 UTC
It would be good to have file templates for creating a new Android Service and/or a new Android IntentService in MonoDevelop and Visual Studio, pre-decorated with the ServiceAttribute and with a stub implementation of the various lifecycle methods.
Comment 1 Mikayla Hutchinson [MSFT] 2012-07-02 11:35:45 UTC
We need a sample to convert to templates, bouncing over for now.
Comment 2 Peter Collins 2016-06-21 17:24:05 UTC
Either of the ServiceSamples[0] could be used as a reference for this, and there are plenty of other examples in monodroid-samples.

Comment 3 xamarin-release-manager 2016-07-19 05:48:03 UTC
Fixed in version (master)

Author: Greg Munn
Commit: 7834fc4bb385e322ff9aa8e3ce5d6ceda7a2160a (xamarin/md-addins)
Included in Commit: afbda43f0cf1aff2039fa124b4ac5c27cafcc4cc (mono/monodevelop)
Comment 8 Shruti 2016-07-22 12:03:37 UTC
As per comment (4) and (5), I am closing this issue as I can see android template 'Broadcast Receiver' template in Add > New  File Dialog

XS Version 6.2 (build 211)
Comment 9 Brendan Zagaeski (Xamarin Team, assistant) 2016-10-20 01:37:43 UTC
I am updating the target milestone to Cycle 9 for bookkeeping accuracy.  The enhancement was added to the master branch as per Comment 3.  Cycle 9 will be the next release based on that branch.

I also confirmed that this enhancement has not been cherry-picked to the Cycle 8 branch.