[HOWTO][4.2]Now there's an app for that. Enable Multiple Users in Android - Sprint Samsung Galaxy S III

For Android 4.2 Try this:
mildlydisturbed said:
FYI, since I stumbled across this looking for 4.2 and it came up because *not 4.2* is in the title, in case it's not here - 4.2 how to (possibly depending on build)
adb shell
su
pm get-max-users (should show 1)
setprop fw.max_users (some number above 2, I chose 7)
pm create-user someusername here
repeat the create-user as wanted.
That popped up a "Users" tab for me after creating 1 that allowed me to create more.
Your mileage may vary, and I did this on a different device so I may just be useless
Click to expand...
Click to collapse
Or this:
SferaDev said:
For those who doesn't to worry to do it wrong I've coded a app of this procedure.
Link: http://forum.xda-developers.com/showthread.php?t=2187934
See you!
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
Only bug I noticed was that in order to switch from any non primary user back to the primary(as far as using a visual UI), your lock screen *has* to be in landscape mode. Easy enough I guess so have at it!
Thanks to everyone keeping the info flooding in on this subject. Hopefully KLP will have this baked in for phones as well.
Original Method for 4.1 below:
Been featured on the below sites!
XDA Portal
http://www.xda-developers.com/android/switch-user-profiles-on-jelly-bean/
XDA TV
http://www.youtube.com/watch?v=MLdt973MToM&feature=youtube_gdata_player
Phandroid
http://phandroid.com/2012/08/02/and...but-confirmed-for-future-versions-of-android/
The Verge
http://theverge.com/2012/8/2/3216403/android-multi-user-feature-shown-off-developers-video
AndroidCommunity
http://androidcommunity.com/multi-u...ndroid-tweaks-enabled-in-jelly-bean-20120802/
Android Central
http://androidcentral.com.feedsport...s0Edefinitely0Enot0Efinished0Eyet/story01.htm
Slashgear
http://www.slashgear.com/android-multi-user-support-uncovered-in-jelly-bean-02241519/
OS News
http://www.osnews.com/story/26244/Android_4_1_has_rudimentary_multiuser_support
Phone Arena
http://www.phonearena.com/news/How-...unts-on-a-Jelly-Bean-device-right-now_id33001
Android Headlines
http://androidheadlines.com/2012/08...-multi-user-accounts-in-jelly-bean-video.html
PhoneDog
http://www.phonedog.com/2012/08/03/...r-accounts-on-android-was-a-long-time-coming/
Boxden(?)
http://slumz.boxden.com/f244/androi...-but-confirmed-future-versions-andro-1793277/
Geeky Gadgets
http://www.geeky-gadgets.com/androi...ple-user-accounts-in-action-video-03-08-2012/
DroidDog
http://www.droiddog.com/android-blog/2012/08/root-set-up-user-profiles-in-jelly-bean/
Pocket Droid
http://www.pocketdroid.net/simple-multiuser-environment-hidden-android-41-jellybean/
*Insert Disclaimer Here*
Also, I have navigation bar mod on my 7/30 build of CM10, so ignore those.
This should work on any Jellybean Android 4.1.x ROM built from AOSP, like CM10, AOKP, etc.
Please read this entire post before doing any of this!
This feature is now in AOSP fully as of Android 4.2!!
After reading about the recent discovery of multiple user code being in JB, I decided to mess with it.
Here's a video:
http://www.youtube.com/watch?v=OfHWV_-X3a8&hd=1
Manual method(fun, makes you feel like a hacker):
First, we need to enable this.
Go to Terminal Emulator and type these in:
Code:
su
Code:
pm create-user test
Hint: "test" being the name of the 2nd user. You can change that to a name, or whatever.
Now, we've created a 2nd User on your JB 4.1 device. Hold the Power/Lock button to bring up the power menu, and you should see this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
From here, you can switch to the 2nd user, which will have a fresh homescreen, and show you the tutorial. Settings are limited to this user, as seen here:
mantian said:
In case someone hasnĀ“t figured out how to rename/change any usename, it's pretty easy.
You only have to go to /data/system/users and edit the "userX.xml" file, where X is the user numer(0,1,2,...). The change the name between and to any other you like. For example, from guest to invitado. Save the file and reboot. It work well for me.
P.S: If you don't know which user number has the one you wanna change, check out the userlist.xml file, which has the same path above.
Click to expand...
Click to collapse
To remove this 2nd user from your phone, switch back to the primary user via the power menu, and go back to Terminal Emulator.
Type this in:
Code:
su
Hint: only if it isn't still running from before
Code:
pm remove-user 1
Hint: primary user in this case is 0, 2nd is 1, so on and so on.
Now you should only have one user, and your Power Menu should not have the ability to switch to a new user anymore.
To double check, go back to the Terminal Emulator and type this:
Code:
su
Code:
pm list-users
Should say:
Code:
Users:
UserInfo{0:Primary:3}
Easy Method:
XDA member Raghav Sood has an app that does all of the above for you.
http://forum.xda-developers.com/showthread.php?t=1824066
At the moment, this isn't extremely usable, ie texts from the primary user's still show in the 2nd test account. But, with the right launcher installed, and hiding the apps from the drawer on the 2nd account, this can still be usable in its current form.
My suggestions:
1.) Label the 2nd user Guest
2.) Use Nova or Apex as the launcher for the Guest user, and hide all of the apps you want(texts, social media, email, etc) from the app drawer.
3.) Setup a security lockscreen on the primary user to prevent Guests from gaining access(each user has different lockscreen settings)
You can read more about this here:
http://phandroid.com/2012/07/31/cod...oid/?utm_medium=referral&utm_source=pulsenews and on their source link.
Feedback:
cdesai said:
http://goo.gl/AnXT7
P.S. - This was done by modifying code in the Settings app, and i did submit the patch to CM Code-Review(http://goo.gl/PU4wQ), it ins't in yet as it's buggy.
We've tested it pretty extensively, and it's insanely broken.
I also submitted a patch to AOSP related to this(http://goo.gl/u0WbN), and it got rejected, due to what i said.
The below line comes a developer at google, who's been working on this since more than a year:
"Multi-user feature is not ready for deployment. Bad things will happen if you use it in its current state!"
Click to expand...
Click to collapse
Roodborstje said:
I have it working om my GSM GN.
I found that in the second account there are apps that I don't have in the primary account, for example: Google Wallet, Play Magazines, Play Books and Play Films. (I'm from Belgium)
Oh, they disappeared as soon as I signed in with my Google account.
If you are on the second user, most of the data from the primary user is hidden (you can not acces it).
For example:
- photo's
- unlocked levels in Angry Birds
- music
- contacts
- google account
- clipboard
- home screen
But there are a few exceptions:
- all the apps are there, as if they were just installed
- the recent apps menu
- the use-app-as-default-setting (I don't know the official name). For example: if you set Apex as default in the Guest account, it will also be default in the primary account.
- your messages (!)
Ps: this was my first post on xda
I hope you find it usefull.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Sent from Mr. Z's Galaxy S3.

It. just. Looks. So .
Sexy :')
Great tut btw!!! I shall do this
Sent from my SPH-L710 using xda app-developers app

Dude, just awesome! This will come in very handy for my 2 year old! Thanks!

Uploading a video now of it.
Edit: Video https://www.youtube.com/watch?v=OfHWV_-X3a8&feature=youtube_gdata_player
Sent from Mr. Z's Galaxy S3.

this would be epic if this could work.
you could probably make some serious change in the marketplace also lol

Great! Also works in adb shell.

cypressious said:
Great! Also works in adb shell.
Click to expand...
Click to collapse
i get 'stopped(sigsstop)' what wrong?

great! will come in very handy since im always working with Ethiopian children and trust me they're pretty smart they always blackmail me saying they'l send my contacts dirty pictures and messages. now its all going to be stopped ! thanks bro

NeoNikon said:
great! will come in very handy since im always working with Ethiopian children and trust me they're pretty smart they always blackmail me saying they'l send my contacts dirty pictures and messages. now its all going to be stopped ! thanks bro
Click to expand...
Click to collapse
Good luck with that.... 0.o
Sent from my SPH-L710 using XDA App

This is fantastic. I hope that there is more exploration of this. Would be perfect for tablets.

http://goo.gl/AnXT7
P.S. - This was done by modifying code in the Settings app, and i did submit the patch to CM Code-Review(http://goo.gl/PU4wQ), it ins't in yet as it's buggy.
We've tested it pretty extensively, and it's insanely broken.
I also submitted a patch to AOSP related to this(http://goo.gl/u0WbN), and it got rejected, due to what i said.
The below line comes a developer at google, who's been working on this since more than a year:
"Multi-user feature is not ready for deployment. Bad things will happen if you use it in its current state!"

cdesai said:
http://goo.gl/AnXT7
P.S. - This was done by modifying code in the Settings app, and the patch is on cm gerrit, just not ready to be let out yet.
I've also had a build up with that for quite a few days now, it's just that i didn't release it as it's unstable and not intended to be used now.
Click to expand...
Click to collapse
One more reason to go cyanogen on tablets

Just tested with team eos jelly bean rom and it worked, on the motorola xoom MZ601

This is really cool. Now I just need Jelly Bean

I have it working om my GSM GN.
I found that in the second account there are apps that I don't have in the primary account, for example: Google Wallet, Play Magazines, Play Books and Play Films. (I'm from Belgium)
Oh, they disappeared as soon as I signed in with my Google account.
If you are on the second user, most of the data from the primary user is hidden (you can not acces it).
For example:
- photo's
- unlocked levels in Angry Birds
- music
- contacts
- google account
- clipboard
- home screen
But there are a few exceptions:
- all the apps are there, as if they were just installed
- the recent apps menu
- the use-app-as-default-setting (I don't know the official name). For example: if you set Apex as default in the Guest account, it will also be default in the primary account.
- your messages (!)
Ps: this was my first post on xda
I hope you find it usefull.
Sent from my Galaxy Nexus using xda app-developers app

Roodborstje said:
I have it working om my GSM GN.
I found that in the second account there are apps that I don't have in the primary account, for example: Google Wallet, Play Magazines, Play Books and Play Films. (I'm from Belgium)
Oh, they disappeared as soon as I signed in with my Google account.
If you are on the second user, most of the data from the primary user is hidden (you can not acces it).
For example:
- photo's
- unlocked levels in Angry Birds
- music
- contacts
- google account
- clipboard
- home screen
But there are a few exceptions:
- all the apps are there, as if they were just installed
- the recent apps menu
- the use-app-as-default-setting (I don't know the official name). For example: if you set Apex as default in the Guest account, it will also be default in the primary account.
- your messages (!)
Ps: this was my first post on xda
I hope you find it usefull.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
That is really useful information
Just goes to show just how usable or unusable it can really be in its current state.
Sent from Mr. Z's Galaxy S3.

Can we do this with ICS?

Thank You...Works perfectly on my Galaxy Ace running maclaws JellyBean Beta1 4.1.1

BetoFlakeS said:
Can we do this with ICS?
Click to expand...
Click to collapse
No. The code required wasn't implemented until Jellybean.
Sent from Mr. Z's Galaxy S3.

Great

Related

How to get the best experience for Android. Tips and advice here :)

This thread will be dedicated for people posting about things they have done to improve the experience of using Android on their device.
I'll start of by posting some already known but may be new to new users.
In spare parts turn off animations and speed of transistion of windows. This should make navigating faster.
By doing this it should also automatically turn it off in the settings app.
Based upon your needs you can change how many apps may be open at any given time.
Dark Man X: i set in dev-tools (development settings) a process limit to 3 apps, now my diamond is much more stable and smooth
maybe someone helps who doesnt know this feature (like me)
Also first boot is always sluggish due to Android setting up everything. After you see the homescreen you should give it a good 5 minutes to settle in. Then reboot and reload haret again. You should notice the system is now more responsive and smooth.
[text removed to save space]
babijoee said:
This thread will be dedicated for people posting about things they have done to improve the experience of using Android on their device.
I'll start of by posting some already known but may be new to new users.
In spare parts turn off animations and speed of transistion of windows. This should make navigating faster.
By doing this it should also automatically turn it off in the settings app.
Based upon your needs you can change how many apps may be open at any given time.
Dark Man X: i set in dev-tools (development settings) a process limit to 3 apps, now my diamond is much more stable and smooth
maybe someone helps who doesnt know this feature (like me)
Also first boot is always sluggish due to Android setting up everything. After you see the homescreen you should give it a good 5 minutes to settle in. Then reboot and reload haret again. You should notice the system is now more responsive and smooth.
Click to expand...
Click to collapse
When I restricted the process limit to 3 or even 4 apps in development settings I found that my exchange email started messing up. I could open the message list, but couldn't actually get an email to open. It kept closing out to the home screen. Removing the limit brought it good again. Was repeatable by selecting and removing limits. This is on a DIA100.
robh1234 said:
When I restricted the process limit to 3 or even 4 apps in development settings I found that my exchange email started messing up. I could open the message list, but couldn't actually get an email to open. It kept closing out to the home screen. Removing the limit brought it good again. Was repeatable by selecting and removing limits. This is on a DIA100.
Click to expand...
Click to collapse
probally recommended for light users of android.
eg texting, phone, web and music.
Mr.Sir said:
It works great except for:
1. Camera doesn't work.
2. It literally EATS my battery and heats up the device a lot more than winmo. It's even a bit warm in hibernate.
I have no stability, lag or other animation issues. Fix those two points and we won't even need winmo anymore, except for booting android
Click to expand...
Click to collapse
please read the topic before posting. we know this already, back onto topic.
I turned off auto-rotate display under display settings, this increased speed for screen tilts and removes the instability with launcher pro when extending/closing the hw keyboard. Eq no more force quit on launcher-pro when doing tilt+extend keyboard or.
Seems like launcher pro get's dual inputs both sensor and physical keyboard extend.
You will lose the auto landscape if keyboard is not extented, byt I never use landscape without keyboard anyway.
XDAndroid 2.2 Froyo 1.7.10 Beta
Sent from my HTC Touch Pro(RAPH100) using XDA App
CeasarRAPH100 said:
You will lose the auto landscape if keyboard is not extented, byt I never use landscape without keyboard anyway.
Click to expand...
Click to collapse
Yup, which is why it's really not a big deal to turn off that rotation sensor feature
CeasarRAPH100 said:
I turned off auto-rotate display under display settings, this increased speed for screen tilts and removes the instability with launcher pro when extending/closing the hw keyboard.
Click to expand...
Click to collapse
Im new To android on my verizon touch pro and my main complaint was how it would freeze trying to rotate all the time. I just tried this tip and now it is way more smooth.
Sent from my MSM using XDA App
Android 2.2b2
Verizon touch pro cdma
Screen of death / SoD work around
This may be device dependent (it might or it might not work for your device) but you can download batterybooster; free download from market and the website HERE
Once you've installed it, run the application and look for the icon that looks like a sun, far right hand corner, and tap it. Set it to Never and it should never time out! Keep in mind, this work around circumvents the automatic back lgiht feature. So, you will need to manually turn off the screen (usually power key). The intent of this work around is to have the screen to remain ALWAYS on.
Additionally, if you haven't already enabled the installation from unknown sources, when you run the .apk, Android should walk you through this process. Also, if you are installing this from the market, it won't hurt to set the automatic screen off to greater than 10 minutes.
n-Joie! (Enjoy)
Good read!
Some interesting reading on THIS site; specifically for devs and ROM builders.
nueDriverProject is a project to eventually rewrite all existing HTC drivers in C to aid in optimization and other efforts.
Click to expand...
Click to collapse
i cannot find stk menu on xdandroid and anyone knows how to install stk service?
reker said:
i cannot find stk menu on xdandroid and anyone knows how to install stk service?
Click to expand...
Click to collapse
stk menu? stk service?
Please, explain more - I have not a clue what you are talking about.
stk = stock maybe Or are you talking about the SDK? Two entirely different trains of thought there, my friend. Also, which version are you running? There are quite a few out there as we speak!
Do, get back with us when you can!
arrrghhh said:
stk menu? stk service?
Please, explain more - I have not a clue what you are talking about.
Click to expand...
Click to collapse
STK=SIM TOOL KIT
see wiki: en.wikipedia.org/wiki/SIM_Application_Toolkit
the sim card sell in china contain a built-in menu and it can perform some predefined functions, such as get the weather forecast or news thru sms, watch how many contacts the sim card can store, change my password of the sim, blablabla
in winmo, the stk service is built-in the rom, the service name is STK_Service, the filename is STK_Service.dll and i can access stk menu by running STK_UIPPC.exe
but in xandroid, i cannot find a useable stk service installer, i searched and found a stk.apk but i cannot install it on xandroid, when i try to intall it, it just tells me the application cannot be installed.
i noticed that the official android has included stk (com.android.stk can be found in /system/app/) but xandroid not include it
so.. does anyone know how to install it?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
reker said:
STK=SIM TOOL KIT
see wiki: en.wikipedia.org/wiki/SIM_Application_Toolkit
the sim card sell in china contain a built-in menu and it can perform some predefined functions, such as get the weather forecast or news thru sms, watch how many contacts the sim card can store, change my password of the sim, blablabla
in winmo, the stk service is built-in the rom, the service name is STK_Service, the filename is STK_Service.dll and i can access stk menu by running STK_UIPPC.exe
but in xandroid, i cannot find a useable stk service installer, i searched and found a stk.apk but i cannot install it on xandroid, when i try to intall it, it just tells me the application cannot be installed.
i noticed that the official android has included stk (com.android.stk can be found in /system/app/) but xandroid not include it
so.. does anyone know how to install it?
Click to expand...
Click to collapse
This is outside of the scope of XDAndroid, it seems to be carrier-specific. We try to support all carriers, but that doesn't mean we can support every single function of every single carrier.
Stick to WinMo if this is a problem for you, or figure out how to get the apk working and let everyone know how you did it .
no, it's not carrier-specific, in fact, near half of carriers in the world use stk.
stk is supported by official android and the source of stk.apk could be found at packages/apps/stk in the android source code, but it cannot be installed on xdandroid
reker said:
no, it's not carrier-specific, in fact, near half of carriers in the world use stk.
stk is supported by official android and the source of stk.apk could be found at packages/apps/stk in the android source code, but it cannot be installed on xdandroid
Click to expand...
Click to collapse
It is carrier-specific, and besides this is all for so-called 'value-added services'. You can't expect those to work on our port... If it's causing you grief either get a native Android device or go back to WinMo!!!!
@reker
It may not be supported by XDAndroid (the dev project) BUT it doesn't mean that you can not figure out how to support it and share this info. Keep in mind, ALL of this is made possible through the work and development of us, the members! If it was "so important" wouldn't you think that there would be support for it already?
GPS woes
At the moment, it has been reported that GPS does NOT work for Gingerbread. However, GPS should work in FroYo/FRX06(latest release to-date). It has been said that getting a lock(GPS lock) while in winmo, CAN reduce the length of time it takes to get a lock while in Android. Also, if you are running a ROM with QuickGPS, it is suggested to run it once before you run haret. This will also get a quicker GPS lock while in FroYo.

[Q] JB: "Complete action using" behaviour adding an extra click?

So far the land of JB offers lots of goodies. I'm thinking of staying here but there is one big challenge for me - the new way "Complete action using" behaves. I need to select the app then I need to do an "extra click" to pick "Always" vs "Just once". That's the reverse behaviour from anything below 4.1 that I've seen in may years of flashing. Any chance to set this to reduce that extra click, ie toggle for making an app the default one for the action?
IE. I get a link, I click on it, it prompts me which browser I want to use and if I select Firefox from the list, I'd like the page to open in FF, no extra selection. I go back, out of FF, select the same link, the same list pops up and I select Chrome, again without having to do the extra click "Just once"?
TIA, Marv
GNex with bigxie's [ROM][GSM]Jellybean 4.1 JRN84D
Click always instead of just once...
Sent from my Galaxy Nexus using xda premium
It's the same as it has always been. Just choose the app you want to keep using and click always.
Sent from my Galaxy Nexus using xda premium
DirgeExtinction said:
It's the same as it has always been. Just choose the app you want to keep using and click always.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
No, it's not. I agree with the OP. It is a very annoying and backwards feature. In ICS and below, the menu that popped up, you could click your suitable app and it would know it was "just once" but now we have to click the suitable app and click also just once. I use stuff where I don't want it to always remember, I always want the choice, whether to use Root Explorer or Gallery, whether to use stock browser, or Chrome, and whether to use Google Music, Youtube, or Poweramp (etc. you get my point). And yes, when you're using that many "hotlinks" often enough, it can get very tedious and annoying. Sorry for my mini-rant, it's just stupid. But OP, I think there might be an apk you can flash that will revert it to ICS... or flash an ICS apk over. I will look for it.
This sounds really annoying. I have many apps that I don't set a default, like browser for example I use different browsers all the time so I don't set a default. Its currently just one click. If JB adds a second confirmation pop up then that is really dumb.
anton2009 said:
No, it's not. I agree with the OP. It is a very annoying and backwards feature. In ICS and below, the menu that popped up, you could click your suitable app and it would know it was "just once" but now we have to click the suitable app and click also just once. I use stuff where I don't want it to always remember, I always want the choice, whether to use Root Explorer or Gallery, whether to use stock browser, or Chrome, and whether to use Google Music, Youtube, or Poweramp (etc. you get my point). And yes, when you're using that many "hotlinks" often enough, it can get very tedious and annoying. Sorry for my mini-rant, it's just stupid. But OP, I think there might be an apk you can flash that will revert it to ICS... or flash an ICS apk over. I will look for it.
Click to expand...
Click to collapse
Thank you anton2009 for not only reading my question but understanding it! With 99% of the "smart" users in forums never bothering to read the question I had given up on posting. But I almost always found the answers to my questions before even needing to post one. In this case, I was puzzled no one talked about JB doubling the number of clicks vs ICS and below when one simply wants to run different apps in different situations from the same link. Like you, I test links with different browsers when I develop mobile sites/apps and listen to music with different apps, some times I use youtube to play on my devices, some times I use youtuberemote to beam it to my TV. This "just once" kills me and I'm almost ready to go back to AOKP or give CM9 (now with JB kernel) another run.
If anyone finds an apk, or prop or anything that reverts the Complete action using behaviour, please please pleeeease let me know
Happy Canada Day for those up here and those who celebrate or care.
Marv
I think I'm getting close:
public static final String ACTION_CHOOSER
Since: API Level 1
Activity Action: Display an activity chooser, allowing the user to pick what they want to before proceeding. This can be used as an alternative to the standard activity picker that is displayed by the system when you try to start an activity with multiple possible matches, with these differences in behavior:
You can specify the title that will appear in the activity chooser.
The user does not have the option to make one of the matching activities a preferred activity, and all possible activities will always be shown even if one of them is currently marked as the preferred activity.
This action should be used when the user will naturally expect to select an activity in order to proceed. An example if when not to use it is when the user clicks on a "mailto:" link. They would naturally expect to go directly to their mail app, so startActivity() should be called directly: it will either launch the current preferred app, or put up a dialog allowing the user to pick an app to use and optionally marking that as preferred.
In contrast, if the user is selecting a menu item to send a picture they are viewing to someone else, there are many different things they may want to do at this point: send it through e-mail, upload it to a web service, etc. In this case the CHOOSER action should be used, to always present to the user a list of the things they can do, with a nice title given by the caller such as "Send this photo with:".
If you need to grant URI permissions through a chooser, you must specify the permissions to be granted on the ACTION_CHOOSER Intent in addition to the EXTRA_INTENT inside. This means using setClipData(ClipData) to specify the URIs to be granted as well as FLAG_GRANT_READ_URI_PERMISSION and/or FLAG_GRANT_WRITE_URI_PERMISSION as appropriate.
As a convenience, an Intent of this form can be created with the createChooser(Intent, CharSequence) function.
Input: No data should be specified. get*Extra must have a EXTRA_INTENT field containing the Intent being executed, and can optionally have a EXTRA_TITLE field containing the title text to display in the chooser.
Output: Depends on the protocol of EXTRA_INTENT.
Constant Value: "android.intent.action.CHOOSER"
Click to expand...
Click to collapse
Link
I just need to find where the UI is for the standard activity picker, so we can replace it with an older version
public static final String ACTION_PICK_ACTIVITY
Since: API Level 1
Activity Action: Pick an activity given an intent, returning the class selected.
Input: get*Extra field EXTRA_INTENT is an Intent used with queryIntentActivities(Intent, int) to determine the set of activities from which to pick.
Output: Class name of the activity that was selected.
Constant Value: "android.intent.action.PICK_ACTIVITY"
Click to expand...
Click to collapse
Link
This is how it used to be:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If just clicking on "just once" bugs you, then geez.
Sent from my Galaxy Nexus using xda premium
I agree it's super frustrating having to do this every time, i had hoped a double tap or something would have been baked in as an alternative.
DirgeExtinction said:
This is how it used to be:
View attachment 1169697
If just clicking on "just once" bugs you, then geez.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
That's exactly how it's always been. You're provided with a list of possible apps and you click the one you like to use that one time. If you find you keep using that one only, you could make this permanent and you're no longer prompted.
The behaviour I was hoping to see in JB4.1 was to still have the list of apps but to have it focused on the one I used the most or the last time. In 90% of the time I'd use YouTube to listen on my devices but in 10% of the time I'll use YouTubeRemote or TwonkyBeam or something else. If the list is long, I'd love to see it scrolled to the point where YouTube is in the middle and has the focus. The "Always" check-mark or selection is not even needed. One could long-touch the app they want to make favorite and be prompted if "Always", "Remove Always" or "Something else" would be the chosen behaviour from now on.
Thanks Android gets lots of attention from smart Devs and I'm sure someone will "fix" this soon.
Marv
I still can't believe Google devs made such a bad choice and probably 4.1.1 will correct this. Butter made tons of stuff smoother and faster but to add a double selection to every app start is baaaad :crying:
I personally enjoy this way of choosing a default app better than previous versions.
Sent from my Galaxy Nexus using xda premium
Could there be legal reasons for this? As I recall, the HTC One X was stopped by Apple regarding a patent on this action chooser when clicking on phone numbers.
Apple "invented" hotlinking it seems (to wich it holds a patent), just like they invented everything since the wheel, and google decided to work around this, as to avoid another pointless lawsuit from apple for something apple didn't even come up with, but holds the patent to.
Sent from my Galaxy Nexus.
Melhouse said:
Could there be legal reasons for this? As I recall, the HTC One X was stopped by Apple regarding a patent on this action chooser when clicking on phone numbers.
Click to expand...
Click to collapse
Definitely a good thought. Does this even solve the problem as a work around? Maybe...
Copearch piger,
We all hear that Apple invented everything... it's ugly. The whole patent thing needs to go away, or I can't go to the washroom at the cottage - the sliding door opener has been there since late 1880-ies but now I know Apple invented it.
Back to my issue - I don't see how this is different in Linux, or even Windows 3.1 from last century. You click on a file with some .ext and you get to choose which app opens it from a list or possible ones and you might select one of them to be the default. I can't think of any other OS where you get the list, have to select the app and yet, have to make one more selection/click to say "just once". It just doubles the effort which was not a goal of Butter.
And to admin how much I hate that behaviour. After 4 days on JB4.1, I flashed CM9-nightly-Jul.1st last night.
Just relax. Once official code is released and custom roms are being created im sure someone will mod it.
DO YOU JELLY?
It seems that opening a new thread about this has caused way more unneeded clicks than you'll ever rack up by this change.
kevinjgray88 said:
Just relax. Once official code is released and custom roms are being created im sure someone will mod it.
DO YOU JELLY?
Click to expand...
Click to collapse
That's what I see happening once the source code is released
Sent from a mostly harmless planet
So, when I was in looking at one of the cards (for train times) I was presented with a number of options (maps, chrome, something else) I clicked chrome (and selected always). What I really wanted to do was select maps!!
Is there anyway to go back and change this for this specific action?
redmongoose said:
So, when I was in looking at one of the cards (for train times) I was presented with a number of options (maps, chrome, something else) I clicked chrome (and selected always). What I really wanted to do was select maps!!
Is there anyway to go back and change this for this specific action?
Click to expand...
Click to collapse
You have to go into the app's (Chrome) settings and clear defaults. This app makes it a little quicker https://play.google.com/store/apps/details?id=pxlib.android.defaultappset

Potential Security Issue with S-Memo and JB

I was poking around my GS3 today (ATT version but running the Sprint Official JB release LJ7) and I found something pretty shocking. I was poking around the S-memo databases when I opened a table using SQLIte editior. When I opened the table I was shocked to see my Google account username and password in clear plain text. Now, I did have the option to sync to Google drive and the app did prompt for my google username and password so obviously it stores it somewhere. I was just shocked to see it stored in plain text and not encrypted.
I know someone who checked his ATT GS3 running ICS and he did not have these entries in his DB which makes me think it's a JB thing.
To check you need to be rooted and have SQLite editor installed.
Steps to check
1. Set up S-Memo to sync with your Google account
2. Use SQLite editor and navigate to /data/data/com.sec.android.provider.smemo/databases
3. Open the Pen_memo.db file and select the CommonSettings table. Look to see if your Google account info is stored in plain text.
This could potentially be a serious issue. If people running JB on their GS3 can check this that would be awesome. Someone already checked the latest ICS build for the ATT variant but if others on ICS or with a different variant can check that would be great. I will get to check my GF's I-9300 running JB tomorrow when I see her.
Also I'm not sure how app permissions work on android, meaning if one app could access the data/database of another app(without root, because obviously with root another app can, in this case SQLite opened the file). Since the DB is in the /data partition and the permissions are r/w by default I'm thinking it wouldn't be difficult for a malicious non root app to access this database and query it for the information unless there is something built into android that wont allow that.
I have attached a SS of what my table looked like. Obviously I blacked out my PW and also the Google auth ID
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Actually, while /data is available for you to browse, that is because you have root. It's RW but only within the packages that each app is sandboxed. If you disable root you will not be able to view that database.
It is possible for the same developer to access the /data files of another one of their apps if they use the same namespace.
So, while this is indeed a risk, it would not be trivial for another app to gain access without asking for root or cracking root itself.
ViViDboarder said:
Actually, while /data is available for you to browse, that is because you have root. It's RW but only within the packages that each app is sandboxed. If you disable root you will not be able to view that database.
It is possible for the same developer to access the /data files of another one of their apps if they use the same namespace.
So, while this is indeed a risk, it would not be trivial for another app to gain access without asking for root or cracking root itself.
Click to expand...
Click to collapse
Ahh OK. Yeah I wasn't sure if another app would be able or not. Ive never not been rooted so I wasnt 100% sure about that. So I guess this issue would just concern root users. I still think though the data should have been encrypted before the record was inserted. It did kinda freak me out to open that table and see my google password staring at me.
I don't use S-Memo much but thanks for the heads up.
ViViDboarder said:
Actually, while /data is available for you to browse, that is because you have root. It's RW but only within the packages that each app is sandboxed. If you disable root you will not be able to view that database.
It is possible for the same developer to access the /data files of another one of their apps if they use the same namespace.
So, while this is indeed a risk, it would not be trivial for another app to gain access without asking for root or cracking root itself.
Click to expand...
Click to collapse
There are on Play and on the net "free apps" which needs root access to work. Once you grant access to any of them those can get your info and sent it to anyplace.
Sent from my O=O
csmasn said:
There are on Play and on the net "free apps" which needs root access to work. Once you grant access to any of them those can get your info and sent it to anyplace.
Sent from my O=O
Click to expand...
Click to collapse
Agreed but that is why you should be checking carefully what root apps are doing. Also not just willy-nilly granting Superuser permissions. Half of XDA would be at risk cause they see the SuperUser popup and most of the time just press grant not ever thinking 'What does that mean?' yes they want to test an app, but FFS check what it wants to do. That is the screen that pops up (another one people ignore - yes I am guilty of it my self sometimes thinking nothing has changed between one version to the next) just as you are installing the app. If it is wanting to do things in areas you don't want it to be then don't install it and confront the developer about it.
In this case you can't really confront Samsung devs about this, but the thing is we know what it is for, and secondly your not installing it comes pre-installed. But you get my point. I doubt that the Samsung devs have malicious intensions, where as other developers that your are granting SuperUser permissions to...who knows?
Yikes! Good news, this is not as bad as it seems. The data is not accessible without root.
Once an app has root, it is all over. You have to trust the app to use it wisely (trust me a lot of root apps are unsafe). With this kind of issue, it is probably safer to notify the OEM before publishing, allowing them time to fix it. This is exactly why I am not one to run root apps without a review of them myself.
I took the liberty to forward this on to those that can get it fixed. Nice find.
This should probably use a token-based authentication system, rather than the ACTUAL google account username and password...
Still not brilliant for security, but at least it's not your ACTUAL password in plaintext...
Jarmezrocks said:
Agreed but that is why you should be checking carefully what root apps are doing. Also not just willy-nilly granting Superuser permissions. Half of XDA would be at risk cause they see the SuperUser popup and most of the time just press grant not ever thinking 'What does that mean?' yes they want to test an app, but FFS check what it wants to do. That is the screen that pops up (another one people ignore - yes I am guilty of it my self sometimes thinking nothing has changed between one version to the next) just as you are installing the app. If it is wanting to do things in areas you don't want it to be then don't install it and confront the developer about it.
In this case you can't really confront Samsung devs about this, but the thing is we know what it is for, and secondly your not installing it comes pre-installed. But you get my point. I doubt that the Samsung devs have malicious intensions, where as other developers that your are granting SuperUser permissions to...who knows?
Click to expand...
Click to collapse
Agreed with you.
But about Google's Devs, because it's a Google's flaw. Encryption is old enough, so they can implement it.
Sent from my O=O
graffixnyc said:
I was just shocked to see it stored in plain text and not encrypted.
Click to expand...
Click to collapse
Suppose they were to encrypt it, where would they store the decryption key?
If somebody knowledgeable stole your GS3, and mounted it in Linux using adbfs, would make a bad situation worse, if they got your Google account login. Passwords in plaintext are bad in any case, I still don't trust either Android or iOS for really sensitive apps like banking.
Great job, samsung.
Why the heck you needed those creds anyway? Use tokens.
Checked mine (4.1.1 International version though), and these are the entries in my CommonSettings table...
IS_BOOT_COMPLETED
IS_MEDIA_MOUNTED
SAVED_PAPER
tutorial_view_state
_pref_list_type_before_tag
serialization_hashcode
serialization_canvas_mode
serialization_tag_mode
...nothing about my Google ID.
So I'm on cm10 tmous and don't use smemo... but I can confirm this issue is the same for com.android.email in databases in the email provider.db is a HostAuth.. and when I open that up sure as sh!t there is ALL my email accounts and listed PW in plain text... not secured... really jacked up its not just an s-memo issue..
da-pharoah said:
So I'm on cm10 tmous and don't use smemo... but I can confirm this issue is the same for com.android.email in databases in the email provider.db is a HostAuth.. and when I open that up sure as sh!t there is ALL my email accounts and listed PW in plain text... not secured... really jacked up its not just an s-memo issue..
Click to expand...
Click to collapse
I just pulled that up on mine too! Wtf!
Generating random authentication keys
Has anything been done about this or basically can anyone with any clue about phones easily get your goggle password if they nick your phone?
cybergaf said:
Has anything been done about this or basically can anyone with any clue about phones easily get your goggle password if they nick your phone?
Click to expand...
Click to collapse
Yea just uninstall s-memo. You really don't need it that bad. And if so use other notepad apps that have voice to text capability or use the aosp keyboard. Anything but s-memo
.:Sent from the Hellfire Galaxy of S & 3:.
da-pharoah said:
Yea just uninstall s-memo. You really don't need it that bad. And if so use other notepad apps that have voice to text capability or use the aosp keyboard. Anything but s-memo
.:Sent from the Hellfire Galaxy of S & 3:.
Click to expand...
Click to collapse
Ummm thought you said above you didn't use s-memo so it's not just an s-memo problem or am I reading it incorrectly?
I've also just checked s-memo and can only see an option for syncing to Samsung account not Google?

Requesting feedback on new app - NotiFire

Update 5/8/14 - Just wanted to let everyone know that I've released this app under a new name to the Amazon Appstore, now called "Signal for Fire TV". I really appreciate all the feedback and most the suggestions made it into the initial version, including Tasker support. I've also removed the temporary demo version.
Some links:
Download the app here: http://www.amazon.com/gp/mas/dl/android?p=com.jigawattlabs.signal
Details on app here: http://www.jigawattlabs.com/signal-for-fire-tv
Tasker instructions here: http://www.jigawattlabs.com/tasker-instructions-for-signal
Thanks for all the help!
-Gregg
*********************
Update 4/28/14 - just uploaded new version to (removed)
Added help screens and fixed a few bugs. I think this is feature complete for the first release, except for how to charge for it. Demo and Paid version, or in app purchase?
*********************
Update 4/27/14 - just released an updated version of the app. Please install on both the FireTV and your Android phone/tablet. Changes include:
- Send notifications to all FireTV devices (although the Send button on the FireTVs tab only sends to the currently selected FireTV)
- Privacy settings on FireTV side to turn on/off the sender name and the actual message
- Added ability to get notified when any app posts a notification.
To enable app notifications, the following are REQUIRED
- You must be running Android 4.3 or above. The app takes advantage of a new app notification feature introduced in 4.3
- You MUST first hit the "Enable App Notifications" button in the APPS tab, and make sure the NotiFireTV app has a checkbox next to it
- Select the apps you want to get notifications on. For example - Gmail and mail are likely candidates
Please post your comments and suggestions. And thanks for all the great feedback.
*********************
Hi all. I've developed a new app specifically for the FireTV called NotiFire, and I'm looking for feedback before I release it. The basic idea is that if you get a phone call or text message on your phone or tablet, a notification will pop up on the FireTV showing you the notification and who it's from.
It doesn't matter if your Android device isn't near by or silent - it just needs to be connected to the same wifi network (and same channel if you have multiple channels). I plan to add additional notifications over time.
There is one apk, and it needs to be installed on both the FireTV and your Android device. You can download the latest version here: http://jigawattlabs.com/notifire/NotiFire.apk
On the FireTV, do the following:
- adb connect (ip address of your firetv)
- adb install NotiFire.apk
- From FireTV home screen, go to Settings->Applications->NotiFire->Launch Application
- You can leave all the check boxes checked if you want, but you should set the FireTV name - maybe something like "Living Room"
- Exit back to the home screen
On your Android device
- Launch the NotiFire.apk
- If all goes well, within a few seconds you should see a line in the list for your FireTV. If you have multiple FireTV devices, they should show up
- Select your FireTV and it's name should turn orange to show it's now the default FireTV
- Go to the Notifications tab and make sure the notifications you want to send to the FireTV are checked
- Exit the app
At this point, any time you get a call or SMS message, you should get a notification on the FireTV - even in the middle of watching a movie or whatever. The NotiFire app doesn't need to be visible on either the FireTV or your Andorid device since they run background services that will also start up when you reboot either device. So you really don't need to launch the app any more on either device, except if the FireTV IP address changes. If it does, just launch the NotiFire app again and re-select your FireTV.
You can also just send a simple message from your phone to the FireTV by entering some text at the bottom of the Fire TVs tab and hitting the send button.
Permissions
Note that there are a lot of permissions that the app requests. Here is an explanation:
Checking WiFi status and sending messages across the network:
INTERNET
ACCESS_WIFI_STATE
ACCESS_NETWORK_STATE
CHANGE_WIFI_STATE
Keeps the devices going into such a deep sleep they won't respond when needed
WAKE_LOCK
For device discovery, send broadcast to all devices on network to see which are FireTVs:
CHANGE_WIFI_MULTICAST_STATE
See if my background process is running:
GET_TASKS
Reverse lookup to get name of caller/SMS sender
READ_CONTACTS
For caching files
READ_EXTERNAL_STORAGE
WRITE_EXTERNAL_STORAGE
Detect if a phone call or SMS message is received
READ_PHONE_STATE
RECEIVE_SMS
Automatically start background service on startup
RECEIVE_BOOT_COMPLETED
Known issues:
- (Fixed by locking orientation) After an orientation change on the phone/tablet, app doesn't seem to detect FireTV devices. For now, just close and open app again
- (Fixed) Preference changes on FireTV don't seem to take effect until you close and restart the NotiFire app again
Just tested sideloading the app to the Fire and installing it on my Note 2. Works like a charm! Thanks for a great app
Will it be able to notifications beside phone calls and SMS? Should be fairly easy to add with the current implementation already in place.
I think so. Just wanted to get the basic framework in place first and then add on from there. I'll have to see how to get copies of all notifications.
Thanks for testing!
-Gregg
Equalizer said:
Just tested sideloading the app to the Fire and installing it on my Note 2. Works like a charm! Thanks for a great app
Will it be able to notifications beside phone calls and SMS? Should be fairly easy to add with the current implementation already in place.
Click to expand...
Click to collapse
I will try today, thanks
:good: Works great on my Nexus 5 and Fire TV. The only thing is that I can't actually see my FireTV being paired but it works. The app is fantastic, you should develop it further, I would pay up to 4.99 for a full-functioning version. Can it connect more than 1 device, for example my phone and my gf's phone?
Thanks for testing Solo, and for suggesting a price. It would great to get other opinions here on that too. Also, how about the name? I did find there were a couple of other apps called NotiFire, none related to the FireTV.
I designed the app so on the FireTV side, it will receive notifications from multiple devices on the same network. So if your phone and your girlfriend's phone are both connected to the same network, you would see notifications on the FireTV from either. And on the phone/tablet side, it does support showing any number of FireTV devices, but right now it will only send notifications to the one that was last selected. Do you think it should send to all FireTV devices? If you do try it with multiple phones/tablets, let me know how it works out for you.
I also think I have a way to capture notifications from any app, although that feature would only work on Android 4.3 and higher.
One other thing - the version I posted is a timed demo, so it will expire around May 19th unless I replace it. Hopefully I'll post the production version before then.
-Gregg
solo said:
:good: Works great on my Nexus 5 and Fire TV. The only thing is that I can't actually see my FireTV being paired but it works. The app is fantastic, you should develop it further, I would pay up to 4.99 for a full-functioning version. Can it connect more than 1 device, for example my phone and my gf's phone?
Click to expand...
Click to collapse
greno1 said:
Thanks for testing Solo, and for suggesting a price. It would great to get other opinions here on that too. Also, how about the name? I did find there were a couple of other apps called NotiFire, none related to the FireTV.
I designed the app so on the FireTV side, it will receive notifications from multiple devices on the same network. So if your phone and your girlfriend's phone are both connected to the same network, you would see notifications on the FireTV from either. And on the phone/tablet side, it does support showing any number of FireTV devices, but right now it will only send notifications to the one that was last selected. Do you think it should send to all FireTV devices? If you do try it with multiple phones/tablets, let me know how it works out for you.
I also think I have a way to capture notifications from any app, although that feature would only work on Android 4.3 and higher.
One other thing - the version I posted is a timed demo, so it will expire around May 19th unless I replace it. Hopefully I'll post the production version before then.
-Gregg
Click to expand...
Click to collapse
I think it would make sense for the app to send notifications to all FireTVs; I have 2 so I wouldn't want to have to select each time I am moving around.
The thing is, I don't even see the FireTV in the device list:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yet it is functioning just fine!
I will try with multiple phones next week.
Gmail and Viber is what I am looking forward to
OK, I think that makes sense. I'll have it send to all FireTV devices. There will also be an option on each FireTV to turn off some notifications.
There is an issue with an orientation change that once you rotate it, it won't show any FireTVs. Closing the app and restarting works, but I also have a fix ready to go soon. But once the phone/tablet finds a FireTV, it knows the IP address and can send messages to it - even if it can't find the FireTV again on subsequent scans.
I now have a way of capturing all notifications, so I'm working on the UI for that to turn on/off notification forwarding to the FireTV. But it should be able to show whatever text is in the notification - like an email summary.
-Gregg
solo said:
I think it would make sense for the app to send notifications to all FireTVs; I have 2 so I wouldn't want to have to select each time I am moving around.
The thing is, I don't even see the FireTV in the device list
Click to expand...
Click to collapse
Works on my Sony Xperia Z1s.
The only issue I had was although I did set the name of the device on the firetv, when launching the app on the phone it just showed "firetv (no name)" - but it functions and seems to work well.
I have a suggestion. How about two privacy options for SMS notifications.
- Do Not Show contact Name for SMS notifications.
- Do Not Show actual message content.
It would just be nice to have so everyone using your firetv does not see your private info.
Keep up the great work. I like where this app is going.
That's a great suggestion - I'll add those privacy options.
Regarding setting the name, there is currently a bug where the settings on the FireTV don't seem to take effect until the app shuts down and restarts itself. So if you did a force stop on the FireTV client and started it again, you should see the new name.
-Gregg
jpage101 said:
Works on my Sony Xperia Z1s.
The only issue I had was although I did set the name of the device on the firetv, when launching the app on the phone it just showed "firetv (no name)" - but it functions and seems to work well.
I have a suggestion. How about two privacy options for SMS notifications.
- Do Not Show contact Name for SMS notifications.
- Do Not Show actual message content.
It would just be nice to have so everyone using your firetv does not see your private info.
Keep up the great work. I like where this app is going.
Click to expand...
Click to collapse
This is an awesome app, can't wait for a full-fledged version :fingers-crossed:
I ran into a bit of a snag. My hope was to have one APK that you install on both the FireTV and your Android device. But to enable 3rd party app notifications, I need to build the APK on 4.3 or higher. But the Amazon SDK is built on 4.2. So it looks like I'll need to manage two apps. Ugh.
greno1 said:
That's a great suggestion - I'll add those privacy options.
Regarding setting the name, there is currently a bug where the settings on the FireTV don't seem to take effect until the app shuts down and restarts itself. So if you did a force stop on the FireTV client and started it again, you should see the new name.
-Gregg
Click to expand...
Click to collapse
You can call it Girlfriend mode
Got it, thanks.
Great idea! I'd say for your roadmap it'd be great if you could incorporate IFTTT and Tasked support.
Also, I would change the name...I think the premise of the app is great and you'd do well to make the name generic so that it could be used on other devices (googletv, chromecast, tablets (think integrated custom installations in cars etc))
Just my 2 cents, great work!
Sent from my BN NookHD+ using Tapatalk
Thanks for the suggestions. IFTTT and Tasked support is a good idea. Maybe I'll add that in a subsequent release. But it shouldn't be too hard to implement.
I hear what you are saying about the name. I also develop apps for Chromecast and Roku, but this type of notification over top of other running applications/media wouldn't be possible on those platforms because they don't support multitasking (at least as far as I've been able to determine). It could run on other Android devices, but you probably are already getting the same notifications on those anyway - except for phone and text messages.
I should have another more complete version out in the next couple of days. It will support app notifications as well as calls and SMS messages. It will send to all FireTVs, not just the currently selected one. It will also have the privacy settings (or Girlfriend Mode) on the FireTV.
I also found a way to keep this as one APK and still compile with Android 4.4. For those trying something similar, I created a library project that was built on the Amazon 4.2.2 SDK, and my main project I built with Android 4.4 but linked in the library. It built fine and runs ok on both Android and FireTV devices.
I really appreciate the feedback - keep it coming! Especially on the name.
Edvard_Greig said:
Great idea! I'd say for your roadmap it'd be great if you could incorporate IFTTT and Tasked support.
Also, I would change the name...I think the premise of the app is great and you'd do well to make the name generic so that it could be used on other devices (googletv, chromecast, tablets (think integrated custom installations in cars etc))
Click to expand...
Click to collapse
Sure thing, I don't develop for these platforms, but for something like Chromecast at least could you wrap the stream with effectively a dynamic transparent subtitle?
Sent from my VS980 4G using Tapatalk
Oh man, I will test this on my Moto x when I get home. Very promising.
Sent from my iPhone using Tapatalk
App update - 4/27
Based on the great feedback from everyone, I just posted a new version of the app. Please install on both the FireTV and your Android phone/tablet. Please see first post in thread for download link and instructions.
Changes include:
- Send notifications to all FireTV devices (although the Send button on the FireTVs tab only sends to the currently selected FireTV)
- Privacy settings on FireTV side to turn on/off the sender name and the actual message
- Added ability to get notified when any app posts a notification.
To enable app notifications, the following are REQUIRED
- You must be running Android 4.3 or above. The app takes advantage of a new app notification feature introduced in 4.3
- You MUST first hit the "Enable App Notifications" button in the APPS tab, and make sure the NotiFireTV app has a checkbox next to it
- Select the apps you want to get notifications on. For example - Gmail and mail are likely candidates
Also make sure you actually run the NotiFire app on the FireTV side after doing the adb install.
Does anyone have two or more FireTVs they can test with? I only have one myself.
Please post your comments and suggestions. And thanks for all the great feedback.
I supposed it could if I could control the stream. But I couldn't add that on top of, say, the stream from Netflix.
Edvard_Greig said:
Sure thing, I don't develop for these platforms, but for something like Chromecast at least could you wrap the stream with effectively a dynamic transparent subtitle?
Click to expand...
Click to collapse
I just uploaded new version to (removed)
This is feature complete for release one, and would really appreciate some feedback before I release it.
I'm thinking of using in-app purchase to unlock the full set of features. What do you think would be reasonable functionality to offer free for people to test with before purchasing? I was thinking of just enabling either phone calls or SMS messages, and doing an in app purchase would unlock all the functionality. I'm also thinking of offering it for $3.99. Thoughts?
Also, since users will need to go to the Amazon app store to get the app installed on the FireTV, I guess it doesn't make sense to make this available on any other app stores, like Google Play. Otherwise people would wind up having to pay twice - once for the FireTV app and one for the phone/tablet.
Still trying to decide on an app name, but I'm now thinking NotiFireTV since there are other apps called Notifire. I still welcome feedback on this. I also changed the app icon.
-Gregg

[Release][APP][0.9.3 - 2019.07.12] GAssist.net - Google Assistant for Galaxy Watch

App is already available on Samsung Store.
Thank you for all DONATIONS and support !!!!
Introduction
I've been looking at this topic and I saw that unfortunately the project died... so as I am a java developer and I am very tired with all the unresponsible/crashing apps on Galaxy Store. I decided to try myself at C#/.Net to write my own Google Assistant companion for Galaxy Watch. I hate Bixby as much most of the community.
So here is my approach to the Google Assistant companion app for Tizen Watches.
Click to expand...
Click to collapse
Preview demonstration videos
https://www.youtube.com/watch?v=b3CC3uvr2to
https://youtu.be/qtfn6-p5CQA
Click to expand...
Click to collapse
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Already implemented features
Written with cutting edge libraries
Real time data streaming to/from GA
Push to talk
Real time recognized text display
Responses text display
Start recording after launch
Responses as fast as possible
Click to expand...
Click to collapse
Planned features:
Rework html responses so they display properly on watch screen
Click to expand...
Click to collapse
Requirements:
Tizen 4.0+ based Samsung watch
Doesn't work on Gear S3 at the moment, there is bug with Samsung.Sap library
More info on Samsung forums, https://developer.samsung.com/forum/board/thread/view.do?boardName=SDK&messageId=369273&topCtgy=03
Android 8.0+ smartphone
Microphone/Speaker on watch
Click to expand...
Click to collapse
Changelog
Code:
0.9.3 - 2019-07-12
- reworked file picker (compatibility with Android Q)
0.9.2 - 2019-07-11
- added vibrate on listen option
- stability fixes
0.7.0 - 2019-06-20
- added html responses
- cleanup / reduce weight of phone apk
0.6.1 - 2019.06.06
- changed font size, text alligning adjustment
- added option to display raw text recognition result ([B]default ON[/B])
- stability fixes
- apk is now service
0.5.4 - 2019.06.02
- new icon / logo (Credit: @aefelix)
- audio recording / playing adjustment
- stability fixes
- phone app improvements / cleanup
0.5.0 - 2019.05.31
- watch makes requests using Protobuf now (Google native)
0.4.5 - 2019.05.30
- adjusted debounce and throttling times
- introduction to constructing Assistant Requests on watch side
0.4.4 - 2019.05.30
- fixes from 0.4.3
- improved stability
[STRIKE][B]Update 0.4.3[/B]
- using .net reactive framework to handle the problematic cases
- added debounce for button
- added throttling to sensitive method calls
- bugfixes[/STRIKE]
Too unstable, use older version.
0.4.0 - 2019.05.28
-UI draft retouch
-lots of core changes / cleanup
-cosmetic changes
0.3.1 - 2019.05.25
-support volume control
0.3.0 - 2019.05.24
-now using protobuf to talk with phone
-getting mp3's as audio response
-moved most of the response handling logic to watch
-added scroller
0.1.1 - 2019.05.17
-improved auto reconnect / launch android app stability
0.1.0 - 2019.05.11
- code cleanup
- support for external credentials.json file for testers
- improved stability
- auto launch AndroidApp
- auto reconnect
0.0.2 - 2019.05.07
- real time voice recognition text display
- assistant response display
- ability to stop assistant talk with press "Listen" again
- completely reworked internal logic(once again, I hope last time )
- use of new libraries
- changed buffering methods
- changed multithreading libraries
Initial post: 05.05.2019
Click to expand...
Click to collapse
Downloads
Watch app:
http://apps.samsung.com/gear/appDetail.as?appId=com.cybernetic87.GAssist.Tizen.Wearable
Phone app:
Available on Play Store, the app page will open automatically on Phone after you run the watch app.
Click to expand...
Click to collapse
Installation instructions
First generate the secrets.json file using tutorial below:
Video tutorial: https://www.youtube.com/watch?v=VfunEUzzFVU&feature=youtu.be
Put it in a folder on your phone. Folder name does not matter. You need to browse to it later when setting up phone app.
Install GAssist.Net app from Galaxy Store. Open Galaxy store and search for Gassist under the apps tab.
Or, got to this link on your phone. https://galaxystore.samsung.com/geardetail/com.cybernetic87.GAssist.Tizen.Wearable
After watch app is installed. Open it. Give it permissions. Watch will say "Companion app is not installed. Check your phone".
The phone will light up and the Google Play Store will open to the Gassist companion app install page. Click install. Click open. Give it permissions and follow the authentication instructions.
Click to expand...
Click to collapse
FAQ
Q: Will this application be available on other watches than Galaxy Watch?
A: Yes, this application should work on any Samsung watch with Tizen 4.0+ and microphone/speaker.
Q: Will this be a paid app?
A: Yes, but the price shouldn't be more than 2USD. I will consider making it 2 variants Free and Premium.
The app will be free.
Q:Will non speaker watches be supported ?
A: Yes, when I develop the text output.
Q:Can this app do xxxx?
A: The app can talk to Google Assistant SDK Service. I'm not answering for any Google Assistant SDK / Service features related questions. This doesn't depend on me, my app is only a bridge to Google Service. Please ask Google what the Assistant Service is capable of, and why not all features are available. Send query to their support, post on their forums etc.
Click to expand...
Click to collapse
How to get the logs
You have to have Tizen studio installed. Watch has to be in debug mode.
Immediately after crash / bug connect watch via wifi.
Open Tizen SDK Device Manager.
Wait a while until it reads the logs.
Export logs:
Zip them and attach to post reporting bug.
THANKS!
Cool
Sounds like a plan! Cheers
Great idea. I'm pretty sure lots of people want/need this! I'm using a similar type of app for Alexa. It is very, very handy to have.
Sent from my SM-N960U using Tapatalk
burrzoo said:
Great idea. I'm pretty sure lots of people want/need this! I'm using a similar type of app for Alexa. It is very, very handy to have.
Sent from my SM-N960U using Tapatalk
Click to expand...
Click to collapse
I've been looking at this Alexa app, and it's very bad... My app even at pre-alpha stage is way more advanced
Doesn't record fixed voice length but recording time is based on voice recognition (recognized text is not changing = stop recording) the same as it works on the original assistant this way it can recognize variable length commands - you can say something short, or veeeeeeryyyy long, as long as you like and it will always know when to stop and send reply.
Also my app is way more responsive - the Alexa app feels very unresponsive to me.
Cybernetic87 said:
I've been looking at this Alexa app, and it's very bad... My app even at pre-alpha stage is way more advanced
Doesn't record fixed voice length but recording time is based on voice recognition (recognized text is not changing = stop recording) the same as it works on the original assistant this way it can recognize variable length commands - you can say something short, or veeeeeeryyyy long, as long as you like and it will always know when to stop and send reply.
Also my app is way more responsive - the Alexa app feels very unresponsive to me.
Click to expand...
Click to collapse
You are right with most of your observations! The thing is, I live in the Alexa world for my lighting system and more & have no other choice. It works for what I need even if not perfect. I use GA on my Note 9 because Bixby is pretty much pathetic.
Maybe after you perfect your GA app for the watch, you can start on an Alexa app. Competition and choices are what makes apps great! I'd be a beta tester for that one and/or even pay $10 - $20 to get your Alexa app. I'm no dev but do understand how many thousands of lines of code can go into apps. Good luck!
Sent from my SM-N960U using Tapatalk
Great idea, Google assistant is the only thing that lets the galaxy watch down. Ive been praying for 2 years Samsung would sort Bixby out, its voice recognition is terrible and has so many limitations. Count me in for any testing you need
Sent from my SM-N950F using Tapatalk
Happy to be a Beta tester.. I'm a Quality Assurance manager (system tester) for a huge Government organisation.. Happy to help get this project on it's feet mate
This is awesome! Curious where it is going!
Hello. I am Tizen 4.0.0.2 user from Turkey.
I am an English Language Teacher.
I use Samsung Gear Sport.
I can gladly be your beta tester.
I am Android Developer and QA Engineer here in the states. Would love to beta test for you if needed! If not great work man! Looks really promising
Add me to the test. I have a galaxy watch, many google home devices. And a lot of wifi outlets, wifi switches, wifi garage door openers, thermostats, much more.
Guys,
Whoever wants to participate in beta tests, please send me on priv message the following details:
Watch Model:
Tizen Version:
Phone Model:
Android Version:
I will contact with chosen persons.
For first alpha testing I would need the most experienced ppl with android, a little bit technical knowledge would be cool.
What I would need from you is to send me logs from device (I will tell you exacly how), also I would need to make screenshots from Android and pictures of the app whenever crash / debug message appears and detailed description under what circumstances the error/debug msg appeared.
For example:
"I was saying "Hello google, where is the nearest supermarket" and the app crashed, the listen button was greyed out, was on WiFi + screen from android app + picture of the watch face with error message etc. + watch logs.
Please participate only if you can meet this requirements.
Thanks,
Edit: Saw your post. Will you a pm.
---------- Post added at 09:30 PM ---------- Previous post was at 09:25 PM ----------
Would you be able to change language on the GA? Cause my biggest complain about Bixby is that it doesn't understand my language (danish) while Google assistant does.
Thanks for your work and thanks in advance!
Yes, it already works in other languages - for example I use it in Polish
Excellent work mate! pm sent.
Looks great. I would be up for beta testing this.
cool! does it work only when connected to the phone or it is a standalone app?
Some Input for implementation
best way is to use it without mobile:
Some Input from very intressant application:
https://voiceinacan.com -> an Alexa Client on the watch without need mobile
He has very usefull input to implement the solution
https://forum.xda-developers.com/smartwatch/gear-s3/alexa-samsung-galaxy-watch-t3900043
--> https://damian.fyi/2018/12/05/xamarin-tizen-http-2/ !!!
https://twitter.com/DamianMehers
https://www.iotgadgets.com/2019/04/use-xamarin-to-develop-tizen-smartwatch-apps/
Two days full of work and I'm happy to inform that we're on version 0.0.2.
New demo vid: https://youtu.be/qtfn6-p5CQA
(edited video link cause of hotfix, now real time text displays correctly)
New features:
-real time voice recognition text display
-assistant response display
-ability to stop assistant talk with press "Listen" again
Technical changes:
-completely reworked internal logic(once again, I hope last time )
-use of new libraries
-changed buffering methods
-changed multithreading libraries
As for the question: this app will never be standalone on watch.
gRPC is the library used to talk with assistant webservice and this library is not available on Tizen, end of topic.
I won't write my own interface to talk with Google API.

Categories

Resources