Phonegap integration. Building for Android device

hey all,
i'm trying to build an apk file for android device.
Easy with Dreamweaver yes.
Difficulty comes when you try to add some specific functionality : for instance you may want to post some stuff on the user 's facebook wall.
PhoneGap provides a plugin for that : https://github.com/davejohnson/phonegap-plugin-facebook-connect
But this plugin needs some addional stuff from the android SDK. It needs some java classes, namely the facebook android sdk : https://github.com/facebook/facebook-android-sdk
Has anybody any hint on how we could include that stuff in dreamweaver installation?
In my opinion we need to rebuild android.jar (not tried yet) but there may be another solution to tweak Dreamweaver. Or has anybody another solution to post on facebook/twitter from a native apk coming from a jquery/phonegap project under Dreamweaver?
thanks in advance for reactions/advices/...
Loic

I did that on a mac :-)
however it was a standard eclipse project. I had to include the correct JARS (facebook+phonegap) in the library path and everything was fine quite easily. I mean there was no additional SDK to install due to OSX.
What I remember too is this: there is no facebook app installed on the emulator. It means when you run your app on it and try to connect to facebook through phonegap, the browser will open and ask for authentication. On your device, if the FB app is installed a nice popup will open and ask for authentication and authorization (or just confirmation if you are already authenticated).
in conclusion there's no need to buy a mac for that. Be sure to check phonegap forum and post your problem. Phonegap releases have evolved a lot and they are quite responsive.
Loic

