-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Android Notification Settings control from App #9
Comments
Adding to beta release. |
In regard to the notification vs, pop-up survey question, see this question on StackOverflow (http://stackoverflow.com/questions/6645944/android-notification-popup-dialog-box). According to this person, using notifications is considered best practice over using pop-ups. |
Thanks @Erin-Boehmer. @case-dubs, I'm leaning toward the pop-up too. Reflecting, I have a calendar app that does a pop-up with a snooze button. It isn't really bothersome. Erin, any idea how easy it is to do a popup in Android, then change to a notification if it really annoys beta testers? This would be a good question to throw Durga's way too. I'll track down her github username. |
@sDurgam Design-wise, some apps use notifications and others use popups. My calendar app (business calendar) uses both. A form that pops up would likely get more responses than a notification, but it has the potential to annoy users. Any idea how easy it is to add a webview to pop up the question form instead of a notification, but have a "snooze" button at the bottom? Also, how easy it would be to switch to a notification if many users find it too annoying? I considered whether to give users an option there, but for data integrity, the fewer form presentation differences the better. |
@a-laughlin I think it is possible to display web view in a pop up. I just tried a small example now. When I click on a button, a web view is displayed in a pop up. Here are links to screen shots of the same(https://f.cloud.github.com/assets/3854768/1702265/2f60d14c-608a-11e3-99a2-eab49ca16514.jpg and https://f.cloud.github.com/assets/3854768/1702266/34b716a6-608a-11e3-80bb-d6f7a17d3766.jpg). I did not understand why snooze option is required. I am working on the last one to switch to a notification instead of a pop up. I will let you know my comments soon about that. |
@sDurgam Awesome! Looking good in both! We should have some forms to put in The reason for the snooze button is so that if it pops up while we're using One challenge coming up is being able to set a time range in the webview, Will you be there this Tuesday? We could look at how some other apps have Adam Sent via mobile.
|
@a-laughlin I am planning to come this Tuesday. I will let you know if I cannot make it. |
@a-laughlin I am afraid I cannot make it today. But I can attend the hangout tomorrow evening at 5 pm. |
Hey @sDurgam. No worries. See you tomorrow! Adam On Tue, Dec 10, 2013 at 12:40 PM, sDurgam notifications@github.com wrote:
Adam Laughlin Cambridge, MA |
Adam unfortunately I am still outside. Are you available today at 5:30 pm for hangout. My apologies. |
Hey @sDurgam . I just got back in state and was thinking of you. Will you be able to make it to code for Boston on Tuesday? |
Yes Adam I am planning to attend as of now. |
Awesome! I look forward to seeing you there. |
Adam I don't think I can attend today. It's very cold and my husband has some urgent work. I do not drive. Can we meet sometime during the weekend. Saturday or Sunday afternoon are you available? |
Totally understood. :) I just about froze my nose off walking here. Adam On Tue, Jan 7, 2014 at 4:35 PM, sDurgam notifications@github.com wrote:
Adam Laughlin Cambridge, MA |
Adam 4pm on Sunday. Is the location to meet the same? |
4pm sounds great. Let's use https://plus.google.com/hangouts/_/event/cnpfng8vavg67eb8k7ecfqsmq4k. If you prefer to meet in person, I'll be up near Davis Sq right before that, so we could meet at a cafe instead. |
Either way is fine. |
Let's do in person. Fewer tech glitches. Bourbon coffee at 4pm? |
Sure Adam. |
Next step for me on this is implementing a button that will send a JSON request to the server. Here's a sequence diagram that hopefully explains this a bit better. |
Thanks Adam. I will look into the sequence diagram. |
The part I'm unsure about is how the popup scheduling code will get the settings. The sequence diagram just has it "observing" in some sense. Is that possible? Another way might be to route all webview requests through a router of some sort. It could parse all outgoing requests. When the requests contain settings changes, it could get the settings and update the scheduler accordingly. Otherwise it could let all requests pass through normally. So we'd have a scheduler class, a router class, and Funf, which would do the data sync. How does that sound? |
Figuring this part out will help us determine what sort of dev environment we need to set up. |
Adam have got homework to do. Will look into the sequence diagram and will follow up on that next week. |
Thanks for the heads up @sDurgam. Catch you next week! |
Hi Adam any APsI right now to update server about user's choice |
Right now I'm working on getting the dev server up and running to create them. How the APIs will be structured depends also on how Android can get the data. That's the part I'm unfamiliar with. One method is to have the settings go from the web page, to the server, and back to the phone in some sort of sync. A simpler way might be to route all http requests through a router class of some sort in the webview. It could parse all outgoing requests. When the requests contain settings changes, it could get the settings and update the device scheduler class accordingly. Otherwise it could let all requests pass through normally. That would prevent having the settings first going to the server and then coming back. So we'd have a scheduler class, a router class, and Funf, which would do the data sync. How does that sound? |
@sDurgam I just emailed you a key for the development VM. It may be the wrong key. I'm having issues with it. Looking into that now. |
@a-laughlin scheduler class and a router class idea sounds better. I will look for router class in Android |
We can get and parse JSON data from Android code asynchronously also. Minimizing calls would be a best option. |
@a-laughlin Thanks. Let me know once you get an update on the key. |
Entering notification settings (e.g., hours a notification can display, # of notifications) in the web app should modify those settings in the Android shell.
The text was updated successfully, but these errors were encountered: