简体   繁体   English

RAD跨平台开发建议

[英]Recommendation for RAD cross-platform development

I've some experience in Windows and Linux programming for desktop software and now I'm planning to start developing for Android/iOS. 我在Windows和Linux桌面软件编程方面有一些经验,现在我计划开始为Android / iOS开发。

As far as I know paradigm for applications is quite different in mobile devices compared to desktop application, and I need to get something done quickly, so I would need some recommendations based on the following: 据我所知,与台式机应用程序相比,移动设备中的应用程序范例大不相同,我需要快速完成工作,因此我需要基于以下几点建议:

  • short learning curve 学习曲线短
  • cross-platform 跨平台
  • low package size (no images or videos will be embedded) 包装尺寸小(不会嵌入任何图像或视频)
  • I need to connect to USB ports/FTDI, through virtual comm port (OTG) 我需要通过虚拟通讯端口(OTG)连接到USB端口/ FTDI
  • avoid complex external dependencies like installing a framework, etc. 避免复杂的外部依赖项,例如安装框架等。
  • free or very affordable (non-profit project) 免费或负担得起的(非营利项目)
  • offline IDE/platform 离线IDE /平台

I've background in C, C++, C#, VB, PHP, Javascript, HTML and CSS. 我有C,C ++,C#,VB,PHP,Javascript,HTML和CSS的背景知识。

I've found different solutions like Xamarin but I'm not sure this is that simple. 我已经找到了诸如Xamarin之类的不同解决方案,但是我不确定这是否那么简单。 I've also checked other suggestions like those based in HTML-CSS-Javascript, but I'm not sure how this works? 我还检查了其他建议,例如基于HTML-CSS-Javascript的建议,但不确定如何运行? Is this a website using any kind of JS SDK able to access to phone features and then embedded in an App containing a web browser? 这是一个使用任何JS SDK的网站都可以访问电话功能,然后嵌入包含Web浏览器的App中吗?

I've checked other questions in StackOverflow, but many of them are old. 我已经检查了StackOverflow中的其他问题,但其中许多是古老的。

Any suggestion or help will be much appreciated 任何建议或帮助将不胜感激

Since you have mentioned HTML, CSS and Javascript experience and you 'need to get something done quickly', I would suggest you look into React native, that would allow you to build native apps with the same code base (mostly). 既然您已经提到了HTML,CSS和Javascript的经验,并且“需要快速完成工作”,那么我建议您研究一下React native,这将允许您(主要是)使用相同的代码构建本地应用。 React native compiles into native code for each platform. React本机编译为每个平台的本机代码。

https://facebook.github.io/react-native/ https://facebook.github.io/react-native/

If you are looking for a shorter learning curve you can look at developing apps using Cordova but it is an older technology. 如果您想缩短学习时间,可以考虑使用Cordova开发应用程序,但这是一种较老的技术。 With Cordova, you are essentially developing web pages that will be displayed on the native web viewing components (UIWebview in iOS, WebView in Android). 使用Cordova,您实际上是在开发将在本机Web查看组件(iOS中的UIWebview,Android中的WebView)上显示的网页。 There are pluggins available for most common functionality such as camera access. 有用于大多数常用功能(例如摄像机访问)的插件。

https://cordova.apache.org/ https://cordova.apache.org/

Instead of using Cordova directly, you can also use a framework such as Ionic that takes care of providing a native look for your UI on each platform (web, desktop and mobile). 除了直接使用Cordova,您还可以使用Ionic之类的框架,该框架负责在每个平台(Web,桌面和移动平台)上为UI提供本机外观。

https://ionicframework.com/ https://ionicframework.com/

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

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