Adapted all Modules to work with a global actual course. It is

functional, however, initial states should be revised and better
defined. The appearance should be also improved.
This commit is contained in:
Helena Rodriguez 2012-04-09 18:29:22 +02:00
parent 8bd957163a
commit e79012ac0c
2 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class Global {
/** /**
* SWAD application key * SWAD application key
*/ */
private static final String AppKey = ""; private static final String AppKey = "HTC-Desire";
/** /**
* Server URL * Server URL
*/ */

View File

@ -412,6 +412,7 @@ public abstract class Module extends MenuActivity {
* Use of KeepAliveHttpsTransport deals with the problems with the Android ssl libraries having trouble * Use of KeepAliveHttpsTransport deals with the problems with the Android ssl libraries having trouble
* with certificates and certificate authorities somehow messing up connecting/needing reconnects. * with certificates and certificate authorities somehow messing up connecting/needing reconnects.
*/ */
String u =prefs.getServer();
URL = prefs.getServer(); URL = prefs.getServer();
connection = new KeepAliveHttpsTransportSE(URL, 443, "", TIMEOUT); connection = new KeepAliveHttpsTransportSE(URL, 443, "", TIMEOUT);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);