Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from NativeScript/plamen5kov/app_update
Plamen5kov/app update
- Loading branch information
Showing
125 changed files
with
42 additions
and
29,558 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
*.class | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.ear | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
node_modules/ | ||
platforms/ |
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 |
---|---|---|
@@ -1,10 +1,8 @@ | ||
(function(){ | ||
android.app.Application.extend("com.tns.NativeScriptMultiDexApp", { | ||
onCreate: function() { | ||
}, | ||
attachBaseContext: function(base) { | ||
this.super.attachBaseContext(base); | ||
android.support.multidex.MultiDex.install(this.super); | ||
} | ||
}); | ||
})(); | ||
android.app.Application.extend("com.tns.NativeScriptMultiDexApp", { | ||
onCreate: function() { | ||
}, | ||
attachBaseContext: function(base) { | ||
this.super.attachBaseContext(base); | ||
android.support.multidex.MultiDex.install(this.super); | ||
} | ||
}); |
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,25 +1,23 @@ | ||
(function () { | ||
android.app.Activity.extend("com.tns.MyActivity", { | ||
MyActivity: function () { | ||
com.tns.Runtime.initInstance(this); | ||
}, | ||
onCreate: function (bundle) { | ||
this.super.onCreate(bundle); | ||
android.util.Log.d("-----", "It works"); | ||
android.app.Activity.extend("com.tns.MyActivity", { | ||
MyActivity: function () { | ||
com.tns.Runtime.initInstance(this); | ||
}, | ||
onCreate: function (bundle) { | ||
this.super.onCreate(bundle); | ||
android.util.Log.d("-----", "It works"); | ||
|
||
var layout = new android.widget.LinearLayout(this); | ||
layout.setOrientation(1); | ||
this.setContentView(layout); | ||
var layout = new android.widget.LinearLayout(this); | ||
layout.setOrientation(1); | ||
this.setContentView(layout); | ||
|
||
var textView = new android.widget.TextView(this); | ||
textView.setText("Hello!"); | ||
|
||
textView.setGravity(android.view.Gravity.CENTER); | ||
textView.setTextSize(50); | ||
|
||
layout.addView(textView); | ||
|
||
com.tns.RedundantClassNameWithTooManyMethods.Method10001(); | ||
} | ||
}); | ||
})(); | ||
var textView = new android.widget.TextView(this); | ||
textView.setText("Hello!"); | ||
|
||
textView.setGravity(android.view.Gravity.CENTER); | ||
textView.setTextSize(50); | ||
|
||
layout.addView(textView); | ||
|
||
com.tns.RedundantClassNameWithTooManyMethods.Method10001(); | ||
} | ||
}); |
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,3 +1 @@ | ||
// var application = require("application"); | ||
// application.start({ moduleName: "main-page" }); | ||
android.util.Log.d("-------------","Hi!") |
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
38 changes: 0 additions & 38 deletions
38
...s/android/build-tools/android-static-binding-generator/ast-parser/helpers/file_helpers.js
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
...android/build-tools/android-static-binding-generator/ast-parser/helpers/json_extension.js
This file was deleted.
Oops, something went wrong.
93 changes: 0 additions & 93 deletions
93
platforms/android/build-tools/android-static-binding-generator/ast-parser/helpers/logger.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.