DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Android WebView CSS Support

Android WebView CSS Support

Isaac Taylor user avatar by
Isaac Taylor
·
Aug. 13, 12 · Interview
Like (0)
Save
Tweet
Share
9.13K Views

Join the DZone community and get the full member experience.

Join For Free
Creating HTML applications can be a great way to cut down development time between two platforms. The trend today is to develop a web app for iOS (with a varying amount of native code) and simply use the HTML, CSS, and Javascript on other platforms like Android.

The process can work well, and it can save you considerable time while still having a nice, polished app on multiple platforms. The approach has a few pitfalls, though. One of the main troubles is developing for iOS first.

You see, iOS has a great in-app browser. It has support for all of the latest HTML5 components, it fully supports CSS3, and it has great Javascript performance. The problem is that no other platform is near this level yet. This can create some issues when you are porting your HTML, CSS, and Javascript to other platforms such as the Android.

When following the pattern above, you should really develop for the lower platform first and then port to iOS. This way, you will have less development time lost to solving compabability issues. Some of these issues could be: Javascript DOM differences, CSS3 syntactical differences, and Javascript performance differences. Also, keep in mind that the usage of third-party libraries may work great on iOS but may not work on other platforms. It may not even have an equivalent version available.

One more thing to watch out for is:

-webkit-linear-gradient... versus  -webkit-gradient...

I'm sure that there are several other major differences between what is supported between Android and iOS. Once I find more, I'll let you know.
CSS Android (robot)

Published at DZone with permission of Isaac Taylor, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • ChatGPT — The Google Killer? The Job Taker? Or Just a Fancy Chatbot?
  • Too Many Tools? Streamline Your Stack With AIOps
  • Java Development Trends 2023
  • Deploying Java Serverless Functions as AWS Lambda

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: