在Android是SNMP支持? [英] Is SNMP supported in Android?

查看:219
本文介绍了在Android是SNMP支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道,如果SNMP是支持的Andr​​oid(2.1)?
如果没有,是有可能端口SNMP源为Android?(一些指针PLZ ..)

I would like to know if SNMP is supported in Android(2.1)?
If it is not available, is it possible to port the snmp source for Android?(some pointers plz..)

如果它是可用的,我怎么可以测试它的presence在我的设备。

If it is available, how can I test the presence of it in my device.

所有指针都欢迎。

谢谢,

推荐答案

我知道这是一个非常古老的问题,但我做你问什么。简短的回答是否定的,在默认情况下,SNMP不支持Android 2.1系统。因为它是不可用,我清盘做的是抓住SNMP4J源$ C ​​$ C,并坚持它在Android和制作我自己的图书馆。有图书馆(snmp4android想到的),但我发现它缺少某些类别的我需要的,没有整个snmp4j.agent分支。

I know this is a really old question, but I was doing exactly what you're asking. The short answer is no, by default, SNMP is not supported on android 2.1. Because it isn't available, what I wound up doing was grabbing snmp4j's source code, and sticking it in android and making my own library. There are libraries (snmp4android comes to mind) but I found that it lacked certain classes I needed and did not have the whole snmp4j.agent branch.

有一些依赖性和Android是失踪,但其中大部分涉及到的log4j的类。一些库

There are a few dependencies and a few libraries that android is missing but most of them pertain to the log4j class.

要解决的是,只是转换/使开关像SLF4J,这是一个很小的日志库可以包括与您的应用程序。

To remedy that, just convert/make the switch to something like slf4j, which is a small logging library that you can include with your application.

我希望这能回答您的一些最初的问题,我希望这仍然是相关的,即使它是一个老问题。

I hope that answers some of your initial questions, and I hope this is still relevant even if it is an old question.

这篇关于在Android是SNMP支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