I don't know, sounds like your sd card isn't work as it normally does on
Android devices, and probably the two apps check for it in different ways,
one of which you are hacking around to get to work and the other one isn't.
You could look at the apps and see what they are doing.

As far as storing files elsewhere -- the apps are hard-coded to store on the
sd card, and in fact a lot of third party apps will do this as well, so you
really need an sd card of one form or another available.  This could be
built into your hardware and not removable, but the volume needs to be
there, and it needs to be formatted as FAT (or possibly just some fs that
doesn't enforce users and permissions).

On Fri, Aug 21, 2009 at 7:49 AM, sreedhar b <sreedhar...@gmail.com> wrote:

> Hi Dianne,
>
> Thanks . I did this change in my apps/Development/AndroidManifest.xml
>
> <!--    <uses-library android:name="com.google.android.maps" />
> -->
>
> Now i am able to see the DevTools icon on the menu's list. but i have some
> observations as below:
>
>
> In my currrent hardware setup,
>
> I am doing the following steps after the android bootup:
>
> 1. mount -t vfat /dev/block/mmcblk1p1 /sdcard
> With this command i am able to see the media files stored in sdcard on
> platform at /sdcard.
>
> But the Music and Video player Player icons when selected doesn't detect
> sdcard. The message shown is:
>
> "Your phone does not have an SD card inserted"
>
> Please note that currently in our setup auto-plugin feature of sdcard is
> not implemented yet and i have to insert the card before the reboot itself.
>
>
> 2. am broadcast -a android.intent.action.MEDIA_MOUNTED --ez read-only false
> -d file:///sdcard
>
> After this card, video player and Music player is able to detect the sdcard
> and i am able to select the audio/video files for playback.
>
> Whereas the Gallery is still showing the message :
>
> "No Media found"
>
> I have few questions:
>
> a. Why this behaviour??
>
> b. Also, when i selected the media scanner inside Dev Tools. It shows the
> message  "media scanner finished scanning /sdcard" But it doesn't show any
> media files.
>
> c. Is there any other way i can store media files into the real device file
> system rather than sdcard and use them for media playback by the gallery
> application?
>
>
> Thanks and Regards,
> Sreedhar
>
>
>
>
>
>
>
> On Wed, Aug 19, 2009 at 10:35 PM, Dianne Hackborn <hack...@android.com>wrote:
>
>> The error is saying that the app needs the com.google.android.maps
>> library, which is not available on your phone.  This is very strange, since
>> Development.apk should not use such a library and I don't recall it every
>> doing so -- you can confirm this in the source tree here:
>>
>>
>> http://android.git.kernel.org/?p=platform/development.git;a=blob;f=apps/Development/AndroidManifest.xml
>>
>> I don't know where your Development.apk came from, but it seems to have a
>> problem.
>>
>> Btw, one thing to watch out for -- for some of the things it does,
>> Development.apk needs t be signed with the platform certificate of the
>> device you are installing it on.  It will still install if this certificate
>> doesn't match, but there will be some things in it that don't work.
>>
>>
>> On Wed, Aug 19, 2009 at 5:10 AM, sreedhar b <sreedhar...@gmail.com>wrote:
>>
>>> Hi ,
>>>
>>> I am using Android 1.5 on my hardware platform . In the menus list am not
>>> able to see the DevTools application while the same was observed to be
>>> available on the emulator for Andriod 1.0 .
>>>
>>> I am getting the following messages:
>>>
>>> D/PackageManager(  631): Scanning app dir /system/framework
>>> D/PackageManager(  631): Scanning app dir /system/app
>>> D/dalvikvm(  631): GC freed 6097 objects / 249296 bytes in 79ms
>>> I/PackageManager(  631): /system/app/Development.apk changed; collecting
>>> certs
>>> E/PackageManager(  631): Package com.android.development requires
>>> unavailable shared library com.google.android.maps; ig
>>> noring!
>>>
>>> Please let me know how to make the DevTools application available on
>>> Android.
>>>
>>> Regards,
>>> Sreedhar
>>>
>>>
>>>
>>
>>
>> --
>> Dianne Hackborn
>> Android framework engineer
>> hack...@android.com
>>
>> Note: please don't send private questions to me, as I don't have time to
>> provide private support, and so won't reply to such e-mails.  All such
>> questions should be posted on public forums, where I and others can see and
>> answer them.
>>
>> >>
>>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to