Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    17
    Vote Rating
    0
    romanyu is on a distinguished road

      0  

    Default Unanswered: Sencha Android native package with only #appLoadingIndicator background-image

    Unanswered: Sencha Android native package with only #appLoadingIndicator background-image


    I am following the Native Packaging Demo from http://www.sencha.com/learn/sencha-t...packaging-demo except I copy my "SenchaApp" folder into the "sencha-touch-2.0.1-rc". Because outside the "sencha-touch-2.0.1-rc" the sencha command said: "The current working directory (/Users/roman/Sites) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode." And under the "sencha-touch-2.0.1-rc" it gives "Sencha Command v2.0.1".

    I don't know whether it is a reason it gives me a white screen on my Android phone. (also copy the "resources" folder, "src" folder and sencha-touch.js to the "touch" sub-folder of my "SenchaApp")

    My Configuration file is android.json:
    Code:
    {
    "versionString": "1.0",
    "applicationName": "MySenchaApp",
    "applicationId": "com.test.MyApp",
    "inputPath": "/Users/.../sencha-touch-2.0.1-rc/SenchaApp",
        "outputPath": "/Users/.../sencha-touch-2.0.1-rc/build",
    "iconName": "icon.png",
    "configuration": "Debug",
    "platform": "Android",
    "deviceType": "Universal",
    "permissions": [
    "INTERNET",
    "ACCESS_NETWORK_STATE",
            "CAMERA",
            "VIBRATE",
    "ACCESS_FINE_LOCATION",
    "ACCESS_COARSE_LOCATION",
    "CALL_PHONE"
        ],
        
    "certificatePath": "/Users/.../sencha-touch-2.0.1-rc/SenchaApp/debug.keystore",
    "sdkPath": "/Users/.../android-sdk-macosx",
    "androidAPILevel": "10",
    "orientations": [
    "portrait"
        ]
    }
    I can successfully package it using sencha package build SenchaApp/android.json, which gives me a 19.4 MB MySenchaApp.apk and proguard-project.txt file. Then I installed it on my Moto ME 860.

    The .apk can be installed correctly but it only shows me the background-image in the div of "appLoadingIndicator". As I set the background-image and hide the default loading animation in the appLoadingIndicator. (not white actually but showing the bg-image forever)

    Anyone has some ideas? Thanks!

  2. #2
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    246
    Vote Rating
    2
    Answers
    5
    davide.peri is on a distinguished road

      0  

    Default


    Try to install Sencha Cmd v3.0.0
    Regards

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    17
    Vote Rating
    0
    romanyu is on a distinguished road

      0  

    Default


    Thx! I will have a try.

  4. #4
    Sencha User
    Join Date
    Feb 2012
    Location
    Toronto, Canada
    Posts
    25
    Vote Rating
    1
    burrellramone is on a distinguished road

      0  

    Default Did you resolve your issue?

    Did you resolve your issue?


    Quote Originally Posted by romanyu View Post
    Thx! I will have a try.
    Did you resolve your issue and if so, what version of sencha cmd are you using?
    Thank you

Thread Participants: 2