On a device that you own you can patch the kernel or platform to
intercept whatever. But android does not provide this capability to
applications.
Or for research/curiosity purposes run in the emulator where radio
stuff is simulated and network can be monitored at the hosting
machine.
Dianne Hackborn wrote:
> There are a few specific things you can do with broadcast receiver, but it
> is not an uber-general hook mechanism like the Windows hook API. (And thank
> ghod for that.)
>
> On Sun, Sep 19, 2010 at 12:58 PM, Ngo Van Luyen <
nvlu...@gmail.com> wrote:
>
> > Try to use BroadcastReceiver and "listen" for an action, for
> > example: android.content.Intent.ACTION_CALL
> >
> > Best,
> >
> >
> > 2010/9/19 Dianne Hackborn <
hac...@android.com>
> >
> > Sorry, Android doesn't work that way.
> >>
> >>
> >> On Sat, Sep 18, 2010 at 7:33 PM, zhengping <
her...@gmail.com> wrote:
> >>
> >>> Hi,
> >>>
> >>> I try to figure out how to monitor all the outgoing info through Data
> >>> Connection/SMS/Call.
> >>>
> >>> MacOS have two API mach_inject and mach_override.
> >>>
> >>> Windows provides Hook API.
> >>>
> >>> How can I find similar API on Android system?
> >>>
> >>> Thanks for help!
> >>>
> >>> zwang
> >>>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "android-ndk" group.
> >>> To post to this group, send email to
andro...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>>
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> >>> .
> >>> For more options, visit this group at
> >>>
http://groups.google.com/group/android-ndk?hl=en.
> >>>
> >>
> >>
> >>
> >> --
> >> Dianne Hackborn
> >> Android framework engineer
> >>
hac...@android.com
> >>
> >> Note: please don't send private questions to me, as I don't have time to
> >> provide private support, and so won't reply to such e-mails. All such
> >> questions should be posted on public forums, where I and others can see and
> >> answer them.
> >>
> >>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "android-ndk" group.
> >> To post to this group, send email to
andro...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >>
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> >> .
> >
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >
http://groups.google.com/group/android-ndk?hl=en.
> >
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
>
hac...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails. All such
> questions should be posted on public forums, where I and others can see and
> answer them.
Dianne Hackborn wrote:
> There are a few specific things you can do with broadcast receiver, but it
> is not an uber-general hook mechanism like the Windows hook API. (And thank
> ghod for that.)
>
> On Sun, Sep 19, 2010 at 12:58 PM, Ngo Van Luyen <
nvlu...@gmail.com> wrote:
>
> > Try to use BroadcastReceiver and "listen" for an action, for
> > example: android.content.Intent.ACTION_CALL
> >
> > Best,
> >
> >
> > 2010/9/19 Dianne Hackborn <
hac...@android.com>
> >
> > Sorry, Android doesn't work that way.
> >>
> >>
> >> On Sat, Sep 18, 2010 at 7:33 PM, zhengping <
her...@gmail.com> wrote:
> >>
> >>> Hi,
> >>>
> >>> I try to figure out how to monitor all the outgoing info through Data
> >>> Connection/SMS/Call.
> >>>
> >>> MacOS have two API mach_inject and mach_override.
> >>>
> >>> Windows provides Hook API.
> >>>
> >>> How can I find similar API on Android system?
> >>>
> >>> Thanks for help!
> >>>
> >>> zwang
> >>>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "android-ndk" group.
> >>> To post to this group, send email to
andro...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>>
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> >>> .
> >>> For more options, visit this group at
> >>>
http://groups.google.com/group/android-ndk?hl=en.
> >>>
> >>
> >>
> >>
> >> --
> >> Dianne Hackborn
> >> Android framework engineer
> >>
hac...@android.com
> >>
> >> Note: please don't send private questions to me, as I don't have time to
> >> provide private support, and so won't reply to such e-mails. All such
> >> questions should be posted on public forums, where I and others can see and
> >> answer them.
> >>
> >>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "android-ndk" group.
> >> To post to this group, send email to
andro...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >>
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> >> .
> >
android-ndk...@googlegroups.com<
android-ndk%2Bunsu...@googlegroups.com>
> > .