Similar Messages

  • DPS App builder for Android Devices

    Hi! i make a new app for smartphone and i follow that link:
    http://helpx.adobe.com/digital-publishing-suite/help/building-android-apps.html
    i put every certificate and make all the steps with success!
    What do i do after that????
    I just have an app for tablet on Google play account..
    There are others steps to make to see the app on Smartphone playstore? because i can't see the app..
    Thank you  very much
    TKART staff

    The apps created by the web app builder run on both tablets and smartphones all the time. There's no "tablet-only" or "smartphone-only" version. If you upload this new .apk to Google Play instead of your current one it will replace the one there.
    Note that our native Android app only supports Android 4.0.3 and later. If your Smartphone is running an earlier version of Android then it won't show in the Google Play store listings when you search for it.
    Neil

  • Developing and using Adobe AIR native extensions for Android devices

    I was using this tutorial:
    "Developing and using Adobe AIR native extensions for Android devices"
    http://www.adobe.com/devnet/air/articles/ane-android-devices.html
    When packing the Flex mobile ANESampleTest to deploy on an Android device, the below error happens
    Error occurred while packaging the application:
    aapt tool failed:invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/drawable-xxhdpi
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw600dp
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw720dp-lan
    Does anyone know what the issue might be?

    Did you find a workaround for the Error? I'm getting the same and I can't seem to find any solution.

  • Minimum specifications of DPS for Android device

    I would like to know the minimum specifications of DPS for Android Device.
    I found the information for Android OS in this form,
    Supported versions of Android OS are :
    2.3.x (Gingerbread)
    3.x (Honeycomb)
    4.x (Ice Cream Sandwich).
    Are there any minimum specifications for Processer, Memory (ROM/RAM)...?
    shimoawazu

    DPS viewers should run on Froyo (2.2) or later, and only on Android devices defined as Large or XLarge. Some people have loade viewers onto smaller Android devices such as phones, but doing so is not yet supported.
    FYI, this article might help in understanding the differences between Android and iOS viewers:
    http://help.adobe.com/en_US/digitalpubsuite/using/WS4cb2576c7954973c53368a8813825e34aba-80 00.html

  • Skinning and Image size for android devices

    I am building a mobile application for both Android and iOS devices. I am using images in 3 different resolutions sets.
    The images have been made in such a way that the complete all screens were first designed for 640x960 resolution with 320 dpi. Then I created 3 different sets of images where the images were reduced to 75% and 50% of the 640x960 image size. The images I have now work fine for iPhone 3GS and iPhone 4 and 4S devices. But the 75% one's don't work correctly. This is because the size of say background of view at 75% would be 720 pixels while the size of the Android device's screen is 854px or 800px.
    How can I address this issue?

    Any help on this?

  • Streaming for Android devices using Amazon AWS and Adobe FMS 4.5

    I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.
    AWS provides me with both a .f4m and .m3u8 file, to use in  <object><embed> and  <video> tags, respectively.
    The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file.
    What code/solutions are there to get this to play on Android devices?
    My current .f4m code (retrieved from http://www.osmf.org/configurator/fmp):
    <object width="600" height="409">
        <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf"></param>
        <param name="flashvars" value="src=http%3A%2F%2F<myinfo>.cloudfront.net%2Fhds-live%2Flivepkgr%2F_definst_%2Flivee vent%2Flivestream.f4m"></param>
        <param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
        <embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf" type="application/x-shockwave-flash" allowscriptaccess="always"
                    allowfullscreen="true" width="600" height="409" flashvars="src=http%3A%2F%2F<myinfo>.cloudfront.net%2Fhds-live%2Flivepkgr%2F_definst_%2Fl iveevent%2Flivestream.f4m">
        </embed>
    </object>
    My current .m3u8 code:
    <video src="http://myinfo>.cloudfront.net/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8" height="300" width="400"> </video>

    Few additional things which I just came across while setting up for live stream on my Android from AWS are as follows:
    1. for the first time when I tried to run the live stream on my android app, it didnt run at all and I thought your concerns are valid for an instance :-) .
    2. Later, I killed the application from task manager, restarted it cleanly and again provided the url and it streamed without issues.
    Please also ensure that:
    - You had put a crossdomain.xml file under <fmsinstalldirectory>/webroot folder.
    - You have provided the correct stream name in the <media> tag in Manifest.xml file inside <fmsinstalldirectory>/livepkgr/events/_definst_/liveevent folder
    (hopefully you have done it since you are already playing it on PC)
    You may also like to cehck the apache logs inside <fmsinstalldirectory>/Apache2.2/logs/access_logs folder to find whether your Android device request is reaching to the server.
    Hope these steps will help you in osloating the problem.
    Regards,
    Shiraz Anwar

  • Where i can get Flash player for Android device such as Samsung galaxy tab 2.0?

    Well, folks, my question is : where I can download Flash player for Android OS ? I have a Samsung galaxy tab 2.0 7'' and I tried to download that player from anywhere but that was a waste of time. The "downloaders" in the android market Don't Work. So please, help me find out where I can get this player. I know that Adobe doesn't support Android but I'm sure there Is a way. 

    Hi jerry3D,
    Flash Player for Android is no longer available. For more information, see here:
    http://blogs.adobe.com/flashplayer/2012/06/flash-player-and-android-up date.html
    Android users can still download and install Flash Player from the Archived Flash Player Versions page on the Adobe website.
    Please refer : http://forums.adobe.com/thread/1061194
    Please see this page for a list of all certified devices:Flash Player Certified Devices

  • Will this be available for Android devices?

    I work with Windows and Android products because i feel i have more freedom when it comes to creativity with their products; also i never enjoyed Apple products. So will this be available for Android?

    PB3D is built on top of the new Flash player Molehill APIs so it will be available wherever Flash is. There is more infomation here:
    http://labs.adobe.com/technologies/flashplatformruntimes/features/stage3d.html
    Particularly this question:
    Will 3D be supported in mobile versions of Flash Player too? When?
    Yes, we expect the Stage3D APIs to be available on mobile platforms, such as Android and Linux Mobile. We expect to work with partners through the Open Screen Project to enable 3D in Flash Player and AIR on devices.

  • Recording/screen capture for android device

    Hello all,
    I am using Captivate 7 to do record some software simulations for apps on mobile devices. Up until now, I've recorded apps on the iPad, and I used Reflector to mirror the display to my computer.
    Now I have to do a project where I need to record an app that's on an Android device (Galaxy Notebook). I've tried Bluestacks, to at least emulate the app on my computer, but I can't get bluestacks to work.
    Can anyone recommend any other mirroring device or emulator that works with an android based app?
    thanks a bunch.

    Hi there
    I've never tried it, but did a quick Google search and found this:
    WiFi Keyboard+Screen Capture - Android Apps on Google Play
    Cheers... Rick

  • Weird acting of Socket class while build for iOS device

    Hello,
    It's kind of weird and frustrating using Socket class to build package for iOS device (iPad in my case) - I do have the certificates files (P12, Provisioning) and I can build a package from FB4.5.1 too, but if I build the package as 'Fast' mode through 'Run Configuration' wizard the Socket works okay, but if I package with 'Standard' mode it never works - even I tested both the modes in same device! Any suggestions/idea - I couldn't able figure out why it's acting strange in different modes!
    Thank you.

    This is still become ridiculous - I've read in a document online that non-working socket has bug-fix with AIR 2.7, I was using 2.6 previously - so I downloaded the latest AIR 3.0 SDK and rebuild the project - yet its not working! This is ridiculous!

  • Connecting SAP Lumira Cloud to SAP BO Mobile 5.1 for Android Device

    Hi All,
    I created a report in SAP Lumira Personal edition,uploaded it to SAP Lumira Cloud free edition and now want to access it with the SAP BO Mobile on my Android device which I downloaded from Google PlayStore.
    Logging into SAP BO Mobile I see 'Import from Server' option where I entered the lumira cloud address https://cloud.saplumira.com because this is where my report resides which I want to see in my hand held.I see some certificate errors and I have no idea how to go about this.
    Any suggestion would be of great help.
    Reply Awaited.
    Regards
    Niyati

    So when I initially land on cloud.saplumira.com
    I get a Site Security Certificate is not trusted.  Chrome on PC doesn't throw this, only on my Androids.
    Proceed Anyway
    Press Log On button
    A window comes up saying No Certificates Found
    Asking to install a certificate from PKCS#12 file with .pfx or .p12 extension..
    if you hit Install...window pops up again..  and again.. Chrome is expecting there to be a local file to install.. which there is not.
    Hit Cancel
    You get the Log On panel...  and it goes through.
    jim

  • How to do configuration in Integration Builder for Idoc to PI to EDI system?

    Hi Experts.
    I am working on one interface which is SAP IDOC (DESADV.DELVRY03) >> to>> PI >> to>> EDI system.
    I am done with all ESR objects,
    Can anyone help me about how to and what configuration required to be done in Integration Builder?
    And after configuration how should I test/check my interface?
    Please give your suggestions.
    Any suggestion will be rewarded.
    Thanks in advance.
    Regards,
    Dipen.

    Hi Dipen,
    Configuration:
    SAP ECC
    You have to configure the Output types in NACE and Partner Profile in WE20 properly.
    SAP PI
    In PI, You have to configure the port in IDX1 and load the meta-data in IDX2.
    Testing:
    While on saving the Delivery document, IDoc would be triggered and it would be routed to PI based on the port that you have configured in the partner profile.
    You can check the status of the IDoc in WE02/WE05. Check the tRFC queue in SM58 whether the IDoc is struck in ECC due to any communication issues.
    In PI, you can check whether the IDoc is received or not in the transaction IDX5. If you double-click on the message, it would be routed to the message monitoring.
    The status of the message in the receiver side can be checked in the communication channel monitoring.
    You can let me know if you need any more info.
    Thanks,
    Kanda

  • Dreamweaver CS6 PhoneGap build with Camera support for Android Device

    I am trying to build a simple app that triggers the camera in my Samsung N7000 device.
    I have built the app using Dreamweaver CS6 using the builting phonegap build support.
    I am using the Windows version of Dreamweaver CS6.
    When the app is built it shows no errors but when the app is installed on the device it does not trigger  the camera.
    I can not seem to get this very basic app to trigger the camera.
    Any suggestions will be very much appreciated.
    //=======================================================================
    Below is the index.html file i have been using.
        <script src="phonegap.js"></script>
        <script type="text/javascript" charset="utf-8">
            // Called when capture operation is finished
            function captureSuccess(mediaFiles) {
                //var i, len;
                //for (i = 0, len = mediaFiles.length; i < len; i += 1) {
                //    //uploadFile(mediaFiles[i]);
                //navigator.notification.alert('Weee', null, 'Great success!');
            // Called if something bad happens.
            function captureError(error) {
                //var msg = 'An error occurred during capture: ' + error.code;
                //navigator.notification.alert(msg, null, 'Uh oh!');
            // A button will call this function
            function captureImage() {
                // Launch device camera application,
                // allowing user to capture up to 2 images
                navigator.device.capture.captureImage(captureSuccess, captureError, { limit: 2 });
            // Upload files to server
            function uploadFile(mediaFile) {
                var ft = new FileTransfer(),
                    path = mediaFile.fullPath,
                    name = mediaFile.name;
                ft.upload(path,
                    "http://my.domain.com/upload.php",
                    function (result) {
                        console.log('Upload success: ' + result.responseCode);
                        console.log(result.bytesSent + ' bytes sent');
                    function (error) {
                        console.log('Error uploading file ' + path + ': ' + error.code);
                    { fileName: name });
        </script>
        <script type="text/javascript" charset="utf-8">
            var pictureSource;   // picture source
            var destinationType; // sets the format of returned value
            // Wait for Cordova to connect with the device
            function onLoad() { document.addEventListener("deviceready", onDeviceReady, false); }
            // Cordova is ready to be used!
            function onDeviceReady() {
                pictureSource = navigator.camera.PictureSourceType;
                destinationType = navigator.camera.DestinationType;
                alert("device is ready");
            // Called when a photo is successfully retrieved
            function onPhotoDataSuccess(imageData) {
                // Uncomment to view the base64 encoded image data
                // console.log(imageData);
                // Get image handle
                var smallImage = document.getElementById('smallImage');
                // Unhide image elements
                smallImage.style.display = 'block';
                // Show the captured photo
                // The inline CSS rules are used to resize the image
                smallImage.src = "data:image/jpeg;base64," + imageData;
            // Called when a photo is successfully retrieved
            function onPhotoURISuccess(imageURI) {
                // Uncomment to view the image file URI
                // console.log(imageURI);
                // Get image handle
                var largeImage = document.getElementById('largeImage');
                // Unhide image elements
                largeImage.style.display = 'block';
                // Show the captured photo
                // The inline CSS rules are used to resize the image
                largeImage.src = imageURI;
            // A button will call this function
            function capturePhoto() {
                // Take picture using device camera and retrieve image as base64-encoded string
                navigator.camera.getPicture(onPhotoDataSuccess, onFail, {
                    quality: 50,
                    destinationType: destinationType.DATA_URL
            // A button will call this function
            function capturePhotoEdit() {
                // Take picture using device camera, allow edit, and retrieve image as base64-encoded string 
                navigator.camera.getPicture(onPhotoDataSuccess, onFail, {
                    quality: 20, allowEdit: true,
                    destinationType: destinationType.DATA_URL
            // A button will call this function
            function getPhoto(source) {
                // Retrieve image file location from specified source
                navigator.camera.getPicture(onPhotoURISuccess, onFail, {
                    quality: 50,
                    destinationType: destinationType.FILE_URI,
                    sourceType: source
            // Called if something bad happens.
            function onFail(message) {
                alert('Failed because: ' + message);
        </script>
    </head>
    <body onLoad="onLoad()">
        <button onclick="capturePhoto();">Capture Photo</button> <br><br>
        <button onclick="capturePhotoEdit();">Capture Editable Photo</button> <br><br>
        <button onclick="getPhoto(pictureSource.PHOTOLIBRARY);">From Photo Library</button><br><br>
        <button onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);">From Photo Album</button><br><br>
        <img style="display:none;width:60px;height:60px;" id="smallImage" src="" />
        <img style="display:none;" id="largeImage" src="" />
        <br><button onclick="captureImage();">Capture Image</button> <br>
    //=======================================================================================
    Below is the config.xml file i am using
    <?xml version="1.0" encoding="UTF-8" ?>
        <widget xmlns   = "http://www.w3.org/ns/widgets"
            xmlns:gap   = "http://phonegap.com/ns/1.0"
            id          = "com.phonegap.camera_test"
            versionCode = "11"
            version     = "1.1.0" >
    <name>bla</name>
    <description>
        bla
    </description>
    <author href="http://bla.github.com"
        email="[email protected]">
        bla
    </author>
    <icon src="icon.png" gap:role="default" />
    <feature name="http://api.phonegap.com/1.0/geolocation"/>
    <feature name="http://api.phonegap.com/1.0/network"/>
      <feature name="http://api.phonegap.com/1.0/file"/>
      <feature name="http://api.phonegap.com/1.0/camera"/>
      <feature name="http://api.phonegap.com/1.0/media"/>
      <feature name="http://api.phonegap.com/1.0/device"/>
      <feature name="http://api.phonegap.com/1.0/notification"/>
      <feature name="http://api.phonegap.com/1.0/battery"/>
    <preference name="orientation" value="portrait" />
    <preference name="webviewbounce" value="false" />
    <preference name="prerendered-icon" value="true" />
      <preference name="phonegap-version" value="3.1.0" />
      <preference name="fullscreen" value="false" />
      <preference name="stay-in-webview" value="false" />
      <preference name="ios-statusbarstyle" value="default" />
      <preference name="android-minSdkVersion" value="7" />
      <preference name="android-installLocation" value="internalOnly" />
      <preference name="target-device" value="universal" />
      <preference name="autohide-splashscreen" value="true" />
      <preference name="load-url-timeout" value="60000" />
      <preference name="show-splashscreen-spinner" value="true" />
      <preference name="show-splash-screen-spinner" value="true" />
      <preference name="allow-inline-media-playback" value="false" />
      <preference name="launch-mode" value="standard" />
      <plugin name="Capture" value="CDVCapture" />
      <plugin name="Camera" value="CDVCamera" />
    </widget>
    //=======================================================================================

    This forum is actually about the Cloud, not about using individual programs
    Once your program downloads and installs with no errors, you need the program forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
    http://forums.adobe.com/community/dreamweaver

  • Use the desktop DPS App Builder to create a legacy (AIR-based) app for Android devices.

    It looks like this option has been stripped off the DPS dashboard for me to access. Can anyone confirm this? Is there another way to access the Air-based android app?

    There is a link to download DPS App Builder on this page:
    Digital Publishing Suite Help | Installing DPS tools

  • Invalid extension descriptor - Licensing AIR for Android devices

    I'm trying to do licensing app according to this article http://www.adobe.com/devnet/air/articles/android-licensing-native-extensions.html.
    If i try to generate the ANE file in ADT command prompt then displays this error - Invalid extension descriptor: extension.xml
    My file extension.xml I copied the whole of the AIR 3.1 SDK.
    <extension xmlns="http://ns.adobe.com/air/extension/3.1">
      <id>com.adobe.air.sampleextensions.android.licensing</id>
      <versionNumber>1</versionNumber>
      <platforms>
        <platform name="Android-ARM">
          <applicationDeployment>
            <nativeLibrary>SampleAndroidLicensing.jar</nativeLibrary>
            <initializer>com.adobe.air.sampleextensions.android.licensing.AndroidLicensingExtension</ initializer>
            <finalizer>com.adobe.air.sampleextensions.android.licensing.AndroidLicensingExtension</fi nalizer>
          </applicationDeployment>
        </platform>
        <platform name="default">
                  <applicationDeployment/>
        </platform>
      </platforms>
    </extension>
    In what may be the reason, tell me please?

    Never mind, I was using the wrong runtime.  My devices are on eclair and I was using froyo.  Grrr.

Maybe you are looking for