kivy launcher: writing to /storage/emulated/0/kivy

3,471 views
Skip to first unread message

Bill Eaton

unread,
Apr 11, 2014, 11:18:33 PM4/11/14
to kivy-...@googlegroups.com
I'm trying to put my app, freebird, on my phone. Kivy launcher seems like a good way to go. 

Online docs seem to indicate you drop your folder in
   /sdcard/

I tried that, but when I started the launcher, it wants files to be in 
   /storage/emulated/0/kivy/<your app>

The problem is, I cannot figure out how to break into that folder and create a directory. adb says /storage/emulated is read only. How do I get my files on the phone?

Ben Rousch

unread,
Apr 12, 2014, 7:18:48 AM4/12/14
to kivy-...@googlegroups.com

On Android, /sdcard, /storage/sdcard0, /emulated/legacy, and /mnt/sdcard are symlinks to the same place, /storage/emulated/0 . So these paths are all equivalent. Most of them exist for legacy reasons. If you use ES file manager, folders which are symlinks have a small curved arrow on them.

For Kivy Launcher to find your scripts they must be in /sdcard/kivy/<app name> , which we now know is the same location as /storage/emulated/0/kivy/<app name> . For packaging your Kivy Launcher scripts, refer to http://kivy.org/docs/guide/packaging-android.html#packaging-your-application-for-kivy-launcher

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gabriel Pettier

unread,
Apr 12, 2014, 7:23:33 AM4/12/14
to kivy-...@googlegroups.com
/sdcard/ is a link to /storage/emulated/0/, you can't touch emulated/
itself, because as the name says, it's a virtual filesystem managed by
the kernel, you should be able to access 0/ inside it, howether.

Bill Eaton

unread,
Apr 12, 2014, 10:20:42 AM4/12/14
to kivy-...@googlegroups.com
Thanks for your replies. And thank you for being patient with me.

I put my app in 
  /sdcard/kivy/<my app>.

The thing I left out was the android.txt file. So now the launcher finds it. Yippee!!

Thanks for all of your help.

Lasith Niroshan

unread,
Sep 28, 2016, 1:27:51 AM9/28/16
to Kivy users support
I also faced this problem. But what are the data in android.txt?

bob mcgrath

unread,
Aug 8, 2020, 7:46:50 PM8/8/20
to Kivy users support
I believe the android.txt should look like

title=<Application Title>
author=<Your Name>
orientation=<portrait|landscape>
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages