yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch] sebas_tytn2:
Well I'm surprised this topic isn't exploding with posts.

This will be the #1 app for thiswatch if it is released.

First of all thanks for opening up the alpha.

I didn't get to it yet, and lots of people will probably have issues getting it installed.

I'll give it a go when I have the time.

Anybody already got it working on their watch?
[Samsung Galaxy Watch] Cybernetic87:
Yes, a few people got it working via the PM's. I asked them to post here to make the topic alive but nobody did.
[Samsung Galaxy Watch] kemoti:
It's terribly complicated. You can not simply insert this application into the Samsung store so that it can be easily installed?
[Samsung Galaxy Watch] Cybernetic87:
I know it's complicated - if you don't want to install alpha now, just don't.

I will "SIMPLY" publish it on store in a

few months

:) cheers.
[Samsung Galaxy Watch] devilsden:
I got it installed but can't get it to work.

The phone app says connected. The listen button on watch of blue (activated) when the app starts.

When I press the button it turns grey and when I speak, nothing happens.

The app on phone has been granted storage and mic permission and the app on watch has been granted mic permission.

I have generated and copied the json file as instructed
[Samsung Galaxy Watch] Dixon Butz:
Do you see the log button and the connection status above it on phone app?
[Samsung Galaxy Watch] Cybernetic87:
Guys,

Use this apk. It should log even more:

https://www2.zippyshare.com/v/s8m9QfFf/file.html

Please paste in the log output.
[Samsung Galaxy Watch] Dixon Butz:
It works now and phone app shows disconnected
[Samsung Galaxy Watch] Cinekk:
I will try to install apk again tomorrow, its quite difficult to me.
[Samsung Galaxy Watch] Dixon Butz:
Watch app works normally now since enabling GA API in the project. Phone app shows disconnected. But it is connected.
[Samsung Galaxy Watch] DroidBoss07:
app still closes as soon as I click "Ok" running 0.7.1 from the link you gave above.
[Samsung Galaxy Watch] Cybernetic87:
There must be something wrong with your secrets.json file then.

Works for me 100% of the time, just generated new secrets file and freshly put it.

Works both on physical device and emulator.

Proper secrets.json file should look like this:

I manually reformated it for the screenshot purpose.
[Samsung Galaxy Watch] DroidBoss07:
mine looks exactly the same so has to be something else that's going on..

here's the logcat of the crash if it helps in anyway

https://imgur.com/a/FbucVyS
[Samsung Galaxy Watch] Cybernetic87:
Try the no-minify version from GDrive, same folder.

Post logcat here please.
[Samsung Galaxy Watch] DroidBoss07:
here's the logcat of the no-minify version aswell as my redacted secrets.json
[Samsung Galaxy Watch] Cybernetic87:
Sorry, something didnt save properly :D

try:

GAssist.Provider-debug_true_no_minify.apk

I suppose this version will work and it's all due to the minification...

Im not an Android development expert, nor I don't know how Proguard and minify works...

Just wanted to shrink the apk size, and the minified version works good for me.

I wonder what it breaks and why...
[Samsung Galaxy Watch] DroidBoss07:
can't help you there aha but thanks for getting it to work! really appreciate it and if there's anything I can help with let me know :good:

going to send you a coffee or beer haha

I'll test it with the watch and give feedback then. Also congrats on getting it on the official store

:victory:
[Samsung Galaxy Watch] Cybernetic87:
I'm upping all my build tools at the moment, I will rebuild minified version with the latest tools - would you be able to test it again (the credentials generating part) again ?
[Samsung Galaxy Watch] DroidBoss07:
yep! let me know when and i'll give it a go
[Samsung Galaxy Watch] psymont:
Where do I find older versions? Download link in op takes me to beta store and looks like only one option. Must be missing something
[Samsung Galaxy Watch] Cybernetic87:
Both on Google Drive for manual install - 0.7.1 fresh and working:

https://drive.google.com/drive/folders/1OvkeKh5Uk5BE5DJbVWozF9DiGLHNSGX5

Or both apps from beta stores.

Phone app is on regular store but there is bugged version - validating update fix ATM.

Watch app only on beta store - not ready for release yet :)
[Samsung Galaxy Watch] DroidBoss07:
is that one minified? Tried it out just now with fresh credentials folder and worked perfectly
[Samsung Galaxy Watch] Cybernetic87:
Nah... its not minified, 5MB size o_O :D

I updated ALL dependencies including gradle build tools, android sdk (now its Android Q ready :D haha)

I updated my Android studio (now on alpha version)

Updated all libraries to latest alpha's.

