profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/googlesamples/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

googlesamples/easypermissions 9297

Simplify Android M system permissions

googlesamples/android-vision 2899

Deprecated: The Mobile Vision API is now a part of ML Kit: Check out this repo:

googlesamples/assistant-sdk-python 865

Samples and bindings for the Google Assistant API

googlesamples/android-custom-lint-rules 721

This sample demonstrates how to create a custom lint checks and corresponding lint tests

googlesamples/android-vulkan-tutorials 637

A set of samples to illustrate Vulkan API on Android

googlesamples/arcore-depth-lab 516

ARCore Depth Lab is a set of Depth API samples that provides assets using depth for advanced geometry-aware features in AR interaction and rendering. (UIST 2020)

googlesamples/android-testdpc 465

Test DPC is a sample device policy controller for use with Android Enterprise. It gives developers the ability to see how their app will behave in a managed context such as device owner or within a managed profile. Users can set up a work profile, enable work apps, set applications restrictions, manage security polices, and much more. The app also serves as a implementation reference for other DPCs

googlesamples/androidtv-sample-inputs 430

Sample Channel App (TV Input Service) on Android TV using TIF

issue commentgooglesamples/android-vision

Need full screen camera and the scanning for barcode should be done in between a rectangular square

Anybody found any solution guys? The above workaround also not working

urlAkash

comment created time in 3 hours

startedgooglesamples/unity-jar-resolver

started time in 6 hours

startedgooglesamples/easypermissions

started time in 8 hours

startedgooglesamples/identity-appflip-android

started time in 8 hours

startedgooglesamples/mlkit

started time in 9 hours

startedgooglesamples/mlkit

started time in 11 hours

fork tseenola/mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS

fork in 12 hours

issue commentgooglesamples/google-services

Get email user from FirebaseUser (Android)

Try this, it;s work for me: val email = user?.providerData?.get(1)?.email

phukhanhlee

comment created time in 14 hours

startedgooglesamples/android-media-controller

started time in a day

issue openedgooglesamples/mlkit

Issue with downloading non-latin models - Text Recognition v2(beta)

Hi there.

When I try to set TextRecognition to any non-latin language it's not working as expected (it just recognizing latin words and letters) and throw this error in Logcat

Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/app.package.me/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
    === Source Location Trace: ===
    third_party/tensorflow_lite_support/cc/common.cc:28
    third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
    third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
    ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
    learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37

I would appreciate if you can help me with this issue

created time in a day

fork erineyes/mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS

fork in a day

startedgooglesamples/android-custom-lint-rules

started time in a day

startedgooglesamples/mlkit

started time in 2 days

startedgooglesamples/mlkit

started time in 2 days

startedgooglesamples/google-signin-unity

started time in 2 days

startedgooglesamples/unity-jar-resolver

started time in 2 days

fork RPloutarchou/google-signin-unity

Google Sign-In API plugin for Unity game engine. Works with Android and iOS.

fork in 2 days

startedgooglesamples/android-custom-lint-rules

started time in 2 days

startedgooglesamples/arcore-depth-lab

started time in 2 days

issue commentgooglesamples/mlkit

Why ML Kit Pose Detection doesn't have GPU Delegate as option ?

Thanks for sharing. Good luck :)

ArtanBerisha1

comment created time in 2 days

startedgooglesamples/unity-jar-resolver

started time in 2 days

startedgooglesamples/unity-jar-resolver

started time in 2 days

issue openedgooglesamples/unity-jar-resolver

[Bug] PortableWebRequest appears to not Dispose() of generated UnityWebRequests

<!-- DO NOT DELETE validate_template=true template_path=.github/ISSUE_TEMPLATE/issue.md -->

[READ] For Firebase Unity SDK issues, please report to Firebase Unity Sample

Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2021.1.9f1
  • External Dependency Manager version: 1.2.162
  • Source you installed EDM4U: .unitypackage
  • Features in External Dependency Manager in use: Android Resolver, iOS Resolver, VersionHandler
  • Plugins SDK in use: Firebase, Admob, Facebook, IronSrc
  • Platform you are using the Unity editor on: Mac

[REQUIRED] Please describe the issue here:

