Using a launcher

30 views
Skip to first unread message

leg

unread,
Dec 30, 2010, 12:13:01 PM12/30/10
to mixare-development
hi
i have a "mixare launcher" app on the market, named Appennino

i have problems to launch local files, there's a way to use the recent
fix by Hannes Boran with a launcher??

and if we can't, where's the problem with local files? we have to
create a custom content provider?
maybe i can (try to) help with some code.

thanks and happy new year!

Hannes Boran

unread,
Jan 4, 2011, 6:22:36 AM1/4/11
to mixare-development
Hi,

some ideas why your file access may not work:

-file:///sdcard access seems only possible since android 2.1 (see
http://code.google.com/p/android/issues/detail?id=2454)
-the sd card may not called "sdcard" on all devices?
-maybe you need the WRITE_EXTERNAL_STORAGE permission?

output of adb logcat would also help

when you have found a solution please tell us, i think there are some
other people trying to do something like that.

Happy new year!

Hannes

leg

unread,
Jan 4, 2011, 3:17:19 PM1/4/11
to mixare-development
ok, i think i'm on it.
in AndroidManifest.xml we need to add

<data android:scheme="file" android:mimeType="application/mixare-json"/
>

near

<data android:scheme="http" android:mimeType="application/mixare-json"/
>
<data android:scheme="content" android:mimeType="application/mixare-
json"/>

now it works with Uri.parse("file:///sdcard/myfile");
but this one is better:
String SDPATH =
Environment.getExternalStorageDirectory().getAbsolutePath();
Uri.parse("file://" + SDPATH + "myfile");

please check this, hope to see this small fix on the market so i can
update my app :)
iì'll do some testing with pre 2.1 devices..

Daniele Gobbetti - Peer internet solutions

unread,
Jan 10, 2011, 10:56:47 AM1/10/11
to mixare-de...@googlegroups.com
Hi leg!

Thanks a lot for nailing down the issue!

Unfortunately the market website is currently down, so I cannot place an
updated version of mixare in the market :-(

Meanwhile, can you please confirm that if you build mixare from the git
master branch it works with your offline launcher?

Best regards,
Daniele

P.S. I am back from holidays and am slowly dealing with all the emails,
sorry for being silent in the past few days on the mailing list.

--

> i�'ll do some testing with pre 2.1 devices..
>


--

==============================
> Daniele Gobbetti
> Usability & Innovation Management
>
> Peer GmbH/Srl
> www.peer.biz
> Tel. +39 0471 631080
> Fax +39 0471 631724

leg

unread,
Jan 10, 2011, 11:11:34 AM1/10/11
to mixare-development

On 10 Gen, 16:56, Daniele Gobbetti - Peer internet solutions
<d.gobbe...@peer.biz> wrote:

> Meanwhile, can you please confirm that if you build mixare from the git
> master branch it works with your offline launcher?

yes.
i think you can also update the "usage" page in the website.
bye!

Daniele Gobbetti - Peer internet solutions

unread,
Jan 10, 2011, 11:33:16 AM1/10/11
to mixare-de...@googlegroups.com
Il 10/01/2011 17:11, leg ha scritto:
>
> On 10 Gen, 16:56, Daniele Gobbetti - Peer internet solutions
> <d.gobbe...@peer.biz> wrote:
>
>> Meanwhile, can you please confirm that if you build mixare from the git
>> master branch it works with your offline launcher?
>
> yes.

That's great to know! I'll push the update in the market as soon as it
works again (btw is weird to get a 404 error on a google-powered
website!) I'll post on the list as soon as this happens.

> i think you can also update the "usage" page in the website.
> bye!
>

Thanks a lot.

Regards,
Daniele

leg

unread,
Jan 10, 2011, 12:24:42 PM1/10/11
to mixare-development

> > yes.
>
> That's great to know! I'll push the update in the market as soon as it
> works again (btw is weird to get a 404 error on a google-powered
> website!) I'll post on the list as soon as this happens.

only one thing:
can you please update Version Code? i need to check if installed
mixare is with the right version.

Daniele Gobbetti - Peer internet solutions

unread,
Jan 11, 2011, 4:23:46 AM1/11/11
to mixare-de...@googlegroups.com
Sure,

I do this usually immediately before the market push, that's why it was
not there.

BTW the new version is now in the market! :-)

Regards,
DAniele

leg

unread,
Jan 11, 2011, 5:01:31 AM1/11/11
to mixare-development

>
> BTW the new version is now in the market! :-)

it give me error "not properly signed" and refuse to install (from
market)
can you check?
thanks

Daniele Gobbetti - Peer internet solutions

unread,
Jan 11, 2011, 6:33:38 AM1/11/11
to mixare-de...@googlegroups.com
Probably because you installed a self-signed apk (the version you built
from the master branch). Try to uninstall and install again (from
market): I updated a few phones without issues but if it does not work
please let me know!

Best,
Daniele

leg

unread,
Jan 11, 2011, 7:12:48 AM1/11/11
to mixare-development
On 11 Gen, 12:33, Daniele Gobbetti - Peer internet solutions
<d.gobbe...@peer.biz> wrote:

>
> Probably because you installed a self-signed apk (the version you built
> from the master branch). Try to uninstall and install again (from
> market):

yep my fault.
Reply all
Reply to author
Forward
0 new messages