Giter Site home page Giter Site logo

homemirror's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homemirror's Issues

Don't know how to make a pr

Hi, since I don't get the pr feature and how it works here is my change of values

values-de

(german translation)

HomeMirror
<string name="default_mirror_mirror">Mirror, mirror on the wall. Hannah is the prettiest of them all.</string>

<!-- Owners -->
<string name="owners">Hannah and Andy</string>

<!-- Time module -->
<string name="good_morning">Guten Morgen, %s</string>
<string name="good_afternoon">Guten Nachmittag, %s</string>
<string name="good_evening">Guten Abend, %s</string>
<string name="late">Du bist ja noch wach, %s</string>
<string name="bedtime">Guten Abend, %s\n\nIt\'s Hannah\'s bedtime.</string>

<!-- Forecast module -->
<string name="bike_today">Radfahr-Wetter</string>
<string name="no_bike_today">Kein Radfahr-Wetter</string>

<!--  Birthday module -->
<string name="happy_birthday">Herzlichen Glückwunsch, %s!</string>

<!-- Chores module -->
<string name="water_plants">Pflanzen giessen</string>
<string name="grocery_list">Einkaufszettel</string>

<!-- Mood module -->
<string name="it_gets_better">Kopf hoch!</string>
<string name="looking_good">Du siehst toll aus</string>
<string name="something_special">Yay! Hallo Sonnenschein!</string>

<!-- Set up -->
<string name="location">Standort</string>
<string name="set_up">Einstellen</string>
<string name="latitude">Latitude</string>
<string name="longitude">Longitude</string>
<string name="launch">Starte</string>
<string name="mood_detection_option">Launen Erkennung</string>
<string name="show_xkcd">Zeige neuen xkcd</string>
<string name="invert_colors">Invertiere Comic Farben</string>
<string name="show_calendar_event">Zeige nachsten Kalendereintrag</string>
<string name="stock">Boerse</string>
<string name="ticker_symbol">Ticker Symbol, z.B. GOOG</string>
<string name="show_headline">Zeige BBC Schlagzeilen</string>
<string name="found_location">Standord erkannt</string>
<string name="mood_explanation">Benutzt Front-Kamera um Laune zu erkennen</string>
<string name="stock_description">Erscheint an Wochentagen, wenn der Kurs sich um mehr als 3% veraendert</string>
<string name="biking_hint">Zeige Radfahr-Wetter Tipp</string>
<string name="how_to_stop">Um dieses Menue erneut zu oeffnen, von unten wischen und "zurueck" druecken.</string>

Tap in to Notification API?

Idea: Version of app for phone that relays notifications to the mirror, like texts and emails. It'd make the mirror even more useful.

Display Unread emails

Hi,

I was thinking if you could include display of the, say top 5, unread emails in the Gmail account.

Thanks.

[Suggestion] Wireless sync

From what I saw, you have to hard code your calendar, stocks, birthdays and such before compiling and deploying the code. It'd be cool if a future version provided wireless sync with another device. It'd probably need the coding of a second app to allow your mirror to mirror - pun intended - your main device.

time/date/weather partially offscreen

Hi guys!
I got everything for this mirror today!!
When i installed the app Home Mirror on google play using android 4.4.2 on my tablet and went through the setup page it worked!!
Right away i realized it was off screen for most of the time & date & weather.

What can i do to fix this or do you have any recommendations??
Thanks for taking the time to help out!

[Suggestion] Ability to change font colour

Would it be possible to have a colourwheel/time based approach to changing the colour of the font? Default White, but I noticed the photo you use in your demo has a blue tint? Whether or not that's a camera anomoly or if the mirror film you use is tinted blue, the ability to change the colour would be very useful. I'd actually love to have the option of changing the colour during a certain time period - for example - brilliant white during daytime hours up to 10pm, and then a deep red during the night until 5am. Possible?

Accepting options

Hello, I'm new to the android development circle and I need a tip. I've got Android Studio working with an emulated device (Nexus 5, see screenshot). However, once I enter my options, I don't see how to accept the settings I've specified.

I'm very sorry for the obvious question. -.-
capture

Feature request: Face detection

Toggle display visibility when faces are detected using the new Mobile Vision API from Google Play Services.

Assert "positive affirmations" when a sad face is detected.

bluetooth toothbrush integration

Oral-B's Genius toothbrush offers an SDK (https://developer.oralb.com/) for exposing the same kind of position detection feature its official app enjoys (but is a pain to use because mounting your phone via a suction cap 3 feet above a ceramic sink of running water is a recipe for disaster). Has anyone tried integrating Oral-B's SDK yet into this project?

Full display mirror

Just wandering how to display more contents than a screen size tablet will take
on the mirror?

Probably use multiple tablets to display the more contents ?

how to get the to do list?

on the screen shot it shows a to do list, but when I load it on my hp touchpad (cynogenmod) with google account signed and the tasks does not show up. Only the time, date, temp and weather and xkcd.

Thanks for this awesome app. It really drove my interest in getting more in depth into android.

[Suggestion] using Forward camera to turn display on

Hi,
Would it be possible for the display to turn on when the forward camera detects motion? That way the display wouldn't be "always on". Naturally, the display would need a timeout option. Can we put in user selectable timeout period?

Thanks

Gradle Project Refresh Error

I receive this error in Android Studio 3.0.1: Is this safe to ignore? Or do I need to edit some Gradle settings to get this project to work with newer versions of Android Studio?

image

Bathroom mounting: High humidity with 2-way acrylic, GCFI power

Any thoughts on solving the issue of installing something like your project in a bathroom?

Pre-requisite problems in my head (1- I don't know materials engineering 2 - I don't know much electrical engineering)

Your online cut-to-size vendor link warns:

Not for use with high humidity or contact with water.

And, elsewhere, I found another short explanation:

Acrylics tend to absorb moisture. High humidity levels may cause temporary warpage to the material. The warpage is characteristic of the material and should be considered in the design of the product or application.

Anyways, not to mention there's the problem of running constant USB power cable through your wall-mount, which, as most bathroom building in the developed world require GFCI protection. Maybe you could update your design or documentation with links to stuff like this GFCI USB/AC adapter available for sale at on Amazon - you probably would want a certified electrician still installing it for you of course...

Whats gooing on with the Train Schedule?

I find the moduel "trainScheduelModul.java" but it seems its not initiated anywhere?

Some thing your working on and haven't finished or is it my skills thats lacking =)

/ Ola

Daydream mode?

I would like to have this on my tablet, when I leave it docked at my desk. Most daydream apps are disappointing and this one looks like a strong candidate for a useful Daydream.

Starting the app

How do you start the app if the tablet dies? Maybe set it as the home activity so it starts on boot?

Countdown to event

Hi - firstly thanks for this wonderful project - I downloaded android studio, bought a tablet and started learning how this code works (and java, and android, and github and ... and... :) ) just to get this to work on the old offbrand tablet I bought. It's working now and I couldn't be more thrilled with the result.

Thanks again!!!

I was trying to add a feature that would show a countdown clock to an event - and I am making no progress whatsoever - is there any possibility that you could add it as a feature? We are counting down to our first child and having this displayed on our mirror would be truly awesome.

Thanks so much.

App has stopped when starting

Help me please, How can I fixed this? (using android studio 1.2 with emulator of Nexus 7 API 5.0)

Error at AsyncTask

Log:

09-14 00:29:01.031 3242-3260/com.morristaedt.mirror E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1
Process: com.morristaedt.mirror, PID: 3242
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.IllegalStateException: Error handler returned null for wrapped exception.
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:244)
at java.lang.reflect.Proxy.invoke(Proxy.java:397)
at $Proxy0.getHourlyForecast(Unknown Source)
at com.morristaedt.mirror.modules.ForecastModule$1.doInBackground(ForecastModule.java:50)
at com.morristaedt.mirror.modules.ForecastModule$1.doInBackground(ForecastModule.java:31)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:818)
Caused by: retrofit.RetrofitError: 403 Forbidden
at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:388)
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240)
            at java.lang.reflect.Proxy.invoke(Proxy.java:397)
            at $Proxy0.getHourlyForecast(Unknown Source)
            at com.morristaedt.mirror.modules.ForecastModule$1.doInBackground(ForecastModule.java:50)
            at com.morristaedt.mirror.modules.ForecastModule$1.doInBackground(ForecastModule.java:31)
            at android.os.AsyncTask$2.call(AsyncTask.java:288)
            at java.util.concurrent.FutureTask.run(FutureTask.java:237)
            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:818)

Crashlytics Developer Tools error.

Hi Hanna, nice work.

I get the following error (I am using Google studio):

Error:Execution failed for task ':app:fabricGenerateResourcesRelease'.

Crashlytics Developer Tools error.

Is there a way to disable Crashlytics?

App crashing

Hi,

after installation, the app crashes on my tablet. Here is the log I can see in Android Studio when I try to open the app. Someone can help me?

Thank you very much.

Rob

11-06 17:41:36.424 7906-7906/com.morristaedt.mirror E/Trace﹕ error opening trace file: No such file or directory (2)
11-06 17:41:36.434 7906-7906/com.morristaedt.mirror W/ActivityThread﹕ Application com.morristaedt.mirror can be debugged on port 8100...
11-06 17:41:36.594 7906-7906/com.morristaedt.mirror D/AndroidRuntime﹕ Shutting down VM
11-06 17:41:36.594 7906-7906/com.morristaedt.mirror W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x40cee2a0)
11-06 17:41:36.594 7906-7906/com.morristaedt.mirror E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.morristaedt.mirror/com.morristaedt.mirror.SetUpActivity}: java.lang.IllegalArgumentException: provider==null
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
at android.app.ActivityThread.access$600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: provider==null
at android.location.LocationManager.getLastKnownLocation(LocationManager.java:1165)
at com.morristaedt.mirror.SetUpActivity.setUpLocationMonitoring(SetUpActivity.java:113)
at com.morristaedt.mirror.SetUpActivity.onCreate(SetUpActivity.java:81)
at android.app.Activity.performCreate(Activity.java:5008)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1089)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
            at android.app.ActivityThread.access$600(ActivityThread.java:130)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:4745)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:511)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
            at dalvik.system.NativeStart.main(Native Method)
11-06 17:41:36.674 7906-7908/com.morristaedt.mirror D/dalvikvm﹕ GC_CONCURRENT freed 258K, 6% free 6179K/6535K, paused 2ms+1ms, total 70ms

Multipe Calendar Dates & German

Hi, is it possible to show multple, an all day Calendar-Entrys on screen?
I can only see 1 by 1.

and what needs to be changed to display in German?
thx ;)

Can't compile

Hi,

I am unable to built a apk. I get "failed to find built tools revision 23.0.1" everytime :-(

fixed, changed the built tools in the gradle.

F-droid

Hi! I love your app but it's not available on F-droid, could you do share it there too, please?

Thanks a lot for this amazing app!!

Ability to insert weather api in app

Hi,

the ability to insert the weather api key in the app would be great, so you dont need to download it and install all that android studio stuff.

[Suggestions] Tweaks made during customization

Hey Hannah, thanks so much for starting this project. I'm not a frequent programmer, so having this backbone in place for me to tweak for my needs has been greatly appreciated. I wanted to share some things that I've discovered in case you want to incorporate the changes. I'll only go over general concepts of my major changes, but I would be happy to share the actual code if you want details.

ForecastModule:

I wanted a little more out of the weather forecast, so I pulled in a few more items from the json and updated the layout:

  • currently.icon: A machine readable icon description used to show the associated Climacon. This required a new ImageView and corresponding switch statement to assign the right .png.
  • daily.data.get(0).temperatureMax: Today's max temperature.
  • daily.data.get(0).temperatureMin: Today's min temperature.
  • hourly.summary: Human readable description of today's weather.

NewsModule:

I wanted to see the top 5 headlines, so I just arrayified everything and added a for loop to populate it. I also added an icon to help the headlines stand out.

CalendarModule:

I've been fiddling with this the most because it's the feature that's most appealing to me. I use this for chores, reminders, meetings, and a countdown to fun things I have planned in the future. This is what I've changed and a couple of things for you to keep in mind if you're not already aware:

Potential "bugs:" You are using the Events table in the Calendar provider to search for upcoming events. This is fine and dandy, but it will not catch instances of recurring events. I banged my head on this one for a bit since I have several recurring chore-like events. I switched to using the following public method of the CalendarContract.Instances class when assigning the cursor:

public static final Cursor query (ContentResolver cr, String[] projection, long begin, long end)

This grabs all of the event instances since the instances table contains 1 instance for each single event and 1 instance each for every iteration of a recurring event.

Your where clause will also not catch events that last through to the following day(s). You might want it function that way, but you may consider changing the clause from:
(dtstart > start) and (dtend < endofday)
to:
(dtstart > start) and (dtstart < endofday)

My updates and how I use this module: I created a new shared calendar specifically for the device running the app and have it as the only visible one. I put chores and reminder type events as well as fun events ("countdown events") that I have coming up. There's nothing special about the chores/reminders, but the countdown events start with a # (more on that shortly). I query all event instances on the calendar for the next six months (hopefully this doesn't come back to bite me, but the Instances query doesn't let you specify a where clause, so I guess I'd have to do another query to optimize this).

