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
https://docs.google.com/presentation/d/13YqP5HgW8f6q6-oDAcFGOIyoKCIFReDIvSb-VL0kBQw/edit#slide=id.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
class LessonsCompletionActivity : AppCompatActivity() { | |
private ResultLessonBinding binding; | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
binding = ResultProfileBinding.inflate(getLayoutInflater()); | |
setContentView(binding.root); | |
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
private ResultLessonBinding binding; //This class is generated | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
binding = ResultProfileBinding.inflate(getLayoutInflater()); | |
View view = binding.getRoot(); | |
setContentView(view); | |
binding.buttonRestart.setOnClickListener(new View.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
public class Room { | |
@DrawableRes | |
private int textureFuture; | |
private List<Marker> markers; | |
public Room(@DrawableRes int textureFuture, List<Marker> markers) { | |
this.textureFuture = textureFuture; | |
this.markers = markers; | |
} |
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
import android.os.Bundle; | |
import org.gearvrf.GVRActivity; | |
public class MainActivity extends GVRActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setMain(new VREngine()); | |
} |
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 VREngine extends GVRMain{ | |
@Override | |
public void onInit(GVRContext gvrContext) throws Throwable { | |
super.onInit(gvrContext); | |
gvrContext.getMainScene().addSceneObject(makeEnvironment(gvrContext)); | |
} | |
private GVRSceneObject makeEnvironment(GVRContext context) { | |
Future<GVRTexture> tex = context.loadFutureTexture(new GVRAndroidResource(context, R.drawable.balcony)); |
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
ext.gearvrfVersion = '3.1.1-SNAPSHOT' | |
project.ext.jomlVersion = "1.9.1-SNAPSHOT" | |
dependencies { | |
compile(name: 'backend_oculus-debug', ext: 'aar') | |
compile(name: 'framework-debug', ext: 'aar') | |
compile "org.joml:joml-android:${jomlVersion}" | |
} |
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
repositories { | |
maven { url 'https://maven.fabric.io/public' } | |
maven { | |
url "https://oss.sonatype.org/content/repositories/snapshots/" | |
} | |
jcenter() | |
flatDir { | |
dirs 'libs' | |
} | |
} |
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
java.lang.IndexOutOfBoundsException: setSpan (6 ... 6) ends beyond length 0 | |
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1090) | |
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:665) | |
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:658) | |
at android.text.Selection.setSelection(Selection.java:76) | |
at android.widget.EditText.setSelection(EditText.java:91) | |
at android.widget.NumberPicker$SetSelectionCommand.run(NumberPicker.java:2246) | |
at android.os.Handler.handleCallback(Handler.java:739) | |
at android.os.Handler.dispatchMessage(Handler.java:95) | |
at android.os.Looper.loop(Looper.java:148) |
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
{ | |
"facet_ranges":{ | |
}, | |
"facet_fields":{ | |
"field_82ae_cast":{ | |
"[u'Jeannie Roshar', u'Jim Killeen']":1, | |
"affleck":1, | |
"christie":1, | |
"caine":1, |
NewerOlder