Commit graph

451 commits

Author SHA1 Message Date
Xavi Artigas
4ae44f9e1c Initial iOS Tutorial 4, already working. No seek bar yet. iPhone storyboard missing. External files can be played if they are copied into the application through iTunes file sharing. 2013-05-14 17:11:05 +02:00
Xavi Artigas
4bd417f339 Adapt tutorial code to new xcode ios templates 2013-05-13 10:36:29 +02:00
Xavi Artigas
217845f35d Remove autogenerated copyright notices and some whitespace. 2013-05-10 11:32:25 +02:00
Xavi Artigas
3b56db192c First iOS Tutorial 4 (a copy of Tutorial 3) 2013-05-09 18:07:30 +02:00
Xavi Artigas
e09eec3297 Fix debug category name 2013-05-09 17:07:29 +02:00
Xavi Artigas
11599cbf55 Dynamically change the video UIView so that it maximizes its size respecting the media aspect ratio. In this way, we do not need the sink to add black borders, and we are faster. 2013-05-09 11:47:56 +02:00
Xavi Artigas
80a0b8a143 Remove apparently unneeded override. 2013-05-08 17:44:26 +02:00
Xavi Artigas
7b0e4002b3 Remove borders around video view 2013-05-08 12:21:06 +02:00
Xavi Artigas
809581ccaf First working version of iOS tutorial 3 2013-05-08 11:22:17 +02:00
Xavi Artigas
b2fadd6d90 New iOS Tutorial 3 (copied from Tutorial 2) 2013-05-07 18:33:37 +02:00
Xavi Artigas
c7b0aeb341 Fix label size in iPhone because text did not fit the screen... 2013-05-07 11:57:07 +02:00
Xavi Artigas
1214abe858 Revamp Tutorial 2 UI to be more iOS-like, to be closer to what the Android one looks like, and to simplify development of next tutorials. 2013-05-07 10:30:31 +02:00
Xavi Artigas
5d747fb6be Add comments, debug output, a bit of variable renaming and some code reorganization. 2013-05-06 17:13:03 +02:00
Xavi Artigas
c27858631d Large revamp to bring it closer to the Android tutorial 2. 2013-05-06 16:49:03 +02:00
Xavi Artigas
1e071cd730 Whitespace 2013-05-06 10:29:43 +02:00
Xavi Artigas
6b1f767559 Remove apparently superfluous parameter in call to sprintf 2013-05-06 10:29:22 +02:00
Xavi Artigas
d5696b0122 Match variable names to other tutorials 2013-05-02 13:43:43 +02:00
Xavi Artigas
4c6be2c93e Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer-sdk/gst-sdk-tutorials 2013-05-02 13:30:17 +02:00
Xavi Artigas
9f389c8b02 Change welcome string to match other tutorials 2013-05-02 13:30:02 +02:00
Xavi Artigas
05a0cffeec Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer-sdk/gst-sdk-tutorials 2013-05-02 12:53:04 +02:00
Xavi Artigas
dfb803a463 Fix memory leak in version string. 2013-05-02 12:52:17 +02:00
Xavi Artigas
853b78cf38 Whitespace 2013-05-02 12:00:00 +02:00
Xavi Artigas
2af9cdcce6 Add App Icons for Tutorial 2 2013-04-30 14:10:25 +02:00
Xavi Artigas
5b8c59e190 Add App Icon for Tutorial 1 2013-04-30 13:59:04 +02:00
Xavi Artigas
d9f972d437 gitignore OS and xcode-generated files 2013-04-30 13:13:08 +02:00
Xavi Artigas
8dc3c7d96a Initial import of Tutorial 2 from thiagoss 2013-04-30 13:03:43 +02:00
Xavi Artigas
d2c4104a9e Fix initialization function name 2013-04-30 11:42:51 +02:00
Xavi Artigas
d8c0c43ffb New template for autogenerated files 2013-04-30 11:19:04 +02:00
Xavi Artigas
cd3cfb3e0d Remove copyright notices 2013-04-30 10:51:00 +02:00
Xavi Artigas
0fddebb761 Center label on screen 2013-04-30 10:19:25 +02:00
Xavi Artigas
eae0b9b7fe Initial import for iOS Tutorial 1 2013-04-29 17:47:13 +02:00
Xavi Artigas
ee528a93f8 Allow the file chooser to preserve the current path across device orientation changes. 2012-11-12 10:09:56 +01:00
Xavi Artigas
636a0843b6 New icons 2012-11-08 12:16:45 +01:00
Xavi Artigas
c09f277be7 Better placement of the last_folder initialization. 2012-11-07 14:06:11 +01:00
Xavi Artigas
b0282e731f Save last visited folder in the application state, so that it survives orientation changes, for example 2012-11-07 13:16:09 +01:00
Xavi Artigas
ce47bec59e Disable seek bar when media duration could not be queried (for still pictures, for example) 2012-11-07 13:11:56 +01:00
Xavi Artigas
b05005d568 Remove unnecessary 'final' keywords 2012-11-07 12:00:09 +01:00
Xavi Artigas
36d03232e1 Handle media with no position or duration correctly (pictures, for example) 2012-11-07 11:55:45 +01:00
Xavi Artigas
3c9c405464 Somebody copy&pasted code from some other project... :) 2012-11-07 10:35:53 +01:00
Xavi Artigas
fda10a9006 Android format of XML 2012-11-06 18:16:36 +01:00
Xavi Artigas
c9073a18e9 Whitespace and format 2012-11-06 17:49:04 +01:00
Xavi Artigas
43cba542b7 Clicking on the currently selected file accepts it. 2012-11-06 17:46:50 +01:00
Xavi Artigas
34b3398b26 Simplify file chooser row layout and allow showing file names longer than the text view. 2012-11-06 17:36:51 +01:00
Xavi Artigas
d6448c8b2e Major revamp of the file chooser dialog to: Remove unused code/layout/strings, remember last visited folder, add a cancel button and beautify a bit the dialogs. 2012-11-06 13:19:27 +01:00
Xavi Artigas
deb87d4a23 Better integration for local files with unknown MIME types. 2012-11-06 10:49:43 +01:00
Xavi Artigas
73ca70339c Register tutorial 5 as a media player, so other applications (including browsers) can pass URIs to us. Unfortunately, the complete list of supported protocols and file extensions has to be provided, as Android does not seem to infer MIME types from file names. 2012-11-05 18:41:49 +01:00
Xavi Artigas
fe3c684e90 XML formatting 2012-11-05 15:47:07 +01:00
Xavi Artigas
89e5a89fe6 Fix tutorial 5 seeking to last position after opening new media 2012-11-05 13:37:27 +01:00
Xavi Artigas
2635e59fb4 Revamp tutorial 5 code to continue what we have been showing in all previous tutorials. Drop unused code and add goodies like media size reporting and seek throttling. 2012-11-05 10:36:01 +01:00
Sebastian Dröge
ac07b88df9 Add GSTREAMER_EXTRA_DEPS as required for Android tutorials 2012-11-02 13:14:04 +01:00