how to use com.android.internal.telephony

Tutorials with advanced 'difficulty' and more Lines of Code.

how to use com.android.internal.telephony

Postby saru » Thu Feb 04, 2010 10:18 am

hey i need to use com.android.internal.telephony package for my development. but i am in a doubt whether i would use android.internal.telephony package or how????????

Please tell me about it?
saru
Junior Developer
Junior Developer
 
Posts: 16
Joined: Tue Feb 02, 2010 6:45 am

Top

Postby MichaelEGR » Thu Feb 04, 2010 12:26 pm

Well.. This is what the 3rd or 4th time you have posted the same question!

NO NO NO NO NO NO NO NO NO.. It is not available for use!!!!!

A simple Google search with "com.android.internal" has the top result from a post to the Android developers email list/group
http://groups.google.com/group/android- ... 23a565319f

And didn't I tell you to search the Android developers email list. You failed to do basic research on this issue.

Stop being inept and search at least on Google. I dislike using strong words, but your lack of reasoning and lack of self-starting simple Google search ability is silly. At the very least if you want to mess around and examine the com.android.internal package download the Android sources!

You simply don't have access to "com.android.internal" writing an app on a device in the wild. If you were building your own OS build/ROM/whatever and such to flash on a developer device or similar you could probably mess around with it and expose it with a little work, but you can't make an app for general/wide release!

If I was the moderator of the forum I'd give you a warning about following etiquette on posting the same question repeatedly.

I do at least give you a half bonus point for slight tenaciousness and rephrasing the question, but that doesn't make up for an easy Google search with several authoritative answers from Android framework engineers and lots of info all over the web clearly stating this is not possible for 3rd party apps. So shake off my prickliness and keep at it, but NO you can't access com.android.internal in 3rd party apps.
Founder & Principal Architect; EGR Software LLC
http://www.typhonrt.org
http://www.egrsoftware.com
User avatar
MichaelEGR
Senior Developer
Senior Developer
 
Posts: 147
Joined: Thu Jan 21, 2010 5:30 am
Location: San Francisco, CA

Postby cprince » Tue Feb 09, 2010 9:28 pm

Ok, I understand that you dont want 3rd party apps on the phone accessing internal.telephony.
So I downloaded donut and put it on my developer phone ADP1 using
http://nhenze.net/?tag=build-android
and changed the PhoneUtils.java adding a public callEnd() that uses hangup().
According to the above web site I can download that image to G1's. We are testing GSM radio/cell phones and have our own radio and provisioned sim cards and I hope to create a test program that will automatically answer the phone and then hangup after a set amount of time (see similar project OpenBTS).

I tried to get the internal.telephony in the SDK using the public.xml, it seemed to work for 2.0, but not for 1.6 donut, although I didnt modify PhoneUtils.java for 2.0, because I didnt have access to the image for ADP1/htc for 2.0, thanks htc for enabeling the links to the images again.

So I cant use the SDK, so ... what is the method to create an apk that is on the phone at startup?

I actually thought that this tutorial was going to cover this, but it looks like this is more or less a complaint. Maybe we can turn this tutorial into how to put applicaitons on the phone that are on the image at startup? ... or point me in the right direction.
Please, thanks.
cprince
Freshman
Freshman
 
Posts: 3
Joined: Fri Jan 08, 2010 6:04 pm
Location: Monterey

Re: how to use com.android.internal.telephony

Postby aw4y » Thu Oct 14, 2010 10:16 am

i'm not sure it's not possible to have access to internal api.

someone tried it with reflection...yes i used google to search ;)

http://stackoverflow.com/questions/2001 ... y-features
aw4y
Freshman
Freshman
 
Posts: 6
Joined: Thu Oct 07, 2010 2:10 pm

Top

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests