-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update workflow * starts activity * adds download * bump version
- Loading branch information
Showing
42 changed files
with
828 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package android.app; | ||
|
||
import java.io.File; | ||
|
||
import android.content.Context; | ||
import android.content.Intent; | ||
import android.content.SharedPreferences; | ||
import android.view.View; | ||
|
||
public class Activity extends Context { | ||
public void startActivity(Intent intent) { | ||
|
||
} | ||
|
||
@Override | ||
public SharedPreferences getSharedPreferences(String name, int mode) { | ||
return null; | ||
} | ||
|
||
public Intent getIntent() { | ||
return null; | ||
} | ||
|
||
public <T extends View> T findViewById(int id) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public File getCacheDir() { | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package android.app; | ||
|
||
import android.content.Context; | ||
import android.content.DialogInterface; | ||
|
||
public class AlertDialog extends Dialog { | ||
public static class Builder { | ||
public Builder(Context context) { | ||
|
||
} | ||
|
||
public Builder setTitle(CharSequence s) { | ||
return this; | ||
} | ||
|
||
public Builder setMessage(CharSequence s) { | ||
return this; | ||
} | ||
|
||
public Builder setPositiveButton(CharSequence s, DialogInterface.OnClickListener listener) { | ||
return this; | ||
} | ||
|
||
public Builder setNegativeButton(CharSequence s, DialogInterface.OnClickListener listener) { | ||
return this; | ||
} | ||
|
||
public AlertDialog create() { | ||
return null; | ||
} | ||
|
||
} | ||
|
||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package android.app; | ||
|
||
public class Dialog { | ||
public void show() { | ||
|
||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
package android.content; | ||
|
||
import java.io.File; | ||
|
||
public abstract class Context { | ||
public abstract SharedPreferences getSharedPreferences(String name, int mode); | ||
|
||
public abstract File getCacheDir(); | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package android.content; | ||
|
||
public interface DialogInterface { | ||
public static interface OnClickListener { | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package android.content; | ||
|
||
import android.net.Uri; | ||
|
||
public class Intent { | ||
public Intent(Context packageContext, Class<?> cls) { | ||
|
||
} | ||
|
||
public Intent(String s) { | ||
|
||
} | ||
|
||
public Intent putExtra(String name, String value) { | ||
return this; | ||
} | ||
|
||
public String getStringExtra(String name) { | ||
return ""; | ||
} | ||
|
||
public Intent setDataAndType(Uri data, String type) { | ||
return this; | ||
} | ||
|
||
public Intent setFlags(int flags) { | ||
return this; | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package android.net; | ||
|
||
import java.io.File; | ||
|
||
public class Uri { | ||
public static Uri fromFile(File f) { | ||
return null; | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package android.os; | ||
|
||
public class Bundle { | ||
|
||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package android.widget; | ||
|
||
import android.view.View; | ||
|
||
public class ProgressBar extends View { | ||
public synchronized void setProgress(int progress) { | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package android.widget; | ||
|
||
import android.view.View; | ||
|
||
public class TextView extends View { | ||
|
||
public final void setText(CharSequence text) { | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package androidx.appcompat.app; | ||
|
||
public class AppCompatActivity extends androidx.fragment.app.FragmentActivity { | ||
public void setContentView(int i) { | ||
|
||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package androidx.core.content; | ||
|
||
public class FileProvider { | ||
public static android.net.Uri getUriForFile(android.content.Context context, java.lang.String str, | ||
java.io.File file) { | ||
return null; | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
package androidx.fragment.app; | ||
|
||
import android.app.Activity; | ||
import android.content.Context; | ||
import android.os.Bundle; | ||
|
||
public class FragmentActivity { | ||
public class FragmentActivity extends Activity { | ||
public Context getApplicationContext() { | ||
return null; | ||
} | ||
|
||
protected void onCreate(Bundle bundle) { | ||
|
||
} | ||
} |
This file contains 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
Oops, something went wrong.