Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Questions Reg. Android platform stability??
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sajith MP  
View profile  
 More options Feb 27 2008, 11:57 pm
From: Sajith MP <sajith.padm...@gmail.com>
Date: Wed, 27 Feb 2008 20:57:35 -0800 (PST)
Local: Wed, Feb 27 2008 11:57 pm
Subject: Questions Reg. Android platform stability??
Gurus,

I saw the video on Android architecture.  Cool video with fundamentals
explained well.  In that, while talking about services, our presenter
mentioned that applications can communicate with services by sending
messages.  By sending messages, you are actually indirectly writing to
the VM allocated to other process.  There is possibility that a
malfunctioning application can corrupt a driver or another application
by writing into it's process space. So can we rule out the possibility
of system getting corrupted?

More queries:

1. Suppose I am an OEM and I have a new hardware component.  How will
I add my driver to the kernel space?
2.  Can I add an intermediate library for the new hardware module and
will it be able to communicate with all modules in kernel?
3. Can a user download an intermediate library from the internet and
install it?  If yes, how will we ensure that that library do not
corrupt kernel modules or other intermediate libraries?  If no, how
will we ensure flexibility towards new advancements in technology?
4.  What is the maximum number of processes / threads that can co-
exist at the same time?
5.  Out of the 4GB VM, how much virtual memory is available for user
processes?

Thats 5 out of my 100 doubts.

Thanks,
Sajith MP


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hackbod  
View profile  
 More options Feb 28 2008, 4:02 am
From: hackbod <hack...@gmail.com>
Date: Thu, 28 Feb 2008 01:02:12 -0800 (PST)
Local: Thurs, Feb 28 2008 4:02 am
Subject: Re: Questions Reg. Android platform stability??
On Feb 27, 8:57 pm, Sajith MP <sajith.padm...@gmail.com> wrote:

> I saw the video on Android architecture.  Cool video with fundamentals
> explained well.  In that, while talking about services, our presenter
> mentioned that applications can communicate with services by sending
> messages.  By sending messages, you are actually indirectly writing to
> the VM allocated to other process.  There is possibility that a
> malfunctioning application can corrupt a driver or another application
> by writing into it's process space. So can we rule out the possibility
> of system getting corrupted?

All security and protection in the system is enforced through the
Linux kernel, not through Java.  So you can only do as much to another
application as the kernel will let you...  which should be enough
protection.

At any rate, you definitely don't get to write directly to the process
space of another application. :)]

> 1. Suppose I am an OEM and I have a new hardware component.  How will
> I add my driver to the kernel space?

It's just a normal Linux kernel, so the same way you normally do on
Linux.

> 2.  Can I add an intermediate library for the new hardware module and
> will it be able to communicate with all modules in kernel?

If you are an OEM, sure.

> 3. Can a user download an intermediate library from the internet and
> install it?  If yes, how will we ensure that that library do not
> corrupt kernel modules or other intermediate libraries?  If no, how
> will we ensure flexibility towards new advancements in technology?

No, we are not supporting any installation of third party kernel
drivers at this point (or any native code at all right now).

> 4.  What is the maximum number of processes / threads that can co-
> exist at the same time?

It depends on how much memory there is.  Our target is to run in 64MB
of RAM.

> 5.  Out of the 4GB VM, how much virtual memory is available for user
> processes?

Uh.  There is only going to be megabytes of memory on a device, not
gigabytes.  The address space is far from the limiting factor on these
kinds of devices, at this point.  Also, there is no swap space
(swapping to flash would be a bad idea), so the only way virtual
memory is used is to share physical pages across processes and page
read-only data (such as shared library code or other such mmapped
files) off disk.

> Thats 5 out of my 100 doubts.

Okay.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Digit  
View profile  
 More options Feb 28 2008, 4:07 am
From: Digit <digit.andr...@gmail.com>
Date: Thu, 28 Feb 2008 10:07:03 +0100
Local: Thurs, Feb 28 2008 4:07 am
Subject: Re: [android-internals] Questions Reg. Android platform stability??

| By sending messages, you are actually indirectly writing to the VM
allocated to other process

this is not true. all you do is send data that can be read by another
process. however, you do not
control how or when this other process reads the data, nor where it goes in
its own address space.
so you are not really "writing" in its VM.

