Permalink
Browse files

rename Sample -> Control

  • Loading branch information...
Matias Wilkman
Matias Wilkman committed Feb 22, 2011
1 parent b60d53d commit 39be5bfcff554a710bc5ed61dbf900b4f7392922
Showing 423 changed files with 25,157 additions and 13 deletions.
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="lib" path="libs/phonegap-0.9.3.jar" sourcepath="/home/dep/Code/phonegap-android"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
- <classpathentry kind="lib" path="libs/phonegap-0.9.3.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
File renamed without changes.
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>Sample</name>
+ <name>Control</name>
<comment></comment>
<projects>
</projects>
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.phonegap.Sample" android:versionName="1.1" android:versionCode="1">
+ android:versionName="1.1" android:versionCode="1" package="com.charlieroberts.Control">
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
@@ -25,8 +25,7 @@
<application android:label="@string/app_name"
android:debuggable="true" android:icon="@drawable/icon72">
- <activity android:name=".Sample"
- android:label="@string/app_name" android:configChanges="orientation|keyboardHidden">
+ <activity android:label="@string/app_name" android:configChanges="orientation|keyboardHidden" android:name="Control">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
File renamed without changes.
@@ -4,7 +4,7 @@
<head>
<title>Control</title>
- <!--<meta name="viewport" content="width=320; user-scalable=no" />
+ <meta name="viewport" content="width=320; user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" /> -->
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="css/iscroll.css" type="text/css" media="screen" charset="utf-8">
File renamed without changes.
File renamed without changes.
@@ -8,4 +8,4 @@
# project structure.
# Project target.
-target=android-7
+target=android-8
File renamed without changes.
File renamed without changes.
Binary file not shown.
@@ -1,21 +1,23 @@
- package com.phonegap.Sample;
+ package com.charlieroberts.Control;
- import android.app.Activity;
import android.os.Bundle;
import com.phonegap.*;
import android.view.WindowManager;
- public class Sample extends DroidGap
+
+ public class Control extends DroidGap
{
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
+ super.setIntegerProperty("loadUrlTimeoutValue", 60000);
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN );
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
- //super.loadUrl("http://192.168.1.7/~charlie/www/index.html");
- super.loadUrl("file:///android_asset/www/index.html");
+ super.loadUrl("http://10.42.43.1:8000/www/index.html");
+ //super.loadUrl("file:///android_asset/www/index.html");
+
}
}
Oops, something went wrong.

0 comments on commit 39be5bf

Please sign in to comment.