Everything is the freshest available out there, and still minifying breaks the app (I managed to get this error on emulator).

So for now I won't bother about minifying the apk. 5mb nowadays is little anyway.

Maybe if I fix current critical issues I will get back to it.

Btw. I suspended Phone app beta tests on store (couldnt update the apk anyway since its released on store). Downside is that each update of the released apk needs to pass validation which takes 24-36hrs....
[Samsung Galaxy Watch] DroidBoss07:
yea absolutely no need to minify atleast for now 5mb really isn't that bad. Sorry if it's been asked before but what is the third screen for? first is the assistant, second are settings and third is always black for me except when I tried html responses and then the third screen/page/tab had a white rectangle or sometimes a cut off html response? Great work tho can't wait for updates and hope you continue support for a long time although yea I've heard about how slow it can be to push an update even if it's a very slight fix/addition.
[Samsung Galaxy Watch] Dixon Butz:
[MENTION=3390574]Cybernetic87[/MENTION] The apk from .71 crashes constantly on my Nexus 6.

I installed that miify apk and the .71 tpk. That combo works great with no store error.
[Samsung Galaxy Watch] Cybernetic87:
Did you try to install the lastest 0.7.1 - the big one (5mb) currently available on my GDrive ? Its without minifying.
[Samsung Galaxy Watch] djwuh:
0.7.1 from your Google Drive is giving me the same result non stop crashing. So I installed the APK from 0.6.2 combined with the tpk from 0.7.1 and the crashing stopped. Now assistant is working on the watch again
[Samsung Galaxy Watch] Cybernetic87:
You need to generate credentials using the app again in order for it to function properly. Delete the credentials.json and device.json files and rerun the phone apk (make sure that the watch app is not running during the process).

A little bit changed in the latest Google Oauth library so I had to adjust the process.

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy Watch] djwuh:
That worked! Everything seems to be working now.
[Samsung Galaxy Watch] Cybernetic87:
Fixed minified version is available here:

https://drive.google.com/drive/folders/1ehFFFFwaje9ZiyXn1GNSYeB0mpi6-ndl?usp=sharing

Can you please check if the credentials process is working without problems now ?

Nevermind, it crashes later on. Fck this minification for now.
[Samsung Galaxy Watch] sawdoctor:
Everything working perfectly again now. Thanks for all your hard work
[Samsung Galaxy Watch] Cybernetic87:
Guys, can you download the experimental version from here:

https://drive.google.com/drive/folders/1ehFFFFwaje9ZiyXn1GNSYeB0mpi6-ndl

I fixed the store opening / app opening / screen lighting up.

Also now it should just start the service even if the device is sleeping - needs intensive tests.

Store should open only if the phone app is not installed.

Please test.
[Samsung Galaxy Watch] djwuh:
The experimental version of the APK will not install on my phone lgv30. I uninstalled the other one first and I rebooted the phone still not able to install
[Samsung Galaxy Watch] lewis1982:
Could you so cute to explain me how install the.tpk on the watch?

Thx
[Samsung Galaxy Watch] Cybernetic87:
Experimental version is for users who know how to install the tpk (guide is in first post).

For others - the app is on Galaxy Beta store, available on Samsung devices only.
[Samsung Galaxy Watch] DroidBoss07:
I also can't seem to install the experimental version.

I uninstalled the app and checked that there were no packages left related to it and experimental version says "app not installed" I reset app preferences tried again and nothing.

Not home at the moment but in about an hour or so I can look into getting you some logs but it's likely a problem with the signing of the application

Sae that it's down to 4.64 from 4.78mb haha
[Samsung Galaxy Watch] lewis1982:
Where i looking for for galaxy beta store.

I am dummie
[Samsung Galaxy Watch] DroidBoss07:
It works however to make it work directly on the phone without adb -t switch check your AndroidManifest.xml and change the following:

android:testOnly="true" to android:testOnly="false" or remove the attribute.

That is what is preventing people from installing the latest apk. adb gave me the following:

adb: failed to install GAssist.Provider-debug.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]

Whenever I press the back button on the watch and open the app again it still lights up my phone and goes to the galaxy store for the app despite it being installed. The persistent notification of the service running on the phone did not appear until I used the app on the watch.
[Samsung Galaxy Watch] Cybernetic87:
I never had this tag(android:testOnly="true" ) in my manifest and it installs for me without any problems, I just tried to put the apk manually on my phone and install it.

