ChatSecureAndroid icon indicating copy to clipboard operation
ChatSecureAndroid copied to clipboard

No build.gradle for Android Studio

Open vipulkanade opened this issue 9 years ago • 14 comments

There is no build.grandle file for adding dependencies in Android Studio thus unable to execute Application.

vipulkanade avatar Apr 11 '15 22:04 vipulkanade

This is not a gradle project so expect it not to work out of the box on android studio. I'm still trying to find a way to import it. in the meanwhile, the link gives you what you need. But it wont be automatically updated until the author of that repo does it. https://github.com/guardianproject/ChatSecureAndroid/issues/656

vijai1996 avatar Apr 12 '15 16:04 vijai1996

Is there already a date available when this project will be Android Studio alike?

BenGroot avatar Jul 22 '15 13:07 BenGroot

Let's say August 15th! We have it already done, but are doing a major refactor as well to put code into external libraries, projects, etc so it is a big shift. We'll be pushing it up here in the next few weeks.

n8fr8 avatar Jul 22 '15 19:07 n8fr8

Great! That is good news!

Does this also mean that the UI and the logic will be separated?

BenGroot avatar Jul 24 '15 13:07 BenGroot

When you say UI and logic what do you mean exactly? There is already a pretty big separation into the UI activities, ImConnection communication plugins (XMPP, LLXMPP) and the persistence pieces (ImProvider)

n8fr8 avatar Jul 27 '15 14:07 n8fr8

You're right, there is.

I want to include the project in an existing app with some adjustments to the UI. Is that better possible in the Android Studio version?

BenGroot avatar Aug 03 '15 07:08 BenGroot

Sure. We are redo-ing the UI quite a bit as well for v15 as part of our overall refactoring.

What kind of changes are you looking to make?

n8fr8 avatar Aug 03 '15 07:08 n8fr8

This is my case:

The user should be logged in automatically with the same credentials they use to log into the app. Then within the app they should be able to go to a separate tab with the messagingstreams listed in there. I would like to use your listing component for that, only with some different colors/icons. Thats basically it.

Do you have any news on the migration to Android Studio?

Cheers!

BenGroot avatar Aug 20 '15 07:08 BenGroot

Hi @n8fr8,

Could you please tell me when you expect to push the Android Studio implementation of this project? We are running against a deadline for our project.

Regards

BenGroot avatar Aug 24 '15 11:08 BenGroot

If you want the existing v14.x codebase in Android Studio / Gradle, you will have to do that yourself. It isn't that hard honestly, with the latest versions of Android Studio's import capability.

What we are working on now is a pretty big reorganization and update of the app, moving the current submodules to standalone maven/gradle dependencies (https://github.com/guardianproject/gpmaven), and implementing a pretty big user interface update. This is going to take a few more weeks to get to a public beta ready state. The app is also changing quite a bit, in good ways, so it may not fit your current expectations and requirements.

You might want to check out the Conversations project, which is another great XMPP app with OTR and Tor support, as well, and it also already has gradle support: https://github.com/siacs/Conversations

n8fr8 avatar Aug 24 '15 13:08 n8fr8

If you do want to check out the new v15 project, it is under the codename "AwesomeApp" but also currently called "Zom". Be warned, it is very different on the surface, though the same secure core underneath.

https://github.com/n8fr8/awesomeapp/tree/awesomeapp

n8fr8 avatar Aug 24 '15 13:08 n8fr8

Cool, thanks for the info. I'll dive into it.

BenGroot avatar Aug 24 '15 13:08 BenGroot

Why use your own maven repo on github instead of uploading to jcenter?

mvdan avatar Sep 13 '15 06:09 mvdan

Have the project move to android studio gradle ? , pls provide if any other repo is running with chatsecure gradle like ?

gurpreetlucky avatar Mar 05 '16 11:03 gurpreetlucky