sdcard

by Nithin » Sat, 11 Apr 2009 12:23:44 GMT


Sponsored Links
 Hi to all

           I push the one video file... and tried to play that video
file in emulator.. But
i got error... Can any tell me how can i check weather video file
insert or not...


Thank You
Nithin N V
--~--~---------~--~----~------------~-------~--~----~



sdcard

by Marco Nelissen » Sat, 11 Apr 2009 13:25:02 GMT


 It would help if you said what error you're getting.
You can check whether the file is actually there by doing something
like "adb shell ls -l /sdcard" and checking that the file exists.






--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


sdcard

by l hx » Sat, 11 Apr 2009 13:33:17 GMT


 and i meet a matter such as: some file in the /sdcard can not be seen in the
trackbrowserActivity of music app. i found the file also can not be found in
the database of the mediaprovider. who know why?








--~--~---------~--~----~------------~-------~--~----~



sdcard

by Marco Nelissen » Sat, 11 Apr 2009 13:58:44 GMT


 Are the files in a supported format? How did you put the files in /sdcard?







--~--~---------~--~----~------------~-------~--~----~



sdcard

by Mattaku Betsujin » Sat, 11 Apr 2009 14:45:33 GMT


 Do you have a real phone? If so, have you tried installing a video player
app (from the Market) and play your videos?

If you only have emulator, then probably it won't work. I had a video that
worked fine in a real G1 phone, but shows up as black in the emulator, and
the sound only played for a few seconds, and then everything stopped.








--~--~---------~--~----~------------~-------~--~----~



sdcard

by Nithin Varamballi » Sat, 11 Apr 2009 15:05:57 GMT


 Thanks for replying... I did like this

 1) mksdcard -l mysdcard 200M d:/sdcard.img

2)load the sdcard.... emulator -sdcard c:/sdcard.img

3)adb push d:/test.mp4 sdcard/test.mp4

--~--~---------~--~----~------------~-------~--~----~



sdcard

by Nithin Varamballi » Sat, 11 Apr 2009 15:07:29 GMT


 Thanks for replying.... I dont have real phone... I am working in
Emulator... But i got error like
Cannot paly the video...

Thanks
Nithin n v

--~--~---------~--~----~------------~-------~--~----~



sdcard

by Marco Nelissen » Sun, 12 Apr 2009 04:04:02 GMT


 What format and resolution is this file? If it's high res H264, then
the emulator is probably too slow to play it.





--~--~---------~--~----~------------~-------~--~----~



sdcard

by Nithin Varamballi » Sun, 12 Apr 2009 14:26:50 GMT


 Hi....

Its mp4 format... Is it possible to do the videostreming....

Thank You
Nithin N V

--~--~---------~--~----~------------~-------~--~----~



sdcard

by Marco Nelissen » Sun, 12 Apr 2009 15:00:21 GMT


 mp4 is a container, which can contain all kinds of video formats. What
codec was used to encode the video?





--~--~---------~--~----~------------~-------~--~----~



sdcard

by Desu Vinod Kumar » Sun, 12 Apr 2009 19:07:05 GMT


 Try to Push the file from DDMS Check whether it is working or not......






-- 
Regards
-------------------
Desu Vinod Kumar
vinny.s...@gmail.com
09916009493

--~--~---------~--~----~------------~-------~--~----~



sdcard

by l hx » Sun, 12 Apr 2009 20:48:05 GMT


 i am sure that the file can been played in android. when i inport android to
my device such as pxa310, it can be played in my device. but i can  not be
seen in my emulation. but some other mp4 file can been seen in my emulation.
i just copy the file into the sdcard normally and can be seen in the /sdcard
 catalog. i see in the mediacanner.java that ttis file is been sannered
also.








--~--~---------~--~----~------------~-------~--~----~



sdcard

by Marco Nelissen » Sun, 12 Apr 2009 23:46:24 GMT


 If it's been scanned, but doesn't appear in the database (as you said
earlier), you'll have to figure out why the file was rejected.
Also, if you're having problems on a particular device, you should
probably post over on the android-porting list instead of here.









--~--~---------~--~----~------------~-------~--~----~



sdcard

by l hx » Mon, 13 Apr 2009 20:40:09 GMT


 i found the matter may be the title of the file. because i seen the log
LOGW("JNI WARNING: illegal start byte 0x%x\n", utf8);.who know why?










--~--~---------~--~----~------------~-------~--~----~



sdcard

by Marco Nelissen » Tue, 14 Apr 2009 01:03:42 GMT


 hat message indicates the name is not valid utf-8. What's the
name/encoding you used?


On Mon, Apr 13, 2009 at 5:39 AM, l hx <lihongxia8...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Behavior of Activity with FLAG_ACTIVITY_SINGLE_TOP

Hello, everyone.

There is a place where startActivity() did not behave as I had
expected, when executed from the Activity in the background.
Please tell me whether this is the right specification of the Android.

Sample:
  1. Launch Activity in the following order.
       A1231
     A1, A2, and A3 run in a same task(A).
     B1 runs in a different task(B).
  2. Launch A3 from A1, which is in the background, with
FLAG_ACTIVITY_SINGLE_TOP.

  Expected behavior    A3 that is currently running receives a new Intent.
    (Because A3 is the TOP OF TASK(A))

  Actual behavior    New A3' launches, and the Activity Stack becomes as below.
      A1233'1

SDK version used to check the behavior:
  SDK 1.5
  SDK 1.6
  SDK 2.0

Best Regards.
-------------------------
Mitty

--~--~---------~--~----~------------~-------~--~----~

2. WebKit application cache

the applicationCache in the 2.0 SDK is working well except for one
problem:

when you force a cache update (window.applicationCache.update()) then
it doesn't go out to the web to check the manifest it just throws the
"checking" and then the "noupdate" events.

I imagine that eventually it actually checks the manifest online, but
the update() is supposed to force it.

any ideas on how to force an update or how old the manifest needs to
be before it checks the web again?

--~--~---------~--~----~------------~-------~--~----~

3. I've got error when I excute JNI fiels in sdk 2.0

4. Programatically switching HTC Sense UI scenes?

5. ListActivity and SQLiteDB problem - can't refresh list

6. About relationship between android PM(Power Management) and Linux kernel ACPI

7. how to delete contact list and email from device