Coder Social home page Coder Social logo

openfit's People

Contributors

cpvyb avatar emailvenky avatar etatus avatar jareddlc avatar rdupuis avatar sampaiodiego avatar thewar avatar winni159 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openfit's Issues

Sync running activity to Google Fit

I'd like to purchase premium version but, do you plan to support running activity syncing to Google Fit? I think running is one of the most common activities performed with Gear Fit.

rewrite open fit to support multiple samsung watches.

Open Fit was my first android application and I've learned better ways to implement an app. It would be nice to rewrite to make it more maintainable. It would also be nice to see support for the following watches.

  • Samsung Gear Fit (owned)
  • Samsung Gear Fit 2
  • Samsung Gear S2 (owned)
  • Samsung Galaxy Fit

Watch language change

Hi,

I would like to change language on watch, right now it using my native (I think it is because I have updated watch firmware from samsung fit manager installed on my mom Galaxy S4), but I would like to switch to English.
This is just my thing 😄 , I just prefer Eng than my native (I know, I'm odd)

Remove premium and update project

Hi,

Thanks a lot for this amazing project!

Please keep it alive as we cannot use our Gear Fit 1 with latest phone (S22 and newer).

When we try to connect, with an S24 for eg, Samsung Wearable starts automatically and is unable to handle our old Gear Fit 1.

Without OpenFit, I can connect to it! Thanks! ❤️❤️

Small questions:

  • can you please remove premium paywall sync for Google Fit?
  • can you please update the project?
  • add apk release as it is not downloadable from Google Play?

Thanks again ❤️

Ask for permission when it's needed

I value my privacy strongly and don't use any of Gear Fit's features that might require viewing SMS messages, manage phone calls, or access contacts.

Could you please ask for these permissions only in the places where they're needed and make the rest of the app work without them?

Gear fit connect failed

No matter how many times I try to connect, it always fails. It's getting a bit annoying at this point because obviously the gear fit is unusable without pairing.

Auto Sync

It would be awesome if the app had the possibility of auto syncing to Google Fit at specific time or every x minutes.

Does this still work?

I'm not able to connect my Gear Fit 2 (SM-R360) to my Android 11 device using Open Fit v1.12.0. I had it connected to my phone using the Samsung Wearables app, but was less than impressed with Samsung's functionality, so I disconnected it from the Wearables app, Forgot the bluetooth connection from my phone, and tried to connect it via Open Fit, but it just keeps saying connection failed.

OpenFit causes device to disconnect from wifi when locked

This has been happening for a few months. A while ago I reset my phone and it stopped happening. I thought it was originally Greenify causing it, but after reinstalling OpenFit today, the issue immediately came back. Oddly enough it also causes Bluetooth to disconnect sometimes. (It may or may not also be the cause of my screen taking quite long to come on after pressing the unlock button)

EDIT: Can confirm it also causes my lockscreen issue.

Feature request: dump data to text file

Hi,

It would be great if you could dump the workout / pedometer / sleep data to a text file on the device. Doing so would allow you to store your workout data long term without app lock in.

Notification icons

Forget my poor english... icons are not taken from the app that generates notification. It is planned to show correct icon? I'm trying to setup AndroidStudio to see if i can contribute but meanwhile I can send you bt packet for a twitter notification, i have a gear fit and a Google Nexus 4.

[PR proposal] Send notifications only on screen off

The problem: I think that many will agree how it's sort of annoying to have your smartwatch buzzing when it's not needed, like when you already see the notifications on your phone when its screen is turned on.

The solution: I would like to propose a feature that prevents the notification from being sent if the phone's screen is on. This is common behavior for smartwatches/smartbands such as Fitbit, etc.

If the maintainer and/or community is okay with this, I would like to make a pull request with an implementation of this feature

EDIT: completed the problem's description

Logo design

Hi, I will like to design a new logo for this gear fit manager if you allow me to. I will take care of the requirements if specified. Please comment below and let me know.

Hide OpenFit icon from statusbar

It'll be good if OpenFit notification icon is hidden from statusbar and just notification message is shown in notification list.

Just adding below line in OpenFitService.java:createNotification() will do the job:
nBuilder.setPriority(NotificationCompat.PRIORITY_MIN);

I've been tested above code without experiencing unexpected OpenFit service termination, but it could harm the stability of OpenFitService...

clock updates

Hi,

It seems the clock doesn't update on connect or reconnect. I've discovered that if you flip the format back and forth between 24/12 hour the clock is updated. Maybe you could add a clause to update on reconnect / as well as periodically?

Changing time format crash OpenFit

Hi,

I just installed, OpenFit a,d I tried to set up my GF but I have two issues, the first one (more annoying) is 12h clock (I hate this format and I'm gonna bitch about it 😄 a lot ).
This is a LogCat from the moment tapping Time Format in OpenFit :

10-11 22:19:22.198: D/OpenFit:OpenFitFragment(27368): Sending Intent: bluetooth:time:false
10-11 22:19:22.230: D/AndroidRuntime(27368): Shutting down VM
10-11 22:19:22.231: E/AndroidRuntime(27368): FATAL EXCEPTION: main
10-11 22:19:22.231: E/AndroidRuntime(27368): Process: com.solderbyte.openfit, PID: 27368
10-11 22:19:22.231: E/AndroidRuntime(27368): java.lang.RuntimeException: Error receiving broadcast Intent { act=bluetooth flg=0x10 (has extras) } in com.solderbyte.openfit.OpenFitService$3@7c8c082
10-11 22:19:22.231: E/AndroidRuntime(27368):    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:891)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at android.os.Handler.handleCallback(Handler.java:739)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at android.os.Handler.dispatchMessage(Handler.java:95)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at android.os.Looper.loop(Looper.java:148)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at android.app.ActivityThread.main(ActivityThread.java:5417)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at java.lang.reflect.Method.invoke(Native Method)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-11 22:19:22.231: E/AndroidRuntime(27368): Caused by: java.lang.ClassCastException: long[] cannot be cast to int[]
10-11 22:19:22.231: E/AndroidRuntime(27368):    at com.solderbyte.openfit.util.OpenFitTimeZoneUtil.getTransitions(OpenFitTimeZoneUtil.java:17)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at com.solderbyte.openfit.util.OpenFitTimeZoneUtil.prevTransition(OpenFitTimeZoneUtil.java:59)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at com.solderbyte.openfit.OpenFitApi.getCurrentTimeInfo(OpenFitApi.java:273)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at com.solderbyte.openfit.OpenFitService.sendTime(OpenFitService.java:475)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at com.solderbyte.openfit.OpenFitService.handleUIMessage(OpenFitService.java:252)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at com.solderbyte.openfit.OpenFitService$3.onReceive(OpenFitService.java:748)
10-11 22:19:22.231: E/AndroidRuntime(27368):    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:881)
10-11 22:19:22.231: E/AndroidRuntime(27368):    ... 7 more
10-11 22:19:22.233: W/ActivityManager(849):   Force finishing activity com.solderbyte.openfit/.OpenFitActivity
10-11 22:19:22.296: I/OpenGLRenderer(849): Initialized EGL, version 1.4
10-11 22:19:22.371: I/art(849): Background partial concurrent mark sweep GC freed 22379(1281KB) AllocSpace objects, 16(320KB) LOS objects, 33% free, 31MB/47MB, paused 1.458ms total 122.313ms
10-11 22:19:22.757: W/ActivityManager(849): Activity pause timeout for ActivityRecord{46a6b65 u0 com.solderbyte.openfit/.OpenFitActivity t88 f}
10-11 22:19:23.357: W/OpenGLRenderer(22616): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
10-11 22:19:23.357: W/OpenGLRenderer(22616): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
10-11 22:19:33.117: W/ActivityManager(849): Activity destroy timeout for ActivityRecord{46a6b65 u0 com.solderbyte.openfit/.OpenFitActivity t88 f}
10-11 22:19:45.387: I/Process(27368): Sending signal. PID: 27368 SIG: 9
10-11 22:19:45.396: E/Surface(849): getSlotFromBufferLocked: unknown buffer: 0x93aaf220
10-11 22:19:45.403: I/Keyboard.Facilitator(1329): onFinishInput()
10-11 22:19:45.415: D/bt_btm_pm(17471): btm_pm_snd_md_req switching from SNIFF to ACTIVE.
10-11 22:19:45.415: E/bt_btif_sock_rfcomm(17471): find_rfc_slot_by_id unable to find RFCOMM slot id: 6
10-11 22:19:45.415: E/bt_rfcomm(17471): p_data_co_callback DATA_CO_CALLBACK_TYPE_INCOMING_SIZE failed, available:0
10-11 22:19:45.415: E/bt_btif_sock_rfcomm(17471): find_rfc_slot_by_id unable to find RFCOMM slot id: 6
10-11 22:19:45.415: D/GraphicsStats(849): Buffer count: 7
10-11 22:19:45.487: I/ActivityManager(849): Process com.solderbyte.openfit (pid 27368) has died
10-11 22:19:45.487: W/ActivityManager(849): Service crashed 2 times, stopping: ServiceRecord{7d4ae62 u0 com.solderbyte.openfit/.OpenFitService}
10-11 22:19:45.487: W/ActivityManager(849): Service crashed 2 times, stopping: ServiceRecord{3360504 u0 com.solderbyte.openfit/.NotificationService}
10-11 22:19:45.560: D/bt_btm_pm(17471): btm_pm_proc_mode_change switched from UNKNOWN to ACTIVE.
10-11 22:19:45.591: W/AppOps(849): Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
10-11 22:19:45.593: W/bt_btif(17471): bta_jv_rfc_port_to_cb(port_handle:0x9):jv handle:0x0 not FOUND
10-11 22:19:45.593: W/bt_rfcomm(17471): port_rfc_closed RFCOMM connection in state 3 closed: Closed (res: 19)
10-11 22:19:48.788: I/bt_btm_sec(17471): btm_sec_disconnected clearing pending flag handle:12 reason:19
10-11 22:19:48.790: E/BluetoothRemoteDevices(17471): state12newState1
10-11 22:19:48.801: D/BluetoothMapService(17471): onReceive
10-11 22:19:48.801: D/BluetoothMapService(17471): onReceive: android.bluetooth.device.action.ACL_DISCONNECTED
10-11 22:19:48.822: I/Coffee-BluetoothConnectionTracker(1762): Bluetooth disconnection broadcast for Gear Fit (8F56)
10-11 22:19:48.826: I/BTConnectionReceiver(21353): onReceive(context, Intent { act=android.bluetooth.device.action.ACL_DISCONNECTED flg=0x4000010 cmp=com.google.android.googlequicksearchbox/com.google.android.search.core.service.BluetoothConnectionReceiver (has extras) }, [BluetoothDevice: address=18:22:7E:D5:8F:56, alias=null, name=Gear Fit (8F56), majorDeviceClass=1792, deviceClass=1796]
10-11 22:19:48.827: I/BluetoothClassifier(21353): Bluetooth Device Name: Gear Fit (8F56)

I'm running OpenFit on: Nexus 5 with Android 6.0.0 (build MRA58K) .

OpenFire auto-restart after update

Hi,

Starting openfit again after each time it update can be really pain in neck 😄 . Most apps auto-restarts itself after update.... I wouldn't have to scroll through my app list to find openfit and open it...

automatic reconnection

It seems automatic reconnection may not be fully functional. I'm trying to determine in what cases it fails and will update this once complete.

Spotify Play/Pause

In order to control Spotify without problem or interference from another player, you'll need to make a preference to whether select the Spotify intent actions or the system media buttons. If you use both at the same time, the app might send Spotify the play action and subsequently send the Media Play Action to the system, stopping Spotify and playing music from the phone's music player.

Open Fit with Gear Fit Manager

Hi, I am currently using both, Open Fit (to sync to Google Fit) and Gear Fit Manager (to sync to SHealth), but obviously not at the same time.

The problem is the following:

  1. I connect Gear Fit to Gear Fit Manager for a while (it syncs data every hour)
  2. I disconnect Gear Fit from Gear Fit Manager and connect it to Open Fit perfectly.
  3. I retreive fitness data from Open Fit.
  4. Data don't show all the activity registered in the Gear Fit since my last Open Fit sync, but only partial latest activity, so I miss data when syncing to Google Fit.

Is it possible that Gear Fit Manager put some flag when it syncs data which avoids Open Fit can sync all the pending activity? (BTW all fitness data is available from the Gear Fit interface)

Is there some test I can do to help in finding out what is happening? (I have a Galaxy S7)

OpenFit and Android 8.1

We have a Pixel that had OpenFit connected to a Gear Fit. Once the Android 8.1 update came down, the Gear Fit notifications were all in a Asian script (Chinese maybe?). I've looked through the settings of the OpenFit application, the device, stopped OpenFit, cleared data/cache to no effect. Was going to reinstall, but it's gone from the PlayStore, which leads me to believe it may be a dead project.

Any confirmation/help?

Thanks,
kj4ufp

Not working with tidal

Next/prev and play/pause is still not working even last update. Song name is displayed properly. Is it any way to fix it? Can i help?

OpenFit 2.0 support for Galaxy Fit

Hi :)

