[android-developers] Re: Obfuscating Android Library Project

2013-07-22 Thread Felix Garcia Lainez
What about using aar? Someone has played with this? http://www.flexlabs.org/2013/06/using-local-aar-android-library-packages-in-gradle-builds On Friday, July 19, 2013 5:11:04 PM UTC+2, Felix Garcia Lainez wrote: Hi, The case is that we have an Android Library Project that generates a jar

[android-developers] Re: camera for portrait

2013-07-22 Thread Ourida
When you receive taken picture data try to convert it to bitmap and rotate it. bitmap = bitmapFromData(*data*); Matrix.postRotate(*degre*); Bitmap *rotatedBitmap *= Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), *matrix*, true); Regards. On Tuesday, July 9, 2013

[android-developers] Re: Obfuscating Android Library Project

2013-07-22 Thread Ourida
One obvious thing, you can't work with an obfuscated jar in your project in dev phase. Because the developer who must use, let's say Android Library Project obfuscated that contains a class named Class1, after obfuscation its name will become another thing, so the developer won't be able to

[android-developers] Re: Obfuscating Android Library Project

2013-07-22 Thread Piren
it works fine (as reiterated by Ourida). According to your other comments i'm not sure if you're fully aware of how to use the obfuscation tool or what it does... i suggest you read up on some material on the subject before continuing. On Monday, July 22, 2013 12:59:04 PM UTC+3, Felix Garcia

[android-developers] Re: Obfuscating Android Library Project

2013-07-22 Thread Felix Garcia Lainez
Yes I understand... I understand that if for instance I pass an String aaafddfffd to a function call it will not be obfuscated by default, right? On Monday, July 22, 2013 11:42:15 AM UTC+2, Ourida wrote: One obvious thing, you can't work with an obfuscated jar in your project in dev phase.

[android-developers] Tips on Using Vim

2013-07-22 Thread Jacky Alcine
Hey Devs, Is there anyone out here using Vim and other tools (Maven, Ant, etc) to go about doing Android development? If so, what do you recommend? -- Jacky Alcine - http://www.jalcine.me?ref=email signature.asc Description: This is a digitally signed message part.

Re: [android-developers] Re: Anyone know where to find the list of environment variables?

2013-07-22 Thread Ryan Harter
Check this out. http://developer.android.com/reference/android/os/Environment.html For things like External Storage directory, you're going to need to use a method, not a variable, as that can be dynamic. On Sun, Jul 21, 2013 at 1:53 AM, Piren gpi...@gmail.com wrote:

Re: [android-developers] Best way to save user's avatar

2013-07-22 Thread Ryan Harter
Take a look at that AOSP sources. You can see that the built in contacts app is saving the photos to the file system. On the PhotoStore class in the contacts provider, here is the javadoc comment on the class: 1. /** 2. * Photo storage system that stores the files directly onto the hard

Re: [android-developers] Tips on Using Vim

2013-07-22 Thread Kristopher Micinski
I used to use emacs and ant quite a bit. The `android` command line tool is pretty helpful, and there's an emacs minor mode within the SDK (at least, there was the last time I checked). It's not all that great, and you should probably look into a solution which works for vim (e.g., emacs has a

[android-developers] switch widget reseting styles on inflating

2013-07-22 Thread Nikolay Konstantinov
Hi, Does anyone have ani idea why a switch widget placed in a xml file with defined textOn and textOff values resets these attributes, styles and other things, when the xml file(view) is inflated with LayoutInflater ? Thank you -- -- You received this message because you are subscribed to

[android-developers] Re: Deposits From Google Wallet Weirdness

2013-07-22 Thread fibercode
UPDATE... I just talked to the Google Wallet support line and they assured me that they are aware of the problem and are working to fix it. They said it should be fixed by the end of the month. -- -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: switch widget reseting styles on inflating

2013-07-22 Thread Nikolay Konstantinov
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/inputsLayout android:layout_width=match_parent android:layout_height=wrap_content android:orientation=horizontal TextView android:id=@+id/reportName

Re: [android-developers] Re: switch widget reseting styles on inflating

2013-07-22 Thread Nikolay Konstantinov
if I just copy the xml for the switch in other view, which isn't inflated the text is changed - https://www.dropbox.com/s/bn8vlfq5vr2wzck/Screen%20Shot%202013-07-22%20at%205.04.07%20PM.png Something is happening when the view is inflated and is happening to only this widget. I already tested

Re: [android-developers] Drive API and exceptions

2013-07-22 Thread Kevin
It using the drive api in an Android app. As mentioned in the post, the docs don't do a good job of describing what errors will come out. If you're building an app that needs to work offline, its critical to be precise about these things. So, yeah its drive, but its also Android. On Monday,

Re: [android-developers] Re: switch widget reseting styles on inflating

2013-07-22 Thread Nikolay Konstantinov
I finally managed to see where the problem is. The thing is that I should have taken the inflater from the getLayoutInflater() method of the used activity. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: switch widget reseting styles on inflating

2013-07-22 Thread Παύλος-Πέτρος Τουρνάρης
Show us your code mate ... On Mon, Jul 22, 2013 at 5:20 PM, Nikolay Konstantinov ntkonstanti...@gmail.com wrote: my problem is something like this - http://stackoverflow.com/questions/14925743/androd-switch-widget-texton-and-textoff-not-working-as-expected. But I'm 100% sure that I use a

[android-developers] Re: Deposits From Google Wallet Weirdness

2013-07-22 Thread fibercode
Our account is still not fixed! There were three bank deposits and Google reversed two of them. So we got payed out the right amount for the month of June. But those reversals never made it to Google Wallet. So, they got their money back from the bank, but our Wallet account is still in the

Re: [android-developers] Re: finish() method of an activity inside of oncreate() and onpause() behaves differently. why?

2013-07-22 Thread Ryan Harter
What Ted said is absolutely true, I just wanted to add a little tidbit. In the AOSP sources, the code actually checks to see if finish was called from within onCreate and short circuits the displaying any UI. This is so that, if you determine your activity doesn't need to be run and call

[android-developers] Using Volley if you try to make one GZIP request on Android 2.2 you'll get junky bytes.

2013-07-22 Thread Miguel del Amor
Hi guys!, I'm using Volley library and I love it, but recently I'm having a big problem, when I make a StringRequest to a one URL of my server with gzip, I got on success listener junk. That only occurs on Android 2.2, and I've tried to convert these junk byte to String but without success,

Re: [android-developers] Drive API and exceptions

2013-07-22 Thread TreKing
On Mon, Jul 22, 2013 at 11:09 AM, Kevin kgalli...@gmail.com wrote: It using the drive api in an Android app. So, yeah its drive, but its also Android. Just because a 3rd-party library is developed for or related to Android does not immediately make this group the best place to get help

[android-developers] Re: switch widget reseting styles on inflating

2013-07-22 Thread Nikolay Konstantinov
my problem is something like this - http://stackoverflow.com/questions/14925743/androd-switch-widget-texton-and-textoff-not-working-as-expected. But I'm 100% sure that I use a theme extending Holo.Light ... -- -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Recover Certificate from APK

2013-07-22 Thread Raymond Rodgers
On 07/22/2013 12:08 AM, Ted Hopp wrote: On Thursday, June 14, 2012 12:43:51 PM UTC-4, Dianne Hackborn wrote: The platform has an app signed with a cert. If you want to install an update to that app under a different cert, how could the platform trust that this is actually coming

[android-developers] App is crashing and showing android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@4298f298 is not valid; is your activity running?

2013-07-22 Thread Seshu
Hi All, In my application am using webservices, the user is sign in the login page using facebook so user ll giving his/her credentails, after grant access page in facebook came back to main screen and then am calling the user request data i.e., firstname, lastname and email id. for this