What project need to be created in android studio to get a widget on the output?

    2 answers 2

    In the current stable studio (1.3.2) there is no project for the widget. Select an empty project without activation and correct it as indicated in the documentation.
    http://developer.android.com/guide/topics/appwidgets/index.html
    You can take as an example any example with a widget from sdk.

      Normal project, only there are nuances. Activity You do not need, so do not forget to uncheck Create Activity in the wizard to create a new project. Example of creation, see the link below.

      http://startandroid.ru/en/uroki/vse-uroki-spiskom/195-urok-117-vidzhety-sozdanie-lifecycle everything is written in detail how to create