I was wondering if OpenFit 2.0 is still in the works? I got a Galaxy Fit for free with a phone recently and only want to used it without closed source/private-cloud-based apps. It would be awesome if OpenFit 2.0 got released and if it supports Galaxy Fit.

OpenFit has (had?) many many users, so it would be great if a new release became available. I'd definitely pay/donate for it 👍

Problem with request fitness data

With this (and previous) release i can't get fitness data, when i tap on it nothing happens. Can be useful a log generated by "adb logcat"?
Also Fit integration didn't work, maybe for fitness data problem...

And also... can't get weather update work...i've never seen in any release..

Logo Enhancement

Greetings PO,

If you have any ideas about logo, you can contact me or directly comment. I can make on that fits on your Project.

Is possible send notification with icon?

Hi,

I installed gear fit manager in my moto and I saw notifications with icons, like messenger from facebook.

I think if the protocol of communication with gear can receive icon from app?

att

Breaking connection

Hi,

About 2 updates ago of OpenFit my GF started to disconnect and connect at random (this is freaking annoying when it vibrating for no reason), sometime is once, twice or even few time at row - which usually ends with OpenFit application permanently closed - so I have to go to Apps and launch OpenFit manually...
Also I noticed from time-to-time some settings are lost, especially (most annoying for me) clock format revert to 12h.
Everything was fine before... My phone is: huawei P10 with android 7.0 & EMUI 5.1 ...

