Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Like Tree32Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 11-01-2011, 09:14 AM
CrackBerry Master
Device(s): 9700/PlayBook
 
Location: Toronto, ON
Join Date: Jun 2011
Posts: 1,442
Likes Received: 727
Thanked 335 Times in 229 Posts
Default Developer blues... Why bother?

This normally optimistic developer was feeling a little down this morning and found myself muttering the question "Why bother?". After thinking about it a bit, I feel a little better now. But like many of you, I am still a discouraged by PB's deficiencies and delays in getting them resolved. I have been working hard on some improvements to my app but it's getting hard to justify my efforts with an elephant named Magnetometer in the room.

Without access to the compass, I can't work on the enhancements that matter the most. This means that I can't deliver what I promised to my customers - and that bothers me a lot. I am itching to get started implementing Augmented Reality features and I am asking for some assistance from some of the many Android Gurus lurking in these precincts.

Below is a request that I posted in the official RIM developers' forums. I have cross-posted it here in the hope that someone can help with fast-tracking my app's "point-and-view" capability.

---------------------------------------
Magnetometer workaround for AIR app

Android developer's are fortunate in that the PB's magnetometer is available and working in the player. Unfortunately my native AIR app won't have access until NDK 2.0 is released and some kind C++ developer provides an ANE. Meanwhile I am exploring possible ways to fast-track testing features that require access to the compass. The augmented reality features that I want to add to my astronomy app are quite complex and I am looking for a way to get a head start on development. I think that a temporary work-around would be useful for other AIR developers who are wanting to include AR features in their apps but are being held up by SDK limitations..

Woiuld it be possiblee to build an Android daemon app to provide manetometer readings via a socket connection?Could a native AIR app communicate with such a service running in the Android player? Does such an app already exist and if so, how can I get my hands on it?
__________________
Show off PlayBook's magnetometer! Just point and see What's up.
Visit What's up Sky Map on Facebook.
Reply With Quote Tip this Post
  #2  
Old 11-01-2011, 09:23 AM
CrackBerry Genius of Geniuses
Device(s): Bold 9650 + 16GB PlayBook
Carrier: VZW
Pin: Please don't ask
 
Location: Southwest Florida
Join Date: Jun 2008
Posts: 12,479
Likes Received: 1266
Thanked 412 Times in 296 Posts
Default

I hope that you hang in there and keep developing for BlackBerry. The PlayBook can only get better from where it is.

BBX is coming next too.
__________________
8330>9630>Thunderbolt>9650
Feedback for Chrisy520 - A+++
Reply With Quote Tip this Post
Liked by blackjack93117 likes this.
    Thread Author   #3  
Old 11-01-2011, 09:40 AM
CrackBerry Master
Device(s): 9700/PlayBook
 
Location: Toronto, ON
Join Date: Jun 2011
Posts: 1,442
Likes Received: 727
Thanked 335 Times in 229 Posts
Default

Quote:
Originally Posted by chrisy520 View Post
I hope that you hang in there and keep developing for BlackBerry. The PlayBook can only get better from where it is.

BBX is coming next too.
I'm just looking for ways to speed up the development process so that I can keep my promises. I like to work on the important things first and I was felling frustrated. I didn't mean to give the impression that I was thinking of quitting. No way!

PlayBook does indeed have a bright future.

On the other hand, sales of my app are very poor and there has not been a new review since DevCon. I will be submitting an update with significant enhancements shortly but it won't include the "big one" that everyone has been requesting. I am worried about the reception that it will receive.
__________________
Show off PlayBook's magnetometer! Just point and see What's up.
Visit What's up Sky Map on Facebook.
Reply With Quote Tip this Post
  #4  
Old 11-01-2011, 09:45 AM
CrackBerry Addict
Device(s): PlayBook & Torch
Carrier: Rogers
 
Join Date: May 2009
Posts: 806
Likes Received: 344
Thanked 343 Times in 154 Posts
Default

Just remember Half of developing is the adventure! It wouldn't be any fun if it was too easy for us!
Reply With Quote Tip this Post
  #5  
Old 11-01-2011, 09:57 AM
CrackBerry Genius
Device(s): 9930 + 9850 (Torch2) + PlayBook 64
Carrier: I don't even know her?!?
 
Location: 322oh8
Join Date: Nov 2009
Posts: 2,337
Likes Received: 363
Thanked 441 Times in 160 Posts
Default Developer blues... Why bother?

Quote:
Originally Posted by BuzzStarField View Post



On the other hand, sales of my app are very poor and there has not been a new review since DevCon. I will be submitting an update with significant enhancements shortly but it won't include the "big one" that everyone has been requesting. I am worried about the reception that it will receive.

Buzz.

I've had your app since it came out. Good job.

But as far as waiting on that one big update ... If this 2.0 debacle has showed us anything is that small incremental updates that fix small things and open new features and options is FAR better than holding out until its all done.



Sent from my BlackBerry 9850 using Tapatalk
__________________
Discontent is the first necessity of progress --Thomas A. Edison
drkapprentice @drkapprentice
Reply With Quote Tip this Post
Liked by F2 likes this.
Thanked by BuzzStarField (11-01-2011)
    Thread Author   #6  
Old 11-01-2011, 09:58 AM
CrackBerry Master
Device(s): 9700/PlayBook
 
Location: Toronto, ON
Join Date: Jun 2011
Posts: 1,442
Likes Received: 727
Thanked 335 Times in 229 Posts
Default

Quote:
Originally Posted by KermEd View Post
Just remember Half of developing is the adventure! It wouldn't be any fun if it was too easy for us!
You're absolutely right of course. I don't think I would be happy without some challenges. The operative word here is "some". It should be noted that RIM could never, ever be accused of being too easy on BB developers. On the other hand, I heard a lot of great news at DevCon and things WILL get better.

Any comments on my proposal for a fast-track - is this possible?
__________________
Show off PlayBook's magnetometer! Just point and see What's up.
Visit What's up Sky Map on Facebook.
Reply With Quote Tip this Post
  #7  
Old 11-01-2011, 10:32 AM
CrackBerry Abuser
Device(s): Torch2 9810 / Playbook 32
Carrier: Bell Canada
 
Join Date: Aug 2007
Posts: 277
Likes Received: 132
Thanked 78 Times in 45 Posts
Default

I have your app as well, and it is great. Just used it last night as we took a small bench break while trick-n-treating. I think that we, the customers, understand that the delay of your major features /upgrades are there due to you waiting for updates from RIM.

I build a lot of system tools and work-flow databases etc and the advise that I can provide is wait and do it correctly. Your question above seems to be a round-about way to get the job done, not necessarily the correct or proper method. I often find that although round-about methods get the job done, they can also cause more issues then the wait would have. I am simply thinking about those on 2.0 beta vs those not. Will this cause a divide in your customer base of have and have-nots? With all of the issues that people have on a daily basis with 2.0 would you not want to wait for a solid system release to customers in Feb.

I think your hands are tied, and yes this is frustrating but some inter-mental updates and clear communication on your intend to upgrade on the release of tools and system upgrades is a good going forward strategy.

Again, you have made a great app, that is very enjoyable and useful in it present state, please hold tight and keep the app awesome.
Reply With Quote Tip this Post
Liked by kbz1960 and peter9477 like this.
Thanked by BuzzStarField (11-01-2011)
    Thread Author   #8  
Old 11-01-2011, 10:57 AM
CrackBerry Master
Device(s): 9700/PlayBook
 
Location: Toronto, ON
Join Date: Jun 2011
Posts: 1,442
Likes Received: 727
Thanked 335 Times in 229 Posts
Default

@pinkert11, thanks for your good advice. Too many devs try to overcome SDK deficiencies by implementing kludges and workarounds in the final product. I'm just looking for a temporary means to get compass readings in order to test my AR code. The app would not be released to App World until there is actual APIs available.

BTW, GPS can give readings for compass heading, but because the device has to be in motion, this method is not appropriate for my app and is also useless for testing. The temporary work-around that I mentioned would give readings from the PBs magnetometer chip and would allow me to test my app's AR functions.
__________________
Show off PlayBook's magnetometer! Just point and see What's up.
Visit What's up Sky Map on Facebook.
Reply With Quote Tip this Post
  #9  
Old 11-01-2011, 11:05 AM
CrackBerry User
Device(s): HTC Thunderbolt & PlayBook 16GB
Carrier: Verizon
 
Location: Richmond, VA
Join Date: Jan 2010
Posts: 75
Likes Received: 8
Thanked 4 Times in 3 Posts
Default

Keep up the good work Buzz! We understand your frustrations.
Reply With Quote Tip this Post
Liked by kbz1960 likes this.
Thanked by BuzzStarField (11-01-2011)
  #10  
Old 11-01-2011, 11:28 AM
CrackBerry Abuser
Device(s): 7250-8310-9700-9900/Playbook
Carrier: Telcel
 
Location: México
Join Date: Oct 2007
Posts: 407
Likes Received: 53
Thanked 45 Times in 37 Posts
Default

Hi BuzzStarField, when you get access to the magnetometer will your app be something like Star Walk for the ipad?
Reply With Quote Tip this Post
    Thread Author   #11  
Old 11-01-2011, 11:48 AM
CrackBerry Master
Device(s): 9700/PlayBook
 
Location: Toronto, ON
Join Date: Jun 2011
Posts: 1,442
Likes Received: 727
Thanked 335 Times in 229 Posts
Default

Quote:
Originally Posted by PanaSama View Post
Hi BuzzStarField, when you get access to the magnetometer will your app be something like Star Walk for the ipad?
You'll be able to point your PB at any point in the sky and see a fully annotated representation of that part of the sky on the device's screen. Searches will also be guided by the accelerometer and the magnetometer. Say you want to find where Jupiter is - you'll just have to point the device at the sky. An on-screen pointer will indicate which way you need to move the device in order put Jupiter in the cross hairs.

The following note may hurt my sales but so what: For the next few weeks you do not need any kind of app to help you find Jupiter. You can't miss it in the sky these days, even under bright city lights it's just so bright and beautiful!
__________________
Show off PlayBook's magnetometer! Just point and see What's up.
Visit What's up Sky Map on Facebook.
Reply With Quote Tip this Post
Liked by PanaSama, KermEd and mithrazor like this.
Thanked by PanaSama (11-01-2011)
  #12  
Old 11-01-2011, 12:48 PM
CrackBerry Master
Device(s): 9900
Carrier: T-Mobile
 
Join Date: Apr 2008
Posts: 1,121
Likes Received: 319
Thanked 588 Times in 209 Posts
Default

Buzz, I'm probably not exactly the person you want to hear back from but I do have good news on your idea, it's very possible!

Here's just an example that shows you can pass data between the AP and applications running natively on the PB, take a look at the attached screenshot. On the left you see Android Player running "Remote Web Desktop" in the Android player, and on the right you can see my simple browser app open to "http://127.0.0.1:8999". Here's an installable BAR file for OS 2.0's AP if you would like to test or look into this more: Remote_Web_Desktop_v5.6.0.bar

Soooo, you need an Android daemon running on the PB that basically just streams GPS info over HTTP/whatever to 127.0.0.1 only. Not too bad from a programming stance, but I'm not sure how familiar you are with the Android SDK.

Hope this helps!
Attached Images
File Type: jpg IMG_00000102.jpg (40.9 KB, 39 views)
Reply With Quote Tip this Post
    Thread Author   #13  
Old 11-01-2011, 01:25 PM
CrackBerry Master
Device(s): 9700/PlayBook
 
Location: Toronto, ON
Join Date: Jun 2011
Posts: 1,442
Likes Received: 727
Thanked 335 Times in 229 Posts
Default

