Skip to content

Commit

Permalink
* android app design improvements
Browse files Browse the repository at this point in the history
* readme changelog for version 1.2
  • Loading branch information
SSilence committed Jan 4, 2012
1 parent 3be395a commit 888ddc8
Show file tree
Hide file tree
Showing 11 changed files with 74 additions and 29 deletions.
62 changes: 37 additions & 25 deletions app/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,58 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.aditu.selfoss"
android:versionCode="1"
android:versionName="1.0" >
android:versionName="0.9" >

<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.GET_ACCOUNTS" />
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>

<uses-permission android:name="android.permission.INTERNET" />

<!--
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
-->

<uses-sdk android:minSdkVersion="8" />

<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" android:debuggable="true">
android:label="@string/app_name"
android:debuggable="false">
<activity
android:configChanges="orientation|keyboardHidden"
android:configChanges="orientation|keyboardHidden"
android:name=".SelfossActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.phonegap.DroidGap" android:label="@string/app_name" android:configChanges="orientation|keyboardHidden"> <intent-filter> </intent-filter> </activity>

<activity
android:name="com.phonegap.DroidGap"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden">
<intent-filter>
</intent-filter>
</activity>
</application>

</manifest>
9 changes: 6 additions & 3 deletions app/assets/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,11 @@ <h3>Frohe Weihnachten</h3>
<h1 class="content-title"></h1>
</div>

<div data-role="header" data-position="fixed" id="content-showimages-header">
<div href="" id="content-showimages">touch here for loading the images</div>
</div>

<div data-role="content">
<a href="" id="content-showimages" data-icon="check" data-inline="true">show images</a>
<h3 class="content-title"></h3>
<div id="content-content">
</div>
Expand All @@ -92,7 +95,7 @@ <h3 class="content-title"></h3>
<!-- about -->
<div data-role="page" id="about" data-title="selfoss">
<div data-role="header" data-position="fixed">
<a href="#stream" data-icon="arrow-l" data-transition="slidedown">back</a>
<a href="javascript:window.history.back()" data-icon="arrow-l" data-transition="slidedown">back</a>
<h1>about selfoss</h1>
</div>

Expand All @@ -102,7 +105,7 @@ <h1>about selfoss</h1>
</p>
<h3>selfoss</h3>
<p>
Version: 1.2<br />
Version: 0.9<br />
<a href="http://selfoss.aditu.de">http://selfoss.aditu.de</a><br />
</p>
<p>
Expand Down
19 changes: 19 additions & 0 deletions app/assets/www/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,23 @@
#stream-content li .source {
color:#999;
font-size:12px;
}

#content-showimages {
cursor:pointer;
border-bottom:0px;
text-align:center;
color:#333;
width:100%;
height:20px;
text-shadow:none;
border:0;
font-weight:normal;
text-decoration:underline;
margin:5px;
}

#content-showimages-header {
border:0;
background-image:-webkit-gradient(linear,left top,left bottom,from(#fceda7),to(#fadb4e));
}
Binary file added app/bin/classes.dex
Binary file not shown.
Binary file added app/bin/res/drawable-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/bin/res/drawable-ldpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/bin/res/drawable-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/bin/resources.ap_
Binary file not shown.
Binary file added app/bin/selfoss.apk
Binary file not shown.
Binary file added docs/resources/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ UPDATE
CHANGELOG
---------

Version 1.2
* new json API for external software
* support for Android selfoss app
* improved heise spout
* some smaller bugfixes (e.g. increased session timeout)

Version 1.1
* hash password (you can set the salt in the config.ini and you can generate a password with following URL: http://your_selfoss_url.com/password)
* remove unused CSS
Expand Down Expand Up @@ -59,4 +65,9 @@ Special thanks to the great programmers of this libraries which will be used in
* modernizr: http://www.modernizr.com/
* keyboard shortcuts: http://www.openjs.com/scripts/events/keyboard_shortcuts/
* jsmin: https://github.com/rgrove/jsmin-php/blob/master/jsmin.php
* cssmin: http://code.google.com/p/cssmin/
* cssmin: http://code.google.com/p/cssmin/

Libraries used for the Android App:

* phonegap: http://www.phonegap.com
* jQuery Mobile: http://jquerymobile.com/

0 comments on commit 888ddc8

Please sign in to comment.