Results 1 to 6 of 6
  1.    #1  
    I'm wondering if anyone on the forums could help me debug a simple issue with my (free) app, AudioScape. Its been in the catalog for awhile and working great on the phones. I recently updated it for the TouchPad, but am getting reviews posted saying TouchPad owners are having some problems. I don't currently own a TouchPad, but will soon. But, that might take another week or two. So, could someone with a TouchPad download the app, and do the following for me?

    #1 - Post a screenshot of my app's main screen (might need to be a blurry-cam shot with a phone or digital camera, as I'm not sure if the TouchPad will take a screenshot properly of the app)
    #2 - Post the bits of the log file that mention "com.thing10.audioscape". If you don't know how to access the log file, no worries.

    Many thanks!
  2. #2  
    Quote Originally Posted by SirGnip View Post
    I'm wondering if anyone on the forums could help me debug a simple issue with my (free) app, AudioScape. Its been in the catalog for awhile and working great on the phones. I recently updated it for the TouchPad, but am getting reviews posted saying TouchPad owners are having some problems. I don't currently own a TouchPad, but will soon. But, that might take another week or two. So, could someone with a TouchPad download the app, and do the following for me?

    #1 - Post a screenshot of my app's main screen (might need to be a blurry-cam shot with a phone or digital camera, as I'm not sure if the TouchPad will take a screenshot properly of the app)
    #2 - Post the bits of the log file that mention "com.thing10.audioscape". If you don't know how to access the log file, no worries.

    Many thanks!
    it does work with the default acoustic drums, but as the TP has no forward or back swipe option anymore its impossible to change for the drums.

    Most developers create forward/back buttons in teh top screen of the TouchPad.
  3. #3  
    Well, here's an on-device blurry screenshot, at least. A full-screen cap just came out as noise, so I took this in card view, enlarged and re-capped in Photo Viewer:


    Also, here are the logs from opening the app, tapping each visible pad, and then closing the app:

    [2011-08-16 09:25:24] (jailer[25729]) user.info: Overriding APPDIR with command line: /media/cryptofs/apps/usr/palm/applications/com.thing10.audioscape
    [2011-08-16 09:25:24] (jailer[25729]) user.info: /media/cryptofs/apps/usr/palm/applications/com.thing10.audioscape/jail_app.conf not found
    [2011-08-16 09:25:24] (jailer[25729]) user.info: com.thing10.audioscape entering pdk jail
    [2011-08-16 09:25:24] (jailer[25729]) user.info: Enter jail com.thing10.audioscape
    [2011-08-16 09:25:24] (com.thing10.audioscape) user.info: ========== com.thing10.audioscape startup ==========
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: SDL_Init 0
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: TTF_Init 0
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: PDL_Init 0
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: InitGlobals()
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Hardware Device: 401
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: PDK version: 303
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Dimensions: 320x400 320x480 40
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Generating rects for pads
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Configuring OpenGL
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: SDL_SetVideoMode 45090
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Desired audio settings: 22050 32784 1 0
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Actual audio settings: 22050 32784 1
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: TTF_OpenFont b7760
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: TTF_OpenFont bf638
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading cBankManager using factory bank path: 'banks_official'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Got 12 directcories for path: banks_official
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Acoustic Drums
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Acoustic Drums
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Animals
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Animals
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Body Noises
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Body Noises
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Bongos, Congas
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Bongos, Congas
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Distorted Drums
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Distorted Drums
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Electric Guitar
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Electric Guitar
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Electro Drums 1
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Electro Drums 1
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Electro Drums 2
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Electro Drums 2
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Guitar
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Guitar
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Piano
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Piano
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Sound Effects 1
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Sound Effects 1
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Enumerating files in directory: Sound Effects 2
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents banks_official/Sound Effects 2
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading cBankManager using user bank path: '/media/internal/audioscape'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: GetDirectoryContents /media/internal/audioscape
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Got 0 directcories for path: /media/internal/audioscape
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: LoadChunks()
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading Chunk 0 'banks_official/Acoustic Drums/01_kick_(36).wav'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading Chunk 1 'banks_official/Acoustic Drums/02_snare 1_(38).wav'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading Chunk 2 'banks_official/Acoustic Drums/03_snare 2_(40).wav'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading Chunk 3 'banks_official/Acoustic Drums/04_closed hat_(42).wav'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading Chunk 4 'banks_official/Acoustic Drums/05_open hat_(46).wav'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading Chunk 5 'banks_official/Acoustic Drums/06_cymbal_(51).wav'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading Chunk 6 'banks_official/Acoustic Drums/07_lo tom_(41).wav'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading Chunk 7 'banks_official/Acoustic Drums/08_mid tom_(45).wav'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading Chunk 8 'banks_official/Acoustic Drums/09_hi tom_(48).wav'
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: end of LoadChunks()
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: after LoadChunks()
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: cBankManager initialization complete
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: cBankManager done
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loading images/background.png
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Loaded textures
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: glMatrixMode
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: glOrthof
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: glViewport
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: glClearColor
    [2011-08-16 09:25:25] (com.thing10.audioscape) user.info: Init complete. Main loop starting...
    [2011-08-16 09:25:29] (com.thing10.audioscape) user.info: ------- VIDEO EXPOSE
    [2011-08-16 09:25:43] (com.thing10.audioscape) user.info: ------- VIDEO EXPOSE
    [2011-08-16 09:25:43] (com.thing10.audioscape) user.info: ------- NOT ACTIVE
    [2011-08-16 09:25:44] (com.thing10.audioscape) user.info: ------- NOT ACTIVE
    [2011-08-16 09:25:45] (com.thing10.audioscape) user.info: Application is quitting...
    [2011-08-16 09:25:45] (com.thing10.audioscape) user.info: exiting...
    [2011-08-16 09:25:46] (com.thing10.audioscape) user.info: Deleting textures
    [2011-08-16 09:25:46] (com.thing10.audioscape) user.info: Freeing screen surface
    [2011-08-16 09:25:46] (com.thing10.audioscape) user.info: PDL_Quit
    [2011-08-16 09:25:46] (com.thing10.audioscape) user.info: Mix_CloseAudio()
    [2011-08-16 09:25:46] (com.thing10.audioscape) user.info: SDL_Quit
    [2011-08-16 09:25:46] (com.thing10.audioscape) user.info: -
    [2011-08-16 09:25:46] (com.thing10.audioscape) user.info: -
    [2011-08-16 09:25:46] (com.thing10.audioscape) user.info: -
    [2011-08-16 09:25:46] (com.thing10.audioscape) user.info: Application has completed

    Hope this helps...

    --John
    Last edited by HelloNNNewman; 08/16/2011 at 05:59 PM.
  4.    #4  
    Aha! Just as I suspected... Thanks all! I updated my app a few weeks ago to detect if it was running on the TP and then draw buttons to scroll between sound banks if it was. But, the screenshot (even with it being blurry) shows me that the buttons aren't even being drawn!

    Looking at the logs (thanks *so* much for all the detail, jbennett!) it appears that the TP is reporting to the app that it is a Pre 2 (from log: Hardware Device: 401). So, my app is just drawing itself like it does on the Pre 2 (320x480 with no buttons). So, I think my app is being fooled by the legacy PDK emulation that the TP has that allows it to run old PDK apps. Time to research how to get around this...

    Thanks so much for taking the time to download the app and send feedback along. Invalueable!
  5. #5  
    IANAD (I Am Not A Developer), but from what I've read, I think the way to deal with the "PDK Portability Layer" the way you want is to ignore the reported Hardware Device code, and call SDL_SetVideoMode with (0,0) instead of a specific resolution. This will default to full-screen resolution on each device, and then you can check the width and height of the surface it returns to determine if you're running on a (768x1024) TouchPad, and proceed to modify your UI as you originally intended.

    Also, I learned that the PDK Portability Layer is actually enabled *by* the App Catalog - apparently, it's only used when an app doesn't indicate "native TouchPad support" when it's submitted. So, depending on how you end up coding your app, you might benefit from submitting a TP-specific version to the App Catalog.

    FYI, here's where I found most of this info: https://developer.palm.com/content/r...derations.html

    Hope this helps!

    --John
  6.    #6  
    Thanks for the info, John. That is a good link. I was reading it this afternoon, but I think I missed the "call SDL_SetVideoMode with (0, 0)... and then check the size of the surface" info somehow. Thanks for pointing that out!

    My concern is that the info on that link seems to have two kind of info mixed together "The Portability Layer" and "Tips for Transitioning to the TouchPad". I think the "Transitioning" tips apply if you are coding a TouchPad specific app with SDK v3. I am using v2 of the SDK and want my one app to work on older phones *and* the tablet. The link says it "automatically scales up the app" and other such "automatic" things. I don't know if that means the surface returned will look like 320x480 to the app and then after the app renders to that surface, the Portability layer scales it up to 1024x768. I posted a detailed question in the developer forum We'll see what I discover. Maybe I'll end up getting a TouchPad in enough time to experiment with it myself.

    Thanks again for the response!

Tags for this Thread

Posting Permissions