This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="com.AndroidWebView" | |
| android:versionCode="1" | |
| android:versionName="1.0" > | |
| <uses-sdk | |
| android:minSdkVersion="8" | |
| android:targetSdkVersion="16" /> | |
| <uses-permission android:name="android.permission.INTERNET" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -showsplash | |
| org.eclipse.platform | |
| --launcher.XXMaxPermSize | |
| 256m | |
| --launcher.defaultAction | |
| openFile | |
| -vm | |
| C:\Program Files\Java\jre7\bin | |
| -vmargs | |
| -Dosgi.requiredJavaVersion=1.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html> | |
| <head> | |
| <title>show demo</title> | |
| </head> | |
| <body> | |
| <!--choose these options to change text color--> | |
| <select onChange="funName(this.value);"> | |
| <option value="red">Red</option> | |
| <option value="green">Green</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html> | |
| <head> | |
| <title>show demo</title> | |
| </head> | |
| <body> | |
| <!-- add new item Dynamically in the show block --> | |
| <div id="showBlock"></div> | |
| <!-- click the button to add new item --> | |
| <input type="button" id="btn" value="addItem" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html> | |
| <head> | |
| <title>show demo</title> | |
| </head> | |
| <body> | |
| <!-- add new item Dynamically in the show block --> | |
| <div id="showBlock"> | |
| Input:<input type="text" name="test[]" /> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //normal type | |
| $("#clickId").click(function () { | |
| $("#showId").show(); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class NetworkCheck extends BroadcastReceiver{ | |
| private static final String TAG = "NetworkCheck"; | |
| private static final int MAX_ATTEMPTS = 5; | |
| private static final int BACKOFF_MILLI_SECONDS = 100; | |
| private static boolean networkConnectStatus = false; | |
| public void onReceive(Context context, Intent intent) { | |
| networkConnectStatus = checkInternetConnection(context); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.test; | |
| import android.os.Bundle; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.widget.TextView; | |
| public class MainActivity extends Activity { | |
| private TextView txtResult; | |
| @Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.test; | |
| import android.os.Bundle; | |
| import android.app.Activity; | |
| import android.view.View; | |
| import android.widget.AdapterView; | |
| import android.widget.ImageView; | |
| import android.widget.ListView; | |
| public class MainActivity extends Activity { |