blu trumpet has got off screen in iOS 5.1

You must Login before you can answer or comment on any questions.

The AppWallView has got off screen to the top-left of the window and only one-fourth part of it can be seen, in iOS 5.1. Though it was perfectly visible in older version for iPhone.

Is there any newer version of blu trumpet for iOS 5.1 ?

— asked 10 months ago by nitin soni
0 Comments

3 Answers

Accepted Answer

Hi Nitin,

My name is Ian and I'm a developer at Blu Trumpet. Hopefully I can help you.

Nitin, please try the following code:

var appWall = bluTrumpet.createAppWallView({
    hasHeader: true,
    top: 0,
    left: 0,
    width: "100%",
    height: "100%"
});
This is what we have in the documentation, so please try that and reply back here. I'll be checking back.

Or you can contact me directly at ian@blutrumpet.com

— answered 10 months ago by Ian Ha
answer permalink
4 Comments
  • Thanks Ian, using this code I can now see appWallView in its proper place. problem is solved for iOS iPhone and iPad both, but for android it asks for module's new version which has 'apiversion' value 2 or greater in its manifest file. see my new question here link.

    Thanks for this solution.

    — commented 10 months ago by nitin soni

  • sorry, here is the link http://developer.appcelerator.com/question/140875/android-emulator-modules-and-titanium-sdk-201

    — commented 10 months ago by nitin soni

  • Hi Nitin, Happy to hear it's working for iOS.

    As for Android, can you forward me the log for this error? We set a minimum SDK requirement of 1.7.5 so it should work with 2.0. That would be helpful.

    — commented 10 months ago by Ian Ha

  • Show 1 more comment

Hello Nitin,

I am Karthik Ramakrishnan, and CTO at Blu Trumpet. Thank you for reaching out to us. We have not encountered any issues with iOS 5.1 with our current version of the SDK, particularly related to UI views.

We need more details on your specific integration. It would be great if you could reach out to us at support.at.blutrumpet.com and our team will get this resolved for you quickly.

Thanks Karthik

— answered 10 months ago by Karthik Ramakrishnan
answer permalink
2 Comments
  • Hi Karthik, Thanks for reply, here is the bit of code

    var btModule = require('com.blutrumpet');
    if(is_android) {
        btModule.initialize("key");
        // Create the view
        var view = btModule.getAppWall({
            top : homeButtonSize,
            left : 0,
            width : '100%',
            bottom : 0
        });
    } else {
        // Initialize the Blu Trumpet SDK
        btModule.initializeWithAppId("key");
     
        // Create the view
        var view = btModule.createAppWallView({}); // here is the problem.
     
    }
    // Add the wall
    winWeb.add(view);
    I had aslo tried,

    var view1 = btModule.createAppWallView({left : 0, height : 480, width : 320, bottom: 0});

    but then, createAppWallView() returns nothing, and I see a blank screen.

    I am using 1.0.3 version of blu trumpet, 2.0.1 of titanium sdk, moreover, it let not start execute app on android emulator, it asks for a version with apiversion value 2 or greater in it, while running it on android emulator !!!

    — commented 10 months ago by nitin soni

  • +1 for quick, direct developer response

    — commented 10 months ago by Stephen Feather

Since Blu Trumpet is NOT an Appcelerator produced module, you might want to ask the developer, namely Blu Trumpet about it.

— answered 10 months ago by Stephen Feather
answer permalink
1 Comment
  • Thanks for quick reply Stephen, can you please shed some light, 2.0.1 titanium sdk needs all the third party modules with apiversion 2+ for android version of that module. on researching for it I found some of the lines in the older modules need to be replaced like getContext with getActivity, finally I reach to this guide on searching, but ant command fails with an error build.xml not found.

    — commented 10 months ago by nitin soni

Your Answer

Think you can help? Login to answer this question!