Discussion Forums  >  BT.com Website, Account Questions

Replies: 8    Views: 93

acschcs
Lost but trying
Profile
Posts: 118
Reg: Jan 16, 2013
United Kingdom
2,730
01/23/13 11:58 AM (11 years ago)

HTML scores

I have a Piano score, I want it to display it in my app, but I don't know which format I should use it in, this is specifically for android only, I have a choice of: PDF HTML I saw that if I use PDF on android it redirects you to a PDF reader APP, which I don't want. But to use HTML, I have a HTML link I converted from PDF to HTML, but the HTML is a link from my computer pathway when I click on the shortcut of it, does anyone know how to input HTML piano score onto android phones? any answers will much be appreciated. Thank you.
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
01/23/13 12:07 PM (11 years ago)
Hey @acschcs, You wanting to change this score on a basis or just one time show? LA
 
acschcs
Lost but trying
Profile
Posts: 118
Reg: Jan 16, 2013
United Kingdom
2,730
like
01/23/13 12:09 PM (11 years ago)
Just a one time show.
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
01/23/13 12:11 PM (11 years ago)
Just put it in the custom html plugin and that will do the job. LA
 
acschcs
Lost but trying
Profile
Posts: 118
Reg: Jan 16, 2013
United Kingdom
2,730
like
01/23/13 12:13 PM (11 years ago)
Yes, I know that, But do I need to press the source code for this to work? or just put in my file path to my HTML shortcut?
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
01/23/13 12:16 PM (11 years ago)
You can do both on the Custom HTML Text plugin. You can type in the editor in the plugin or code it there. Check out the that plugin you can do many things right here in the control panel. LA
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
01/23/13 12:29 PM (11 years ago)
Hopefully this helped and was what you were looking for. LA
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
01/23/13 01:42 PM (11 years ago)
@LA's way will work, but I really don't like that customHTML plugin, so I would do it this way: You know the name of your file right? I'll call it index.html. (If you've done a conversion, the file extension might be htm, not html). Drag your html file into the assets folder of your project in eclipse. (and any image, css or javascript folders that were created during your conversion). Add a customURL plugin to your project. The url in the customURL plugin will be - file:///android_asset/index.html That should work fine, but I'm guessing that as you've done a pdf to html conversion, the metadata won't be mobile compatible? You might need to do some work on the html file for it to look right.
 
acschcs
Lost but trying
Profile
Posts: 118
Reg: Jan 16, 2013
United Kingdom
2,730
like
01/23/13 01:45 PM (11 years ago)
all right, thanks, and now we have encountered another problem, why do I always have lots of problems... :(
 

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.