[APP][4.4-5+] 150317 SpiritF (Spirit2 Free) Open Source Real FM Radio for AOSP+Root

Status
Not open for further replies.
Search This thread

mikereidis

Inactive Recognized Developer
Jan 28, 2011
7,823
4,146
Ottawa/Gatineau, Canada
150317 SpiritF (Spirit2 Free) Open Source Real FM Radio for AOSP+Root

APK: http://xdaforums.com/attachment.php?attachmentid=3215671&d=1426618705

Source code: https://github.com/mikereidis/spirit2_free

Discussion (this thread closed): http://xdaforums.com/showthread.php?t=1059296

Hi, :)

I am happy to announce "SpiritF / Spirit2 Free: Open Source Real FM Radio for AOSP & Root".

I have taken the essential features of my commercial Spirit2 FM app: https://play.google.com/store/apps/details?id=fm.a2d.s2

And I've open sourced it GPLv3 AFFERO.

The APK app file can be freely redistributed on custom Android ROMs that are available to the general public. Please credit me.

If you are including it in a ROM, at this time it requires the usual /data/data/fm.a2d.sf/ directory that normally installed apps have.

==============================================================================================================================================================================
From README_OPENSOURCE_BUILDING.txt:

Spirit is my full time job, but I'm sorry to say I still make less than half of my corporate salaries, and work about twice the hours, for the last almost 4 years, from early 2011.

I appreciate the financial support of people buying my apps, Spirit2: https://play.google.com/store/apps/details?id=fm.a2d.s2 and the older Spirit1: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

I am also happy to accept Paypal "donations" to my mikereidis@gmail.com address : https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mikereidis%40gmail%2ecom&lc=CA&item_name=Spirit%20FM%20%2d%20Mike%20Reid&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted

The commercial Spirit2 has many features that are not in this Spirit2 Free app. As time goes by, I will move some paid features to the free version. The closer I can get to a "normal" salary, the more willing I will be to do so.

Thanks ! :)
Mike Reid.
==============================================================================================================================================================================
 

Attachments

  • sf_150317.apk
    1 MB · Views: 626,066
Last edited:

mikereidis

Inactive Recognized Developer
Jan 28, 2011
7,823
4,146
Ottawa/Gatineau, Canada
Contents of the README_OPENSOURCE_BUILDING.txt file in the source code ZIP:


Spirit2 Free is an Over-The-Air (Real) FM Radio application for Android.

Spirit2 Free is Copyright 2011-2014 Michael A. Reid (mikereidis@gmail.com). All rights are reserved.

See COPYRIGHT_MICHAEL_REID_GPLv3AFFERO.txt file for the standard GPLv3 AFFERO licensing notice.



Monday November 24, 2014:

Hello from currently cold and snowy Canada, :)

See the build_spirit2_free bash script to build from Linux. Edit the first few lines for your environment.

Besides the Android ant build for the Java code, the Android NDK is needed. I'm using android-ndk-r10, the r10b release gave me some problems so I reverted.

Please forgive all the usual transgressions; this code, like all real world code, has plenty of flaws and "character".

Be thankful it's not the steaming pile that Spirit1 became, originating when I first learned Java, and suffering from almost 4 years
of rapid development, and a maze of exceptions for handling hundreds of phones, ROMs, android versions, etc, etc, LOL.

Real life coding, trying to solve real problems of people, often requires compromise, and hasty and messy coding is one such.

I've been developing, and building electronics and computer equipment since I became a teen in the mid 1970's, on the first microprocessors, before even assemblers,
hacking "machine language" in binary, hex, or even octal on the front panel switches of the PDP-11/05 I built a Unibus display peripheral for....


Anyway, I haven't really done any open source before. At this time I'm just dumping the code, or "throwing it over the wall", as Google is said to do with AOSP.

So I'm not going to setup on Git or whatever immediately, since I'm not experienced with it much. We will see....

Feel free to share any thoughs to mikereidis@gmail.com or in my "Spirit FM" XDA forum: http://xdaforums.com/apps/spirit-fm


Spirit is my full time job, but I'm sorry to say I still make less than half of my corporate salaries, and work about twice the hours, for the last almost 4 years, from early 2011.

I appreciate the financial support of people buying my apps, Spirit2: https://play.google.com/store/apps/details?id=fm.a2d.s2 and the older Spirit1: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

I am also happy to accept Paypal "donations" to my mikereidis@gmail.com address : https://www.paypal.com/cgi-bin/webs...=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted

The commercial Spirit2 has many features that are not in this Spirit2 Free app. As time goes by, I may move paid features to the free version. The closer I can get to a "normal" salary, the more willing I will be to do so.


Thanks ! :)
Mike Reid.
 
Last edited:

mikereidis

Inactive Recognized Developer
Jan 28, 2011
7,823
4,146
Ottawa/Gatineau, Canada
Contents of the COPYRIGHT_MICHAEL_REID_GPLv3AFFERO.txt file in the source code ZIP:


Spirit2 Free is an Over-The-Air (Real) FM Radio application for Android.

Spirit2 Free is Copyright 2011-2014 Michael A. Reid (mikereidis@gmail.com). All rights are reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
 
Last edited:

mikereidis

Inactive Recognized Developer
Jan 28, 2011
7,823
4,146
Ottawa/Gatineau, Canada
Let the discussion begin. :)

Since I'm moving to an open source model, I have re-activated my donate button, as seen at left.

The closer I can get to a "normal" corporate salary, the more inclined I will be to share the source code that I have not yet shared. :)
 
  • Like
Reactions: hipunk

vrwmiaris1

Senior Member
Feb 13, 2013
1,241
299
Thessaloniki
:)

Does Spirit1 work better on your S2 ? I am curious why you aren't running Spirit2 on it.

If it was stock and unrooted, Spirit1 would be the only option, besides Samsung's stock FM app.

yeah mike coz on spirit 2 you dont have an exit button and it keeps running on backround and draining my baterry,ohhh btw mike i didnt tried yet but can i stream wireless through my bt with spirit 2 on my g2?i ve a mw600 :p
 

mikereidis

Inactive Recognized Developer
Jan 28, 2011
7,823
4,146
Ottawa/Gatineau, Canada
yeah mike coz on spirit 2 you dont have an exit button and it keeps running on backround and draining my baterry,ohhh btw mike i didnt tried yet but can i stream wireless through my bt with spirit 2 on my g2?i ve a mw600 :p

In Spirit2, If you switch FM off (or just start it switching off, since it completes in the background, unlike Spirit1),

Then hit the Back key, it should be just as dead as Spirit1. If not, that's a bug I will fix.

You don't even have to use the UI. Just start and stop from the Spirit2 widget on a home-screen.

I even send commands from adb shell, remotely, to change frequency, start, stop, pause etc.


Spirit2 does FM over BT on pretty much any phone it works on. But stock Samsungs require the wired headset/antenna to be pulled out.

I have an MW1 and it worked with every phone I've run Spirit2 on. I haven't tested Bluetooth at all since the Spirit2 re-design, but the worst problem would likely be the Samsung headset pull issue.

Basically, since Spirit2 makes all FM audio digital, it should act just like media players, which allows effects/EQ, visualizations and sending the audio to any supportable output, maybe even TVs, Chromecasts and external DACs.

