• Home
  • Products
    • WebNMS Framework
    • Simulation Toolkit
    • Java SNMP API
    • SNMP API Android Edition
    • Java SNMP Agent
    • SNMP Utilities
    • C SNMP Agent
    • CLI API
    • .NET SNMP API
    • TL1 API
    • MySQL Agent
    • Agent Tester
    • SNMP Adaptor for JMX
  • Solutions
    • M2M Solutions
    • EMS Solutions
    • NMS Solutions
    • Cloud Management
    • Military Application
    • Carrier Ethernet
    • MPLS Monitoring
    • Application Monitoring
    • Syslog Monitoring
    • Mediation Solutions
  • Support & Docs
  • Download
    • Request Demo
    • Product Trial
  • Forums
  • Blogs
    • Network Management
    • Machine-to-Machine
  • Contact
    • Contact
    • Company
Home > WebNMS SNMP API Android Edition > FAQ

Frequently Asked Questions

  1. What is WebNMS SNMP API Android Edition?
  2. What can I do with this product?
  3. How do I start using this package?
  4. What do I need to start developing applications in Java using the WebNMS SNMP API Android Edition package?
  5. How do I install Android SDK and setup the development environment for the first time?
  6. How do I find the version of my WebNMS SNMP API Android Edition product?
  7. How do I run the various example applications provided, in the command-line?
  8. How do I run the various example applications provided, in Eclipse with ADT?
  9. I am able to execute the example applications but I am not getting results. What should I do?

1. What is WebNMS SNMP API Android Edition?

WebNMS SNMP API Android Edition is a set of class libraries in Java that can be used to write network management applications for android powered devices.

Questions

2. What can I do with this product?

This package can be used to develop SNMP management applications for android devices to talk to agent systems using any of the three versions, SNMPv1, SNMPv2c or SNMPv3..

Questions

3. How do I start using this package?

WebNMS SNMP API distribution consists of a jar named AdventNetSnmp.jar that contains a set Java class libraries. All you need is to just include this jar to your android project and start developing your SNMP manager appplication.

Questions

4.What do I need to start developing applications in Java using the WebNMS SNMP API Android Edition package?

  • JDK 1.6 or above,
  • Android SDK 2.1 or above,
  • Apache ant 1.8 or above,
  • AdventNetSnmp.jar present in <PRODUCT-HOME>/jars/ folder. .

Questions

5. How do I install Android SDK and setup the development environment for the first time?

Please refer Installing the SDK on how to install Android SDK and setup the development environment for the first time.

Questions

6. How do I find the version of my WebNMS SNMP API Android Edition product?

Execute the below simple command in the command-line,

java -cp <PRODUCT-HOME>/jars/AdventNetSnmp.jar GetSnmpReleaseVersion

Questions

7.How do I run the various example applications provided, in the command-line?

The product distribution contains the necessary sources required to develop sample android applications.

  • Go to the /android-sdk-linux/tools/ directory  and execute the command, android update project -s -n <SNMPAPI_EXAMPLE> -t <target_ID> -p <path for the project>, to create a project with existing sample code
  • Copy AdventNetSnmp.jar to the libs directory of the project.
  • Check res, src and libs directory for all the files has been included or not. Also check the AndroidManifest.xml file.
  • Download and install latest Apache Ant package to compile your android project.
  • Run the application in debug mode using "ant debug" command, which will create a <project>debug.apk file in the <Project-Home>/bin directory. (Each time you change a source file or resource, you must run Ant again in order to package up the latest version of the application)
  • Install the obtained <project>debug.apk to test the same.

Refer the below pages for more detailed explanations,

  • Managing Projects from the command-line
  • Building and running from the command-line

Questions

8. How do I run the various example applications provided, in Eclipse with ADT?

In Eclipse you can create a new Android project with the existing source.

  • Choose the New Android Project menu in eclipse.
  • Select the option "Create project from existing source" and give the project name.
  • Give your source code path in the Location by browsing to the source code path and click Finish.
  • Do the instrumentation in the source files as necessary.
  • Save all the files and run the project, which will create a project.apk file in the <Project-Home>/bin directory.
  • Install the obtained <project>debug.apk to test the same.

Refer the below pages for more detailed explanations,

  • Managing projects from Eclipse with ADT
  • Building and running from Eclipse with ADT

Questions

9. I am able to execute the example applications but I am not getting results. What should I do?

If you get a timeout error after executing the application, the remote host given by you might not have an SNMP agent running on it. The agent should be running on the system on which you are querying. Therefore, install an SNMP agent in the machine or try on some other host which has the SNMP agent. Your network administrator might know more about this. In general, routers, ethernet switches, and network printers have the SNMP agent. You can try querying these devices. .

Questions




Quick Links
  • SNMP API Android Edition Home
  • Download
  • SNMP Forums
  • How to Buy
  • Support
Product Info
  • Datasheet
  • Product Documentation
  • FAQ
Related Products
  • WebNMS Framework
  • Java SNMP API
  • .NET SNMP API
  • SNMP Agent Toolkit Java Edition
  • SNMP Agent Toolkit C Edition
  • SNMP Utilities
  • Simulation Toolkit
Forums
View All Forums
Download

A complete SNMP API Android Edition for download
is available here

Zoho Corporation Pvt. Ltd. All rights reserved. SwisSQL Home | Trademarks | Privacy Policy | Site Map | Contact Us | Careers | Tell Us