The first chore/reminder event is shown only if there is one happening today. In the attached screenshot, the text on the bottom is an event reminding me to pick up anything from the floor so my Roomba "Rosie" doesn't get in trouble while I'm at work. The first upcoming countdown event in the next 180 days is always visible (default text if none), and I calculate the days until that event. I can distinguish those events from others due to the #, and then just take the .substring(1) of the title to get it to display properly.

layout-land:

I created a new resource folder called layout-land and copied the activity_mirror.xml into it. Android will automatically switch the layout based on screen orientation, so now I can choose which orientation to run the device.

Here's what the layout looks like for now (I am constantly tweaking the layout because I'm never satisfied with how it looks. arrrrgggggghhhh.)
device-2016-02-18-105726

Oh, I also changed the app icon to Minecraft's Magic Mirror item... sorry, I couldn't resist! 😛

magic_mirror

Cycle through news headlines

I don't really mind that the news headlines originate from a single source. However, it would be nice if they changed a bit more frequently than once per day. Would be great if they changed every 10 seconds, even if they are the same handful of headlines in the RSS feed, over and over.

Custom

Hi i just discover this app and i want to modify 2 things.
It's possible to stand by the screen ?
It's possible to change the chores ? I want to replace with "get out trash" and "do grossery"

Someone can help me to custom the java code ?

Issue: I'm in Iceland

Hey all,
Thanks for checking this out! I apologize for a project so hard-coded to my life.
I actually left for vacation without a computer before this project got popular. Once I'm done traipsing I'll review all your hard work and git issues.
Much thanks, and best of luck with all your mirror adventures

[Suggestion] Few new features I could prepare PRs for if wanted

Hi there,

I added the following features on my fork - if any are of interest, I'd be happy to polish them up (ie settings into config rather than hard coded, etc) and send pull requests:

  • BTC price in USD/GBP (using coindesk);
  • foreign currency exchange rates (using yahoo finance);
  • custom text scrolling component for news headlines, I found the built-in marquee too slow.

Thanks for all your code so far!
Tim

No R.string.dark_sky_api_key in your project.

I tried to download your project in Intellij. But it can't be compiled. It's showed int Messages console:
Error:(43, 81) Gradle: error: cannot find symbol variable dark_sky_api_key

So could your update your project?

[Suggestion] Twitter feed

Thank you for your excellent work. I was wondering if there was any way to introduce a twitter client in this?

[Suggestion] Hand / Facial Gestures using Camera

Excellent app Hannah! (my project for this weekend!)

I've noticed a few enhancement requests for emails/notifications etc and wondered if it might be possible to use the front facing camera as a way of recognising hand or facial gestures? Move hand left for emails, scroll through (hand up / down etc), email list etc, smile to open, frown to exit!! You're already halfway there addig the functionality to read different facial expressions/moods.

For IOS?

Aha?Can it change to the IOS System?If can,May i call it iMirror?Sorry for my poor English

as I put the code in android

my question is this, modify the code to make it in Spanish but not how to put it in apk. to play on smarphone or tablet, if anyone can help me how to spend all the files would appreciate.

very good project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.