# Publishing Fairphone-specific apps (Launcher, Contact Widget...) on F-Droid

**URL:** <https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008>\
**Category:** Development\
**Tags:** features, wearefairphone, f-droid\
**Created:** [April 27, 2017, 3:45am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008 "2017-04-27T03:45:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jnsp](https://forum.fairphone.com/letter_avatar/jnsp/32/6_449c533f586939b6e5f246632a46421f.png) [@jnsp](https://forum.fairphone.com/u/jnsp)\
**Post date:** [April 27, 2017, 3:45am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/1 "2017-04-27T03:45:32Z")

</div>

> This is a #wiki post, feel free to edit it clicking on the green ✏ above

[Fairphone-specific apps](https://www.fairphone.com/es/2016/01/07/software-features-fairphone-2/) are [Free Software](https://en.wikipedia.org/wiki/Free_software) under [Apache License 2.0](https://en.wikipedia.org/wiki/Apache_License) and have been [migrated](https://github.com/WeAreFairphone?q=android_packages_apps) to the community-managed [WeAreFairphone](https://github.com/WeAreFairphone) organization at GitHub.

Work has been done to publish them on [F-Droid](https://f-droid.org) and making them compatible with Android 6 and forward.

Team: @jnsp, @Rudloff, @z3ntu and @Roboe (two latters are managers of the WeAreFairphone organization at GitHub)

Progress is as follows:

## Fairphone First Edition Launcher

- Source code: [GitHub - WeAreFairphone/FP1-Launcher: Fork of the launcher originally designed for the Fairphone 1](https://github.com/WeAreFairphone/FP1-Launcher)
- Original source (upstream): [GitHub - Kwamecorp/Fairphone: Source code for the Fairphone OS. A seriously cool smartphone. Putting social values first.](https://github.com/Kwamecorp/Fairphone)
- F-Droid publication: Submitted. 🔄 [Awaiting F-Droid approval](https://gitlab.com/fdroid/rfp/issues/126)

## Fairphone 2 Launcher

- Source code: [GitHub - WeAreFairphone/FP2-Launcher: Fork of the launcher originally designed for the Fairphone 2, featuring Edge Swipe and Apps Life Cycle](https://github.com/WeAreFairphone/FP2-Launcher)
- Original source (upstream): [https://code.fairphone.com/gerrit/#/admin/projects/fp2-dev/platform/packages/apps/FairphoneLauncher3](https://code.fairphone.com/gerrit/#/admin/projects/fp2-dev/platform/packages/apps/FairphoneLauncher3)
- F-Droid publication: ☑ [work done](https://gitlab.com/fdroid/rfp/issues/126)
- **F-Droid app** : [https://f-droid.org/packages/community.fairphone.fplauncher3/](https://f-droid.org/packages/community.fairphone.fplauncher3/) ([version 2.1.0](https://github.com/WeAreFairphone/FP2-Launcher/blob/master/metadata/android/en/changelogs/9.txt))

## Fairphone Recent Contacts Widget

- Source code: [GitHub - WeAreFairphone/FP2-ContactsWidget: Fork of the contacts widget originally designed for the Fairphone 2, featuring recent contacts and direct calls](https://github.com/WeAreFairphone/FP2-ContactsWidget)
- Original source (upstream): [https://code.fairphone.com/gerrit/#/admin/projects/fp2-dev/platform/packages/apps/MyContactsWidget](https://code.fairphone.com/gerrit/#/admin/projects/fp2-dev/platform/packages/apps/MyContactsWidget)
- F-Droid publication: ☑ [work done](https://gitlab.com/fdroid/rfp/issues/127)
- **F-Droid app** : [My Contacts | F-Droid - Free and Open Source Android App Repository](https://f-droid.org/packages/community.fairphone.mycontacts/) (version 2.1)

## Fairphone Clock Widget

- Source code: [GitHub - WeAreFairphone/FP2-ClockWidget: Fork of the clock widget originally designed for the Fairphone 2](https://github.com/WeAreFairphone/FP2-ClockWidget)
- Original source (upstream): [https://code.fairphone.com/gerrit/#/admin/projects/fp2-dev/platform/packages/apps/ClockWidget](https://code.fairphone.com/gerrit/#/admin/projects/fp2-dev/platform/packages/apps/ClockWidget)
- F-Droid publication: ☑ [work done](https://gitlab.com/fdroid/rfp/issues/128)
- **F-Droid app** : [https://f-droid.org/packages/community.fairphone.clock/](https://f-droid.org/packages/community.fairphone.clock/) ([version 2.1.0](https://github.com/WeAreFairphone/FP2-ClockWidget/blob/master/metadata/android/en/changelogs/3.txt))

## Fairphone MyApps Widget (standalone version)

- Source code: [GitHub - WeAreFairphone/FP2-AppsWidget: Standalone version of the MyApps widget originally included as part of the launcher shipped with the Fairphone 2](https://github.com/WeAreFairphone/FP2-AppsWidget)
- Original source (upstream): integrated into Fairphone Launcher
- State: 🔄 Work needs to be done to make it standalone. @jnsp is working on it:

> [@Developing a standalone version of the MyApps widget](https://forum.fairphone.com/t/developing-a-standalone-version-of-the-myapps-widget/28510):
>
> I’ve started working on it! slight_smile Currently the widget is standalone and can be displayed, but the data is missing. This is because previously the Launcher collected the necessary information (e.g. every time a app was started, the Fairphone Launcher stored that information to calculate usage stats). To make it work without the Fairphone Launcher, I will use the Android [UsageStatsManager](https://developer.android.com/reference/android/app/usage/UsageStatsManager.html). This, however, needs special permissions from the user while adding the widget and requires us to…

> **Original post by @jnsp**
>
> Hi,
> 
> I would like to submit the Fairphone specific apps such as the Fairphone Launcher, Contact Widget and the Clock Widget) to F-Droid so that these features can be used on Android 6 as well.
> 
> The source code is accessible from [code.fairphone.com](http://code.fairphone.com) (e.g. `git clone https://code.fairphone.com/gerrit/fp2-dev/platform/packages/apps/FairphoneLauncher3`). However, it is unclear to me under which license those apps are.
> 
> I have some questions before I continue with my efforts:
> 
> - Does Fairphone intend to publish the apps themselves or should the community publish them on F-Droid?
> - Where should further development take place? Can the community open merge requests on [code.fairphone.com](http://code.fairphone.com) or should the code be moved to a community run repository such as [WeAreFairphone · GitHub](http://github.com/WeAreFairphone)?

---

<div class="post-metadata">

**Author:** ![Stefan](https://forum.fairphone.com/user_avatar/forum.fairphone.com/stefan/32/4254_2.png) [@Stefan](https://forum.fairphone.com/u/Stefan)\
**Post date:** [April 27, 2017, 11:42am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/2 "2017-04-27T11:42:38Z")

</div>

Since Fairphone does not intend to further develop and maintain those apps, I think it would be best if they would be put under the [WeAreFairphone](https://github.com/WeAreFairphone)-umbrella. What do you think @roboe @Arvil ?

---

<div class="post-metadata">

**Author:** ![Roboe](https://forum.fairphone.com/user_avatar/forum.fairphone.com/roboe/32/3894_2.png) [@Roboe](https://forum.fairphone.com/u/Roboe)\
**Post date:** [April 28, 2017, 9:41am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/3 "2017-04-28T09:41:04Z")

</div>

I’ve setup a new team at the organization and mirrored the launcher, clock widget and contact widget repos, 😉

Here they are:

> **[WeAreFairphone](https://github.com/WeAreFairphone?q=android_packages_apps)**
>
> Independent Fairphoners supporting Free Software and collaboration

(Fairphone repositories are out-of-date. These repos correspond to FP2 Open 17.01.0, see git tags)

Should anyone want to join to maintain those repos, just ask! 🙂

---

<div class="post-metadata">

**Author:** ![jnsp](https://forum.fairphone.com/letter_avatar/jnsp/32/6_449c533f586939b6e5f246632a46421f.png) [@jnsp](https://forum.fairphone.com/u/jnsp)\
**Post date:** [April 28, 2017, 11:13am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/4 "2017-04-28T11:13:07Z")

</div>

Great, thank you @Roboe!

Now we need to know under which license theese apps are published by Fairphone. The Launcher seems to be Apache, although this is not 100% clear.

It would be great if **Fairphone officials** could give us a **clear statement** under **which license the source code** for these apps **is distributed**. Otherwhise F-Droid won’t accept the apps 😉

---

<div class="post-metadata">

**Author:** ![Douwe](https://forum.fairphone.com/user_avatar/forum.fairphone.com/douwe/32/12461_2.png) [@Douwe](https://forum.fairphone.com/u/Douwe)\
**Post date:** [May 2, 2017, 12:05pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/5 "2017-05-02T12:05:40Z")

</div>

Hey all, this is on our to-do list. @anon36364121 will update the licensing later. For now; all Fairphone made software is always under Apache v2 license unless we explicitly mention another license.

EDIT: The missing licenses have now been added:

[https://code.fairphone.com/gerrit/gitweb?p=fp2-dev/platform/packages/apps/MyContactsWidget.git;a=blob;f=LICENSE.txt;h=1e4b2c051ea797c340db011b8a448083883566a0;hb=refs/heads/fp2-sibon](https://code.fairphone.com/gerrit/gitweb?p=fp2-dev/platform/packages/apps/MyContactsWidget.git;a=blob;f=LICENSE.txt;h=1e4b2c051ea797c340db011b8a448083883566a0;hb=refs/heads/fp2-sibon)

---

<div class="post-metadata">

**Author:** ![Roboe](https://forum.fairphone.com/user_avatar/forum.fairphone.com/roboe/32/3894_2.png) [@Roboe](https://forum.fairphone.com/u/Roboe)\
**Post date:** [May 2, 2017, 1:26pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/6 "2017-05-02T13:26:35Z")

</div>

GitHub repos updated! Thank you! 😉

> [@Douwe](#):
>
> For now; all Fairphone made software is always under Apache v2 license unless we explicitly mention another license.

Ok, but I’m afraid legal things don’t work like that… I think it is Fairphone who should put the license, we cannot do it in its name (without refering to a source of yours). You can maybe put that sentence on [https://code.fairphone.com](https://code.fairphone.com)? Anyway, we’ll reach any of you if we spot any missing license in the future, 😃

---

<div class="post-metadata">

**Author:** ![Douwe](https://forum.fairphone.com/user_avatar/forum.fairphone.com/douwe/32/12461_2.png) [@Douwe](https://forum.fairphone.com/u/Douwe)\
**Post date:** [May 2, 2017, 1:38pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/7 "2017-05-02T13:38:27Z")

</div>

Yeah I know it legally doesn’t work like that, but I wanted to give you heads-up on the licensing until we’ve got them all in place again.

But for now we seem to have covered all and everything.

---

<div class="post-metadata">

**Author:** ![jnsp](https://forum.fairphone.com/letter_avatar/jnsp/32/6_449c533f586939b6e5f246632a46421f.png) [@jnsp](https://forum.fairphone.com/u/jnsp)\
**Post date:** [May 2, 2017, 1:50pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/8 "2017-05-02T13:50:43Z")

</div>

Thank you for adding the licenses, I’ll add the apps to the F-Droid submission queue today.

**EDIT:** Alright, I have added the apps to the [submission queue](https://gitlab.com/fdroid/rfp/issues). Let’s see how that goes, maybe we have to make some modifications to the source code.

**EDIT 2:** The contact widget [was added](https://gitlab.com/fdroid/fdroiddata/commit/a05f1b916d8600d414695ef79daee42992f12d80), if the build completes, it might take a few more days to be available on F-Droid. The launcher and the clock widget need some modifications (we need to pull some jar files from maven, instead of shipping them in binary form). We should be able to get this done in a few days.

**EDIT 3:** I have made the necessary modifications to the source code, looks good so far! If everything goes as expected, we might see the apps by the end of the week in F-Droid.

---

<div class="post-metadata">

**Author:** ![xekinai](https://forum.fairphone.com/letter_avatar/xekinai/32/6_449c533f586939b6e5f246632a46421f.png) [@xekinai](https://forum.fairphone.com/u/xekinai)\
**Post date:** [May 3, 2017, 7:35am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/9 "2017-05-03T07:35:37Z")

</div>

Dear all, could the Recently Used / Most Used widget be added to that list? Thanks so much, this was really useful.

---

<div class="post-metadata">

**Author:** ![jnsp](https://forum.fairphone.com/letter_avatar/jnsp/32/6_449c533f586939b6e5f246632a46421f.png) [@jnsp](https://forum.fairphone.com/u/jnsp)\
**Post date:** [May 3, 2017, 7:51am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/10 "2017-05-03T07:51:01Z")

</div>

> [@xekinai](#):
>
> Dear all, could the Recently Used / Most Used widget be added to that list?

This widget is part of the Fairphone Launcher.

---

<div class="post-metadata">

**Author:** ![paulakreuzer](https://forum.fairphone.com/user_avatar/forum.fairphone.com/paulakreuzer/32/35401_2.png) [@paulakreuzer](https://forum.fairphone.com/u/paulakreuzer)\
**Post date:** [May 3, 2017, 8:06am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/11 "2017-05-03T08:06:39Z")

</div>

I too was hoping that soon the FP widgets finally be standalone apps, so that other launchers can use those widgets too.

---

<div class="post-metadata">

**Author:** ![jnsp](https://forum.fairphone.com/letter_avatar/jnsp/32/6_449c533f586939b6e5f246632a46421f.png) [@jnsp](https://forum.fairphone.com/u/jnsp)\
**Post date:** [May 3, 2017, 8:22am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/12 "2017-05-03T08:22:13Z")

</div>

> [@paulakreuzer](#):
>
> I too was hoping that soon the FP widgets finally be standalone apps, so that other launchers can use those widgets too.

We might be able to build something like that in the future, however it is not that easy, since those widgets are deeply coupled with the launcher.

---

<div class="post-metadata">

**Author:** ![paulakreuzer](https://forum.fairphone.com/user_avatar/forum.fairphone.com/paulakreuzer/32/35401_2.png) [@paulakreuzer](https://forum.fairphone.com/u/paulakreuzer)\
**Post date:** [May 3, 2017, 8:36am UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/13 "2017-05-03T08:36:51Z")

</div>

Well if and when you start working on it and need some donations or beta testers, count on me. 🙂

---

<div class="post-metadata">

**Author:** ![paulakreuzer](https://forum.fairphone.com/user_avatar/forum.fairphone.com/paulakreuzer/32/35401_2.png) [@paulakreuzer](https://forum.fairphone.com/u/paulakreuzer)\
**Post date:** [May 6, 2017, 4:49pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/14 "2017-05-06T16:49:29Z")

</div>

[My Contacts](https://f-droid.org/repository/browse/?fdfilter=my+contacts&fdid=com.fairphone.mycontacts) is now available! 🙂

---

<div class="post-metadata">

**Author:** ![Stefan](https://forum.fairphone.com/user_avatar/forum.fairphone.com/stefan/32/4254_2.png) [@Stefan](https://forum.fairphone.com/u/Stefan)\
**Post date:** [May 7, 2017, 4:12pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/15 "2017-05-07T16:12:43Z")

</div>

Would be great, if someone could come up with new icons! 😃

---

<div class="post-metadata">

**Author:** ![paulakreuzer](https://forum.fairphone.com/user_avatar/forum.fairphone.com/paulakreuzer/32/35401_2.png) [@paulakreuzer](https://forum.fairphone.com/u/paulakreuzer)\
**Post date:** [May 7, 2017, 4:46pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/16 "2017-05-07T16:46:07Z")

</div>

> [@Stefan](#):
>
> Would be great, if someone could come up with new icons!

How about:

![](https://forum.fairphone.com/uploads/default/original/2X/6/6b25ef261f37ae6f8afc09c851f449a68f5e023c.png)

😉

---

<div class="post-metadata">

**Author:** ![Volker](https://forum.fairphone.com/user_avatar/forum.fairphone.com/volker/32/10760_2.png) [@Volker](https://forum.fairphone.com/u/Volker)\
**Post date:** [May 7, 2017, 7:16pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/17 "2017-05-07T19:16:40Z")

</div>

Installed “my contacts” but can’t find it in the widgets list?! It should be there, right?

---

<div class="post-metadata">

**Author:** ![BeMiGro](https://forum.fairphone.com/user_avatar/forum.fairphone.com/bemigro/32/4164_2.png) [@BeMiGro](https://forum.fairphone.com/u/BeMiGro)\
**Post date:** [May 7, 2017, 7:56pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/18 "2017-05-07T19:56:05Z")

</div>

Same for me, can’t find it in the Widgets list after installing version 1.02. Reboot didn’t help either.

---

<div class="post-metadata">

**Author:** ![Roboe](https://forum.fairphone.com/user_avatar/forum.fairphone.com/roboe/32/3894_2.png) [@Roboe](https://forum.fairphone.com/u/Roboe)\
**Post date:** [May 7, 2017, 8:25pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/19 "2017-05-07T20:25:57Z")

</div>

Woops, I can reproduce this on a Moto G, Lineage OS 14.1 (Android 7.0), yup

---

<div class="post-metadata">

**Author:** ![jnsp](https://forum.fairphone.com/letter_avatar/jnsp/32/6_449c533f586939b6e5f246632a46421f.png) [@jnsp](https://forum.fairphone.com/u/jnsp)\
**Post date:** [May 7, 2017, 11:55pm UTC](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008/20 "2017-05-07T23:55:45Z")

</div>

I cannot reproduce this with my LineageOS 13 tablet, after installing the widget from F-Droid it is available with it’s localized name under widgets. The app version is “2.0” for me.

**Edit:** I have conducted some research and updated the widget. Could you test [this version](https://io.pinterjann.is/public/misc/android_packages_apps_MyContactsWidget-debug.apk) (after uninstalling the F-Droid version)?  
I have added `android:installLocation="internalOnly"` in AndroidManifest.xml and `android:minResizeHeight="212dp"` in people\_widget\_info.xml.

[Next page](https://forum.fairphone.com/t/publishing-fairphone-specific-apps-launcher-contact-widget-on-f-droid/28008.md?page=2)
