Discussion Forums  >  WebViews and HTML for Mobile

Replies: 8    Views: 146

Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
07/26/12 10:13 AM (13 years ago)

BMI Calculator. HTML Help Needed

Hi All, Hopefully someone can help me figure this out. I have a .html BMI Calculator that i need to use in my app. The calclator works fine but only displays on 1/3 of the screen. My problem is i cannot figure out how to make it display at 100% of the screen. Can someone have a look at my document and let me know what you think i can do to resolve my display issue. Anthony. http://dl.dropbox.com/u/35241128/Sample%20Screenshot/bmi.zip
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
07/26/12 11:09 AM (13 years ago)
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=2.0; user-scalable=1;"/> Try this. Fred
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
07/26/12 12:30 PM (13 years ago)
Is this an Android HTML DOC screen?
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
07/26/12 12:36 PM (13 years ago)
ios 1.5
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
07/26/12 04:57 PM (13 years ago)
Gotcha. I just ran into this last week using the Androidn HTML DOC screen. Only the top 3rd was showing and it sounded similar. Got that fixed finally. Haven't seen the same issue in the iOS screen. I'd have to look at the HTML to help more. Maybe the page uses a stylesheet? Did you copy the .css into the project? I've SNAFU'd that before. If it uses java that might also be an issue when it compiles...
 
ActxInfo
Aspiring developer
Profile
Posts: 43
Reg: Jun 11, 2012
Rio de janeiro
4,980
like
07/26/12 05:25 PM (13 years ago)
Verrryyyyy Interesting HTML ..... Can We make little changes to Kg And Meters ? Can we use in ours apps? Thanks
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/26/12 05:25 PM (13 years ago)
Fred's comment should solve the issue. You may also need to look at your HTML formatting. Are you using a table or divs? If you google CSS for mobile browsers you should find some formatting tips. I actually just added a BMI calculator to an app and just needed to tweak the HTML a bit.
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
07/26/12 06:21 PM (13 years ago)
@Act, feel free to use it as needed. I just don't know what good it'll be if we can't fix it displaying issues. @GoBlue, How did your BMI Calculator turn out? Would you mind sharing your BMI File. Just wanna have a look to see if there is something i am going wrong or should be doing differently. @Atrain, I believe it does use Javascript. This may be my problem Thank you all for your help and input. Anthony
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
08/15/12 09:45 PM (13 years ago)
@GoBlue, Would you please mind sharing your BMI File. Just want have a look to see if there is something i am going wrong or should be doing differently. Thank you in advance
 

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.