about downloading kernel tree 2.6.32

by tstanly » Tue, 14 Dec 2010 02:13:38 GMT


Sponsored Links
 hi all,


I followed the site bellow to download the kernel code,
 http://android.git.kernel.org/?p=kernel/common.git ;a=summary

from the instruction,
===============
To clone the entire platform, install repo, and run:
mkdir mydroid
cd mydroid
repo init -u git://android.git.kernel.org/platform/manifest.git
repo sync
===============

I got nothing from "mydroid"  folder,
especially there is not "kernel" sub-folder under mydroid folder?

is my idea wrong?

thanks!


stanly

-- 



Re: about downloading kernel tree 2.6.32

by bord...@gmail.com » Wed, 15 Dec 2010 01:57:36 GMT


 




Hi: The kernel source is not included in platform source code. Download the
Android kernel you can see:



Sponsored Links


Other Threads

1. How To send Email with android ??

hello every one..!

my self T.D.patel from india ...

i m learning Android...

plz help me to solve following problems ..

(1) clear sms notification icon from status bar ..

(2) Android 1.0 Code - "How to record voice from android phone ".

(3) code - > how to send email from  android phone ?

thanks in advance ....

plz reply

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

2. Android Challenge!! Can you correct this 1 line ?????

Please help Me!!!

      I am stuck with a small problem for several days, I am unable to
delete any SMS.
     The error is in just 1 line.

     Look at the code below and the associated XML .

     If I run the code, it shows the list of all SMS in my inbox.
There is an SMS whose _ID is equal to 7 .

 If I enable the line
getContentResolver().delete(......

which I have commented, my program crashes in the emulator.

What is going wrong? Please help me out.

#############################################################################
#############################################################################
#############################################################################
package org.anddev.android.hello;

import android.app.ListActivity;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.SimpleCursorAdapter;

public class HelloAndroid extends ListActivity {

     private ListAdapter mAdapter;

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);

          Uri uri = Uri.parse("content://sms/inbox/");
          String[] columns = new String[]{"_ID"};
          int[] names = new int[]{R.id.row_entry};
          Cursor c1= getContentResolver().query(uri, null,
null,null,null);

         // getContentResolver().delete( uri  , " _ID = 7 ", null);

          mAdapter = new SimpleCursorAdapter(this, R.layout.main, c1,
columns, names);
          this.setListAdapter(mAdapter);
    }

}
#############################################################################
#############################################################################
#############################################################################

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.anddev.android.hello">
    <uses-permission android:name="android.permission.READ_SMS" />
    <uses-permission android:name="android.permission.WRITE_SMS" />
    <uses-permission android:name="android.permission.RECEIVE_SMS" />

    <application android:icon="@drawable/icon">
        <activity android:name=".HelloAndroid" android:label="@string/
app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
            <activity android:name=".Hello" android:label="@string/
app_name">

        </activity>
           <activity android:name=".Hello1" android:label="@string/
app_name">

        </activity>
    </application>
</manifest>


#############################################################################
#############################################################################
#############################################################################


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

3. ListActivity loses selected item position if behind a submenu

4. Adding padding between buttons in a LinearLayout

5. Internet & maps on Emulator

6. String[]

7. Rotation Redux (resolved!)