Video encoding

by PStrand » Thu, 30 Jul 2009 01:21:07 GMT


Sponsored Links
 I'm trying to encode a video file from a series of images using
android.
I am wondering if this is at all possible with the current API's --
all current devices has the ability to encode video ( from the
camera ), but is it possible to use the encoder with user-supplied
images ?

thanks,
Peter

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



Other Threads

1. Error inflating class android.widget.CompoundButton

I am trying to use a CompoundButton in a project I am working on.
Every time I try and use it by declaring it in my layout xml file I
receive the error "01-04 12:27:46.471: ERROR/AndroidRuntime(1771):
Caused by: android.view.InflateException: Binary XML file line #605:
Error inflating class android.widget.CompoundButton"

After fighting the error for a half an hour I decided to try a
minimalistic example.  I am using the latest eclipse developer tools,
and targeting android 2.2 makign the minimum sdk required 2.2 (8).

Here is the activity java code:
package com.example.CompoundButtonExample;

import android.app.Activity;
import android.os.Bundle;

public class CompoundButtonExampleActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}


Here is the layout xml code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="@string/hello"
    />
<CompoundButton
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="@string/hello"
/>
</LinearLayout>

Here is the manifest xml code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.CompoundButtonExample"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".CompoundButtonExampleActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

    </application>
    <uses-sdk android:minSdkVersion="8" />

</manifest>


As you can see it is just the default hello world project that eclipse
create for you when you start a new Android project.  It only differs
in the fact that I add a "CompoundButton" to the main layout in a
vertical LinearLayout.

Can anyone confirm this bug?  or tell me what I am doing wrong?


-- 

2. compatible-screens

Did anyone get more information about whether the compatible-screens
mentioned in the this is Android Market Update e-mail was a typo?

I'm assuming it should be supported-screens, and then they do not need
to be explicitly listed (i.e. for API 4+, the default is true for all
screen sizes).  Has anyone tried to very it?

-- 

3. What happens when MapView.invalidate() is called ?

4. Starting email client with html pre-compiled code

5. Virtulizations on Android

6. HELP: Receiver killed on startup.

7. Avoid Multiple click on button..