I'm charging my MW1 for testing now...
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 93
    150317 SpiritF (Spirit2 Free) Open Source Real FM Radio for AOSP+Root

    APK: http://xdaforums.com/attachment.php?attachmentid=3215671&d=1426618705

    Source code: https://github.com/mikereidis/spirit2_free

    Discussion (this thread closed): http://xdaforums.com/showthread.php?t=1059296

    Hi, :)

    I am happy to announce "SpiritF / Spirit2 Free: Open Source Real FM Radio for AOSP & Root".

    I have taken the essential features of my commercial Spirit2 FM app: https://play.google.com/store/apps/details?id=fm.a2d.s2

    And I've open sourced it GPLv3 AFFERO.

    The APK app file can be freely redistributed on custom Android ROMs that are available to the general public. Please credit me.

    If you are including it in a ROM, at this time it requires the usual /data/data/fm.a2d.sf/ directory that normally installed apps have.

    ==============================================================================================================================================================================
    From README_OPENSOURCE_BUILDING.txt:

    Spirit is my full time job, but I'm sorry to say I still make less than half of my corporate salaries, and work about twice the hours, for the last almost 4 years, from early 2011.

    I appreciate the financial support of people buying my apps, Spirit2: https://play.google.com/store/apps/details?id=fm.a2d.s2 and the older Spirit1: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

    I am also happy to accept Paypal "donations" to my mikereidis@gmail.com address : https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mikereidis%40gmail%2ecom&lc=CA&item_name=Spirit%20FM%20%2d%20Mike%20Reid&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted

    The commercial Spirit2 has many features that are not in this Spirit2 Free app. As time goes by, I will move some paid features to the free version. The closer I can get to a "normal" salary, the more willing I will be to do so.

    Thanks ! :)
    Mike Reid.
    ==============================================================================================================================================================================
    8
    Contents of the README_OPENSOURCE_BUILDING.txt file in the source code ZIP:


    Spirit2 Free is an Over-The-Air (Real) FM Radio application for Android.

    Spirit2 Free is Copyright 2011-2014 Michael A. Reid (mikereidis@gmail.com). All rights are reserved.

    See COPYRIGHT_MICHAEL_REID_GPLv3AFFERO.txt file for the standard GPLv3 AFFERO licensing notice.



    Monday November 24, 2014:

    Hello from currently cold and snowy Canada, :)

    See the build_spirit2_free bash script to build from Linux. Edit the first few lines for your environment.

    Besides the Android ant build for the Java code, the Android NDK is needed. I'm using android-ndk-r10, the r10b release gave me some problems so I reverted.

    Please forgive all the usual transgressions; this code, like all real world code, has plenty of flaws and "character".

    Be thankful it's not the steaming pile that Spirit1 became, originating when I first learned Java, and suffering from almost 4 years
    of rapid development, and a maze of exceptions for handling hundreds of phones, ROMs, android versions, etc, etc, LOL.

    Real life coding, trying to solve real problems of people, often requires compromise, and hasty and messy coding is one such.

    I've been developing, and building electronics and computer equipment since I became a teen in the mid 1970's, on the first microprocessors, before even assemblers,
    hacking "machine language" in binary, hex, or even octal on the front panel switches of the PDP-11/05 I built a Unibus display peripheral for....


    Anyway, I haven't really done any open source before. At this time I'm just dumping the code, or "throwing it over the wall", as Google is said to do with AOSP.

    So I'm not going to setup on Git or whatever immediately, since I'm not experienced with it much. We will see....

    Feel free to share any thoughs to mikereidis@gmail.com or in my "Spirit FM" XDA forum: http://xdaforums.com/apps/spirit-fm


    Spirit is my full time job, but I'm sorry to say I still make less than half of my corporate salaries, and work about twice the hours, for the last almost 4 years, from early 2011.

    I appreciate the financial support of people buying my apps, Spirit2: https://play.google.com/store/apps/details?id=fm.a2d.s2 and the older Spirit1: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

    I am also happy to accept Paypal "donations" to my mikereidis@gmail.com address : https://www.paypal.com/cgi-bin/webs...=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted

    The commercial Spirit2 has many features that are not in this Spirit2 Free app. As time goes by, I may move paid features to the free version. The closer I can get to a "normal" salary, the more willing I will be to do so.


    Thanks ! :)
    Mike Reid.
    2
    Contents of the COPYRIGHT_MICHAEL_REID_GPLv3AFFERO.txt file in the source code ZIP:


    Spirit2 Free is an Over-The-Air (Real) FM Radio application for Android.

    Spirit2 Free is Copyright 2011-2014 Michael A. Reid (mikereidis@gmail.com). All rights are reserved.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program. If not, see <http://www.gnu.org/licenses/>.
    2
    To the man behind the curtain.
    2
    Pay no attention: