Urgent Help - Diff between Phone Window and Mid Window

4 views
Skip to first unread message

Revathi K J Ramanan

unread,
Sep 1, 2010, 2:35:00 AM9/1/10
to CodeAndroid Developers Group
Hi,

What is the basic difference between the PhoneWindow and MidWindow
policies?

I found that the emulator version takes the implementations of the
PhoneWindow.When the MidWindow implementations will be used?

Also, I found that PhoneWindow handles the call settings
implementation and the same is not there in MidWindow?

Please someone help me pointing out the differences between both the
policies and under which circumstances which one will be used..

Please help me

Regards,
Revathi K J Ramanan

Bharathi Subramanian

unread,
Sep 1, 2010, 7:04:24 AM9/1/10
to wecode...@googlegroups.com
> What is the basic difference between the PhoneWindow and MidWindow
> policies?

The specific functionality, which is need for the devices like
Keyguard for Phone and Big Screen handling for MID, are implemented
in specific place of framework.

> I found that the emulator version takes the implementations of the
> PhoneWindow.When the MidWindow implementations will be used?

AFAIK, you can't change this polices at runtime. It needs to be
specified as the part of the Android Base Build/Compilation Process.

Bye :)
--
Bharathi Subramanian

Revathi K J Ramanan

unread,
Sep 1, 2010, 7:46:29 AM9/1/10
to wecode...@googlegroups.com
Hi Bharathi,
 
Thanks for the response..
 
So you say that,
 
Keyguard and Call handling are in Phone Window.
Big Screen handling is in MidWindow.
 
Also I have a doubt, The x-86 version of Eclair(2.1) was using PhoneWindow while the x-86 Version of Cupcake(1.6) was using PhoneWindow.
 
What is the basic difference????
 
Regards,
 
Revathi K J Ramanan


--
You received this message because you are subscribed to the Google Groups "CodeAndroid Developers Group" group.
To post to this group, send email to WeCode...@googlegroups.com.
To unsubscribe from this group, send email to WeCodeAndroi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/WeCodeAndroid?hl=en.


Bharathi Subramanian

unread,
Sep 1, 2010, 8:45:20 AM9/1/10
to wecode...@googlegroups.com
> Also I have a doubt, The x-86 version of Eclair(2.1) was using PhoneWindow
> while the x-86 Version of Cupcake(1.6) was using PhoneWindow.

Sorry. I am unable to understand your Q. Can you please rephrase it?

Revathi K J Ramanan

unread,
Sep 6, 2010, 4:33:04 AM9/6/10
to wecode...@googlegroups.com
Hi Bharathi,

We used the x-86 version of android code for porting it to some other devices like TV. The x-86 was using the implementation from MidWindow Policy for the android version 1.6.

But the same x-86 code is using PhoneWindow policy for android version 2.1

Please help me out.

Regards,
Revathi

Bharathi Subramanian

unread,
Sep 7, 2010, 12:19:58 AM9/7/10
to wecode...@googlegroups.com
On Mon, Sep 6, 2010 at 4:33 PM, Revathi K J Ramanan wrote:

> We used the x-86 version of android code for porting it to some other
> devices like TV. The x-86 was using the implementation from MidWindow
> Policy for the android version 1.6. But the same x-86 code is using
> PhoneWindow policy for android version 2.1

You mean, even if you select the PRODUCT_POLICY as MID, it is using
the PhonePolicy code? Is it that your Q?

--
Bharathi Subramanian

Revathi K J Ramanan

unread,
Sep 7, 2010, 4:07:21 AM9/7/10
to wecode...@googlegroups.com
Hi Bharathi,

I found out the answer...

The Product_policy was defined as mid in eeepc.mk for the 1.6.
And It was Phonewindow policy for 2.1 in the same file.

Thank you so much for the immediate response and ur suggestions.

Revathi

Bharathi Subramanian

Reply all
Reply to author
Forward
0 new messages