Discussion Forums  >  Images, Documents, File Locations

Replies: 16    Views: 128

Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
11/27/13 12:36 AM (10 years ago)

BTv3 cant open local Html files

Hi i have a problem with BTv3 the application cant open the locally saved files .. i have a Html Doc screen where i place the file that want to dipslay (html page) The file is stored in assetes/BT_Docs/ in the BTv2 i was placing in the Html_doc screen properties where it says ''Document Location - File Name in Project'' the name of the file i was intend to place in BT_Docs and was displayed in my application without a problem.. in BTv3 is the same? or have to place in ''Document Location - File Name in Project '' an other root? /BT_Docs/My_html_page.doc (Android application)
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
11/27/13 01:08 PM (10 years ago)
I don't have experience with Android. I have seen the Android experts give this advice on filenames: "use only lowercase alphanumeric characters". But since it used to work for you on BT v2, the file is in the wrong location. Hopefully, somebody else can answer your question. -- Niraj
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
11/28/13 06:06 PM (10 years ago)
Hi here again about the problem (bug) with BTv3 and Android apps.. i will place and some screenShots in order to see what is the problem ------------------------------------------------------------------------ Lets say that i make one simple app with a ''Menu Simple'' screen that has one button to open a ''Html doc'' screen and the ''html doc'' screen has to open an html file saved localy in phone so i am going and place the name of my html file here : http://i30.photobucket.com/albums/c316/caslor_1978/diafora/buzz1_zps795c8e5e.jpg lets say that we save our project in BTv3 and open it in Eclipse i am placing (before i open the project in eclipse) the html file in BT_Docs here is the screenshot : http://i30.photobucket.com/albums/c316/caslor_1978/diafora/buzz2_zpsd45ac879.jpg and after all the other things we have to do in order to compile our aplication.. i debug it in my phone the application starts.. and i am pressing the button to open the html_doc screen and i am getting this : http://i30.photobucket.com/albums/c316/caslor_1978/diafora/2013-11-29-02-42-05_zps3ee27196.jpg Now if i press the the 'html icon' or the button that says on top ''open document'' opens this window : http://i30.photobucket.com/albums/c316/caslor_1978/diafora/2013-11-29-02-42-24_zps4aa143f6.jpg and if i press to open it with html editor it opens the html file but without the image that had inside if i press the phones return button then the app crashes.. Notice that if i save the same application in BTv2 it works fine and opens the html_Doc screen without problem.. Any solution ?? As i want to move in BTv3 for the map option.. that BTv2 cant support with Google Api key v2
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
11/30/13 02:14 PM (10 years ago)
Hi @Casior, First thing that jumps out at me is name and convert all images for Android to png. Eclipse doesn't like any other format for some reason. First question, this might seem silly, but did you include the html plugin in your control panel when you downloaded the bt package? LA
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
12/01/13 02:41 AM (10 years ago)
Hi My pictures are all in png the name of the files are all lowercase alphanumeric characters i will check about the html plugin but i think that from the moment that i have html docs as screen that the BT does it automatically but i will download again the project to check it for sure
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
12/01/13 03:22 AM (10 years ago)
ok i check it... it was marked... but included and all the others just in case.. I Have the same problem :( it opens only custom html/text screen loads normaly html docs and map are not :(
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
12/01/13 07:57 AM (10 years ago)
If you are using the emulator, you might need an HTML viewer or some sort to open that particular file. It looks like it does not know how to open it. You using HTML with a map on it? LA
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
12/01/13 09:16 AM (10 years ago)
Hi no i dont use the emulator... just the phone. and from eclipse and as a normal .apk (installation file for android) tha html doc dont have any map inside.. they are simple html files with text and pictures...
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
12/01/13 09:52 AM (10 years ago)
Ok we can try 2 things here. Don't export has an apk so just use your device as an emulator. What HTML page you trying to use? You can email to me on here if you don't want to post in the forums. Also we can do a team viewer session and post back here the solution. LA
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
12/01/13 09:56 AM (10 years ago)
it is not an external web link (html) it is a html file that i save localy in BT_Docs and i place the name in the Htmls doc screen properties.. if you like i can send you the file with send space but as i file has nothing special.. the BTv2 always opened it
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
12/01/13 09:58 AM (10 years ago)
Ok message me in here and we can get it figured out. Then you can post the solutions on here to assist others in the future. LA
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
12/01/13 09:59 AM (10 years ago)
ok :) so there is no the file destination problem ... and in Btv3 has the same root as the Btv2 right ?
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/01/13 10:12 AM (10 years ago)
You two go have fun working together across international waters. Let us know the final solution after it is all resolved. May want to load up JoinMe, TeamViewer or ScreenHero in advance so that LA can help you by watching your computer screen. The first two also have iPad apps for watching someone's screen.
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
12/01/13 10:45 AM (10 years ago)
ok here is the log file after i used my Android device to run the app from eclipse.. as a virtual device it is the log file from the press button in my tab menu that goes me to a simple menu page and then i press the button to open the Html doc that has the root for the html file in my BT_Docs folder the tab button is called ''τεχνικα'' (menu list simple) the button in menu list is called ''Βασικά μέρη Ιστιοπλοϊκού'' (BT_screen_htmlDoc) 12-01 19:33:39.174: W/ZZ(28756): BT_activity_host:onTabSelected Tab Index: 1 12-01 19:33:39.174: W/ZZ(28756): BT_application:getScreenDataByItemId itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.174: W/ZZ(28756): BT_activity_host:initPluginWithScreenData. Calling helper method in BT_application 12-01 19:33:39.174: W/ZZ(28756): BT_application:initPluginWithScreenData. Creating plugin with JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.174: W/ZZ(28756): BT_screen_menuListSimple:setScreenData JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.174: W/ZZ(28756): BT_activity_host:showFragmentForPlugin. Showing plugin with JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.184: W/ZZ(28756): BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 12-01 19:33:39.194: W/ZZ(28756): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.194: W/ZZ(28756): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.214: W/ZZ(28756): BT_screen_menuButtons:onPause JSON itemId: "4E822D3FF2690BEBD729939" itemType: "BT_screen_menuButtons" itemNickname: "Διαφορα" 12-01 19:33:39.214: W/ZZ(28756): BT_screen_menuButtons:onStop JSON itemId: "4E822D3FF2690BEBD729939" itemType: "BT_screen_menuButtons" itemNickname: "Διαφορα" 12-01 19:33:39.224: W/ZZ(28756): BT_screen_menuButtons:onDestroy JSON itemId: "4E822D3FF2690BEBD729939" itemType: "BT_screen_menuButtons" itemNickname: "Διαφορα" 12-01 19:33:39.224: W/ZZ(28756): BT_screen_menuListSimple:onAttach JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.224: W/ZZ(28756): BT_screen_menuListSimple:onCreateOptionsMenu JSON itemId: "94BACAEB97D9A27609E1EB4" 12-01 19:33:39.234: W/ZZ(28756): BT_screen_menuListSimple:onCreateOptionsMenu JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.234: W/ZZ(28756): BT_screen_menuListSimple:onCreate JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.234: W/ZZ(28756): BT_screen_menuListSimple:onCreateView JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.234: W/ZZ(28756): BT_fileManager:deleteFile 94BACAEB97D9A27609E1EB4_screenData.txt 12-01 19:33:39.234: W/ZZ(28756): BT_screen_menuListSimple:onActivityCreated JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.234: W/ZZ(28756): BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 12-01 19:33:39.244: W/ZZ(28756): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.244: W/ZZ(28756): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.244: W/ZZ(28756): BT_screen_menuListSimple:onActivityCreated Screen Id: "94BACAEB97D9A27609E1EB4" 12-01 19:33:39.244: W/ZZ(28756): BT_screen_menuListSimple:onStart 12-01 19:33:39.244: W/ZZ(28756): BT_screen_menuListSimple:onStart JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.244: W/ZZ(28756): BT_screen_menuListSimple:onStart using data from app's configuration file 12-01 19:33:39.244: W/ZZ(28756): BT_screen_menuListSimple:parseScreenData 12-01 19:33:39.244: W/ZZ(28756): BT_screen_menuListSimple:onResume JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:39.244: W/ZZ(28756): BT_screen_menuListSimple:onResume 12-01 19:33:39.244: W/ZZ(28756): BT_screen_menuListSimple:onCreateOptionsMenu JSON itemId: "94BACAEB97D9A27609E1EB4" 12-01 19:33:39.244: W/ZZ(28756): BT_screen_menuListSimple:onCreateOptionsMenu JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:43.334: W/ZZ(28756): BT_screen_menuListSimple:handleItemTap loads screen with itemId: "662891D5282002B409496AC" 12-01 19:33:43.334: W/ZZ(28756): BT_application:getScreenDataByItemId itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.334: W/ZZ(28756): BT_screen_menuListSimple:loadScreenObject. Loading screen with JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.334: W/ZZ(28756): BT_activity_host:initPluginWithScreenData. Calling helper method in BT_application 12-01 19:33:43.334: W/ZZ(28756): BT_application:initPluginWithScreenData. Creating plugin with JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.334: W/ZZ(28756): BT_screen_htmlDoc:setScreenData JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.334: W/ZZ(28756): BT_activity_host:showFragmentForPlugin. Showing plugin with JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.334: W/ZZ(28756): BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 12-01 19:33:43.344: W/ZZ(28756): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.344: W/ZZ(28756): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.364: W/ZZ(28756): BT_screen_menuListSimple:onPause JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:43.364: W/ZZ(28756): BT_screen_menuListSimple:onStop JSON itemId: "94BACAEB97D9A27609E1EB4" itemType: "BT_screen_menuListSimple" itemNickname: "Τεχνικα" 12-01 19:33:43.364: W/ZZ(28756): BT_screen_htmlDoc:onAttach JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.364: W/ZZ(28756): BT_screen_htmlDoc:onCreateOptionsMenu JSON itemId: "662891D5282002B409496AC" 12-01 19:33:43.364: W/ZZ(28756): BT_screen_htmlDoc:onCreateOptionsMenu JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.364: W/ZZ(28756): BT_screen_htmlDoc:onCreate JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.364: W/ZZ(28756): BT_screen_htmlDoc:onCreateView JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.564: W/ZZ(28756): BT_fileManager:copyAssetToCache: meri.html 12-01 19:33:43.564: W/ZZ(28756): BT_screen_htmlDoc:onActivityCreated JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.564: W/ZZ(28756): BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 12-01 19:33:43.564: W/ZZ(28756): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.564: W/ZZ(28756): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.564: W/ZZ(28756): BT_screen_htmlDoc:onStart JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.564: W/ZZ(28756): BT_screen_htmlDoc:onResume JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού" 12-01 19:33:43.564: W/ZZ(28756): BT_screen_htmlDoc:onCreateOptionsMenu JSON itemId: "662891D5282002B409496AC" 12-01 19:33:43.564: W/ZZ(28756): BT_screen_htmlDoc:onCreateOptionsMenu JSON itemId: "662891D5282002B409496AC" itemType: "BT_screen_htmlDoc" itemNickname: "Βασικά μέρη Ιστιοπλοϊκού"
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/01/13 11:01 AM (10 years ago)
Get help from LA in private. Message him from his profile page. Look on left menu. He is waiting for you. :-) https://www.buzztouch.com/LA
 
pdog
buzztouch Evangelist
Profile
Posts: 106
Reg: Nov 20, 2013
Kelowna, BC, Ca...
6,310
like
01/02/14 09:19 PM (10 years ago)
@Caslor did you ever get this solved? I recently tried BT 3.0 (and addded the Google Play services library etc.) and have nothing but headaches... when the app worked fine in 2.0. Thread ref: https://www.buzztouch.com/forum/thread.php?tid=4865B0B744A35852376D426&fid=127FE84288EBDBCF646C715&sortColumn=FT.id&sortUpDown=&currentPage=1 So this makes 3 of us with issues re html docs and images... So I'm going back to 2.0. -Pdog
 
Caslor
Android Fan
Profile
Posts: 191
Reg: Jul 26, 2013
athens
1,910
like
01/03/14 02:41 AM (10 years ago)
No solution for this as i saw this pluging works as it should work in V3. for some reason in V2 worked like it was but shouldnt.. even if that was what we needed... the only solution is to have the Html pro pluging i work with this one now in V3
 

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.