reustonium / lunch-pals Goto Github PK
View Code? Open in Web Editor NEWAndroid App which allows pals to coordinate lunchtime.
Android App which allows pals to coordinate lunchtime.
onResume needs to re-init the Parse Context
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.reustonium.lunchpals/com.reustonium.lunchpals.HomeActivity}: java.lang.RuntimeException: You must call Parse.initialize(context, oauthKey, oauthSecret) before using the Parse library.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
at android.app.ActivityThread.access$600(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: You must call Parse.initialize(context, oauthKey, oauthSecret) before using the Parse library.
at com.parse.ParseUser.checkApplicationContext(ParseUser.java:918)
at com.parse.ParseUser.getCurrentUser(ParseUser.java:791)
at com.reustonium.lunchpals.HomeActivity$PlaceholderFragment.onCreateView(HomeActivity.java:108)
at android.app.Fragment.performCreateView(Fragment.java:1695)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:885)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1057)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1039)
at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1840)
at android.app.Activity.performCreate(Activity.java:5136)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2293)
... 11 more
I'd like to be able to swipe from the main screen to a screen where the 3 position switch can be defined for the whole week.
Use case: I Want to haz Monday and Tuesday, but I'm not in office rest of week. Instead of being nudged, or having to define 'no haz' on days I know I won't be there, I'd like to define it once for the week.
Weird crash:
java.lang.IllegalArgumentException: Receiver not registered: com.parse.PushConnection$KeepAliveMonitor
Try moving Parse.init to the application onCreate() and out of the activity onCreate()
remove channel subscription to 'user_xxxxxxx' upon logging out.
there should be a setting (able to be turned on/off) that will create a notification in the morning on weekdays to update the lunchpalz status
It would be convenient of the "nudge" notification had buttons on it for haz or no haz so the status could be set directly from the notification
A push notification will be sent from the backend after a new APK is uploaded to the play store. The push notification will open the play store app prompting lunch pals to be updated.
Darken it a bit
If the notification isn't at the top of the bar it displays in small mode (i.e. it hides the 'haz'/'nohaz' buttons).
Back button takes you home while logged out, need to use onresume to check for user
Option to "nudge all"
java.lang.NullPointerException
at com.reustonium.lunchpals.activities.HomeActivity.onOptionsItemSelected(HomeActivity.java:112)
at android.app.Activity.onMenuItemSelected(Activity.java:2600)
at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:1065)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:735)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:874)
at com.android.internal.view.menu.ActionMenuView.invokeItem(ActionMenuView.java:546)
at com.android.internal.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:115)
at android.view.View.performClick(View.java:4438)
at android.view.View$PerformClick.run(View.java:18422)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
UI on the List updates before the saveInBackground() set's the status. Check for a callback on saveInBackgroung();
Please make it so that this makes me a sandwich automatically. Thanks. Also back button should be disabled.
update the status list when the app is re-opened
Opening the App should update the status time?
If the hazPangs status is true and the app is closed for a while it pings the server for the status and fires onCheckChanged which updates the timeSinceUpdate which is unwanted behavior.
User can launch a google hangout with the people who have a current 'haz' status.
there should be a changelog viewable in the app so when it updates we know what to test
Being able to nudge someone to remind them to update their status.
Sort the list by descending status, haz, nohaz, inactive
Use days hours and minutes
Instead of the seeing the full time stamp string, show how many minutes/hours ago the user updated his status.
i'd like to significantly increase the complexity of this app by introducing a feature whereby anybody that has hunger pangz can recommend one or more locations for hunger satisfaction. The recommendations should be sorted by establishment in order of popularity to expose subgroups of people that want to go to the same place
It is a little too easy to sign out right now.
set a limit on how frequently a subscriber can receive nudges.
The manifest needs to be updated to launch to the application class rather than the HomeActivity.
If is a little too easy to sign out right now.
Add a link in the app to the github "issues" page to allow users to add new feature requests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.