1. martyroid's Avatar
    Dear BB Developers,
    I am trying to develope an application and i can call myself as a total newbie. (i am familiar with PHP only)
    Application purpose is that notifying my server via HTTP when my BB receive a call. (its working over Wi-Fi)
    Actually, app is working fine. HTTP is working too! I am using it since 5-6 months.
    But there some issues with it.
    I am looking for any help to resolve this issues.

    Device: Blackberry 9700 and 9000
    Enviroment: Eclipse Blackberry 6.0

    - Application closes by itself after some time, its working for 2 days or 3 days.
    - Application doesn't have any GUI, so i have to check my "running apps" from Application Manager, also it doesnt have any icon on "active applications"
    - I've coded this by using free libraries and codes from various sources. Barely working but its working! :smileyhappy:

    My questions are
    - How can i fix the whole issue? Why application is crashes?
    - Is that possible to run my application on startup? (soft reset or battery off reset)

    My code is at https://www.sendspace.com/file/1wh7kd

    Thank you all!
    06-23-14 05:22 PM
  2. LoganSix's Avatar
    You built a headless app for your first app?

    I would get the app UpFront and talk to the developer on how to connect your app to it. Then you can see it's activity how you like.

    But, unless you hook your phone to the debugger, you'll never know the error you are getting.

    Posted from my Z30 using CB10


    Never mind, just saw that you are using the old OS. You probably have duplicate threads that are crashing. Make sure you hook it up to the debugger and try to catch the error.
    06-24-14 08:08 AM
  3. martyroid's Avatar
    Hello LoganSix,

    How can i use a debugger to catch this error?
    Should i use Eclipse in debug mode or something?

    Thank you so much.
    06-24-14 02:46 PM
  4. LoganSix's Avatar
    Yes, you can run debug if the build version on your phone is the same as the code that you are debugging.

    It has been a little while since I've done it with OS 7, but I also put debug outputs in places that I might think there would be an issue.


    Posted from my Z30 using CB10
    06-25-14 07:43 AM
  5. martyroid's Avatar
    Hello Logan,

    I've tried to debug but it's almost impossible to catch error!
    Do you know anything about "GlobalEventListener"?
    I did some research and everyone recommend to use PhoneListener with GlobalEventListener.
    May you help me on this, please?
    Thank you so much!
    06-25-14 02:02 PM
  6. LoganSix's Avatar
    Not sure if I can.
    I don't think I have any code from my old BBOS program to check against yours. And I don't have the old eclipse setup either.

    You might want to consider adding a front end to your app just for debugging. I had an area setup in my app to check the push listener, which was running all the time in the background.

    Posted from my Z30 using CB10
    06-26-14 07:26 AM

Similar Threads

  1. What are first 3 apps you download after buying new phone?
    By antoscimento in forum General BlackBerry News, Discussion & Rumors
    Replies: 59
    Last Post: 07-22-14, 06:18 PM
  2. Remember App
    By CrackBerry Question in forum Ask a Question
    Replies: 2
    Last Post: 06-24-14, 10:51 AM
  3. Goal 2014 - a World Cup app for fixtures, fun facts and more
    By CrackBerry News in forum CrackBerry.com News Discussion & Contests
    Replies: 0
    Last Post: 06-23-14, 04:30 PM
  4. Data Recovery after Virus Attack on BB9900
    By CrackBerry Question in forum Ask a Question
    Replies: 1
    Last Post: 06-23-14, 03:09 PM
LINK TO POST COPIED TO CLIPBOARD