Intermec 6820 and Android SDK

Hi every one In my company we have a printer Intermec 6820 (http://www.intermec.com/products/prtr6820/index.aspx) I wonder if is possible to use the android SDK (https://www.intermec.com/products/sdkandroid/index.aspx) for from my mobile device send to print jobs. When i tested the SDK samples (LabelPrinterSample ), print only one line (see picture attached) and printed the command lines.

H4z3, I'm not sure why you are getting seg faults but, I just got everything setup for Android 2.0 development on my 64-bit driven laptop. I did the following:
1) Downloaded Android v2.0 SDK & setup buy running
sh %path_to_sdk%/android-sdk-linux/tools/android
Then under "Available Packages", download the SDK Platform and other APIs you want. I downloaded Android 2.0 & 1.6, Google API 5 & 4 and the documentation.
2) Downloaded Eclipse 3.5 for EE Development from eclipse.org
3) Installed lib32 libraries:
sudo pacman -S lib32-libstdc++5 lib32-libx11 lib32-sdl lib32-ncurses lib32-zlib lib32-libext lib32-alsa-lib
4) Added the ADT to Eclipse following these instructions http://developer.android.com/sdk/eclipse-adt.html
5) I then followed the Hello World example.
Issues noticed
1) Clicking some of the Eclipse & Android SDK/SVD Manager buttons didn't register. I had to use the keyboard shortcuts to fully press the buttons
2) The emulator does take a while to load. I had issues with it not loading and sucking up my CPU. But I realized that I wasn't allowing the initial run of the emulator to fully finish before I closed it. Give it a good few minutes to run before stopping it.
I hope this helps,
Ken
Last edited by scriptmunkee (2009-10-28 07:16:37)

Similar Messages

  • Using local android-sdk and android-sdk-platform-tools with phonegap

    Hello,
    I've installed android-sdk, android-sdk-platform-tools and android-sdk-build-tools packages from AUR and phonegap with npm command line utility of nodejs. When I try to build android app using the command:
    $ phonegap run android
    phonegap fails to detect locally installed android SDK environment and uses remote one:
    [phonegap] detecting Android SDK environment...
    [phonegap] using the remote environment
    I tried adding paths /opt/android-sdk/tools/, /opt/android-sdk/platform-tools/ and /opt/android-sdk/build-tools to $PATH variable but still, no luck. How can I make phonegap use the local android SDK environment?
    Last edited by th0th (2013-08-10 21:06:29)

    hi, you can try run `phonegap local run android`
    if you see "ant: command not found" error, please install 'apache-ant'
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  phonegap local run android                                             8 ↵
    [phonegap] adding the Android platform...
       [error] Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  phonegap local run android
    [phonegap] adding the Android platform...
       [error] An error occured during creation of android sub-project. /root/.cordova/lib/android/cordova/3.0.0/bin/create: line 104: ant: command not found
    An unexpected error occurred: ant jar > /dev/null exited with 127
    Deleting project...
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  yaourt -S apache-ant
                                                                                                                                           1 ↵
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  phonegap local run android                                                                                                                  1 ↵
    [phonegap] adding the Android platform...
    [phonegap] compiling Android...
    [phonegap] successfully compiled Android app
    [phonegap] trying to install app onto device
    [phonegap] no device was found
    [phonegap] trying to install app onto emulator
    [phonegap] successfully installed onto emulator
    Last edited by vkill (2013-09-04 17:48:44)

  • Arch64 and Android SDK Emulator issues

    Hey guys. I have recently installed the newest version of Eclipse and the Android SDK. I have had to install 32-bit libs so everything runs ok, which I have successfully done. After thinking all was fine and dandy I proceeded to execute my application, in reply my console (from within Eclipse) spat out the following message:
    [2009-09-20 00:29:47 - HelloAndroid]------------------------------
    [2009-09-20 00:29:47 - HelloAndroid]Android Launch!
    [2009-09-20 00:29:47 - HelloAndroid]adb is running normally.
    [2009-09-20 00:29:47 - HelloAndroid]Performing com.example.helloandroid.HelloAndroid activity launch
    [2009-09-20 00:29:47 - HelloAndroid]Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
    [2009-09-20 00:29:47 - HelloAndroid]Launching a new emulator with Virtual Device 'my_avd'
    So, as far as I was concerned I was to wait a few minutes (maybe a little longer) for the emulator to work it's magic. 20 minutes later I found myself scratching my head, wondering why the emulator hadn't booted yet. Any ideas?
    If I try and run the emulator via command line independently I get the follow message:
    [haze@shirley tools]$ emulator -avd my_avd
    Segmentation fault
    Any ideas?
    Last edited by H4z3 (2009-09-19 23:43:36)

    H4z3, I'm not sure why you are getting seg faults but, I just got everything setup for Android 2.0 development on my 64-bit driven laptop. I did the following:
    1) Downloaded Android v2.0 SDK & setup buy running
    sh %path_to_sdk%/android-sdk-linux/tools/android
    Then under "Available Packages", download the SDK Platform and other APIs you want. I downloaded Android 2.0 & 1.6, Google API 5 & 4 and the documentation.
    2) Downloaded Eclipse 3.5 for EE Development from eclipse.org
    3) Installed lib32 libraries:
    sudo pacman -S lib32-libstdc++5 lib32-libx11 lib32-sdl lib32-ncurses lib32-zlib lib32-libext lib32-alsa-lib
    4) Added the ADT to Eclipse following these instructions http://developer.android.com/sdk/eclipse-adt.html
    5) I then followed the Hello World example.
    Issues noticed
    1) Clicking some of the Eclipse & Android SDK/SVD Manager buttons didn't register. I had to use the keyboard shortcuts to fully press the buttons
    2) The emulator does take a while to load. I had issues with it not loading and sucking up my CPU. But I realized that I wasn't allowing the initial run of the emulator to fully finish before I closed it. Give it a good few minutes to run before stopping it.
    I hope this helps,
    Ken
    Last edited by scriptmunkee (2009-10-28 07:16:37)

  • Problem with Eclipse and Android SDK

    I installed the packages eclipse-android with all of her dependencies.
    When I opened Eclipse, I don't find the option of Android
    But

    Hi Harry,
    you can check again the port number in your url property by following this instruction:
    For a BW system, start transaction SE37 and execute the function module RSBB_URL_PREFIX_GET.
    Use the following values for the import parameters of the function module:
    I_HANDLERCLASS = CL_RSR_MDX_SOAP_HANDLER
    I_PROTOCOL = HTTP
    I_MESSAGESERVER =
    Note, you should not get the port number from the messageserver.
    use default for DataSource property.
    See if this helps.
    Shan
    Message was edited by: Shan Jiang

  • If I already have the android SDK and AVD installed from prior installation for eclipse do I have to

    If I already have the android SDK and AVD installed from prior installation for eclipse do I have to do it again for dreamweaver if I want to develop for android ?
    Also, if I'm developing for android, ipad, and iphone and I want them all to be the same can I do it by only making one site or I have to make a different site location for each?

    Inquire of whom?  Apple?  Seems to me your carrier is giving you the run-around.  They are the ones who provide the service, so they should be able to tell you the plan specifics.  Get on the phone again with them and insist on an answer.

  • When will the SAP Mobile BI Android SDK to embed analytic views (Web Intelligence reports and Dashboards) in custom mobile Android App be supported/

    hi all,
       SAP Mobile BI IOS SDK provides such SDK to embed analytic views (Web Intelligence reports and Dashboards) supported by the SAP BI application inside your own custom mobile applications, while Android SDK does not provide such sdk. I would like to know if there is any plan or roadmap to support this interface in Android SDK?

    Thank you Vishwanath for your reply. We already developed an Android App, and just want to embed and open SAP BO report directly inside our own App, instead of launching SAP Mobile BI App.

  • Getting started with air and android

    Hi,
    I made a game using flash as3 technolgy some time ago, that is deployed in a website. I've been studying the possibility of porting the game to mobile devices (android). Is that possible? Wich level of effort am I going to need? Wich tools from adobe am I going to need?
    I think that's all for now... thanks!

    That's great! I also bought a book in amazon to help me to get started
    Thanks!!
    Sent from my iPhone
    El 09/04/2011, a les 23:20, Saumitra Bhave <[email protected]> va escriure:
    The development process remains almost same. In flash development you create swf and put it in HTML using object or embed tag. In Adobe AIR you create SWF and package it using the ADT tool which comes with AIR SDK.(But, With adobe AIR you get some more APIs which you don’t have in Flash)
    While packaging you can tell the adt to package for Android, iOS or any desktop. And provide the required parameters along with the SWF and application xml.
    Once you create the apk. You can install it on actual device or android simulator.
    For testing purposes you can generate a self signed certificate using java -keytool command.
    You can google any of the following things to get started.
    1. Android SDK, adb tool, creating Android emulator
    2. AIR adt - package command for android
    3. java -keytool help
    >

  • Problem installing android-sdk from AUR using yaourt

    Hi all,
    I use yaourt to install packages from the AUR but I'm having an issue with android-sdk.
    Whenever I run 'yaourt -S android-sdk' it seems to detect that the 'java-runtime' is not installed.
    However, I do have sun's jre and jdk installed (I was having applet issues with openjdk) and it detects this when it actually starts installing it.
    But it just reinstalls the package and quits without installing the android sdk. If I run yaourt again, the same thing happens.
    Does anyone have an idea of what the problem might be?
    I could download the tar.gz from google but I'd rather keep everything handled by arch package management.

    Is that a show stopper for yaourt?  I use aurbuild and did that install the other night.  It tripped over the java runtime and pitched a warning, but the build worked and it installed. 
    I could download the tar.gz from google but I'd rather keep everything handled by arch package management.
    Even if you hand build the AUR in a directory of your choice, the resultant package is still integrated into your Arch system using the -U option of pacman.  Regadrless of the front end (Yaourt, aurbuild, or roll-your-own), pacman tracks the package as 'Foreign'.  FYI.

  • Do i use Air or Flex for iPhone and Android app development

    Hi guys, whats the main difference between the 2 and does Air or Flex have everything Xcode does for iPhone/iPad development
    I'm hearing that Flex has Android and SDK for iPhone, if this is the case why learn Xcode ?
    Thanks

    Titanium is good for iOS, but apparently not so good for Android. Moreover, it's not so cheap!
    When one chooses a platform, one should also take into consideration the history and stability of the company which offers it.
    That is why I would not go to Appcelerator: who knows what's behind the corner?
    Sure, it is ironic that I say this after Adobe - a big company - has abandonded Flex...
    Some alternatives:
    - AMPChroma (Horrible name, but it has a solid company selling it: Antenna Software). This thing has the advantage that the content is not either native or web: the same content can be packaged for a web site AND for an app
         Pro's: Many big players are using it
         Con's: price list not very clear
    - Adobe Edge "Preview" + Adobe PhoneGap <--- Adobe says: you create animation for the web, you package it for an app. Not many people have tried it. But apparently it will work.
         Pro's: apparently, Edge is Adobe's instrument to finally go to HTML5.
         Con's: Edge "showcase" performs BADLY and SLOWLY in an iPhone (go think of a Samsung Mini)
    - Adobe Flash professional CS6 + Create JS <--- you create animations in Flash, then you export to HTML5 and js for browsers which don't have flash. You can also package with AIR for iOS and Droid.
         Pro's: Flash professional is easy, Action Script is powerful. You can have BOTH the power of Flash and the portability of html5/JS.
         Con's: for how long will Adobe support this Create JS hack? When will Adobe say "OK, now you've done enough automatic porting to JS, from next release on you move to Edge, or to - wait for it - a version of Flash which uses Javascript instead than ActionScript?"
    Me, I don't know what to do. I am keen on FlashBuilder/Flex because it's fast to build. Apps are really compatible both with iOS and Android. It has Salesforce.com connectivity. It's cool.
    However, there are two problems that get me stuck from continuing with FlashBuilder:
    - OK for native apps but... how do I use the Flash Builder/Flex content for the mobile WEB? Flash Builder does not have the CreateJS capability. I do a cool interface and I cannot reuse it on the mobile web if not with apps?
    - OK for HTML5 but... it's NOT as good as Flash now. Have you ever seen a Phonegap application with graphics? They're embarassing. Slow, imprecise. And non-compiled Edge stuff is not much better. Is it? any good example.
    Bottom line: at the moment, HTML5 support does not seem good. On the other hand, Flex is NOT compatible with mobile web. What IS performing and promises to be compatible with mobile web in addition to native apps?
    Flash Professional CS6.
    Again.
    I am happy if some-one belies me with good arguments.

  • Easy Install Android SDK via Dreamweaver CS5.5 Configure Application Framework

    I have been trying to download Android SDK using Configure Application Framework from Site >> Mobile Applications but get the following error message everytime I try:
    After clicking on "Easy Install..." button:
    According to several tutorials available in Adobe's development network, this should be as easy as clicking on the button. I wonder what could be the issue on my end. Could you help please?
    Thank you,

    I have followed all the instructions for the test application that adobe supplied and i cant get it to run the emulator below is my log file what is wrong and why wont it run.
    <DW>
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\PLATFO~2
    C:\Users\android-sdk\platform-tools\adb.exe devices
    </DW>
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    List of devices attached
    Launching the Android emulator
    <DW>
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\tools
    C:\windows\system32\cmd.exe /u /c "C:\Users\android-sdk\tools\emulator.exe -partition-size 1024 -cpu-delay 0 -no-boot-anim -avd DW_AVD"
    </DW>
    Cloning seed app for Android
    <DW>
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER
    C:\windows\system32\cmd.exe /u /c C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\DWPHON~1\android\scripts\droidGap.bat "C:\Program Files\Adobe\Adobe Dreamweaver CS5.5\Configuration\NativeAppFramework\DWPhoneGap\android\PhoneGapApp" "Meridien" com.adobe.meridien 1.0 "C:\Users\android-sdk" 8
    </DW>
    CaCreated project directory: C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\src\com\adobe\meridien
    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\src\com\adobe\meridien\Default Activity.java
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\bin
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\libs
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\values
    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\values\strings.xml
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\layout
    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\layout\main.xml
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawable-hdpi
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawable-mdpi
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawable-ldpi
    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\AndroidManifest.xml
    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\build.xml
    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\proguard.cfg
    CLONE SUCCESSFUL
    <DW>
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER
    C:\windows\system32\cmd.exe /u /c C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug
    </DW>
    Buildfile: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\build.xml
        [setup] Android SDK Tools Revision 12
        [setup] Project Target: Google APIs
        [setup] Vendor: Google Inc.
        [setup] Platform Version: 2.2
        [setup] API level: 8
        [setup]
        [setup] ------------------
        [setup] Resolving library dependencies:
        [setup] No library dependencies.
        [setup]
        [setup] ------------------
        [setup]
        [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (2) is lower than the project target API level (8)
        [setup]
        [setup] Importing rules file: tools\ant\main_rules.xml
    -debug-obfuscation-check:
    -set-debug-mode:
    -compile-tested-if-test:
    -pre-build:
    -dirs:
         [echo] Creating output directories if needed...
        [mkdir] Created dir: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\gen
        [mkdir] Created dir: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\bin\classes
    -aidl:
         [echo] Compiling aidl files into Java classes...
    -renderscript:
         [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
    -resource-src:
         [echo] Generating R.java / Manifest.java from the resources...
    -pre-compile:
    compile:
        [javac] C:\Users\android-sdk\tools\ant\main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 2 source files to C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\bin\classes
    -post-compile:
    -obfuscate:
    -dex:
         [echo] Converting compiled files and external libraries into C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\bin\classes.dex...
    -package-resources:
         [echo] Packaging resources
         [aapt] Creating full resource package...
    [aapt.exe]     (skipping index file 'C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\assets\www\img\Thumbs.db')
    [aapt.exe] libpng error: Not a PNG file
    [aapt.exe] ERROR: Failure processing PNG image C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\res\drawable-hdpi\splash.png
    [aapt.exe] libpng error: Not a PNG file
    [aapt.exe] ERROR: Failure processing PNG image C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\res\drawable-ldpi\splash.png
    [aapt.exe] libpng error: Not a PNG file
    [aapt.exe] ERROR: Failure processing PNG image C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\res\drawable-mdpi\splash.png
    BUILD FAILED
    C:\Users\android-sdk\tools\ant\main_rules.xml:510: null returned: 1
    Total time: 12 seconds
    OPERATION CANCELED
    <DW>
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\PLATFO~2
    C:\Users\android-sdk\platform-tools\adb.exe kill-server
    </DW>
    <DW>
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\PLATFO~2
    C:\Users\android-sdk\platform-tools\adb.exe devices
    </DW>
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    List of devices attached
    Launching the Android emulator
    <DW>
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\tools
    C:\windows\system32\cmd.exe /u /c "C:\Users\android-sdk\tools\emulator.exe -partition-size 1024 -cpu-delay 0 -no-boot-anim -avd DW_AVD"
    </DW>
    <DW>
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER
    C:\windows\system32\cmd.exe /u /c C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug
    </DW>
    Buildfile: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\build.xml
        [setup] Android SDK Tools Revision 12
    BUILD FAILED
    C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\build.xml:77: Unable to resolve target 'Google Inc.:Google APIs:8'
    Total time: 0 seconds
    OPERATION CANCELED
    <DW>
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\PLATFO~2
    C:\Users\android-sdk\platform-tools\adb.exe kill-server
    </DW>

  • Android SDK for SUP 2.0

    Hello Experts,
            We are trying to develop a SUP Apps in Android OS, but how to used Android SDK in SUP 2.0 ? and is it possible to used Android SDK in SUP 2.0 ?
    Please give me some ideas related to it.
    Regards,
    Tapan

    Hi,
       You can use SUP ODP for developing Android applications.For more details,please go through this link: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01726.0211/doc/html/jne1317414791702.html
    Thanks,
    Srikanth M

  • Emulator error (type 3) CS5.5 android sdk

    Hello All.  Have done my best in trying to find the answer to this one but just can't get it to work.  System is win 7 home premium SP1 64-bit.  I do have the latest DW updates installed.
    Using DW CS5.5, installed Android SDK and can launch emulator just fine but when using Build & Emulate function, the .apk file does not load in the browser.  Dreamweaver prompts that the build was successful but after reviewing the "buildlog.log" file I notice at the bottom:
    Running app in Android emulator
    <DW>
    set ANT_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\PROGRA~2\Android\ANDROI~1
    set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\PROGRA~2\Android\ANDROI~1\PLATFO~2
    C:\Windows\SysWOW64\cmd.exe /u /c C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\DWPHON~1\android\scripts\ANDROI~2.BAT com.vemergency.meriden_test C:\PROGRA~2\Android\ANDROI~1
    </DW>
    Starting: Intent { act=android.intent.action.MAIN cmp=com.testcompany.meriden_test/.DefaultActivity }
    Error type 3
    Error: Activity class {com.testcompany.meriden_test/com.testcompany.meriden_test.DefaultActivity} does not exist.
    <DW>
    set ANT_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\PROGRA~2\Android\ANDROI~1
    set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\PROGRA~2\Android\ANDROI~1\PLATFO~2
    C:\PROGRA~2\Android\ANDROI~1\PLATFO~2\adb.exe kill-server
    </DW>
    Any help would be most appreciated!!
    thanks,
    Keith

    Tried that and thought I had it but notice the last couple lines where it failed.  Any idea on why this happened?
    C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES>C:\Windows\SysWOW64\cmd.exe /u /c
    C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug insta
    ll
    Buildfile: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES\build.xml
    -set-mode-check:
    -set-debug-files:
    -set-debug-mode:
    -debug-obfuscation-check:
    -setup:
         [echo] Gathering info for test27oct...
        [setup] Android SDK Tools Revision 14
        [setup] Project Target: Google APIs
        [setup] Vendor: Google Inc.
        [setup] Platform Version: 4.0
        [setup] API level: 14
        [setup]
        [setup] ------------------
        [setup] Resolving library dependencies:
        [setup] No library dependencies.
        [setup]
        [setup] ------------------
        [setup]
        [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (2) is lower
    than the project target API level (14)
    -build-setup:
         [echo] Creating output directories if needed...
    -pre-build:
    -code-gen:
         [echo] ----------
         [echo] Handling aidl files...
         [aidl] No aidl files to compile.
         [echo] ----------
         [echo] Handling RenderScript files...
    [renderscript] No renderscript files to compile.
         [echo] ----------
         [echo] Handling Resources...
         [aapt] Found Deleted Target File
         [aapt] Generating resource IDs...
    -pre-compile:
    -compile:
        [javac] C:\Android\android-sdk\tools\ant\build.xml:600: warning: 'includeant
    runtime' was not set, defaulting to build.sysclasspath=last; set to false for re
    peatable builds
        [javac] Compiling 1 source file to C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
    1.TES\bin\classes
    -post-compile:
    -obfuscate:
    -dex:
          [dex] Found Deleted Target File
          [dex] Converting compiled files and external libraries into C:\VESLAP~1\HT
    ML5\DREAMW~1\output\COMVEM~1.TES\bin\classes.dex...
    -crunch:
       [crunch] Crunching PNG Files in source dir: C:\VESLAP~1\HTML5\DREAMW~1\output
    \COMVEM~1.TES\res
       [crunch] To destination dir: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES\b
    in\res
       [crunch] Crunched 0 PNG files to update cache
    -package-resources:
         [aapt] Found Deleted Target File
         [aapt] Creating full resource package...
         [aapt] Warning: AndroidManifest.xml already defines debuggable (in http://s
    chemas.android.com/apk/res/android); using existing value in manifest.
    -package:
    [apkbuilder] Found Deleted Target File
    [apkbuilder] Creating test27oct-debug-unaligned.apk and signing it with a debug
    key...
    -do-debug:
    [zipalign] Running zip align on final apk...
         [echo] Debug Package: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES\bin\te
    st27oct-debug.apk
    debug:
    [propertyfile] Updating property file: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
    1.TES\bin\build.prop
    [propertyfile] Updating property file: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
    1.TES\bin\build.prop
    [propertyfile] Updating property file: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
    1.TES\bin\build.prop
    [propertyfile] Updating property file: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
    1.TES\bin\build.prop
    install:
         [echo] Installing C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES\bin\test27
    oct-debug.apk onto default emulator or device...
         [exec] error: protocol fault (no status)
    BUILD FAILED
    C:\Android\android-sdk\tools\ant\build.xml:1098: The following error occurred wh
    ile executing this line:
    C:\Android\android-sdk\tools\ant\build.xml:1112: exec returned: 1
    Total time: 7 seconds
    C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES>

  • Android SDK Installer

    I am interested in doing some game development using Basic4Android. To do so, I need to install Java and the Android SDK.
    I have installed Java 7. The following software is installed on my laptop:
    Java 7 Update 7 (64-bit) Version 7.0.70
    Java SE Development Kit 7 Update 7 (64-bit) Version 1.7.0.70
    I then access and download the Android SDK Installer, which I am told is currently this file:
    installer_r20.0.3-windows.exe
    Upon running this installer, the Android SDK Tools Setup starts, which then tries to detect whether the Java SE Development Kit is installed.
    I then get the following error:
    Java SE Development Kit (JDK) not found.
    Error: Failed to find Java version for 'C:\Windows\system32\java.exe': [2] The system cannot find the file specified.
    It also says I should go to java.oracle.com to download and install the JDK.
    There is a "java.exe" file in the C:\Windows\system32 folder with the date when I installed Java 7.
    The file that I did download and run to install Java was
    jdk-7u7-windows-x64.exe,
    leading me to have the installed Java software mentioned above.
    Can you tell me what I may be doing wrong? I am running Windows 7 Home Premium SP1 (64-bit) on an ASUS Laptop with an i5 dual core processor.
    Thank you for any help you provide.
    Addendum: I solved this problem. The instructions for Basic4Android say to install the 32-bit JDK, not the 64-bit JDK.
    Bob
    Edited by: AndroidDev on Oct 13, 2012 5:17 AM
    Edited by: AndroidDev on Oct 13, 2012 6:12 AM

    I solved my problem. The instructions for Basic4Android say to install the 32-bit version of Java, not the 64-bit version.

  • [SOLVED] Android SDK throws error message after jdk7-openjdk update

    I updated my openjdk package to version 7.u13_2.3.6-1 on the 12th, and now the android-sdk from the AUR throws this error when I run either "android" or "andoid sdk":
    java.lang.NullPointerException
    at java.io.File.<init>(File.java:251)
    at com.android.sdklib.internal.avd.AvdManager.parseAvdInfo(AvdManager.java:1390)
    at com.android.sdklib.internal.avd.AvdManager.buildAvdList(AvdManager.java:1366)
    at com.android.sdklib.internal.avd.AvdManager.<init>(AvdManager.java:315)
    at com.android.sdklib.internal.avd.AvdManager.getInstance(AvdManager.java:325)
    at com.android.sdkuilib.internal.repository.UpdaterData.initSdk(UpdaterData.java:266)
    at com.android.sdkuilib.internal.repository.UpdaterData.<init>(UpdaterData.java:123)
    at com.android.sdkuilib.internal.repository.ui.SdkUpdaterWindowImpl2.<init>(SdkUpdaterWindowImpl2.java:104)
    at com.android.sdkuilib.repository.SdkUpdaterWindow.<init>(SdkUpdaterWindow.java:87)
    at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:339)
    at com.android.sdkmanager.Main.doAction(Main.java:322)
    at com.android.sdkmanager.Main.run(Main.java:119)
    at com.android.sdkmanager.Main.main(Main.java:102
    Any help would be appreciated, as I would like to get back to writing apps.
    EDIT: Solved by deleting the .android folder in the home directory. Thanks Stackoverflow.
    Last edited by Alittlemurkling (2013-02-18 17:34:55)

    See https://mailman.archlinux.org/pipermail … 24434.html

  • PhoneGap Build Settings for Android SDK

    On Mac 10.6.8, Dreamweaver CS6
    I want to test the PhoneGap Build Service with the default  "Hey, it's PhoneGap" index.html page. Specifically, I want to run the resulting apk inside an Android emulator. In preparation for this, I have:
    1) Downloaded the Android SDK
    2) Run...
    android-sdk-macosx/tools/android sdk
         ... from a Terminal window
         This launches the Android SDK Manager, which I have used to download
    Android 2.2 (API 8 - Froyo) and all its associated files
    Android SDK Tools
    Android SDK Platform-tools
    Android Support Library
    (I have also installed Eclipse, but I think that that is irrelevant for the current task)
    4) Run...
    android-sdk-macosx/tools/android avd
         ... from a Terminal window
    This opens the Android Virtual Device Manager, which I have used to create a Virtual Device:
    Name Froyo
    Target Android 2.2 (API level 8)
    Skin WVGA800
    Located at /Users/<username>/.android/avd/Froyo.avd
    This Dreamweaver Help page says:
    Once you've installed the Android SDK, you'll need to start the Android SDK and AVD Managers, and select the Android tools you want to work with locally on your computer. Dreamweaver uses the information you select during this initial setup to populate the Android emulator settings in the PhoneGap Build Service panel. For more information on specifying these settings, see the Android documentation.
    (My emphasis)
    I'm guessing that I've done the parts of these instructions in italics, but I get lost when I reach the part in bold. The window that opens when I select Site > PhoneGap Build Service > PhoneGap Build Settings asks me to "provide the root paths to the [Android] sdk". None of the paths that I have provide seem to satisfy the Emulate Application button in the Build Panel.
    Question: What folder should I select as the root path to the SDK?
    Thanks in advance,
    James

    Lexogram wrote:
    All that's missing is to understand how to convince Dreamweaver CS6 to perform the same steps, rather than going through a Terminal application.
    I haven't installed the Android SDK on my Mac. Dealing with Xcode was painful enough for me.
    However, I do have the Android SDK installed on Windows. I installed it at the top level of my C drive in C:\dw-android. All that was necessary to register it in the PhoneGap Build Settings panel was to enter C:\dw-android in the SDK location field. As long as you have the correct path to the SDK, it should be the same on a Mac.
    I used the PhoneGap Build Service panel to build the app, and then clicked the Download icon. Once it had downloaded, I selected the AVD and target version of Android, as shown in the following screen shot:
    After clicking Launch, it started the emulator and displayed the app. I found it necessary to make sure the AVD and target both used the same version of Android. Otherwise, it just launched the emulator, but the app didn't load.

Maybe you are looking for

  • What can I do to add animated gif to my Button

    hi everybody, I have a JButton, which is used as a 'search button'. I want my search button to show an animated globe gif when search is going on. I have my code as below. JButton searchButton = new JButton(MyUtilities.searchIcon()); ImageIcon animat

  • The display problem of Adobe Reader 11.0.09

    Hi, everyone, My operation system is Windows XP SP3 Professional. I encountered a strange display problem of Adobe Reader 11.0.09. The problem happened not only at Adobe Reader 11.0.09 Chinese Traditional, but also English United States. The display

  • ITunes spinning beach ball with update

    I haven't seen this anywhere else on the net yet: I'm having a problem with CPU hog when updating podcasts. iTunes has no problem when I just run the program (offline or if I don't have it automatically update podcasts). But once I set it to update o

  • Setting Component rendered property On Page-Load

    I am using Jdeveloper 11g - fusion- web application. What I am trying to do is, onpageload, I am trying to over-ride some default properties of my uiComponents like rendered or read-only programatically.. I was referring to Steve Muench's Example no

  • It does not start at all

    firefox does not start