box / box/box-android-apptoapp-sdk
Package library as jar
- Dominant language
- Java
- Stars
- 57
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
With a couple of very small tweaks I believe that the sdk could be distributed as a pre-packaged JAR file, rather than an eclipse project. All it would take is the conversion of the (Very simple) single XML layout file into java code (below), and the source code could then be compiled into a JAR file.
``` java
LinearLayout layout = new LinearLayout(this);
layout.setOrientation(LinearLayout.VERTICAL);
layout.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
mLoginWebView = new WebView(this);
mLoginWebView.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
layout.addView(mLoginWebView);
setContentView(layout);
plus the removal of the lines
mLoginWebView = (WebView)findViewById....
and
setContentView(R.layout....
```
Contributor guide
Assessment
This issue has not been assessed yet.