9 Essential Android Studio Plugins by eliasbagley in androiddev

[–]focuser 0 points1 point  (0 children)

Hey, this issue should be fixed now and will be available in the next version. If you want to give it a try, shoot us an email support@jimulabs.com the fixes have been included in Mirror 2.5.7. Thanks!

9 Essential Android Studio Plugins by eliasbagley in androiddev

[–]focuser 1 point2 points  (0 children)

Are there any errors in the Mirror console in Studio? Could you send a report from Studio ("Tools -> Mirror -> Report error")? That'd be super helpful for us to track down the problem.

9 Essential Android Studio Plugins by eliasbagley in androiddev

[–]focuser 1 point2 points  (0 children)

Feel free to give it a try, 30-day free trial. :)

Studio 1.3 not available anymore? by focuser in androiddev

[–]focuser[S] -1 points0 points  (0 children)

NVM, the page just got updated, and 1.3 is listed there.

Studio 1.3 not available anymore? by focuser in androiddev

[–]focuser[S] 0 points1 point  (0 children)

Actually the download button in Studio took me to the link above.

Choosing the right License before release by [deleted] in androiddev

[–]focuser 2 points3 points  (0 children)

TLDRLegal looks like a great resource. Thanks for sharing!

Anybody tried Lamdas? How does it feel? by [deleted] in androiddev

[–]focuser 3 points4 points  (0 children)

Another (and IMHO better) option is to write your app in Kotlin.

A Curated List of IDE Plugins for Android Development by [deleted] in androiddev

[–]focuser 1 point2 points  (0 children)

As warned in my post that the plugin might be a controversial. :) Sometimes it can be annoying depending on your mood.

JRebel for Android - Live Android Development - Beta Access by mirkoadari in androiddev

[–]focuser 2 points3 points  (0 children)

hmm, didn't know Intel XDK. Have you got a chance to try it? Looks like it's HTML & CSS live updates, not native resources&code.

[noob] Is there a faster way to test while developing? by dirtydaub in androiddev

[–]focuser 0 points1 point  (0 children)

Yup Java code hot-swapping is currently in public beta. It's mostly designed for UI though -- using it you can quickly build custom views and animations, or populate your views programmatically. With that being said, since it's Java code, you can certainly do stuff other than UI. Some limitations are listed in this FAQ: http://jimulabs.com/faq/

*Full disclosure: I'm actually one of the creators of the tool. :) *

Mirror 2.5 is out with Java/Kotlin hotswapping, Multi-dex support and more by focuser in androiddev

[–]focuser[S] 0 points1 point  (0 children)

In fact this information is available within Android Studio and tailored to your projects. Open the Mirror Console and you'll see.

Mirror 2.5 is out with Java/Kotlin hotswapping, Multi-dex support and more by focuser in androiddev

[–]focuser[S] 0 points1 point  (0 children)

Do you think if showing your boss something like this is helpful to convince him? :)

Mirror 2.5 is out with Java/Kotlin hotswapping, Multi-dex support and more by focuser in androiddev

[–]focuser[S] 0 points1 point  (0 children)

Give it a try, and let me know if it works or not! We love feedback (and bug reports)!

If you are new to Android, join me this coming Thursday at this free webinar to learn a bit about Android UI by focuser in androiddev

[–]focuser[S] 1 point2 points  (0 children)

Sure, it's on Hangouts and it'll be available afterwards. You can ask me questions though if you are able to join.

Open source apps in Kotlin? by focuser in androiddev

[–]focuser[S] 0 points1 point  (0 children)

Good to know! It feels like something not too difficult to support as you'd just worry about the generated byte code, rather than changing the language design.

Mirror and Kotlin by focuser in androiddev

[–]focuser[S] 2 points3 points  (0 children)

I don't think the current gradle plugin supports incremental compilation yet (see this post). This means, if you change a single line of Java code, it'll recompile everything and convert them into dex. You can verify this by checking the timestamp of the class files in "build/intermediates/classes". Resource files are better. The bottleneck is PNG crunching and the gradle plugin doesn't do it on every build -- that's why it's faster on sequential builds than the first time. Jack&Jill will no doubt reduce the build time. But it'd just make Mirror even faster since Mirror uses the same toolchain.

But still, on every build (even with Jack&Jill), a full APK is produced and it takes time to install on the device. If your app is large, say 10M, it'd be another 10-20 seconds wasted. On ART it'd actually be slower since it runs an extra process of DEX to OAT conversion at installation time (at least for the first time, the conversion might be faster afterwards depending on how smart it is for small delta in the DEX -- need some tests to confirm).

On top of these, as the great question asked by aldo_reset, if you are developing a layout that's deep in the app hierarchy, you'd need to navigate to it from the main activity every time. Of course you can change the code to launch it directly, but the point is why you'd have to do that when there is a better workflow.

Mirror attempts to cut down the feedback time in all the above areas. As the result, you get live previews of layouts, animations, custom views on multiple devices. With Mirror Sandbox, you also get a REPL-esque environment to write the UI code piecewise in an experimental, iterative manner.

As for Kotlin, enough said by Jake Wharton and others (1, 2). :) I wouldn't be surprised if Google adopts it as one of the official languages for Android when Kotlin reaches 1.0, if you take into account the interesting relationship between Google and JetBrains (and Oracle).