I just updated the experimental versions on GDrive. Try them now, it should never light up the phone when using the watch app....
[Samsung Galaxy Watch] DroidBoss07:
Hm interesting well it worked it allowed to install without specifying the -t flag which allows test packages for adb. Tested it with updated watch app and phone app and it no longer turns on the screen for the phone :good:
[Samsung Galaxy Watch] Cybernetic87:
Could you try the release version as well ?
[Samsung Galaxy Watch] DroidBoss07:
The one that's on the galaxy store or did you just add it to your google drive?

Tried the one on the galaxy store with the latest watch app from the beta store and the phone app from the galaxy store and it crashes everytime I click on ok for credentials.

Gives the same logcat it was giving last time
[Samsung Galaxy Watch] Cybernetic87:
Google drive, there is a release build available.

As of the Samsung store, it's validating but it's validating a version from yesterday noon xD so like 50 versions behind xD

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy Watch] DroidBoss07:
oh haha oops but just gave it a go and it works :good:
[Samsung Galaxy Watch] r4yv3n:
With latest app in the store i receive msg "companion app is not installed" and of course, app in phone is installed and running
[Samsung Galaxy Watch] DroidBoss07:
what app? watch or phone. You have to have both. You can get the latest watch one on the beta store and the phone is on the galaxy store unless you don't have a samsung device in that case follow instructions on the first page all should still apply.

when reporting problems logs and/or screenshots would be of help
[Samsung Galaxy Watch] Dixon Butz:
[MENTION=3390574]Cybernetic87[/MENTION] is a ****ing genius! He is working so hard on this app! He is a coding wild BEAST! Can't be stopped. Been talking to him all day.:D

Remember, he is the author, not me. Please donate. He has to pay to put it on the stores.

You will be amazed at next versions!
[Samsung Galaxy Watch] maxwe11:
[MENTION=3853110]Dixon Butz[/MENTION] please add djwildlion@yahoo.com to the beta of apk app

Thanks
[Samsung Galaxy Watch] Dixon Butz:
PM Me to get added to the beta store.

Don't post emails in thread. Thx.
[Samsung Galaxy Watch] maxwe11:
[MENTION=3390574]Cybernetic87[/MENTION] the companion app keeps crashing since 0.7 update for some reason I have latest updates for s9 and galaxy watch

---------- Post added at 04:42 AM ---------- Previous post was at 04:42 AM ----------

[/COLOR [MENTION=3390574]Cybernetic87[/MENTION] the companion app keeps crashing since 0.7 update for some reason I have latest updates for s9 and galaxy watch
[Samsung Galaxy Watch] Dixon Butz:
Next version will not crash. It is working perfectly. Hold on and wait for Cybernetic to wake up. It is WoW!
[Samsung Galaxy Watch] r4yv3n:
Same for me now:confused:
[Samsung Galaxy Watch] maxwe11:
I am so excited :) and sure he will do something amazing for next versions and hope it fixes the current companion app crash
[Samsung Galaxy Watch] Cybernetic87:
Delete the credentials.json and device.json file, let the app generate new credentials if it's crashing.
[Samsung Galaxy Watch] maxwe11:
[MENTION=3390574]Cybernetic87[/MENTION] where is the device.json?
[Samsung Galaxy Watch] Cybernetic87:
Both in credentials folder, if you only had credentials.json file - only delete it. device.json will get created during the authentication.
[Samsung Galaxy Watch] maxwe11:
[MENTION=3390574]Cybernetic87[/MENTION] the app asks me to add it again and follow the link! And only found credentials.json there is no device.json
[Samsung Galaxy Watch] Cybernetic87:
Where did you get the apk from ?
[Samsung Galaxy Watch] maxwe11:
[MENTION=3390574]Cybernetic87[/MENTION] playstore. I am not added to the beta for mobile/phone beta companion app just watch one. My email is djwildlion@yahoo.com
[Samsung Galaxy Watch] Cybernetic87:
There must be something wrong with your secrets file then, use this video tutorial and get the new secrets file:

https://www.youtube.com/watch?v=VfunEUzzFVU
[Samsung Galaxy Watch] Cybernetic87:
0.7.3 will be soon out on Google play store.

I've added the json files validation so if anybody has a badly generated secrets file or credentials generated by the old version of GAssist, the message will appear.
[Samsung Galaxy Watch] Dixon Butz:
For those who manually install, uninstall phone app, delete credentials.json and device.json in the Credentials folder. NEVER delete the folder or secrets.json.

Install the latest watch app .0.7.2 from Google drive. And open it on WATCH, it will open the Google Play store on phone so you can install the phone app!
[Samsung Galaxy Watch] r4yv3n:
Working great now.

Have to test more, but I'm working now...
[Samsung Galaxy Watch] Dixon Butz:
You can go home sick and test! I just talked to your boss :laugh:
[Samsung Galaxy Watch] kshitij84:
We still need to create credentials and secret? Or is it a normal setup?
[Samsung Galaxy Watch] Cybernetic87:
Secrets only. I just saw that somebody got a crash with Play store code version 9 (its 0.7.2 version).

I just fixed the bug which caused this crash.

Since the app is on play store, I see all the logs, when it crashed, on which version, on which phone. This is freaking amazing.

I can fix all the bugs so easy now.
[Samsung Galaxy Watch] fraywire:
I love this app already. Works lightning fast for me.
[Samsung Galaxy Watch] kshitij84:
Cant find the app, someone post a link plz
[Samsung Galaxy Watch] Cybernetic87:
Watch app got approved on the official Samsung Galaxy store and its already available for download:

http://apps.samsung.com/appquery/appDetail.as?appId=com.cybernetic87.GAssist

I dont know if this link will only work from Samsung, if the link doesnt work, just search for the app typing "gassist".

This is first widely released version. Available on store to all users (non-samsung as well).

NOTE: Phone companion app is available on Play Store and if you don't have it, Play store will open on phone automatically and let you install it.

If anybody has installed a watch app version not from Samsung Store, please uninstall it and install the Samsung Store version.

If anybody has installed phone app version other than Google Play store version, uninstall it and install Google play store version.

New versions will not appear on Google Drive anymore, actually the whole google drive repository will be deleted.

From now on only Watch app from Samsung Store and Phone app from Google Play store will be supported.

No other version will be supported.
[Samsung Galaxy Watch] lewis1982:
Dont find in galaxy store the watch app. Italy

I dont find the app for the watch in galaxy store. Italy
[Samsung Galaxy Watch] Cybernetic87:
Damn, false alarm xD

It's still aprooving. They approved the phone app (doesn't matter because it's on play store and will be removed from Samsung store)

Sorry guys, we need to wait just a little bit. It will appear very soon!!!!

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy Watch] talmarsh:
So excited for this. Is the beta for the Watch app still open?
[Samsung Galaxy Watch] Cybernetic87:
Yea but after I put it to the release, no new testers can be added.

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy Watch] lewis1982:
But will it possibile senza WhatsApp too?

Anyway you are a bigger
[Samsung Galaxy Watch] kshitij84:
Can see the app in the galaxy store but says not available in your country, India
[Samsung Galaxy Watch] ThxdarknyT:
Big thanks [MENTION=3390574]Cybernetic87[/MENTION] for bringing Google Assistant to Gear S3, lve been waiting for this since the watch came out, one of my favorite apps on the Gear S3??
[Samsung Galaxy Watch] Cybernetic87:
Does it already work on Gear S3 ? Did they fix the library bug ?
[Samsung Galaxy Watch] ThxdarknyT:
Yeah I have tmobile Gear S3 R765T on tizen 4.0.0.2
[Samsung Galaxy Watch] ks2hot4u:
nothing in the samsung store for the watch app-Canada
[Samsung Galaxy Watch] gruuvin:
What will be the preferred actions for reporting issues with the official release versions? Will thete be a new thread to discuss the official release?
[Samsung Galaxy Watch] Cybernetic87:
I asked moderation about 2 weeks ago to move the project to devdb, would be a lot easier to handle all the errors...

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy Watch] Dixon Butz:
I can't add anyone to the Samsung Beta store while the app is undergoing evaluation. It will be on the Non-Beta store if they approve it. After that, the Beta store will re-open and it will have much faster updates. It is 833am in S. Korea Tuesday.

Stay tuned!
[Samsung Galaxy Watch] psymont:
Where can I find older version to test?
[Samsung Galaxy Watch] Dixon Butz:
Only on his Google drive for manual installers ATM. Don't waste time with those. This new version that will be on the Samsung store soon is very stable and it is linked to the Google Play store. There has been some amazing development by Cyberneitc87!

Still waiting for Samsung to complete the app validation. Come on Fckers! 11am in Korea already! JFC they are slow.
[Samsung Galaxy Watch] Vinn101:
Woo! Official release on store in next version? I'm looking forward to that. Wasn't able to properly set up the complex method on my Pixel 3XL, so now I'll have a chance.
[Samsung Galaxy Watch] Dixon Butz:
Just got of those phones. Love it!

You will still need to just generate secrets.json from the video tutorial in post one. It is easy. And create a Credentials folder on phone.
[Samsung Galaxy Watch] Cybernetic87:
Update 0.7.7 will be rolling out on Google Play store soon:

Changes:

- added the ability to choose secrets.json file from custom location

- credentials and devices are no longer kept in /credentials/ folder - now they will be kept in internal application data (security!, need root access to access this folder)

- app no longer needs WRITE_EXTERNAL_STORAGE permissions

Each user will have to re-generate the credentials (app will ask to do so).

After successful generation of credentials - no new files are created in credentials folder

credentials.json / device.json can(and should) be removed from the device (again, security)
[Samsung Galaxy Watch] kshitij84:
Still can't find it on the Play Store
[Samsung Galaxy Watch] r4yv3n:
Installed 0.7.7 from Play Store:D
[Samsung Galaxy Watch] Dixon Butz:
https://play.google.com/store/apps/details?id=com.cybernetic87.GAssist
[Samsung Galaxy Watch] sawdoctor:
What country are you? Still showing 0.7.6 here
[Samsung Galaxy Watch] r4yv3n:
Spain
[Samsung Galaxy Watch] MrTissues:
So annoying Samsung still hasn't really done anything to fix this bug they introduced on the Galaxy Watch S3
[Samsung Galaxy Watch] sawdoctor:
I had to uninstall the app to get the update, maybe because i installed it from sammy store not playstore?
[Samsung Galaxy Watch] Dixon Butz:
You might be correct. [MENTION=3390574]Cybernetic87[/MENTION] would know. I don't use the Galaxy store to install the watch app.

You should kill the G Playstore, or reboot, and make sure it checks for updates.
[Samsung Galaxy Watch] Dixon Butz:
Hey! It is almost 9am in Korea :cool:

Galaxy store app status:

Under Test Confirmation	Updated. 2019-06-25

That is new. It previously said: 2019-06-23 today

So we are still waiting for the regular store release. Gonna be BIG news when it goes live! Get your secrets.json ready. Watch the turtorial in post #1

Update on the Google play store just now. .7.8 is out! Don't install if you don't have the watch app.

[MENTION=3390574]Cybernetic87[/MENTION] has been working on this app hard! Support him!

https://play.google.com/store/apps/details?id=com.cybernetic87.GAssist

.
[Samsung Galaxy Watch] mick353:
I'm up and running with playstore app.. Works a charm.. Think the Op needs to update the first post with details.. Also curious where to from here, what functionality is/could be included not addressed as yet. What are the limitations currently etc. Just so everyone has the correct expectations

Kudos to Cybernetic87!
[Samsung Galaxy Watch] perfectpitch:
Awesome work cyber. Works great. And fast responses also
[Samsung Galaxy Watch] Cybernetic87:
Guys,

I am wondering if I should lower the min SDK version of the phone app to api 22 (android 5.1) or even lower.

I wonder what consequences it has on the existing users.

Currently it is set-up: compilesdk : 29 (android Q)

minsdk : 26 (Android 8.0)

targetsdk : 29 (android Q)

Any experienced Android developer here could advice on this ?

I can lower the minsdk to 22 and I can build project without any problems, no errors / warnings whatsoever,
[Samsung Galaxy Watch] dataonlycod:
I am not an expert, but how are you maintaining the application alive while it is in background?
[Samsung Galaxy Watch] Cybernetic87:
Fortunately, I am not at all ;)

Samsung registers a broadcast receiver for a service connection from watch. By this approach (since a few versions, 0.7.0 I believe) I dont have to care about android killing my service anymore. Samsung library takes care of all this stuff. If the service is already up - it uses it to process the reqests, if its dead - Broadcast receiver fires it up again.

With above said, this approach is kinda hybrid, it still uses foreground service (to assure its not getting killed all the time by the system), we don't want to fire the service everytime the user launches the watch app. Use of foreground service tries to keep service alive as long as it can (it can get killed eventually, by some battery savers etc - still no biggie as broadcast receiver can always fire it back up).

What I only do is I'm using the service connection provided by Samsung and I actually forward requests send from watch, using the service connection and API connection on phone -> to Google.
[Samsung Galaxy Watch] hunnymadaan:
Is there any library like firebase for google auth which helps to get rid of from this long process? I mean the google console based stuff , creating new project etc..
[Samsung Galaxy Watch] Cybernetic87:
Yeah, so horribly long that video tutorial with explaining how to do it takes 5 minutes. It's so oooo horribly long and complicated that you have to be a certified rocket science engineer to go through it.

Let's just stop here.

Looks like this project is not for everyone. Don't like the process, don't use it. Nobody forces you to.

I can depublic the project as well and make it private, for only using myself. I'm having a great time coding it. I really enjoy :) I don't have to listen to your complaints, seriously I don't need it.

Wysłane z mojego SM-G975F przy użyciu Tapatalka