Using the kernel with the emulator

by asim » Wed, 20 May 2009 04:21:26 GMT


Sponsored Links
 Hi,

I have a simple query. Is the emulator included with the SDK only for
applications? I was wondering if one can make changes to the kernel
and observe the changes in the kernel.
This is for educational purposes.

Regards,
Asim

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



Using the kernel with the emulator

by asim » Fri, 22 May 2009 02:18:03 GMT


 I was able to do this using the tutorial at
 http://whyandroid.com/android/221-compile-android-kernel-from-the-source.html. 

Its now running my kernel.

-Asim



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


Sponsored Links


Other Threads

1. AppMarket: does changing title/description of an app wipe out ratings and reviews?

IIRC, you can change the title/desc without it wiping out ratings,
etc.

I hope Google fixes this soon.  I try and do frequent updates for my
users, and I hate seeing all their ratings/comments go away every time
I add a feature.



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

2. AlarmManager not always waking device (using RTC_WAKEUP)

Hi all,

I noticed that AlarmManager does not always seem to wake the device
correctly when using types RTC_WAKEUP or ELAPSED_REALTIME_WAKEUP.  It
seems like whatever intent was pending is triggered later after the
Menu key is hit.

I realize you need to hold a wakelock for any activity fired after the
initial pending intent event - but I thought at least the pending
intent should execute without a wakelock being required?  All I want
to do is set off a Notification when the alarm is complete - nothing
else.

It does seem to work 90% of the time without an issue, just not 100%
of the time.  Has anyone else noticed this?

Here is a summarized version of what I'm doing:

//in main activity, set alarm for some time in future
myPendingIntent = PendingIntent.getBroadcast(myContext, 0, new
Intent(myContext, MyReceiver.class), 0);
myAM = (AlarmManager) getSystemService(ALARM_SERVICE);
myAM.set(AlarmManager.RTC_WAKEUP, getTriggerTime(), myPendingIntent);

//in MyReceiver.class, onReceiver(), trigger notification
NotificationManager myNM = (NotificationManager)
context.getSystemService(Context.NOTIFICATION_SERVICE);
Notification notif = new Notification();
..setup notification to play alarm, vibrate etc.
myNM.notify(MYNOTIFICATION_ID, notif);

Thanks,

Adam

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

3. Long Press -> a SubMenu popup - how implement that?

4. Where is the MyFaves app on my G1?

5. Android market and ADCII

6. addProximityAlert !!!

7. Can I use DownloadProvider and PackageInstaller in my application?