stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
01/06/14 10:33 PM (11 years ago)

BT core for Android 3 problems

So I recompiled my old app using the BT core for Android 3. This solved a lot of my problems like htm files opening to a black screen. But I've noticed new problems with htm files. First, when I click on a screen that supposed to open an htm file, I get a screen with Open Document on it and then have to click that to open the htm file. This extra step I don't want. Also, the htm file now doesn't seem to follow the css file I've attached it to, though the css file is in Bt docs where it's supposed to be. For example, I have text-decoration as underline, but no underlines now - they worked in the past. Png's linked in the htm files no longer work. In the simulator, the pictures are seen, but on the device they are not. They are in the res-drawable folder and for good measure I've also put them in the BT Docs folder, yet they still come up as placeholders on the device. Finally, background color, given in the theme area, does not show up. If I put the color in the particular screen, it does show up on the screen that says Open Document, but once the document opens, the color is gone. In the past, the document had the background color. Any ideas about these issues? I should mention, I've changed the htm files to html and am using the simple html 5 setup as shown in the included in the sample html file that came over with the compilation. Thanks. Steve
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/07/14 02:51 AM (11 years ago)
I had the exact same thing, and it seems a few of us are in the same boat. I ended up buying the html pro plugin. http://www.buzztouch.com/forum/thread.php?tid=A8C7597D6C8B158B37DEA6D&sortColumn=FT.id&sortUpDown=DESC&currentPage=2
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
01/07/14 03:25 AM (11 years ago)
Good stuff to know.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
01/07/14 06:18 AM (11 years ago)
Will the plug in solve the problem of the imbedded png's not showing up in the html files? Also, will this mean I have to go back and redo all the screens (I have about 100! of them) to change them from html to html pro since there is no way, I think, to edit what a screen points to without deleting it and then putting it back in with the correct reference? Steve
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/07/14 09:10 AM (11 years ago)
For me, in my scenario, the html pro plugin worked the way the old html plugin used to work before BT 3.0, giving me the same result. Of course, it will also do a lot more besides. And of course, you need to change all your screens to use it - 100 is a lot! It is apparently one of the fixes on the list, but it may not be near the top. It was discussed here http://www.buzztouch.com/forum/thread.php?tid=A4A8028CBD94ED3F9249414&command=isSearching&currentPage=1&topicTitle=html%20doc&createdBy=&repliedBy=&minViews=-1&maxViews=-1&minReplies=-1&maxReplies=-1&forumCategory=
 
Theien
Aspiring developer
Profile
Posts: 33
Reg: Dec 31, 2012
Colorado Spring...
9,780
like
01/07/14 03:44 PM (11 years ago)
For embedded images (or css) not working, use this for your reference instead: <img src="file:///android_asset/BT_Docs/image.png">
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
01/11/14 01:00 PM (11 years ago)
As i had the same problem (solved it with using Html pro plugin) in plugins informations has this : Launch in Native Browser: If you turn this option on in the advanced settings you must use the URL option, local files cannot load in the device's native browser. Android: Most native browsers on Android cannot display documents of this type and will download the document to the users device instead. but never manage to find an advance menu with this option..
 

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.