5,603,981 Members 44,892 Now Online
XDA Developers Android and Mobile Development Forum

mix html5 and java for great Ui & UX

Tip us?
 
xdarebi
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Dec 2013
Question mix html5 and java for great Ui & UX

hi every one.
how to mix html5 with android in eclipse for create Great ux & ui (like filpboard and...), if anyone have experience about this issue please share
 
EmptinessFiller
Old
#2  
Member
Thanks Meter 21
Posts: 88
Join Date: Sep 2013
Why do you want to use HTML5? All things should be possible with "normal" java / android's views.
To display html you can use a webview.
Regards
 
xdarebi
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Dec 2013
Quote:
Originally Posted by EmptinessFiller View Post
Why do you want to use HTML5? All things should be possible with "normal" java / android's views.
To display html you can use a webview.
Regards
Dear EmptinessFiller,
tnx to reply,but i don't like Android standard controls and i want to use flat designing in my apps.if you look at some apps like flipboard you don't see any standard android and that is i want to implement.
 
EatHeat
Old
#4  
EatHeat's Avatar
Recognized Developer
Thanks Meter 1317
Posts: 902
Join Date: Jan 2013
Location: Calcutta
Quote:
Originally Posted by xdarebi View Post
Dear EmptinessFiller,
tnx to reply,but i don't like Android standard controls and i want to use flat designing in my apps.if you look at some apps like flipboard you don't see any standard android and that is i want to implement.
What do you mean by "standard android"?
[3.0+]Crius.
Customize your clock.


[2.2+]SnowBowl HD.
Enjoy the vacations!


 
EmptinessFiller
Old
#5  
Member
Thanks Meter 21
Posts: 88
Join Date: Sep 2013
Tried you different Themes or Styles for your Layouts?
You also can set images as background for Buttons etc!
As I said, WebView would the only way, but you won't have fun with this!
Regards
The Following User Says Thank You to EmptinessFiller For This Useful Post: [ Click to Expand ]
 
xdarebi
Old
#6  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Dec 2013
Quote:
Originally Posted by EatHeat View Post
What do you mean by "standard android"?
I mean the android standard controls like button,list view ,etc... I want to create app with flat designing as EmptinessFiller say maybe should use pictures as a control and design with photoshop.
 
xdarebi
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Dec 2013
Quote:
Originally Posted by EmptinessFiller View Post
Tried you different Themes or Styles for your Layouts?
You also can set images as background for Buttons etc!
As I said, WebView would the only way, but you won't have fun with this!
Regards
So should create some picture in photoshop and use them like image button.do you have some sample about this issue?
 
EatHeat
Old
#8  
EatHeat's Avatar
Recognized Developer
Thanks Meter 1317
Posts: 902
Join Date: Jan 2013
Location: Calcutta
Quote:
Originally Posted by xdarebi View Post
I mean the android standard controls like button,list view ,etc... I want to create app with flat designing as EmptinessFiller say maybe should use pictures as a control and design with photoshop.
The standard android UI has enough freedom for you to make a flat UI. Flipboard has nothing that does not look like a part of the standard android UI. Show me if it does.
[3.0+]Crius.
Customize your clock.


[2.2+]SnowBowl HD.
Enjoy the vacations!


 
rnevet
Old
#9  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Dec 2013
Exclamation Basically don't use HTML

If you want a great UX don't use any webviews unless you want to display something from the web or very plain HTML (like for Legal Stuff). WebViews are less responsive then Native Android and you will to deal with more Fragmentation issues as well.

search for Custom View in developer.android.com

If you just want an image with different areas of interaction, you can extend an ImageView or a View and control the interactions by setting the onTouchEvent with a function of your choosing.

(can't post links as I'm new here)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

WinDroid HTC Toolkit Lets You Root, Unlock, and Flash ROMs on Various HTC Devices

Plenty of users nowadays have more than one mobile device. … more

When Using GitHub, Don’t Skimp on Commit History

GitHub has become the epicenter of most open source development work that is posted … more

Verizon Droid DNA to Receive 4.4.2 KitKat + Sense 5.5 OTA This Thursday

The HTC Droid DNAis Verizon’s close cousin to the JapaneseHTC … more

Lucid Browser is Small, Lightweight, and Open Source

If there is one application category that certainly isn’t lacking in Android,and … more