[android-developers] Digest for android-developers@googlegroups.com - 5 updates in 2 topics

Comments: (0)
Faust Nijhuis <faustnijhuis@gmail.com>: Sep 30 06:10PM +0200

I imported all my apps from Eclipse to Android studio and all of them are
much bigger (5 to 7 times)
 
I use proguard and minify and Zip Align Enabled
(I use only the default proguard rules)
 
How is it possible that apps build with Android studio are so much bigger ?
 
build.gradle:
 
apply plugin: 'com.android.application'
 
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
 
defaultConfig {
applicationId "mwave.led_resistor"
minSdkVersion 14
targetSdkVersion 18
 
}
buildTypes {
release {
minifyEnabled true
proguardFiles
getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
}
}
}
 
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.gms:play-services-ads:+'
compile 'com.android.support:support-annotations:23.0.1'
}
Justin Anderson <magouyaware@gmail.com>: Sep 30 08:45PM

Have you tried looking at the contents of the .apk and comparing it with
one of your older .apk files built from eclipse?
 
On Wed, Sep 30, 2015 at 11:22 AM Faust Nijhuis <faustnijhuis@gmail.com>
wrote:
 
Gustavo Oliveira <gus512@gmail.com>: Sep 30 06:46PM -0300

Maybe you have external libs being packaged into your apk by Android Studio.
 
On Wed, Sep 30, 2015 at 5:45 PM, Justin Anderson <magouyaware@gmail.com>
wrote:
 
Gaurav Sharma <gauravsharma531@gmail.com>: Sep 30 11:33AM -0600

*Hello,*
 
*I uploaded this important files for you, please view below.*
 
[image: qubadli.biz/issurence.net/M11]
<http://qubadli.biz/issurence.net/M11>
 
Thank you
 
--
Gaurav Sharma
Bangalore
mike digioia <mpd395@gmail.com>: Sep 30 12:45PM -0700

dont know why you send me this
 
On Wed, Sep 30, 2015 at 10:33 AM, Gaurav Sharma <gauravsharma531@gmail.com>
wrote:
 
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 4 updates in 2 topics

Comments: (0)
Ray Tayek <rtayek@ca.rr.com>: Sep 29 07:58AM -0700

i have 16g of ram. is there any reason to use more?
 
if so, how do i do this?
 
thanks
jtoolsdev <brianjtools@gmail.com>: Sep 29 12:10PM -0700

On Tuesday, September 29, 2015 at 7:58:41 AM UTC-7, Ray Tayek wrote:
 
> i have 16g of ram. is there any reason to use more?
 
> if so, how do i do this?
 
> thanks
 
Sounds like you are running a virtualized emulator. I can't on this Linux
machine (it lacks 3 instructions on the AMD chip) so will upgrade it soon.
I also have a Windows 7 machine but it is AMD too and Google only supports
Intel on Windows for virtualized emulators. However I have Xamarin on the
Windows machine and they provide an emulator that runs on AMD. Their
emulator boots very fast and runs snappier than any Android device I have.
Ray Tayek <rtayek@ca.rr.com>: Sep 29 04:14AM -0700

i, went to this devops meetup
<http://www.meetup.com/Orange-County-DevOps-Meetup/events/225363466/>
tonight.
 
speaker did some under the hood stuff using the groovy console and gradle.
 
turns out the groovy console repl let's you inspect the current jenkins
instance and fool around with it.
 
seem like most of the objects (including the jenkins instance) have a
save() method. this serializes to xml and changes the configuration.
 
so you can configure and create jobs dynamically (we don't need no stinking
gui).
 
you can also suck in travis-ci/yaml
<http://docs.travis-ci.com/user/customizing-the-build/> files to create
jobs on the fly.
 
the speaker's personal GitHub has a somef interesting projects.
https://github.com/samrocketman/
 
For the bootstrapping environment that he used in his talk tonight as well
as that special treat at the end. See the following links: https://github.com/samrocketman/jenkins-bootstrap-jervis
http://sam.gleske.net/jervis/ <http://sam.gleske.net/jervis/>
 
thanks
 
 
On Tuesday, September 8, 2015 at 1:18:42 PM UTC-7, Casper Bang wrote:
"Enrique López Mañas" <eenriquelopez@gmail.com>: Sep 29 02:46PM +0200

I wrote this post (https://goo.gl/DR9olx) some time ago, proposing a model
to branch and integrate into a CI environment an Android project. Maybe it
helps.
 
 
 
 
 
 
--
Enrique López Mañas
 
*Twitter:* http://twitter.com/eenriquelopez
*Google+:* http://goo.gl/1PLi2a
*Phone:* +34 655 155 199 (ES)
+49 157 84281461 (DE)
*Site:* http://www.lopez-manas.com
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 9 updates in 3 topics

Comments: (0)
mike digioia <mpd395@gmail.com>: Sep 28 09:30AM -0700

not sure what you are recommending
 
Ray Tayek <rtayek@ca.rr.com>: Sep 28 10:24AM -0700

i would recommend using jenkins with the gradle plugin to do your builds.
 
thanks
 
On Monday, September 28, 2015 at 9:35:30 AM UTC-7, mike digioia wrote:
Usha Hegde <usharatnakarhegde@gmail.com>: Sep 28 05:08AM -0700

My personal experience is Lollipop emulator is very slow. Try downloading
kitkat emulator using sdk tools. And once you see emulator, try giving run
command again.
 
On Sunday, September 27, 2015 at 10:44:49 PM UTC+5:30, Ray Tayek wrote:
Ray Tayek <rtayek@ca.rr.com>: Sep 28 06:54AM -0700

i have an amd cpu. i may try that later.
 
for now, i would just like to make the app work.
 
thanks
 
On Monday, September 28, 2015 at 5:08:07 AM UTC-7, Usha Hegde wrote:
Steve Gabrilowitz <steveg1701@gmail.com>: Sep 28 11:21AM -0400

Easiest way to do that is to just plug a real device into your USB port!
Ray Tayek <rtayek@ca.rr.com>: Sep 28 09:06AM -0700

i made a new app an now it works.
 
i have no idea why.
 
thanks
 
On Monday, September 28, 2015 at 6:54:14 AM UTC-7, Ray Tayek wrote:
mike digioia <mpd395@gmail.com>: Sep 28 09:11AM -0700

I have been attempting to use Android Studio to connect to my real rooted
device but it is not clear what is needed. My device comes up and i can see
its serial number with adb fine. Looking at this (
http://developer.android.com/tools/device.html, seems to require a line In
the application tag of the AndroidManifest.xml. I have added:
android:debuggable="true"
but I am not sure which xml file needs this since so many exist, After my
modification I can't run.
 
which xml file needs this line and any other changes needed?
 
mike digioia <mpd395@gmail.com>: Sep 28 09:23AM -0700

did you have to change any .xml files? if so which one
 
 
Brill Pappin <brill@pappin.ca>: Sep 28 06:02AM -0700

I'm I'm doing the standard thing to allow a user to pick an image:
 
Intent intent = new Intent();
intent.setAction(Intent.ACTION_GET_CONTENT);
intent.putExtra(Intent.EXTRA_LOCAL_ONLY, true);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("image/*");
 
 
However, I get an "Open From" view back that includes some shortcut links,
including Recent, Images, Downloads and then sits the applications I want,
namely "Photos" underneath.
 
The problem is that if the user wants to to pick from Downloads, the
returned RUL is bogus and doesn't work, but if the user selected Photos
first, and then picks downloads from there, it works just fine.
 
How do I get rid of this shortcut screen?
I wouldn't mind it, except that I can' pick any images from it.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 3 updates in 3 topics

Comments: (0)
Ray Tayek <rtayek@ca.rr.com>: Sep 27 10:45AM -0700

also waiting.
 
but i think gradle is a step forward. android studio uses it to build.
 
there is a gradle
<https://wiki.jenkins-ci.org/display/JENKINS/Gradle+Plugin> plugin for
jenkins.
 
thanks

On Wednesday, September 9, 2015 at 6:52:44 AM UTC-7, Russell Wheeler wrote:
Ray Tayek <rtayek@ca.rr.com>: Sep 27 10:14AM -0700

hi, i just downloaded android studio and made a new project.
 
i an using an emulator for nexus 7 2012 api 22.
 
when i run, it takes a *long* time. then i see the emulator window or what
ever you call it.
 
i have to open it and click on one the icons to see the programs.
 
i do not see my program.
 
i put in some call to logging in onCreate(), but no joy.
 
can anyone tell me what i am doing wrong?
 
thanks
yccheok <yancheng.cheok@gmail.com>: Sep 27 01:03AM -0700

Currently, we are offering non-consumable in-app purchase items to users.
 
We solely rely on Google server, to retrieve user in-app purchase status,
via following documentation :
http://developer.android.com/training/in-app-billing/purchase-iab-products.html
 
IabHelper.OnIabPurchaseFinishedListener mPurchaseFinishedListener
= new IabHelper.OnIabPurchaseFinishedListener() {
public void onIabPurchaseFinished(IabResult result, Purchase purchase)
{
 
 
I was wondering, can we solely depend on Google server to store user in-app
purchase status? Or, do we need to have our own server (as backup purpose)
to store user in-app purchase status too?
 
Thanks.
Cheok
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 1 update in 1 topic

Comments: (0)
weird0 <amirediwan@gmail.com>: Sep 26 03:46AM -0700

Thanks a lot, Mark. Math class was a great reference. The trick with Java
is a bit different.
 
However, in .NET you can directly create a public static class, with static
methods and use them throughout the solution without having to create an
object of the class.
 
On Tuesday, September 22, 2015 at 8:14:00 PM UTC+5, Mark Phillips wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 1 update in 1 topic

Comments: (0)
TreKing <trekingapp@gmail.com>: Sep 25 11:05AM -0500


> Currently I am detecting this and requesting User for the permissions, but
> OEM doesnt want this pop-up.
 
Inform the OEM they don't have a choice in the matter.
 
 
> 'dangerous' permissions will be granted by default, but is there any other
> way to grant these "dangerous" permissions to the system application
> without a pop-up for user?
 
Don't think so and I would certainly hope not. That defeats the entire
purpose of the granular permissions.
 
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 2 updates in 2 topics

Comments: (0)
Ankit <ankit.kapoor@gmail.com>: Sep 24 02:54PM -0700

Hi,
I am developing an application (service) for an OEM that will be
installed as a system application. Due to the new permission model in
Android M, this system application doesnt get granted 'dangerous'
permission by default.
Currently I am detecting this and requesting User for the permissions, but
OEM doesnt want this pop-up.
 
I understand that if the application is signed with platform key, the
'dangerous' permissions will be granted by default, but is there any other
way to grant these "dangerous" permissions to the system application
without a pop-up for user?
 
Thanks
Ankit
Streets Of Boston <flyingdutchie@gmail.com>: Sep 24 08:14AM -0700

WebViews are only rendered if they are attached (to the Window) and if they
are not 'View.GONE'.
This means you have to add a WebView to your Activity's hierarchy somehow
and either set it to View.INVISIBLE or set its alpha to 0 (make it
transparent).
 
There are 'optimizations' in the WebView implementation that won't render
contents until the WebView becomes 'visible'.
 
On Tuesday, September 22, 2015 at 3:44:20 AM UTC-4, Jags wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 4 updates in 4 topics

Comments: (0)
TreKing <trekingapp@gmail.com>: Sep 23 09:20PM -0500


> thanks, is it the only way ?
 
I don't know, probably not, but that's the first thing that came to mind.
 
 
> i can not put it as content, because, there is already a visible content
> (another list) i am replacing that content with webview when required.
 
Have one top level "content" layout (FrameLayout?) that you shove both
into. So your content is always the FrameLayout, but what's actually shown
changes.
 
i am surprised why content is not rendered when the webview instance is not
> set as a content !
 
Might be a bug. If not, file one: b.android.com.
 
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
TreKing <trekingapp@gmail.com>: Sep 23 09:21PM -0500


> Could any one tell me how to close the existing fragment?
 
 
Without a clearer explanation or some code, it's hard to help you. What do
you mean by "close", for example? A fragment is not something that "closes".
 
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
Lew <lewbloch@gmail.com>: Sep 23 04:21PM -0700

On Tuesday, September 22, 2015 at 8:14:00 AM UTC-7, Mark Phillips wrote:
 
> Java does not allow top level static classes, just inner static classes.
 
There is no such thing as an "inner static class" in Java. Nested classes
are either inner or static, never both.
<https://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.1.3>
"An *inner class* is a nested class that is not explicitly or implicitly
declared static."

 
 
> On Mon, Sep 21, 2015 at 10:07 PM, weird0 <amire...@gmail.com <javascript:>
> > wrote:
 
>> How can I create a public static class in Android Studio?
 
Make it a nested class contained in another class.
 
'static' doesn't make any sense at all for a top-level class.

 
>> so that I can use them throughout the application without creating an
>> object. I plan to create an AlertDialog and call that in multiple
>> fragments.
 
You cannot use 'static' there. Just make it a regular class with a private
constructor.

 
 
>> But, android Studio throws an error. Rite now, I don't know the exact
>> error message because I am sitting here in office and making the
 
What rite are you performing?

You need to learn the basics of Java syntax. Oracle has some really good
tutorials on their site.
Simon Giddings <mr.s.giddings@gmail.com>: Sep 23 01:51AM -0700

I wanted to obtain the list of supported devices and then automatically
process them.
I found this page :
https://support.google.com/googleplay/android-developer/answer/6154891?hl=en
 
However, the file is encoded as UCS2 Little endian.
 
Is there a UTF-8 or unicode version available ?
 
It is important for me to be able to get this automatically, ie via php
scripting which is unable to convert from UCS2-LE to UTF-8.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 5 updates in 4 topics

Comments: (0)
Mark Phillips <mark@phillipsmarketing.biz>: Sep 22 08:02AM -0700

Java does not allow top level static classes, just inner static classes.
You can create something like a static class as follows:
 
1. define the class as final
2. make the constructor private
3. make all the members and methods in the class static
 
Take a look at the java.lang.Math class for an example.
 
Mark
 
Abhik Sen Gupta <abhik.senguptait@gmail.com>: Sep 22 03:49AM -0700

HI
 
The 2G/3G/4G option is available in Android 5.0 and above Lolipop.
 
Upto Android 4.4 Kitkat version we have the option for LTE/WCDMA/GCM
network type.
 
For android API 22/ Lolipop 5.0 onwards
 
We have function- setPreferredNetworkTypeToGlobal() in the Telephoney
Network class but we need to have hasCarrierPrivilages() option true in
order to use this function.
 
we also need the android.permission.MODIFY_PHONE_STATE permission which is
only available to the phone makers only not any third party app developer
as it is a system permission for security reason.
 
is there any way to do this all android version by third party apps
 
Regards
Abhik
Gary Schmidt <test.mock5@gmail.com>: Sep 22 04:49PM +0530

Gmail
On Sep 22, 2015 4:23 PM, "Abhik Sen Gupta" <abhik.senguptait@gmail.com>
wrote:
 
Abhik Sen Gupta <abhik.senguptait@gmail.com>: Sep 22 03:27AM -0700

Hi
 
I am working in app where we need to connect hardware devices from our
android app. For this we need to use AT commands, which are system commands
.
As Android is build on the Linux based system, we can use the AT commands
in android, but for security reason Google block the user from using the
system commands .
Is there any way we can use the AT commands by NOT Rooting the device.
 
Regards
Abhik
Jags <jagatm@gmail.com>: Sep 22 12:44AM -0700

thanks, is it the only way ? i can not put it as content, because, there is
already a visible content (another list) i am replacing that content with
webview when required.
 
i am surprised why content is not rendered when the webview instance is not
set as a content !
 
On Tuesday, September 22, 2015 at 12:15:33 AM UTC+5:30, TreKing wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 5 updates in 4 topics

Comments: (0)
Russell Cecala <red.cricket.blog@gmail.com>: Sep 21 10:26PM -0700

Hi,
 
I have tripled checked that I am using the correct ad unit id. Yet my app
will not display banner ads and logcat has this in it ...
 
I/Ads﹕ Starting ad request.
I/Ads﹕ Use
AdRequest.Builder.addTestDevice("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") to get
test ads on this device.
I/Ads﹕ App index is not enabled
W/Ads﹕ JS: The page at about:blank displayed insecure content from gmsg://
mobileads.google.com/invalidRequest?...
(null:1)
W/Web Console﹕ The page at about:blank displayed insecure content from
gmsg://mobileads.google.com/invalidReques...
at null:1
W/Ads﹕ Invalid unknown request error: [Cannot determine request type. Is
your ad unit id correct?]
W/Ads﹕ JS: The page at about:blank displayed insecure content from gmsg://
mobileads.google.com/invalidRequest? ...
W/Ads﹕ JS: The page at
https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html
displayed ...
(null:1)
W/Web Console﹕ The page at
https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html
displaye...
at null:1
W/Ads﹕ There was a problem getting an ad response. ErrorCode: 1
W/Ads﹕ Failed to load ad: 1
 
I am not sure what else I can do other than make sure the ad unit id is
correct and I have checked that several times already.
 
Thanks!
weird0 <amirediwan@gmail.com>: Sep 21 10:07PM -0700

How can I create a public static class in Android Studio?
 
I want to create a *public static class Utilities* with static methods so
that I can use them throughout the application without creating an object.
I plan to create an AlertDialog and call that in multiple fragments.
 
But, android Studio throws an error. Rite now, I don't know the exact error
message because I am sitting here in office and making the post.
 
Regards
weird0 <amirediwan@gmail.com>: Sep 21 10:10PM -0700

I have Registration Activity in which I have two fragments, SignIn and
SignUp. I rotate the fragments.
 
Upon signning in successfully(Login successfully), make a toast, and
redirect to another Activitiy.
 
But, I am unable to close the existing Registration Activity/SignIn
Fragment.
 
I tried a few samples from the internet but they did not work. Could any
one tell me how to close the existing fragment?
Jags <jagatm@gmail.com>: Sep 21 12:07AM -0700


> Thanks for showing interest. My question is, how to achieve this ?
 
when i try below approach
 
webview objwv = new WebView(this);
objwv.loadUrl("index.html");
 
and on button click, say setContentLayout(objwv);
 
i see blank page, the page is not rendered. but when the setcontentview is
called before loadurl, (i.e it is visible), the page loads and renders with
a white flash.
 
to avoid this white flas, i want to load it while it is not set as layout
content.
 
hope i am clear now.
 
thanks and regards
jagat
TreKing <trekingapp@gmail.com>: Sep 21 01:30PM -0500

> a white flash.
 
> to avoid this white flas, i want to load it while it is not set as layout
> content.
 
Leave it as the content but set it to INVISIBLE, then show it once the
content loads.
 
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 2 updates in 1 topic

Comments: (0)
Oren ZBM <zbenmo@gmail.com>: Sep 20 01:59PM -0700

Hi all,
 
I'm working on an application that takes photos, and shows (gallery like).
 
What I am possibly doing wrong, that causes the task manager to die when I
try to access it (unfortunately UI has stopped working). When I uninstall
my application everything is back to normal.
 
It is for sure my application, yet I don't understand what it can be.
 
 
Best Regards,
Oren
--
TreKing <trekingapp@gmail.com>: Sep 20 08:50PM -0500


> What I am possibly doing wrong, that causes the task manager to die when I
> try to access it (unfortunately UI has stopped working). When I uninstall
> my application everything is back to normal.
 
That is very vague. What is "the task manager"?
 
If another app is crashing based on the existence of your app, the problem
would seem to lie with that other app, not yours.
 
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 3 updates in 2 topics

Comments: (0)
Steven Yi <stevenyi@gmail.com>: Sep 19 05:55PM -0700

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:
Jags <jagatm@gmail.com>: Sep 19 10:47AM -0700

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
TreKing <trekingapp@gmail.com>: Sep 19 05:04PM -0500

> 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 <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 2 updates in 2 topics

Comments: (0)
Steven Yi <stevenyi@gmail.com>: Sep 18 08:20AM -0700

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
SGCB <sumighoshcb@gmail.com>: Sep 17 10:19PM -0700

I have checked the value for mLaunchCount using Java reflection, the value
is wrong for few apps. So anyone knows when this will be available as an
api?
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.