简体   繁体   English

结合两个 Android 应用程序的可能性

[英]possibilities to combine two Android App's

I would like to know what's the best possibility to combine two Android Apps together?我想知道将两个 Android 应用程序组合在一起的最佳可能性是什么?

I am working on a Loginpage for my Project.我正在为我的项目创建登录页面。 My friend is working on a Dataviewpage for the same Project.我的朋友正在为同一个项目开发 Dataviewpage。

I would like to know what are our options to combine these two Apps (both just in local eclipse), when we finished the seperate project's.我想知道当我们完成单独的项目时,我们有哪些选择来组合这两个应用程序(都只是在本地 eclipse 中)。

Our current Idea, would be to copy one part in the Eclipse and build it into the other one.我们目前的想法是在 Eclipse 中复制一部分并将其构建到另一部分中。

I am aware of, that this is the worst idea but I have no idea to do it an other way.我知道,这是最糟糕的主意,但我不知道以其他方式来做。

Hopefully you guys can help me out.希望大家能帮帮我。

Thanks in advance.提前致谢。

One Solution can be from what i understood you problem is you want both of you should work on same App and even can do your work individual and test it.一个解决方案可以从我理解你的问题是你希望你们都应该在同一个应用程序上工作,甚至可以单独完成你的工作并对其进行测试。

Solution can be: Suppose you have Login Activity & he has DataViewpage activity.解决方案可以是:假设您有登录活动并且他有 DataViewpage 活动。 Both work on same project just两者都在同一个项目上工作

Add this in the manifest file in both Activity Login and dataview将此添加到活动登录和数据视图的清单文件中

        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>

So This will make 2 icons and both of you can work on same code base and also can test individual pages also..所以这将制作 2 个图标,你们都可以在相同的代码库上工作,也可以测试单个页面。

And Put your code base in github.. so can work from anywhere..并将您的代码库放在 github.. 所以可以在任何地方工作..

Hope this will help you希望能帮到你

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

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