Quote:
Originally Posted by HaTaX View Post
Buzz, I'm probably not exactly the person you want to hear back from but I do have good news on your idea, it's very possible!

Here's just an example that shows you can pass data between the AP and applications running natively on the PB, take a look at the attached screenshot. On the left you see Android Player running "Remote Web Desktop" in the Android player, and on the right you can see my simple browser app open to "http://127.0.0.1:8999". Here's an installable BAR file for OS 2.0's AP if you would like to test or look into this more: Remote_Web_Desktop_v5.6.0.bar

Soooo, you need an Android daemon running on the PB that basically just streams GPS info over HTTP/whatever to 127.0.0.1 only. Not too bad from a programming stance, but I'm not sure how familiar you are with the Android SDK.

Hope this helps!
Thanks HaTaX. It's very nice to hear from you - we have our differences but we both want good things to happen wrt the PlayBook. I am not at all familiar with the Android SDK so I would appreciate any help I can get. What I need is a simple daemon that listens for magnetometer events and updates local variables. My app would run a timer loop that makes periodic requests for current data - the daemon would pass a formatted string to my app. Doesn't have to be fancy or particularly robust - I just need something that's reasonably reliable for testing. I understand that Android AIR apps need a similar daemon for this same purpose. If so, that would probably be a good place to start.

I don't have any information about what data a magnetometer provides beyond a simple value for heading. NDK docs are not yet available for the PB. I would need to know which direction the device is pointed regardless of its angle/orientation in 3 dimensions. I definitely need a better understanding of how the sensor works before designing my implementation. Can you point me to an online link for Android documentation regarding usage of the compass in real AR situations?

Thanks fagain or responding. If you can point me in the right direction, it would be greatly appreciated.
__________________
Show off PlayBook's magnetometer! Just point and see What's up.
Visit What's up Sky Map on Facebook.
Reply With Quote Tip this Post
  #14  
Old 11-01-2011, 01:30 PM
CrackBerry Abuser
Device(s): 7250-8310-9700-9900/Playbook
Carrier: Telcel
 
Location: México
Join Date: Oct 2007
Posts: 407
Likes Received: 53
Thanked 45 Times in 37 Posts
Default

Quote:
Originally Posted by BuzzStarField View Post
You'll be able to point your PB at any point in the sky and see a fully annotated representation of that part of the sky on the device's screen. Searches will also be guided by the accelerometer and the magnetometer. Say you want to find where Jupiter is - you'll just have to point the device at the sky. An on-screen pointer will indicate which way you need to move the device in order put Jupiter in the cross hairs.

The following note may hurt my sales but so what: For the next few weeks you do not need any kind of app to help you find Jupiter. You can't miss it in the sky these days, even under bright city lights it's just so bright and beautiful!
Thanks BuzzStarField i've just bought your app, i look forward to the updates and i hope RIM gives solution to your magnetometer problem soon.
Reply With Quote Tip this Post
Thanked by BuzzStarField (11-01-2011)
  #15  
Old 11-01-2011, 04:31 PM
CrackBerry Abuser
Device(s): Torch 9800 / PlayBook
Carrier: AT&T/Cingular
 
Join Date: Apr 2009
Posts: 157
Likes Received: 13
Thanked 12 Times in 12 Posts
Default

Quote:
Originally Posted by BuzzStarField View Post
But like many of you, I am still a discouraged by PB's deficiencies and delays in getting them resolved. I have been working hard on some improvements to my app but it's getting hard to justify my efforts with an elephant named Magnetometer in the room.

Without access to the compass, I can't work on the enhancements that matter the most. This means that I can't deliver what I promised to my customers - and that bothers me a lot.
I also got your app from a while ago and enjoying it at night from time to time. Did you try emailing/twitting Alec Saunders?
He seems to be very open, and tt least may be able to give you some direction or hope on when the magnetometer be exposed for AIR apps.
Wolf.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   Developer blues... Why bother?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes