Discussion Forums  >  WebViews and HTML for Mobile

Replies: 9    Views: 335

SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
03/03/15 10:07 AM (9 years ago)

Duplicating HTML on Android/iOS, Custom web fonts, tricks, tips, and a request...

Howdy. I've been working on a project that will put 'most' of my content in an htmlDoc in my app. I didn't want to use jquery or anything that would add a lot of weight to the app, and include a lot of features I had no intention of using... In order to make things pretty on both Android and iOS I've created my own CSS to accomodate any size device, and still keep things relatively pretty. I also use a compressed JavaScript file, so you can 'tap' on an image and it will show full size in a 'lightbox' until dismissed by the user. It also utilizes custom fonts that display on both iOS and Android in the same way; you have to include the ttf file with your app. I've zipped it all up in a nice demo for you to pick apart at your convenience: https://dl.dropboxusercontent.com/u/115208762/BT_demo.zip You're welcome to use any or all parts you find of value. Just don't release an app on Guam History, if you please. Now for the request... In years past I used an application called 'HomeSite' to do my HTML. It was created by a rather talented artist named Nick Bradbury. He later sold it off to Allaire, and it immediately zoomed in price, and eventually died with Allaire's demise. I haven't found an HTML Editor I've liked since. I currently use the Mac version of Coffee Cup's Web Editor, and it's 'ok', but falls short on many things I find useful. But I bought it in a bundle and it's still a bit faster than TextWrangler. What do you use? How long have you used it? Why did you stick with it? How much was it? I don't want anything that costs a million, or some huge behemoth. Light and efficient. Cheers! -- Smug Javascript 'lightbox' by Felix Hagspiel http://jslightbox.felixhagspiel.de Not sure where I got the Web Font information at... Sometimes I grab a bunch of things at once, and evaluate them later...
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
03/03/15 01:52 PM (9 years ago)
Hi Smug personally, I use http://www.kompozer.net/ It is fairly lightweight, and works across PC, Mac, Linux and it is free. I have used it for 3 or 4 years now. I think I like it because I like to flick between source and preview modes and the navigation doesn't bamboozle me. I used to use Dreamweaver, which I preferred to Front Page, but I think when it went past version 4, it outgrew me. I don't like over-complicated editors. Other tools are more powerful, but if I can't adapt to them, then I struggle to use them at all. I haven't used the editors you mentioned, I thing knowing what ""falls short on many things I find useful" is, is the key :).
 
bigPaul
Lost but trying
Profile
Posts: 103
Reg: Mar 08, 2013
Darwin
4,530
like
03/03/15 04:19 PM (9 years ago)
Hi Smug I use a Wysiwyg Website Builder to design webpage style layouts and then use the generated html/java in an editor. Basic pages can be previewed in webbrowser from application, but anything with java usually needs to be uploaded to server. It has inbuilt ftp functions. Current price $50US http://www.wysiwygwebbuilder.com/ The main editor I use is mainly orientated towards php but handles html as well obviously. Other wise another html orientated editor is available by the same mob but I dont use that much so dont know how good. Also by the same mob is a quick image resizer, as it suggests a very quick and easy way of resizing images without having to open Photoshop etc for each file. Just need to select your settings then drag n drop files into it and knew resized files created! http://www.dzsoft.com/image-resizer.html Current price $30US http://www.dzsoft.com/php-editor.html Current price $50US http://www.dzsoft.com/webpad.html Free Regards Paul
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/03/15 05:10 PM (9 years ago)
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/03/15 07:40 PM (9 years ago)
Not *quite* what I was looking for, but darn interesting none the less, Chris. I'll play with it; I found a trial version here: http://www.skybound.ca/download/ Cheers! -- Smug
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/03/15 09:03 PM (9 years ago)
oh ok html sorry. cool link.didnt know they had a trial thanks!
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
03/04/15 03:36 AM (9 years ago)
I use Textmate and Coda on the Mac https://panic.com/coda/ Take a look at brackets too https://brackets.io I've also tried Aptana in the past http://www.aptana.com/ Just my 2 cents
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
03/04/15 10:38 AM (9 years ago)
Sublime text is a great editor for many coding adventures including html. http://www.sublimetext.com
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
08/19/15 09:56 AM (8 years ago)
Smug, Could you please fix the link for the demo you mentioned at the beginning of this thread? It doesn't work. I'm curious how you got a custom font working in the html files in your android project, haven't figured it out yet. Thanks!
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/19/15 07:17 PM (8 years ago)
https://dl.dropboxusercontent.com/u/115208762/BT_demo.zip Should be good now, Mutzy. Sorry; when I installed my new SSD I did a fresh install, so not all parts have been moved back. Cheers! -- Smug
 

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.