diff --git a/Android-PullToRefresh/.settings/org.eclipse.jdt.core.prefs b/Android-PullToRefresh/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..b080d2dd --- /dev/null +++ b/Android-PullToRefresh/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/Android-PullToRefresh/bin/AndroidManifest.xml b/Android-PullToRefresh/bin/AndroidManifest.xml new file mode 100644 index 00000000..c3db5673 --- /dev/null +++ b/Android-PullToRefresh/bin/AndroidManifest.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/Android-PullToRefresh/bin/R.txt b/Android-PullToRefresh/bin/R.txt new file mode 100644 index 00000000..8ed14772 --- /dev/null +++ b/Android-PullToRefresh/bin/R.txt @@ -0,0 +1,78 @@ +int anim slide_in_from_bottom 0x7f040000 +int anim slide_in_from_top 0x7f040001 +int anim slide_out_to_bottom 0x7f040002 +int anim slide_out_to_top 0x7f040003 +int attr ptrAdapterViewBackground 0x7f010010 +int attr ptrAnimationStyle 0x7f01000c +int attr ptrDrawable 0x7f010006 +int attr ptrDrawableBottom 0x7f010012 +int attr ptrDrawableEnd 0x7f010008 +int attr ptrDrawableStart 0x7f010007 +int attr ptrDrawableTop 0x7f010011 +int attr ptrHeaderBackground 0x7f010001 +int attr ptrHeaderSubTextColor 0x7f010003 +int attr ptrHeaderTextAppearance 0x7f01000a +int attr ptrHeaderTextColor 0x7f010002 +int attr ptrListViewExtrasEnabled 0x7f01000e +int attr ptrMode 0x7f010004 +int attr ptrOverScroll 0x7f010009 +int attr ptrRefreshableViewBackground 0x7f010000 +int attr ptrRotateDrawableWhilePulling 0x7f01000f +int attr ptrScrollingWhileRefreshingEnabled 0x7f01000d +int attr ptrShowIndicator 0x7f010005 +int attr ptrSubHeaderTextAppearance 0x7f01000b +int dimen header_footer_left_right_padding 0x7f060003 +int dimen header_footer_top_bottom_padding 0x7f060004 +int dimen indicator_corner_radius 0x7f060001 +int dimen indicator_internal_padding 0x7f060002 +int dimen indicator_right_padding 0x7f060000 +int drawable default_ptr_flip 0x7f020000 +int drawable default_ptr_rotate 0x7f020001 +int drawable indicator_arrow 0x7f020002 +int drawable indicator_bg_bottom 0x7f020003 +int drawable indicator_bg_top 0x7f020004 +int id both 0x7f050003 +int id disabled 0x7f050000 +int id fl_inner 0x7f05000c +int id flip 0x7f050008 +int id gridview 0x7f050009 +int id manualOnly 0x7f050004 +int id pullDownFromTop 0x7f050005 +int id pullFromEnd 0x7f050002 +int id pullFromStart 0x7f050001 +int id pullUpFromBottom 0x7f050006 +int id pull_to_refresh_image 0x7f05000d +int id pull_to_refresh_progress 0x7f05000e +int id pull_to_refresh_sub_text 0x7f050010 +int id pull_to_refresh_text 0x7f05000f +int id rotate 0x7f050007 +int id scrollview 0x7f05000b +int id webview 0x7f05000a +int layout pull_to_refresh_header_horizontal 0x7f030000 +int layout pull_to_refresh_header_vertical 0x7f030001 +int string pull_to_refresh_from_bottom_pull_label 0x7f070003 +int string pull_to_refresh_from_bottom_refreshing_label 0x7f070005 +int string pull_to_refresh_from_bottom_release_label 0x7f070004 +int string pull_to_refresh_pull_label 0x7f070000 +int string pull_to_refresh_refreshing_label 0x7f070002 +int string pull_to_refresh_release_label 0x7f070001 +int[] styleable PullToRefresh { 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d, 0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011, 0x7f010012 } +int styleable PullToRefresh_ptrAdapterViewBackground 16 +int styleable PullToRefresh_ptrAnimationStyle 12 +int styleable PullToRefresh_ptrDrawable 6 +int styleable PullToRefresh_ptrDrawableBottom 18 +int styleable PullToRefresh_ptrDrawableEnd 8 +int styleable PullToRefresh_ptrDrawableStart 7 +int styleable PullToRefresh_ptrDrawableTop 17 +int styleable PullToRefresh_ptrHeaderBackground 1 +int styleable PullToRefresh_ptrHeaderSubTextColor 3 +int styleable PullToRefresh_ptrHeaderTextAppearance 10 +int styleable PullToRefresh_ptrHeaderTextColor 2 +int styleable PullToRefresh_ptrListViewExtrasEnabled 14 +int styleable PullToRefresh_ptrMode 4 +int styleable PullToRefresh_ptrOverScroll 9 +int styleable PullToRefresh_ptrRefreshableViewBackground 0 +int styleable PullToRefresh_ptrRotateDrawableWhilePulling 15 +int styleable PullToRefresh_ptrScrollingWhileRefreshingEnabled 13 +int styleable PullToRefresh_ptrShowIndicator 5 +int styleable PullToRefresh_ptrSubHeaderTextAppearance 11 diff --git a/Android-PullToRefresh/bin/android-pulltorefresh.jar b/Android-PullToRefresh/bin/android-pulltorefresh.jar new file mode 100644 index 00000000..6ab09357 Binary files /dev/null and b/Android-PullToRefresh/bin/android-pulltorefresh.jar differ diff --git a/Android-PullToRefresh/lint.xml b/Android-PullToRefresh/lint.xml new file mode 100644 index 00000000..ee0eead5 --- /dev/null +++ b/Android-PullToRefresh/lint.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Android-PullToRefresh/project.properties b/Android-PullToRefresh/project.properties index acfc74eb..8e4bc5fd 100644 --- a/Android-PullToRefresh/project.properties +++ b/Android-PullToRefresh/project.properties @@ -8,5 +8,5 @@ # project structure. # Project target. -target=android-16 +target=android-19 android.library=true diff --git a/SWADroid/lint.xml b/SWADroid/lint.xml new file mode 100644 index 00000000..ee0eead5 --- /dev/null +++ b/SWADroid/lint.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/SWADroid/res/layout/webview_information_screen_layout.xml b/SWADroid/res/layout/webview_information_screen_layout.xml new file mode 100644 index 00000000..ca4edded --- /dev/null +++ b/SWADroid/res/layout/webview_information_screen_layout.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/SWADroid/src/es/ugr/swad/swadroid/modules/information/Introduction.java b/SWADroid/src/es/ugr/swad/swadroid/modules/information/Introduction.java index c3d693bf..5034a3c8 100644 --- a/SWADroid/src/es/ugr/swad/swadroid/modules/information/Introduction.java +++ b/SWADroid/src/es/ugr/swad/swadroid/modules/information/Introduction.java @@ -9,11 +9,26 @@ package es.ugr.swad.swadroid.modules.information; import java.io.IOException; import java.security.NoSuchAlgorithmException; import org.xmlpull.v1.XmlPullParserException; + +import android.os.Bundle; +import android.webkit.WebView; +import es.ugr.swad.swadroid.R; import es.ugr.swad.swadroid.modules.Module; public class Introduction extends Module { + @Override + protected void onCreate(Bundle savedInstanceState) { + + WebView webview; + super.onCreate(savedInstanceState); + setContentView(R.layout.webview_information_screen_layout); + webview = (WebView) this.findViewById(R.id.contentWebView); + + } + + @Override protected void requestService() throws NoSuchAlgorithmException, IOException, XmlPullParserException {