puncsky / drunkaudible Goto Github PK
View Code? Open in Web Editor NEWAn Android/iOS application for listening audio books, talk shows, and TV programs.
An Android/iOS application for listening audio books, talk shows, and TV programs.
After play with dev machine, I found:
[ViewRootImpl] ViewRoot's Touch Event : Touch UP
[ContextImpl] Implicit intents with startService are not safe: Intent { act=com.puncsky.drunkaudible.mobile.android.CONNECT } android.content.ContextWrapper.bindService:517 drunkaudible.mobile.android.AudioPlayerFragment.n_onActivityCreated:-2 drunkaudible.mobile.android.AudioPlayerFragment.onActivityCreated:39
[ContextImpl] Implicit intents with startService are not safe: Intent { act=com.puncsky.drunkaudible.mobile.android.CONNECT } android.content.ContextWrapper.startService:494 drunkaudible.mobile.android.AudioPlayerFragment.n_onActivityCreated:-2 drunkaudible.mobile.android.AudioPlayerFragment.onActivityCreated:39
[ContextImpl] Implicit intents with startService are not safe: Intent { act=com.puncsky.drunkaudible.mobile.android.CONNECT } android.content.ContextWrapper.bindService:517 drunkaudible.mobile.android.AudioPlayerFragment.n_onStart:-2 drunkaudible.mobile.android.AudioPlayerFragment.onStart:47
[ContextImpl] Implicit intents with startService are not safe: Intent { act=com.puncsky.drunkaudible.mobile.android.CONNECT } android.content.ContextWrapper.startService:494 drunkaudible.mobile.android.AudioPlayerFragment.n_onStart:-2 drunkaudible.mobile.android.AudioPlayerFragment.onStart:47
[MediaPlayer[Native]] isPlaying: no active player
[MediaPlayer[Native]] isPlaying: no active player
learn from the avTouch sample. https://github.com/xamarin/monotouch-samples/blob/master/AVTouchSample/avTouchViewController.cs#L83
WebView should interact with activity to load album metadata into the database.
Following up #14
Working with puncsky/DrunkAudible.Web#1
inflation
Figure out and make them consistent.
Should update the inmemory object to database and to the Player service.
Use inheritance.
For global variables, subclassing instead of singleton.
This is a following-up issue from #28
http://stackoverflow.com/questions/708012/how-to-declare-global-variables-in-android
Cons of singleton
Enlarge the icon image and fit to the height of the row. Use the white theme.
Override GetHashCode and Equal? Keep track of this for future consideration.
Four sections:
Initially, if the file exists, there is a foreground blue / background grey bar showing PlayerProgress. If there is not file, show nothing. Once the entry clicked, show the DownloadProgress. When download is finished, invisible the DownloadProgress, and visible the PlayerProgress.
No live streaming, just a player.
[StreamingBackgroundService] Unable to start playback: System.ArgumentNullException: Argument cannot be null.
[StreamingBackgroundService] Parameter name: stringToEscape
[StreamingBackgroundService] at System.Uri.EscapeDataString (System.String stringToEscape) [0x00000] in <filename unknown>:0
[StreamingBackgroundService] at DrunkAudible.Mobile.AudioDownloader.GetFilePath (System.String url) [0x00002] in /Users/tp/Projects/DrunkAudible/Shared/Helpers/AudioDownloader.cs:96
[StreamingBackgroundService] at DrunkAudible.Mobile.AudioDownloader.HasLocalFile (System.String url) [0x00002] in /Users/tp/Projects/DrunkAudible/Shared/Helpers/AudioDownloader.cs:81
[StreamingBackgroundService] at DrunkAudible.Mobile.Android.StreamingBackgroundService+<Play>c__async0.MoveNext () [0x000d9] in /Users/tp/Projects/DrunkAudible/Mobile.Android/Services/StreamingBackgroundService.cs:296
Followup #29
Need to investigate whether receive some other notifications will cause sudden stop.
Unified web login system.
remember to start/stop updating views and states.
iOS throws when the IconUrl is not valid.
Logo, splash screen, color and theme.
Image size should be fixed.
Enlarge the icon image and fit to the height of the row. Use the white theme.
Now it is 70+MB. To control it under 40MB.
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.