Odbc драйвер для андроид

Odbc драйвер для андроид

This tutorial explains how to connect to a remote ODBC database from Android. Although the example ODBC database in the tutorial is an Excel spreadsheet on Windows, the method described here can be used to connect Android to ODBC databases on Linux and UNIX platforms as well.

Prerequisites

We used the following software on a Windows machine:

We created an Excel spreadsheet with the following data on the first worksheet:

Product Stock Level
Easysoft ODBC-SQL Server Driver 10
Easysoft JDBC-ODBC Bridge 2
Easysoft ODBC-ODBC Bridge 5

We then created a System ODBC data source called ExcelJOB that pointed to this spreadsheet. We used Microsoft’s Excel Driver to do this.

How To Connect to an ODBC Database from Android

  1. In Eclipse, choose File > New > Android Application Project.
  2. Name your project ODBCAndroid and click Next.
  3. In the Build Target list, select the same Android version as the one that is running on your mobile device and click Next.
  4. Complete the Application Info screen:
    Field Description
    Application Name ODBCAndroid

    This is the human-readable title for your application — the name that appears on the Android device.

    Package Name com.easysoft.ODBCAndroid

    A unique identifier for your application.

    It is typically not shown to users, but it must stay the same for the lifetime of your application.

    This is typically the reverse domain name of your organisation plus one or more application identifiers, and must be a valid Java package name.

    Click Next to progress through the Wizard, and then click Finish.

  5. In Package Explorer, expand the new project. Right-click AndroidManifest.xml and choose Open With > Text Editor.
  6. In AndroidManifest.xml, add the following line after your tag:

    This will allow your mobile device to open network sockets. (You need to be able to access the JDBC-ODBC Bridge server on TCP port 8831 from your mobile device.) Save the changes.

    Right-click on your project and select Import. Choose File System and browse to the folder that contains your EJOB.jar file.

    This can be located on the machine running the JDBC-ODBC Bridge Server.

    On a 32-bit machine, EJOB.jar is located in:

    On a 64-bit machine, EJOB.jar is located in:

    Click to select EJOB.jar in the JAR file list.

    Ensure that the Into Folder value is your project’s src folder. For example, ODBCAndroid/src .

  7. Add the EJOB.jar to your Eclipse build path. To do this, right-click on your project, and chose Build Path >Add External Archives. Double-click the EJOB.jar file.
  8. Expand the src tree, and then double click on the MainActivity.java file.

    In MainActivity.java, replace the boilerplate code with this code:

    Now run the code.

    Applies To
    • Products
      • Easysoft JDBC-ODBC Bridge
    • Applications
      • Android SDK

    Knowledge Base Feedback

    Oracle is a registered trademark of Oracle Corporation and/or its affiliates.

    Источник

    ADB Driver Installer .

    Загрузите ADB 1.5.2, чтобы быстро загрузить последние версии драйверов ADB

    Мост отладки Android (adb)

    Android Debug Bridge (ADB) — это универсальный инструмент командной строки, который позволяет вам общаться и управлять, копировать файлы из стороны в сторону, устанавливать и удалять приложения, запускать команды shell и многое другое, устройство Android с компьютера через USB-соединение. Он поставляется с другими полезными инструментами, включенными в Android SDK и код. Это клиент-серверная программа, состоящая из трех компонентов:

    Клиент отправка заказов. Клиент запускается на вашем компьютере для разработки. Запустив команду adb, вы можете вызвать клиента из терминала командной строки.

    Демон (adbd), выполнять команды на устройстве. Демон запускается на каждом устройстве в фоновом режиме.

    Официант который управляет взаимодействием клиента и демона. На вашей машине разработки сервер работает в фоновом режиме.

    Особенности универсального драйвера ADB

    Быстрый установщик

    Это позволяет быстро установить драйвер Google ADB за несколько секунд. Просто подключите устройство к компьютеру, запустите установку драйвера ADB и следуйте инструкциям.

    Поддерживает все устройства

    Он поддерживает все без исключения устройства Android от крупных брендов, таких как Samsung, HTC, Sony, Nokia, Huawei, Vivo, Oppo, Xiaomi, или любых второстепенных брендов, таких как Amazon. Он автоматически определяет набор микросхем устройства и устанавливает драйвер в соответствии с устройством.

    Определяет название производителя и модель

    Он автоматически определяет название производителя и номер модели устройства и отображает их в списке производителей и описаний.

    Кнопка обновления

    Он позволяет быстро обновлять список устройств, подключенных к компьютеру. Эта функция представлена в версии 2.0 и недоступна в версии 1.0.

    Поддерживает Windows x86 и x64 Bit

    Он автоматически определяет BIT вашего компьютера и позволяет легко установить драйвер ADB в Windows XP, Vista, Windows 7, Windows 8, Windows 8.1, Windows 10.

    Интересные факты, которые вы должны знать об установщике драйверов ADB

    Мост отладки Android по версиям

    • ADB Setup 1.5.2.exe
    • ADB Setup 1.5.1.exe
    • ADB Setup 1.5.0.exe
    • ADB Setup 1.4.9.exe
    • ADB Setup 1.4.8.exe
    • ADB Setup 1.4.7.exe
    • ADB Setup 1.4.6.exe
    • ADB Setup 1.4.5.exe
    • ADB Setup 1.4.4.exe
    • ADB Setup 1.4.3.exe
    • ADB Setup 1.4.2.exe
    • ADB Setup 1.3.0.exe

    Скачать ADB DRIVER INSTALLER

    Как работает установщик ADB?

    Поскольку драйвер ADB (клиент, демон и сервер) состоит из трех компонентов, для этого необходимо сначала установить и запустить некоторые части. Итак, если вы недавно запустили свой компьютер (и вы не настроили его для запуска вашего демона при запуске), перед взаимодействием с устройством Android вам необходимо, чтобы он работал. В командной строке вы увидите это сообщение (то, что слева), поскольку оно подтвердит, что демон запущен.

    Если демон не запущен, он запустит процесс и сообщит вам, где он начался с локального TCP-порта. После запуска службы ADB команды, отправленные клиентом ADB, будут продолжать прослушиваться для этого конкретного порта. Затем он устанавливает соединения со всеми работающими устройствами (включая эмуляторы), подключенными к компьютеру. На этом этапе вы получите запрос на авторизацию на устройстве Android, если ваш компьютер не был авторизован ранее.

    Примеры АБР

    Вы можете использовать ADB для выполнения любых действий на устройстве Android, как упоминалось выше. Некоторые команды встроены непосредственно в двоичный файл ADB и должны работать на всех устройствах. Вы также можете открыть так называемую оболочку ADB, чтобы запускать команды напрямую. Команды, которые выполняются непосредственно на вашем устройстве, могут отличаться от устройства к устройству (поскольку OEM-производители могут удалить доступ к определенным устройствам и изменить поведение adb).

    Ниже приведен список примеров команд, которые вы можете запустить на своем устройстве .

      Распечатайте список подключенных устройств: adb devicesУбиваем ADB сервер: adb kill-serverУстановите приложение: adb installНастроить переадресацию портов: adb forward tcp:6100 tcp:7100Скопируйте файл / каталог с устройства: adb pullСкопируйте файл / каталог на устройство: adb pushНачнем с оболочки ADB: adb shell

    Источник

    iODBC.org

    Independent Open DataBase Connectivity for Linux, MacOS X and Unix systems

    Table of Contents

    You can download the iODBC driver manager from either this page or using Git.

    The file file-md5sums.txt contains known-good MD5 hashes of components you download.

    Stable Version 3.52.15

    The sources for the iODBC Driver Manager are available as a tarball on SourceForge or by checkout from Github; you can also read the ChangeLog.

    Mac OS X

    Packages for this version are available from SourceForge:

    • macOS 10.9 and above (Mojave (10.14.x), High Sierra (10.13.x), Sierra (10.12.x), El Capitan (10.11.x), Yosemite (10.10.x), Mavericks (10.9.x)): iODBC-SDK-3.52.15-macOS10.dmg
    • macOS 11 and above (Big Sur): iODBC-SDK-3.52.15-macOS11.dmg

    Stable Version 3.52.12

    The sources for the iODBC Driver Manager are available as a tarball on SourceForge or by checkout from Github; you can also read the ChangeLog.

    Mac OS X

    This package contains iODBC as a Framework plus the GUI iODBC Administrator.app, and includes full 64-bit support at all levels, as required by Microsoft Office 2016 (v15.25+) and various other newer tools.

    Mojave (10.14.x),
    High Sierra (10.13.x),
    Sierra (10.12.x),
    El Capitan (10.11.x),
    Yosemite (10.10.x),
    Mavericks (10.9.x),
    Mountain Lion (10.8.x),
    Lion (10.7.x)
    mxkozzzz.dmg

    Packages for Linux Distributions

    Gentoo also has a package for libiodbc.

    Unix binaries

    The iODBC Developers Open Source Release archive is portable to all major UNIX platforms including Solaris, HP-UX, AIX, SCO OpenServer, SCO Unixware, SGI IRIX (Mips ABI), Digital Unix, DG-UX, Dynix/PTX, BSDI, and FreeBSD.

    OpenLink’s Software Availability page contains pre-compiled OpenLink-branded iODBC SDKs for several OS platforms. If you are interested in binary releases for other platforms, please email us at iodbc@openlinksw.com.

    We are also looking for porting volunteers for OpenVMS, OS400 and OS390, if you’d like to help out!

    Previous Versions

    3.52.11

    This version was never publicly released but its changes are retained in the subsequent 3.52.12 release.

    3.52.10

    The sources for the iODBC Driver Manager are available for download or by checkout from Github, or for download as a tarball on SourceForge ; you can also read the ChangeLog.

    Mac OS X builds of 3.52.10

    This package contains iODBC as a Framework plus the GUI iODBC Administrator.app and bindings for Microsoft Office:

    Snow Leopard (10.6.x), Leopard (10.5.x) mvkozzzz.dmg

    The sources for the iODBC Driver Manager are available as a tarball on SourceForge or by checkout from Github; you can also read the ChangeLog.

    The sources for the iODBC Driver Manager are available as a tarball on SourceForge or by checkout from Github; you can also read the ChangeLog.

    The sources for the iODBC Driver Manager are available as a tarball, libiodbc-3.52.7.tar.gz or from SourceForge. You can also view the ChangeLog.

    Source of 3.52.7

    File Download
    iODBC Source tarball libiodbc-3.52.7.tar.gz
    Linux source RPM libiodbc-3.52.7-1.src.rpm

    Mac OS X builds of 3.52.7

    This package contains iODBC as a Framework plus the graphical ODBC configuration administrator and bindings for Microsoft Office:

    Snow Leopard (10.6.x), Leopard (10.5.x) iodbc-sdk-3.52.7-macosx-10.5.dmg
    Tiger (10.4.x) iodbc-sdk-3.52.7-macosx-10.4.dmg

    This package contains a bug-fix for the version of iODBC provided by Apple, installing in /usr; this is recommend for compiling interfaces such as Perl DBD::ODBC, the Ruby ODBC bridge and PHP:

    Snow Leopard (10.6.x), Leopard (10.5.x) iodbc-usr-sdk.zip

    Source of 3.52.6

    The sources for the iODBC Driver Manager are available as a tarball, libiodbc-3.52.6.tar.gz or from SourceForge . You can also view the ChangeLog .

    RedHat Linux RPMs of 3.52.6

    iODBC Driver Manager and Administrator Source release (SRPM) libiodbc-3.52.6-1.src.rpm
    iODBC Driver Manager RPM (RedHat Linux 9) libiodbc-3.52.6-1.i386.rpm
    iODBC Administrator (RedHat Linux 9) libiodbc-admin-3.52.6-1.i386.rpm
    iODBC RPM Developers Kit (RedHat Linux 9) libiodbc-devel-3.52.6-1.i386.rpm

    Source of 3.52.5

    The sources for the iODBC Driver Manager are available as a tarball, libiodbc-3.52.5.tar.gz or from SourceForge . You can also view the ChangeLog.

    RedHat Linux RPMs of 3.52.5

    iODBC Driver Manager and Administrator Source release (SRPM) libiodbc-3.52.5-1.src.rpm
    iODBC Driver Manager RPM (RedHat Linux 9) libiodbc-3.52.5-1.i386.rpm
    iODBC Administrator (RedHat Linux 9) libiodbc-admin-3.52.5-1.i386.rpm
    iODBC RPM Developers Kit (RedHat Linux 9) libiodbc-devel-3.52.5-1.i386.rpm

    Source of 3.52.4

    The sources for the iODBC Driver Manager are available as a tarball, libiodbc-3.52.4.tar.gz or from SourceForge. You can also view the ChangeLog.

    RedHat Linux RPMs of 3.52.4

    iODBC Driver Manager and Administrator Source release (SRPM) libiodbc-3.52.4-1.src.rpm
    iODBC Driver Manager RPM (RedHat Linux 9) libiodbc-3.52.4-1.i386.rpm
    iODBC Administrator (RedHat Linux 9) libiodbc-admin-3.52.4-1.i386.rpm
    iODBC RPM Developers Kit (RedHat Linux 9) libiodbc-devel-3.52.4-1.i386.rpm

    Source of 3.52.3

    The sources for the iODBC Driver Manager are available as a tarball, libiodbc-3.52.3.tar.gz or from SourceForge . You can also view the ChangeLog .

    RedHat Linux RPMs of 3.52.3

    iODBC Driver Manager and Administrator Source release (SRPM) libiodbc-3.52.3-1.src.rpm
    iODBC Driver Manager RPM (RedHat Linux 9) libiodbc-3.52.3-1.i386.rpm
    iODBC Administrator (RedHat Linux 9) libiodbc-admin-3.52.3-1.i386.rpm
    iODBC RPM Developers Kit (RedHat Linux 9) libiodbc-devel-3.52.3-1.i386.rpm

    Source of 3.52.2

    The sources for the iODBC Driver Manager are available as a tarball, libiodbc-3.52.2.tar.gz or from SourceForge .

    Linux RPMs of 3.52.2

    iODBC Driver Manager and Administrator Source release (SRPM) libiodbc-3.52.2-1.src.rpm
    iODBC Driver Manager RPM (RedHat Linux 9) libiodbc-3.52.2-1.i386.rpm
    iODBC Administrator (RedHat Linux 9) libiodbc-admin-3.52.2-1.i386.rpm
    iODBC RPM Developers Kit (RedHat Linux 9) libiodbc-devel-3.52.2-1.i386.rpm

    Source of 3.52.1

    The sources for the iODBC Driver Manager are available as a tarball, libiodbc-3.52.1.tar.gz or from SourceForge .

    Linux RPMs of 3.52.1

    iODBC Driver Manager and Administrator Source release (SRPM) libiodbc-3.52.1-1.src.rpm
    iODBC Driver Manager RPM (RedHat Linux 9) libiodbc-3.52.1-1.i386.rpm
    iODBC Administrator (RedHat Linux 9) libiodbc-admin-3.52.1-1.i386.rpm
    iODBC RPM Developers Kit (RedHat Linux 9) libiodbc-devel-3.52.1-1.i386.rpm

    Source of 3.51.2

    The sources for the iODBC Driver Manager are available as a tarball, libiodbc-3.51.2.tar.gz or from SourceForge .

    Linux RPMs of 3.51.2

    iODBC Driver Manager and Administrator Source release (SRPM) libiodbc-3.51.2-1.src.rpm
    iODBC Driver Manager RPM (RedHat Linux 9) libiodbc-3.51.2-1.i386-rh9.rpm
    iODBC Administrator (RedHat Linux 9) libiodbc-admin-3.51.2-1.i386-rh9.rpm
    iODBC RPM Developers Kit (RedHat Linux 9) libiodbc-devel-3.51.2-1.i386-rh9.rpm
    source tarball libiodbc-3.51.1.tar.gz
    RedHat Source RPM libiodbc-3.51.1-1.src.rpm
    iODBC Driver Manager RPM (RedHat Linux 8) libiodbc-3.51.1-1.i386-rh8.rpm
    iODBC Driver Manager RPM (RedHat Linux 9) libiodbc-3.51.1-1.i386-rh9.rpm
    iODBC Administrator (RedHat Linux 8) libiodbc-admin-3.51.1-1.i386-rh8.rpm
    iODBC Administrator (RedHat Linux 9) libiodbc-admin-3.51.1-1.i386-rh9.rpm

    Older Versions

    We provide these historical releases in source form only.

    Legacy 3.x

    3.51.0 source only libiodbc-3.51.0.tar.gz
    3.0.6 source only libiodbc-3.0.6.tar.gz
    3.0.5 source only libiodbc-3.0.5.tar.gz
    3.0.4 source only libiodbc-3.0.4.tar.gz
    3.0.3 source only libiodbc-3.0.3.tar.gz
    3.0.2 source only libiodbc-3.0.2.tar.gz
    3.0.1 source only libiodbc-3.0.1.tar.gz
    3.0.0 source only libiodbc-3.0.0.tar.gz

    Original 2.x Versions

    2.50.3 source only libiodbc-2.50.3.tar.gz
    2.50.2 source only libiodbc-2.50.2.tar.gz
    2.50 source only libiodbc-2.50.tar.gz

    This HTML5 document contains 8 embedded RDF statements represented using HTML+Microdata notation.

    The embedded RDF content will be recognized by any processor of HTML5 Microdata.

    Источник

    Читайте также:  Nfs most wanted 2012 для android
    Оцените статью