[android-developers] Re: Android Studio - Picking up classes from System Classpath

2015-09-19 Thread Steven Yi
Answering my own question, I found I had to add the following to my 
gradle.properties to avoid gradle from picking up anything from my 
extensions folders:

systemProp.java.library.path=""
systemProp.java.ext.dirs=""


Also to note, this problem looks like it was specific to gradle and not Android 
Studio. 


Thanks,

steven


On Friday, September 18, 2015 at 11:20:48 AM UTC-4, Steven Yi wrote:
>
> Hi All,
>
> I've recently migrated a project from Eclipse to Android Studio (1.3.2). 
>  The application builds correctly and runs on the device.  However, one 
> thing I'm having a problem with is that the compiled application looks like 
> it it somehow packaging into the application classes from a Jar on my 
> system classpath, instead of the versions from the library module I have in 
> use.  If I remove the jar from the system classpath, the correct classes 
> from the library module are used. 
>
> Some background: the library module provides a native library + Java class 
> files.  This is an Android-specific version of a library that we also have 
> a desktop version for.  The desktop version may or may not be installed 
> into the user's system classpath.  Supporting the desktop version's 
> presence in the system classpath is a requirement for us.
>
> I have not figured out yet where in the build process that the desktop 
> version of the library is getting included.  It seems from using javap with 
> class files from the AAR generated in the library module that it is the 
> correct version there.  I am assuming there is something going on with the 
> application assembly process, but I have not investigated this aspect of 
> gradle and Android Studio yet.  
>
> If anyone has any suggestions or advice (or is this a known bug?), I would 
> appreciate it very much.
>
> Thanks!
> steven
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] webview load page in background

2015-09-19 Thread Jags
Hi, i need a functionality, that webview (programmatically created) loads 
an html file from assets and renders (when not visible, i.e is not the 
current layout.) , i want the page rendered already, and only make it 
visible / setCurrentLayout on some event.

thanks 
jags

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] webview load page in background

2015-09-19 Thread TreKing
On Sat, Sep 19, 2015 at 12:47 PM, Jags  wrote:

> Hi, i need a functionality, that webview (programmatically created) loads
> an html file from assets and renders (when not visible, i.e is not the
> current layout.) , i want the page rendered already, and only make it
> visible / setCurrentLayout on some event.
>

Cool. Thanks for sharing.


> thanks
>

No problem.


.


Wait ... was there a question?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.