2013-10-28 Miguel de Dios <miguel.dedios@artica.es>

* .classpath: some changes that eclipse makes "automagicaly".
	
	* src/pandorafms/pandorafmsandroidconsole/PandoraWebView.java:
	fixed java-android warnings.
	
	* res/layout/activity_web_view.xml: improved the source code style.
	
	* AndroidManifest.xml: fixed with ugly fix the lost "option button"
	in the phones/tables with android version over that honeycomb and
	have not a fisical option menu. Fixes the warnings of android.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-10-28 14:34:32 +00:00
parent db5211d118
commit e0cc349341
5 changed files with 23 additions and 10 deletions

View File

@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>

View File

@ -4,9 +4,11 @@
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
android:targetSdkVersion="11" />
<application
android:allowBackup="true"
@ -16,8 +18,10 @@
<activity
android:name="pandorafms.pandorafmsandroidconsole.PandoraWebView"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar" >
android:theme="@android:style/Theme.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
@ -44,8 +48,5 @@
android:label="@string/connection_str"
android:theme="@android:style/Theme.Dialog" >
</activity>
</application>
<uses-permission android:name="android.permission.INTERNET" />
</manifest>

View File

@ -1,3 +1,16 @@
2013-10-28 Miguel de Dios <miguel.dedios@artica.es>
* .classpath: some changes that eclipse makes "automagicaly".
* src/pandorafms/pandorafmsandroidconsole/PandoraWebView.java:
fixed java-android warnings.
* res/layout/activity_web_view.xml: improved the source code style.
* AndroidManifest.xml: fixed with ugly fix the lost "option button"
in the phones/tables with android version over that honeycomb and
have not a fisical option menu. Fixes the warnings of android.
2013-05-30 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added icon for application.

View File

@ -6,7 +6,7 @@
android:paddingLeft="0px"
android:paddingRight="0px"
android:paddingTop="0px"
tools:context=".WebView" >
tools:context=".WebView">
<WebView
android:id="@+id/webview"

View File

@ -74,9 +74,8 @@ public class PandoraWebView extends Activity {
//connection message
//Close the CustomToast (I love this hack, fuck javalovers and yours patterns.).
ConnectionCustomToast connectionCustomToast = new ConnectionCustomToast();
if (connectionCustomToast.activity != null)
connectionCustomToast.activity.finish();
if (ConnectionCustomToast.activity != null)
ConnectionCustomToast.activity.finish();
}
});