Minimum Linux Kernel Version required for Android porting

by Ashwin Bihari » Tue, 25 May 2010 22:17:50 GMT


Sponsored Links
 You can use ANY Kernel version to get Android up and running, but
you'd have to bring in all the Android-specific code for the Kernel
into it first..the problem is that Cupcake (Android 1.5) was based on
2.6.27, Donut was 2.6.29 and Eclair is 2.6.29/32 and FroYo is 2.6.32..

So you'd have to go back to the 2.6.27 tree, figure out what are the
Android-specific changes and then port those changes back to 2.6.18,
not a simple feat by any stretch of the imagination.

You'd be MUCH better served to use one of the Kernels that Android
already has support for and then bring in your BSP into that tree..

Regards
-- Ashwin






-- 



Other Threads

1. (un)registerReceiver not giving expected results.

Hi all,

I would like to register a broadcast receiver on onStart of an
activity and then unregister the receiver when the activity gets
onStop called. When I debug I see that both of these calls are made
when I expected, but for some reason, my broadcast receiver keeps
handling intents.

Can someone please enlighten me as to why the receiver is still
processing intents, even when I have called unregistered the receiver?

Best regards,

Alex

public class Main extends Activity {
        private static final String SMS_RECEIVED
="android.provider.Telephony.SMS_RECEIVED";

        SMSReceiver r;
        IntentFilter smsFilter ;
        int resume = 0;
        int pause = 0;

        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
                r = new SMSReceiver();
                smsFilter = new IntentFilter();
                smsFilter.addAction(SMS_RECEIVED);
        }

        @Override
        protected void onStart() {
                this.registerReceiver(r, smsFilter);
                resume++;
                super.onStart();
        }

        @Override
        protected void onStop() {
                this.unregisterReceiver(r);
                pause++;
                super.onStop();
        }
}



<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.SMSHandsFree"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".Main"
                  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="3" />
        <uses-permission android:name="android.permission.RECEIVE_SMS" />
        <uses-permission android:name="android.permission.READ_CONTACTS" />
</manifest>

-- 

2. Error while setting content view in an activity called from another activity

Please help me out. I am trying to call an activity from another
activity.But while running the code it is giving me an error as:-
04-04 23:28:11.778: WARN/InputManagerService(59): Window already
focused, ignoring focus gain of:
com.android.internal.view.iinputmethodclient$stub$pr...@43ca4848
My code is
public class Pwaclient extends Activity {
 public void onCreate(final Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Intent i=new Intent(v.getContext(),Album.class);
         startActivity(i);
}}
public class Album extends ListActivity{
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        try
        {


        finish();
        }catch(Exception e){e.printStackTrace();}
        }
}
Please do reply. I am even not able to apply method setContentView()
in Album's class onCreate().

-- 

3. Android plugin for Gradl

4. Code for Retrieving Profile details using android

5. Android Seeding Phone Swap - Nexus One Or Android

6. Seeking guidance

7. Is it possible to disable scroling in a ListView (GridView)?