Discussion Forums  >  Uncategorized

Replies: 15    Views: 196

WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
01/02/12 09:40 AM (14 years ago)

BT-Server - PDF Issue

This was brought up about a month ago without resolution. PDF screens have a very annoying behavior of requiring an ''open with'' button push to see a PDF screen after selection from a list menu. I tried changing some code without success. Any way we can get a procedure to change it back to the 1.4 and 1.5 like behavior?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
01/02/12 09:41 AM (14 years ago)
Since BT2.0 is plugins and BT1.4/1.5 are not, it might be a challenge for them.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/02/12 02:32 PM (14 years ago)
The 'annoying behavior' is intentional, there are lots of reasons for this design. You can decide the benefits or drawbacks ;-) I'll post a link in the How To's sometime this evening with some details about how to avoid it altogher, not tough to do but will take a document to explain / show how to do it.
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/02/12 04:45 PM (14 years ago)
Thanks Dave. Guess I could've left out the ''annoying'' part. More accurately, it is undesirable to my end users. ;-) Thanks for the 1000th time! First BT-Server generated iOS app submitted, waiting for Apple's nod, Android soon to follow after this issue is sorted out.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/03/12 12:35 AM (14 years ago)
Laughing at you. Figured I'de jab ya a bit with the annoying remark. Totally understand, soooo many ways to do this stuff. I'm constantly frustrated because I want to 'do it better' than the last time we engineered it. In other words, there are already dozens of improvements on the existing idea (beyond more plugins, like fundamentally how it works could be improved in so many ways) and it's super tough for us to not just go with the new ideas and leave the old ideas behind. But, because so many of the old ideas are incomplete we need to find the discipline to keep working on the older stuff. Hope this makes sense, just me venting a bit after working some very BORING and old stuff earlier this evening. LOL. So, I created this: http://www.buzztouch.com/resources/intercepting-menu-taps.pdf and posted it in the How To's. Let me know if it's totally confusing or useless and we'll put together something else to make it understandable. I think you can get it with this. Cheers.
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/04/12 04:21 PM (14 years ago)
Get the following 16 errors after pasting the code: Description Resource Path Location Type readable cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 428 Java Problem PackageManager cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 468 Java Problem ApplicationInfo cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 469 Java Problem File cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 470 Java Problem File cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 470 Java Problem Intent cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 472 Java Problem Intent cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 472 Java Problem Intent cannot be resolved to a variable BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 473 Java Problem Uri cannot be resolved BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 474 Java Problem Uri cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 474 Java Problem Intent cannot be resolved to a variable BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 476 Java Problem Intent cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 487 Java Problem Intent cannot be resolved to a type BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 487 Java Problem Intent cannot be resolved to a variable BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 487 Java Problem Uri cannot be resolved BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 487 Java Problem Intent cannot be resolved to a variable BT_screen_menuListSimple.java /RCEMSv2.2/src/com/rcemsv2 line 488 Java Problem Tim
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/04/12 04:29 PM (14 years ago)
Disregard, just noticed my 'copy' grabbed an extraneous word...
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/04/12 04:35 PM (14 years ago)
Well.... that got rid of the first error, but not the rest. I think I may be a dumbass for asking this, but... is the file I am pasting the code into the plugin in my server installation, or the screen file in Eclipse in my package? Bet it's the plugin, huh?
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/04/12 04:52 PM (14 years ago)
Tried changing the plugin on the server installation, repackaging, etc. same result. Gotta be something simple I'm missing.
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/06/12 03:20 PM (14 years ago)
Think I got the errors fixed. Not sure how or why exactly but after ''importing'' each type that errored, the errors are all gone, the package builds and runs BUT... The previous behavior of ''Open With'' remains each time a PDF is opened.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
02/24/12 11:33 AM (13 years ago)
Hi @WolfTimJ, did you ever get this figured out? thanks!
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
02/24/12 12:03 PM (13 years ago)
Yes. Dave changed some code for me.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
02/24/12 12:26 PM (13 years ago)
So was it just following the How-To document or was there something else he fixed in your code directly?
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
02/24/12 12:38 PM (13 years ago)
He changed the code of the plugin. Don't know if he changed the code available for download or just mine.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
03/22/12 09:38 PM (13 years ago)
HI @WolfTimJ, would you mind sending me your modified BT_screen_menuListSimple.java file so I can study the change in code David did for you? thanks! [email protected]
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
03/22/12 10:09 PM (13 years ago)
HI @WolfTimJ, would you mind sending me your modified BT_screen_menuListSimple.java file so I can study the change in code David did for you? thanks! [email protected]
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.