(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)

  • Create a new project in Unity 2021.1.9f1
  • Install the Entities package (Package Manager -> + -> Add Package By Name.. -> com.unity.entities) - This is ONLY necessary to view the stack traces of the underlying allocations
  • Enable stack traces by going to Jobs -> Leak Detection -> Full Stack Traces (expensive)
  • Run the game, then stop the game

Observe the following error logs are printed in the console

A Native Collection has not been disposed, resulting in a memory leak. Allocated from: Unity.Collections.NativeArray1:.ctor(Byte[], Allocator) (at /Users/bokken/buildslave/unity/build/Runtime/Export/NativeArray/NativeArray.cs:69) UnityEngine.Networking.UploadHandlerRaw:.ctor(Byte[]) (at /Users/bokken/buildslave/unity/build/Modules/UnityWebRequest/Public/UploadHandler/UploadHandler.bindings.cs:98) UnityEngine.Networking.UnityWebRequest:SetupPost(UnityWebRequest, WWWForm) (at /Users/bokken/buildslave/unity/build/Modules/UnityWebRequest/Public/WebRequestExtensions.cs:206) UnityEngine.Networking.UnityWebRequest:Post(String, WWWForm) (at /Users/bokken/buildslave/unity/build/Modules/UnityWebRequest/Public/WebRequestExtensions.cs:184) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) Google.PortableWebRequest:StartRequest(HttpMethod, String, IDictionary2, WWWForm) (at Z:\tmp\tmp.8iabTPBNjq\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\PortableWebRequest.cs:481) Google.<StartRequestOnMainThread>c__AnonStorey0:<>m__0() (at Z:\tmp\tmp.8iabTPBNjq\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\PortableWebRequest.cs:443) Google.RunOnMainThread:ExecuteNext() (at Z:\tmp\tmp.8iabTPBNjq\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\RunOnMainThread.cs:486) Google.RunOnMainThread:<ExecuteAllUnnested>m__1() (at Z:\tmp\tmp.8iabTPBNjq\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\RunOnMainThread.cs:536) Google.RunOnMainThread:RunAction(Action) (at Z:\tmp\tmp.8iabTPBNjq\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\RunOnMainThread.cs:343) Google.RunOnMainThread:ExecuteAllUnnested(Boolean) (at Z:\tmp\tmp.8iabTPBNjq\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\RunOnMainThread.cs:530) Google.RunOnMainThread:ExecuteAll() (at Z:\tmp\tmp.8iabTPBNjq\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\RunOnMainThread.cs:512) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:327)

Please answer the following, if applicable:

What's the issue repro rate? (eg 100%, 1/5 etc)

100%

What happened? How can we make the problem occur? This could be a description, log/console output, etc.

Unity warns that an underlying native struct (i.e. an array) was allocated and never disposed. The stack trace indicates the origin of this allocation is from PortableWebRequest in VersionHandlerImpl. In reviewing the code, this appears to be the case - no where are the requests generated in PortableWebRequest .Disposed()

My own code base actually had similar issues, and it was a failure to reliably call Dispose() on the underlying UnityWebRequest that is used.

These are likely small allocations made in Editor only, so the priority is probably fairly low - however, as more developers adopt their existing projects to 2021+, they will want to see the instances of these leaks hit zero and it'd be good if EDM wasn't showing up here.

Cheers!

created time in 2 days

startedgooglesamples/arcore-depth-lab

started time in 2 days

startedgooglesamples/android-media-controller

started time in 2 days

issue commentgooglesamples/mlkit

Why ML Kit Pose Detection doesn't have GPU Delegate as option ?

We are actively working on Pose GPU acceleration now. Not guaranteed, but hopefully get something out in Q1 next year.

ArtanBerisha1

comment created time in 2 days

startedgooglesamples/oauth-apps-for-windows

started time in 2 days

fork shansbk5/mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS

fork in 3 days

issue commentgooglesamples/unity-jar-resolver

Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

Just install JDK 8 and it most likely fix the issue!

Can cofirm: new macbook, new Unity Install (2020.3.20f1) failed to compile for android. I had only JDK17, I removed it and installed JDK8, then I unchecked JDK Installed with Unity and set to point to JDK8 (/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk)

Probably I've could have kept the JDK17

peterpp

comment created time in 3 days