Search results for query: *

  1. Minapps

    How to copy an image from App to external storage Unity Android?

    How can I copy an image from my app to external storage with Unity Android ? I want to store an image in my app, and when the user clicks on a button it appears in the external storage. I found that I can use StreamingAssets or persistentDataPath but it looks like I can only read files from...
  2. Minapps

    Resolved How to call a Java plugin with context

    Oh i'm so sorry, like exactly at the same time I posted this my build finished and It worked ! my error came from this : AndroidJavaClass unityPlayer = new AndroidJavaClass("com.minapps.minappsandroidlibrary.AndroidClass"); and needed to be change to this : AndroidJavaClass unityPlayer =...
  3. Minapps

    Resolved How to call a Java plugin with context

    Hi, my game needs to know if the GPS is activated on an android device but I get an error. I made a plugin in Android Studio that returns true if GPS is activated and false if it isn't : package com.minapps.minappsandroidlibrary; import android.location.LocationManager; public class...
  4. Minapps

    How to access android system settings with Unity

    Ok thank you, I'll do that when I'll have better programming skills, for now I'm just programming for fun and discover what you can do and how you can do things. Thanks
  5. Minapps

    How to access android system settings with Unity

    Oh ok I didnt know you could do that in C#! Thank you! Meanwhile I've found that I can make plugins/modules (I don't know which is the right term) for Unity. So I made one with Android Studio and it works, I found that much easier! Nevertheless thank you for your help.
  6. Minapps

    How to access android system settings with Unity

    Wow! You're a genius! I think I may not be looking with the right key words ? Could you tell me the key words you used ? For example I used "c# android flashlight" and sure I ended up with 143,000 results but they "all" (most of them) talk about Xamarin or java or Android Studio or how to turn...
  7. Minapps

    How to access android system settings with Unity

    I'm making an app and need to be able to check if settings like : Bluetooth/Phone Rotation/Flashlight/Plane Mode/GPS/Phone Brightness/Silent Mode, are activated on an android phone. I haven't found any way to do it within Unity, using C#. I found ways to do it using Xamarin but none of them...
Back
Top Bottom