Traffic and time preferences based time alarm
kuchto47 / customtimealarm Goto Github PK
View Code? Open in Web Editor NEWTraffic and time preferences based time alarm
Traffic and time preferences based time alarm
refactor code (mainly SetAlarmFragment)
for means of mark in static map
when I try to update database it seems to do nothing - no new alarm is added and update doesn't change existing alarm.
We should create and agree on graphical concept of main screen of our application, what will be visible, what can be clicked and where.
Acceptance Criteria: We agree upon look and functionality of MainActivity.
All data for query construction are now statically returned. Change it that all data are loaded from users preferences (e.g. location of work, actual position, time of morning routine etc.)
Create App class as it is in seminar4 project. Part of this task is to redo all context getting from Mainactivity.context into App.getInstance() (which is the same)
Acceptance criteria:
-refactor onCreate() code
-layout and information shown is not sufficient, should be a lot more user friendly
add back arrow on other fragments than MainActivity:MainFragment
Potrebujeme classu ktora nejak rozumne spracuje cas najblizsieho budiku do formatu sekund od 1.1.1970 00:00:00 UTC...
Suggestion: Pockame na implementaciu settingov, ako to bude ukladat, mozno nam to celkom ulahci pracu
Acceptance Criteria: these settings are available
These should be stored so it is possible to read it from another parts of app.
Implement this fragment which will contain map and settings of alarm (time of arrival, destination, morning routine?)
We should create and agree on graphical concept of main screen of our application, what will be visible, what can be clicked and where.
Acceptance Criteria: We agree upon look and functionality of MainActivity.
bed time + gtfo
implement landscape layout so it looks something like the provided picture
Acceptance Criteria: after response is obtained, number of seconds for travelling should be extracted and returned.
Create first version of MainActivity based on concept created in #4 . This doesn't have to have any functionality binded to it.
Acceptance criteria: Main Activity is designed and can be ran after app start.
...change it so it gets Alarm object for which it should compute time to destination, since we might have multiple alarms in later stage of project...
Merge concepts of both of us and agree on it.
if there is any time left in the end :)
Implement DB entities and so so we can store data into DB
Implement service and wake up screen (activity over locked screen or notification with buttons).
We should discuss what should be done and when.
It should load values from some resource so it is localization-specific
get rid of Enums, instead use annotations combined with interfaces
as a result, we get faster, less heavy code, straightforward saving into db and we can also get rid of typeconverters - thats good tradeoff
example is in slack of mine
Build couple classes with enums and so, final (dummy) behavior would be one public method of API that will return number of seconds to travel...
What if we used shared preferences instead of DB for storing (Alarm class should then extend/implement Parcelable)... i just let it sink here, think about what is more efficient...use our DB and build AsyncTasks around it to work with it, or rewrite... I don't care to be honest...
If possible, get String address of actual location, if not, test enough what type of data will you get and how does G API respond to them (we want, in best case scenario, method String getDevicesLocation() which will return applicable string into G API request. Along with this, please do:
to entity, setting fragment and if alarmTimeGetter encounters any error return default time instead of -1
@jurajvandor add description
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.