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
class JsoupOgTagParser(var urlToParse: String) : AsyncTask<Void, Void, Void?>() { | |
private var title: String? = null | |
private var desc: String? = null | |
private var image: String? = null | |
private var url: String? = null | |
private var listener: Listener? = null | |
override fun doInBackground(vararg voids: Void): Void? { | |
val con = Jsoup.connect(urlToParse) |
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
public class AlarmReceiver extends BroadcastReceiver { | |
@Override | |
public void onReceive(Context context, Intent intent) { | |
// We're creating a new intent that's going to start the MainActivity | |
Intent scheduledIntent = new Intent(context, MainActivity.class); | |
scheduledIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); | |
context.startActivity(scheduledIntent); | |
} | |
} |
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
public class MainActivity extends AppCompatActivity { | |
@BindView(R.id.navigation) | |
BottomNavigationView navigation; | |
@BindView(R.id.toolbar) | |
Toolbar toolbar; | |
private int saveState; | |
private BottomNavigationView.OnNavigationItemSelectedListener mOnNavigationItemSelectedListener |
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
var jspb=require("google-protobuf");var goog=jspb;var global=Function("return this")();var languages_pb=require("./languages_pb.js");goog.object.extend(proto,languages_pb);var objects_pb=require("./objects_pb.js");goog.object.extend(proto,objects_pb);var structure_versions_pb=require("./structure_versions_pb.js");goog.object.extend(proto,structure_versions_pb);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.AnswerGroupDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.CustomizationArgsDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.RuleSpecDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.RuleSpecDto.ContainsSomeOfSpecDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.RuleSpecDto.IsEquivalentToSpecDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.RuleSpecDto.MatchesExactlyWithSpec |
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
Copying /home/runner/work/oppia/oppia/extensions/domain.py | |
Copying /home/runner/work/oppia/oppia/extensions/README.md | |
Copying /home/runner/work/oppia/oppia/extensions/__init__.py | |
Copying /home/runner/work/oppia/oppia/extensions/objects/__init__.py | |
Copying /home/runner/work/oppia/oppia/extensions/objects/object_defaults.json | |
Copying /home/runner/work/oppia/oppia/extensions/objects/models/__init__.py | |
Copying /home/runner/work/oppia/oppia/extensions/objects/models/objects.py | |
Building /home/runner/work/oppia/oppia/extensions/objects/templates/algebraic-expression-editor.component.html | |
Building /home/runner/work/oppia/oppia/extensions/objects/templates/int-editor.component.html | |
Building /home/runner/work/oppia/oppia/extensions/objects/templates/positive-int-editor.component.html |
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
# coding: utf-8 | |
# | |
# Copyright 2021 The Oppia Authors. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
id: "17" | |
title: "Audio Test" | |
init_state_name: "Introduction" | |
states { | |
key: "Finish" | |
value { | |
content { | |
content_id: "content" | |
text: "<p>Congratulations, you have finished!</p>" | |
} |
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
bazel build //:oppia_alpha | |
INFO: Analyzed target //:oppia_alpha (281 packages loaded, 6002 targets configured). | |
INFO: Found 1 target... | |
INFO: From KotlinCompile //utility/src/main/java/org/oppia/android/util/extensions:context_extensions_kt { kt: 1, java: 0, srcjars: 0 } for armeabi-v7a: | |
utility/src/main/java/org/oppia/android/util/extensions/ContextExtensions.kt:14:79: warning: 'versionCode: Int' is deprecated. Deprecated in Java | |
return this.packageManager.getPackageInfo(this.packageName, /* flags= */ 0).versionCode | |
^ | |
INFO: From KotlinCompile //utility/src/main/java/org/oppia/android/util/data:in_memory_blocking_cache_kt { kt: 1, java: 0, srcjars: 0 } for armeabi-v7a: | |
warning: runtime JAR files in the classpath should have the same version. These files were found in the classpath: | |
/private/var/tmp/_bazel_akshaynandwana/0e0a7569f455d331a530cc35527abf40/execroot/__main__/external/com_github_jetbrains_kotlin/lib/kotlin-stdlib.j |
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
id: "16" | |
title: "Test of all interactions" | |
init_state_name: "Text Input state name with unicode" | |
states { | |
key: "Algebraic Expression Input" | |
value { | |
content { | |
content_id: "content" | |
html: "<p>Algebraic Expression Input. Provide the formula for calculating the area of a circle with radius = r.</p>" | |
} |
NewerOlder