Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
m-primo committed Apr 26, 2020
1 parent 60f826e commit a1ae687
Show file tree
Hide file tree
Showing 124 changed files with 508 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
24 changes: 24 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 21
buildToolsVersion "21.1.0"

defaultConfig {
applicationId "IBrowser.IApp.GP"
minSdkVersion 14
targetSdkVersion 21
versionCode 2
versionName "2.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
Binary file added app/build/bin/app.apk
Binary file not shown.
Binary file added app/build/bin/classes.dex
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/build/bin/classesdebug/IBrowser/IApp/GP/R.class
Binary file not shown.
Binary file added app/build/bin/classesdebug/adrt/ADRT.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/build/bin/classesdebug/adrt/ADRTLongSet.class
Binary file not shown.
Binary file added app/build/bin/classesdebug/adrt/ADRTMetadata.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/build/bin/classesdebug/adrt/ADRTSender.class
Binary file not shown.
Binary file added app/build/bin/classesdebug/adrt/ADRTThread.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/build/bin/classesrelease/IBrowser/IApp/GP/R.dex
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/build/bin/classesrelease/adrt/ADRTSender.dex
Binary file not shown.
43 changes: 43 additions & 0 deletions app/build/bin/injected/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="IBrowser.IApp.GP"
android:versionCode="2"
android:versionName="2.0">

<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="21"/>

<uses-permission
android:name="android.permission.INTERNET"/>

<application
android:allowBackup="true"
android:label="IBrowser"
android:icon="@drawable/icon">

<activity
android:name=".MainActivity"
android:screenOrientation="portrait">

<intent-filter>

<action
android:name="android.intent.action.MAIN"/>

<category
android:name="android.intent.category.LAUNCHER"/>

</intent-filter>

</activity>

<activity
android:name=".DebugActivity"
android:screenOrientation="portrait"/>

</application>

</manifest>

Binary file added app/build/bin/res/drawable/about.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/build/bin/res/drawable/back1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/build/bin/res/drawable/forward.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/build/bin/res/drawable/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/build/bin/res/drawable/reload.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/build/bin/res/drawable/search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/build/bin/res/drawable/zoomin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/build/bin/res/drawable/zoomout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/build/bin/resources.ap_
Binary file not shown.
6 changes: 6 additions & 0 deletions app/build/gen/IBrowser/IApp/GP/BuildConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** Automatically generated file. DO NOT MODIFY */
package IBrowser.IApp.GP;

public final class BuildConfig {
public final static boolean DEBUG = true;
}
43 changes: 43 additions & 0 deletions app/build/gen/IBrowser/IApp/GP/R.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/

package IBrowser.IApp.GP;

public final class R {
public static final class attr {
}
public static final class drawable {
public static final int about=0x7f020000;
public static final int back1=0x7f020001;
public static final int forward=0x7f020002;
public static final int icon=0x7f020003;
public static final int reload=0x7f020004;
public static final int search=0x7f020005;
public static final int zoomin=0x7f020006;
public static final int zoomout=0x7f020007;
}
public static final class id {
public static final int about=0x7f040005;
public static final int adview=0x7f04000e;
public static final int back=0x7f040006;
public static final int barbtns=0x7f040004;
public static final int bottomlinear=0x7f04000d;
public static final int browse=0x7f04000c;
public static final int forward=0x7f040008;
public static final int go=0x7f040002;
public static final int linear2=0x7f040000;
public static final int reload=0x7f040007;
public static final int topliner=0x7f040001;
public static final int url=0x7f040003;
public static final int vscroll1=0x7f04000b;
public static final int zoomin=0x7f040009;
public static final int zoomout=0x7f04000a;
}
public static final class layout {
public static final int main=0x7f030000;
}
}
17 changes: 17 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\tools\adt-bundle-windows-x86_64-20131030\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
24 changes: 24 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="IBrowser.IApp.GP">

<uses-permission android:name="android.permission.INTERNET"/>

<application android:allowBackup="true"
android:label="IBrowser"
android:icon="@drawable/icon"
>
<activity
android:name=".MainActivity"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".DebugActivity" android:screenOrientation="portrait" />

</application>

</manifest>

193 changes: 193 additions & 0 deletions app/src/main/java/IBrowser/IApp/GP/MainActivity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
package IBrowser.IApp.GP;

import android.app.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;
import android.content.*;
import android.graphics.*;
import android.media.*;
import android.net.*;
import android.text.*;
import android.util.*;
import android.webkit.*;
import java.util.*;
import java.text.*;


public class MainActivity extends Activity {

private LinearLayout linear2;
private LinearLayout barbtns;
private ScrollView vscroll1;
private LinearLayout bottomlinear;
private LinearLayout topliner;
private ImageView go;
private EditText url;
private ImageView about;
private ImageView back;
private ImageView reload;
private ImageView forward;
private ImageView zoomin;
private ImageView zoomout;
private WebView browse;
private WebView adview;

private String urlvar = "";


private AlertDialog.Builder d_q;


@Override
protected void onCreate(Bundle savedInstanceState) {
requestWindowFeature(Window.FEATURE_NO_TITLE);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
initialize();
initializeLogic();
}

private void initialize() {
linear2 = (LinearLayout) findViewById(R.id.linear2);
barbtns = (LinearLayout) findViewById(R.id.barbtns);
vscroll1 = (ScrollView) findViewById(R.id.vscroll1);
bottomlinear = (LinearLayout) findViewById(R.id.bottomlinear);
topliner = (LinearLayout) findViewById(R.id.topliner);
go = (ImageView) findViewById(R.id.go);
url = (EditText) findViewById(R.id.url);
about = (ImageView) findViewById(R.id.about);
back = (ImageView) findViewById(R.id.back);
reload = (ImageView) findViewById(R.id.reload);
forward = (ImageView) findViewById(R.id.forward);
zoomin = (ImageView) findViewById(R.id.zoomin);
zoomout = (ImageView) findViewById(R.id.zoomout);
browse = (WebView) findViewById(R.id.browse);
browse.getSettings().setJavaScriptEnabled(true);
browse.getSettings().setSupportZoom(true);
browse.setWebViewClient(new WebViewClient() {
@Override
public void onPageStarted(WebView _view, String _url, Bitmap _favicon) {

super.onPageStarted(_view, _url, _favicon);
}
@Override
public void onPageFinished(WebView _view, String _url) {

super.onPageFinished(_view, _url);
}
});
adview = (WebView) findViewById(R.id.adview);
adview.getSettings().setJavaScriptEnabled(true);
adview.getSettings().setSupportZoom(true);
adview.setWebViewClient(new WebViewClient() {
@Override
public void onPageStarted(WebView _view, String _url, Bitmap _favicon) {

super.onPageStarted(_view, _url, _favicon);
}
@Override
public void onPageFinished(WebView _view, String _url) {

super.onPageFinished(_view, _url);
}
});

d_q = new AlertDialog.Builder(this);

url.addTextChangedListener(new TextWatcher() {
@Override
public void beforeTextChanged(CharSequence _text, int _start, int _count, int _after) {
}
@Override
public void onTextChanged(CharSequence _text, int _start, int _before, int _count) {
urlvar = _text.toString();
}
@Override
public void afterTextChanged(Editable _text) {
}
});
go.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View _v) {
browse.loadUrl(url.getText().toString());
}
});
about.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View _v) {
d_q.setTitle("About");
d_q.setMessage(" © ( IApp ) Powered by GP & PWS & Elgeneral Primo \n\n Site : PWS-Apps.BlogSpot.Com \n\n IBrowser V 2.0");
d_q.setNeutralButton("OK", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface _dialog, int _which) {

}
});
d_q.create().show();
}
});
back.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View _v) {
browse.goBack();
}
});
reload.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View _v) {
browse.loadUrl(browse.getUrl());
}
});
forward.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View _v) {
browse.goForward();
}
});
zoomin.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View _v) {
browse.zoomIn();
}
});
zoomout.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View _v) {
browse.zoomOut();
}
});

}

private void initializeLogic() {
adview.loadUrl("http://ads-by-pws-proj.lolbb.com/h10-page");
browse.clearCache(true);
adview.clearCache(true);
}

@Override
public void onBackPressed() {
d_q.setTitle("Exit");
d_q.setMessage("Are you sure for exit?");
d_q.setPositiveButton("Yes", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface _dialog, int _which) {
finish();
}
});
d_q.setNegativeButton("No", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface _dialog, int _which) {

}
});
d_q.create().show();
}



}

Binary file added app/src/main/res/drawable/about.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/back1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/forward.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/reload.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/zoomin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/zoomout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a1ae687

Please sign in to comment.