Changeset 17673
- Timestamp:
- 04/08/14 13:43:46 (11 years ago)
- Location:
- issm/mobile/android/ISSM_APP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/mobile/android/ISSM_APP/project.properties
r17423 r17673 12 12 13 13 # Project target. 14 target=android-1 814 target=android-19 -
issm/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/ISSMWebActivity.java
r17658 r17673 22 22 23 23 // URL of the index page of the ISSM web application 24 // private String srcPath = 25 // "http://issm.jpl.nasa.gov/externalicelab/index.html"; 24 private String srcPath = "http://issm.jpl.nasa.gov/externalicelab/html/index.html"; 26 25 private String offPath = "file:///android_asset/externalicelab/index.html"; 27 26 private final String KEY = "mode"; 28 27 private String issmFolder = ""; 29 28 private int MODE; 30 private String srcPath = "http://www.csupomona.edu/~lannguyen/ISSM_WEB/html/index.html"; 29 // private String srcPath = 30 // "http://www.csupomona.edu/~lannguyen/ISSM_WEB/html/index.html"; 31 31 private WebView myWebView; 32 32 … … 36 36 requestWindowFeature(Window.FEATURE_NO_TITLE); 37 37 setContentView(R.layout.activity_issmweb_online); 38 // getActionBar().setCustomView(R.layout.actionbar_top_web);39 // getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);40 38 MODE = getIntent().getExtras().getInt(KEY); 41 42 // Button webHome = (Button) findViewById(R.id.web_home);43 // webHome.setOnClickListener(new OnClickListener() {44 //45 // @Override46 // public void onClick(View v) {47 // if (MODE == 0) {48 // myWebView.loadUrl(srcPath);49 // } else {50 // myWebView.loadUrl(offPath);51 // }52 // }53 //54 // });55 //56 // Button webRefresh = (Button) findViewById(R.id.web_refresh);57 // webRefresh.setOnClickListener(new OnClickListener() {58 //59 // @Override60 // public void onClick(View v) {61 // myWebView.loadUrl(myWebView.getOriginalUrl());62 // // Log.i("srcUrl: ", srcPath);63 // // Log.i("newUrl: ", myWebView.getOriginalUrl());64 // }65 //66 // });67 68 // final ProgressDialog loading = new ProgressDialog(this);69 // loading.setMessage("Loading page...");70 // loading.setCancelable(false);71 // loading.show();72 39 73 40 myWebView = (WebView) findViewById(R.id.issmWeb); … … 79 46 if (url.startsWith("http") 80 47 && !url.contains("http://thwaites.jpl.nasa.gov/fastcgi/visl-solve.py?callbacks")) { 81 // myWebView.setVisibility(View.INVISIBLE);82 48 myWebView.stopLoading(); 83 49 new AlertDialog.Builder(ISSMWebActivity.this)
Note:
See TracChangeset
for help on using the changeset viewer.