Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - opening up Android API to allow invocation of privileged cla

opening up Android API to allow invocation of privileged cla

Discuss porting Android to any device.

opening up Android API to allow invocation of privileged cla

Postby phubenig » Sat Dec 13, 2008 1:34 am

I am doing some work for a major telecomm manufacturer.

We have come to the conclusion that to properly exercise the device and software implementation, we need access to privileged Android classes such as:

com.android.internal.telephony.Phone,
com.android.internal.telephony.Call

etc.

Currently, it is not possible to invoke functions on these classes because they are package-private in the Android "OS". However, it would not be that difficult to alter these classes so that they are publicly visibile, to whit:

old Call.java:
~~

package com.android.internal.telephony;
...

class Call
{
...
void hangup() { ...}
...
}
~~

new Call.java
~~

package com.android.internal.telephony;

public class Call
{
...
public void hangup() { ...}
...
}
~~

Has anyone embarked on such a program? When I attempted to run the 0.9 android.jar in the emulator, my operation was failed and a message came up indicating that it knew I was trying to invoke my own build .. and warned that further problems were ahead. I don't expect necessarily that this custom build would be usable inside the emulator; it would have to be tested directly on the phone.

Thanks for your thoughts.
phubenig
Junior Developer
Junior Developer
 
Posts: 11
Joined: Tue Oct 07, 2008 11:55 pm

Top

Return to Porting Android

Who is online

Users browsing this forum: No registered users and 1 guest