简体   繁体   English

JDK和Android SDK(ASDK)?

[英]JDK vs Android SDK (ASDK )?

I am new to android but has 8 years of experience in java based web apps. 我是android新手,但在基于Java的网络应用程序方面拥有8年的经验。 I have below questions on ADK while comparison JDK for web based development. 在比较基于Web的开发的JDK时,我对ADK有以下问题。

As Android Software Development Kit(ASDK) is used for android development. 由于Android软件开发套件(ASDK)用于android开发。 My question is does ADK also uses internally JRE to execute the server side files or it has separate runtime environment ? 我的问题是ADK是否也在内部使用JRE执行服务器端文件,或者它具有单独的运行时环境?

Also how client side programming is done in ADK ? 另外,如何在ADK中完成客户端编程? For example in java based web app we use HTML file to display the UI and JS to trigger the events both executed by browser ? 例如,在基于Java的Web应用程序中,我们使用HTML文件显示UI和JS来触发均由浏览器执行的事件? Do we still use HTML/JS in android app for UI and cient side events os is there a separate mechanism for that ? 我们是否仍在Android应用中将HTML / JS用于UI和科学附带事件os是否有单独的机制?

My question is does ADK also uses internally JRE to execute the server side files 我的问题是ADK是否也在内部使用JRE执行服务器端文件

There are no server-side files associated with Android apps, unless you decide to do that yourself (eg, have the app contact a Web service). 除非您自己决定(例如,让该应用程序与Web服务联系),否则没有与Android应用程序关联的服务器端文件。

Do we still use HTML/JS in android app for UI and cient side events 我们是否还在Android应用中使用HTML / JS进行UI和科学边会

You can, through so-called hybrid app frameworks, such as PhoneGap. 您可以通过所谓的混合应用程序框架,例如PhoneGap。 Android has its own GUI framework, and various other engines exist (eg, Unity 3D for games). Android具有自己的GUI框架,并且存在各种其他引擎(例如,用于游戏的Unity 3D)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM