Conversion to Dalvik format failed with error

by Romain Guy » Fri, 10 Apr 2009 12:17:04 GMT


Sponsored Links
 You cannot use Java MediaFramework with Android.






-- 
Romain Guy
Android framework engineer
romain...@android.com

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

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



Conversion to Dalvik format failed with error

by Nithin Varamballi » Fri, 10 Apr 2009 12:24:59 GMT


 Thanks for reply

 But i saw in site  http://www.tomgibara.com/android/camera-source 
In that they use the JMF

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


Sponsored Links


Conversion to Dalvik format failed with error

by Romain Guy » Fri, 10 Apr 2009 12:30:29 GMT


 They don't use the JMF on Android, they use JMF on the dekstop to
broadcast images to the emulator.






-- 
Romain Guy
Android framework engineer
romain...@android.com

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

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



Conversion to Dalvik format failed with error

by Nithin Varamballi » Fri, 10 Apr 2009 12:34:52 GMT


 Thank you sir.. Can you know how live video streaming can be done... I
tried demo
sample But i give error like"Cannot play the video".

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



Conversion to Dalvik format failed with error

by Mattaku Betsujin » Fri, 10 Apr 2009 14:50:09 GMT


 Did you try on SDK/emulator, or on real HTC G1? As far as I have tried, I
never got video to work on the emulator.





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



Conversion to Dalvik format failed with error

by Nithin Varamballi » Fri, 10 Apr 2009 15:00:29 GMT


 Hi....
         I tried in SDK emulator. Even i have Same problem like yours. Till now
i didnt run video on emulator....

Thank You
Nithin N V

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



Other Threads

1. Ability to have chapters in video files

iMovie/iTunes gives users the ability to mark chapters in their video
files.  Will Android's media player or content provider expose an API
for obtaining chapter info/metadata in the future?
--~--~---------~--~----~------------~-------~--~----~

2. JPEG Byte Array in a WebView

I have a byte array storing a JPEG that I'm trying to display in a
WebView using WebView.loadData(String, mime, encoding), but I can't
seem to get it to work properly.  I've tried reading it in as a basic
string in ISO-8859-1, and in Base64 (using
org.apache.commons.codec.binary.Base64, since there doesn't seem to be
a Base64 encoder in android although they claim there's one in the
android.util package).  My code:

byte[] imagedata = new byte[jpeg_size];
System.arraycopy(binary_file, offset, imagedata, 0, jpeg_size);
try
{
  byte[] encodedData = Base64.encodeBase64(imagedata);
  String imageString = new String(encodedData);
  wv.loadData(imageString, "image/jpeg", "base64");
}
catch (Exception e)
{
  Log.e("error", e.toString());
}

I've analyzed the byte array that imagedata contains, and it's
starting with the standard jpeg start (FF D8 FF E0 00 10), followed by
'JFIF', so I'm pretty sure it's not an error in the binary_file or in
the imagedata.  However, my webview is only displaying a blue "X" (a
broken image).

Anyone have any ideas?
--~--~---------~--~----~------------~-------~--~----~

3. How can I determine if app is running on the emulator or a device.

4. commitUpdates with ContentProvider.update / ContentProvider.delete issue/misunderstanding?

5. How to get pictures files?

6. Unable to set the image on an ImageView in code

7. OpenGL ES Frame Buffers