Any method to install apps and set the alarm on Fit?

thanks to OpenFit I can pair my fit with my non samsung phone, but I find those Gear Fit apps from Play store cannot be sent to Fit, and suggest I haven't install the GearFit Manager.

Also it seems that OpenFit cannot set alarm(or I didn't find the right way?)

After all, a big THANK YOU for your amazing app. It revitalize my old gear fit! :)

Notifications broken on version 1.9.1

The notification system is totally broken on version 1.9.1, tested on a Sony Xperia M2 running Android 4.4.4. I've disabled and re-enabled notification access, but still refuses to work. In the application itself, it clearly says there are no apps added to the notification apps list, however there are several already. You can have a look in the screenshot attached.

screenshot_2016-10-04-14-23-07

“App Connect” option in the app

Hi! At first, thank you for a great app! I thought I was doomed to get rid of my gear fit, but with your app I can still use it with my huawei :) The only thing missing is an integration with Endomondo with an “App Connect” option in the smartwatch. Are you planning to introduce this to your app?

Icons and issues...

An issue i found is that sometmes, after app is crashed, i found double items in app list. So i need to delete all and check again. It could be more comfortable have option to add more apps in one time(With radio buttons or something like that). Or the option to backup settings.

PS:
Do you think is possible add icons on apps notification, like the original Gear Fit manager?
For example, see the Hangouts, or Telegram or Gmail icon?

it could be nice, maybe for most used ones (WhatsApp etc.)

Still, i know is a low priority, but could be very nice quick reply on calls and "show on device" too. :)

...yes, i know: too much request in one time... :)

BTW, proud to be a Premium Supporter!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.