this is called process isolation, and is a very basic feature of all
operating systems since maybe 40
years (with the exception of DOS, Win9x and a *very* small number of
embedded systems)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
windstorm  
View profile  
 More options Feb 28 2008, 7:28 am
From: windstorm <likunarmstr...@gmail.com>
Date: Thu, 28 Feb 2008 20:28:39 +0800
Local: Thurs, Feb 28 2008 7:28 am
Subject: Re: [android-internals] Re: Questions Reg. Android platform stability??
hackbod said "we are not supporting any installation of third party kernel
drivers at this point (or any native code at all right now).", so you
mean it's possible in the future? And when will the people are allowed
to develop intermediate library by native code?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hackbod  
View profile  
 More options Feb 28 2008, 4:05 pm
From: hackbod <hack...@gmail.com>
Date: Thu, 28 Feb 2008 13:05:19 -0800 (PST)
Local: Thurs, Feb 28 2008 4:05 pm
Subject: Re: Questions Reg. Android platform stability??
The official way to develop APIs for the platform is Java.  All of our
security and protection mechanism are based on the underlying OS
processes, and don't rely on Java at all.

That is about all I can say. :)

On Feb 28, 4:28 am, windstorm <likunarmstr...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
windstorm  
View profile  
 More options Feb 28 2008, 8:18 pm
From: windstorm <likunarmstr...@gmail.com>
Date: Fri, 29 Feb 2008 09:18:03 +0800
Local: Thurs, Feb 28 2008 8:18 pm
Subject: Re: [android-internals] Re: Questions Reg. Android platform stability??
You mean the official way to develop the third-part intermediate
library is Java? So what about the real-time property?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hackbod  
View profile  
 More options Feb 28 2008, 9:46 pm
From: hackbod <hack...@gmail.com>
Date: Thu, 28 Feb 2008 18:46:23 -0800 (PST)
Local: Thurs, Feb 28 2008 9:46 pm
Subject: Re: Questions Reg. Android platform stability??
On Feb 28, 5:18 pm, windstorm <likunarmstr...@gmail.com> wrote:

> You mean the official way to develop the third-part intermediate
> library is Java? So what about the real-time property?

Uh, you completely lost me there.  Our API for third party
applications is Java.  I don't know what "real-time property" refers
to. :}

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
vladimir.schlott.android@ gmail.com  
View profile  
 More options Feb 28 2008, 9:55 pm
From: "vladimir.schlott.andr...@gmail.com" <vladimir.schlott.andr...@gmail.com>
Date: Thu, 28 Feb 2008 18:55:07 -0800 (PST)
Local: Thurs, Feb 28 2008 9:55 pm
Subject: Re: Questions Reg. Android platform stability??
I think hackbod meant "the official way to develop *applications* for
the platform is Java".

On Feb 28, 5:18 pm, windstorm <likunarmstr...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hackbod  
View profile  
 More options Feb 28 2008, 10:15 pm
From: hackbod <hack...@gmail.com>
Date: Thu, 28 Feb 2008 19:15:36 -0800 (PST)
Local: Thurs, Feb 28 2008 10:15 pm
Subject: Re: Questions Reg. Android platform stability??
Oh yeah sorry, that was a stupid typo on my part.  My fingers wrote
"API", but my head was thinking "application". :)

On Feb 28, 6:55 pm, "vladimir.schlott.andr...@gmail.com"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
windstorm  
View profile  
 More options Feb 28 2008, 10:26 pm
From: windstorm <likunarmstr...@gmail.com>
Date: Fri, 29 Feb 2008 11:26:24 +0800
Local: Thurs, Feb 28 2008 10:26 pm
Subject: Re: [android-internals] Re: Questions Reg. Android platform stability??
I see. So what about the possibility to develop intermediate library
by native code? Is it allowed for "everyone"?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hackbod  
View profile  
 More options Feb 29 2008, 3:00 am
From: hackbod <hack...@gmail.com>
Date: Fri, 29 Feb 2008 00:00:20 -0800 (PST)
Local: Fri, Feb 29 2008 3:00 am
Subject: Re: Questions Reg. Android platform stability??
 Java is our development environment for third party apps, and for 1.0
we don't plan to have general support for third party shared libraries
(of any form).

On Feb 28, 7:26 pm, windstorm <likunarmstr...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »