[android-developers] Command line build error: 'Unable to get buffer of resource asset file'

2010-08-30 Thread Shane Isbell
I'm updating Masa (Maven plugins for Android) to support the latest Android SDK. I did run into the problem with aapt tool: W/ResourceType(47600): Unable to get buffer of resource asset file From googling, I found the cause of this was that the aapt tool is compiled with too small of a buffer

[android-developers] Nested layout problem

2010-08-30 Thread Matthieu Jeanson
Hi, Probably something really easy, but I am missing it and have been banging my head for a while now. I created my own layout to partition the whole screen into a grid, so far so good -- using nested LinearLayout of a TableLayout was getting a bit messy for something really simple -- I can put

[android-developers] Can 9 patches have more than marked region or not?

2010-08-30 Thread newobj
I'm confused because I've found various tutorials illustrating how to create multiple stretchable regions in your 9 patch (e.g. you want the center and corners of the image to stay fixed size, but two inner columns to stretch), and the draw9patch tools seems to happily support it. What's more, a 9

[android-developers] Re: continue loading WebView on screen off/ application switch

2010-08-30 Thread Maps.Huge.Info (Maps API Guru)
I noticed a bug that you may be able to exploit. If the webview has any active elements, like a JavaScript setInterval, the webview will continue processing like it is in the forefront. Perhaps if you put in a setInterval, it would act like it never went to sleep. I've flagged this as a bug, so

Re: [android-developers] Can 9 patches have more than marked region or not?

2010-08-30 Thread Romain Guy
Multiple regions are supported, but only on the left and top edges. The right and bottom edges are reserved for padding. And it doesn't make sense to have several paddings :) On Mon, Aug 30, 2010 at 5:47 PM, newobj new...@gmail.com wrote: I'm confused because I've found various tutorials

[android-developers] Re: How Write a background service to get latitude and longitude

2010-08-30 Thread John
I had full intention on writing a blog post about this mostly in response to this posting on Lifehacker http://lifehacker.com/5611003/build-a-find-my-iphone-clone-for-android In Android its a fairly simple piece of code that needs to run. The basic application is this 1. Listen for an incoming

[android-developers] Re: How Write a background service to get latitude and longitude

2010-08-30 Thread Maps.Huge.Info (Maps API Guru)
In the name of expediency, it's best to start both listeners simultaneously and then wait for a set period (like 30 seconds) before deciding on which one to use. I find this to be the most accurate. If you wait for the GPS to time out before starting the network listener, you waste a full 30

[android-developers] Re: Can 9 patches have more than marked region or not?

2010-08-30 Thread newobj
Hi Romain, That's the weird part. Despite what the error message says, I have my black ticks on the top and left. On right and bottom I have an empty 1 pixel border (no padding specified.) The tool install I'm working with is android-sdk_r06-mac_86.zip and for my project, if it matters, I'm on

[android-developers] Re: Using Bouncy Castle with an Android app

2010-08-30 Thread joebowbeer
By the way, the bouncycastle sources are currently in libcore: http://android.git.kernel.org/?p=platform/libcore.git;a=tree;f=security On Aug 27, 3:55 pm, fba chsoftwo...@gmail.com wrote: Has anyone managed to use Bouncy Castle in one of their apps?   I need to be able to do detailed

[android-developers] New Market Feature: Counts of ratings

2010-08-30 Thread Maps.Huge.Info (Maps API Guru)
I just noticed a new feature in the market comments section. Now you have the counts of the star ratings, exact counts so we can really figure our ratings to a fine degree. For instance, I now know my app Radar Now! has precisely a rating of 4.3206456 Way cool! -John Coryat -- You received

[android-developers] Re: Apps availability on US Market

2010-08-30 Thread Maps.Huge.Info (Maps API Guru)
It's there. -John Coryat -- 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

[android-developers] Copy protection getting deprecated

2010-08-30 Thread Chris Stewart
I just pushed an update on one of my apps and noticed a little red line stating that copy protection will be deprecated soon. What I didn't see was any mention of what that will mean for us who are currently using it. I'd love to easily turn that off without the affect on my current users. I

Re: [android-developers] New Market Feature: Counts of ratings

2010-08-30 Thread Chris Stewart
I saw that too, very nice. I do wish I could select one and see any comment associated with it. -- Chris Stewart http://chriswstewart.com Fantasy Footballhttp://chriswstewart.com/android-applications/fantasy-football/- Android app for MFL fantasy football owners Fantasy Football

[android-developers] onPause - might occasionally be interrupted or not called?

2010-08-30 Thread Sheado
Hi all, I'm getting reports from some of my app's users that on occasion they are loosing data (e.g. no save occurs). I cannot reproduce the issue, but I have a feeling it's because my save operation is taking too long in onPause() resulting in a process kill in lower memory situations. I've

[android-developers] can an application have more than one icon in the launcher?

2010-08-30 Thread Anil
can an application have more than one icon in the launcher? (No, not plotting any mischief). Was wondering how to do it if the application has only one activity. thanks, Anil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] ConvertView and super.getView, difference?

2010-08-30 Thread jerryfan2000
Hi, A question in Android adapter has confused me for a long time. I have a code spinet like below public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) { View sv = super.getGroupView(groupPosition, isExpanded,

[android-developers] Re: can an application have more than one icon in the launcher?

2010-08-30 Thread Nithin
If you change package name in manifest file, you can create two apk with same or different icon.. Nithin On Aug 31, 7:49 am, Anil anil.r...@gmail.com wrote: can an application have more than one icon in the launcher? (No, not plotting any mischief). Was wondering how to do it if the

Re: [android-developers] ConvertView and super.getView, difference?

2010-08-30 Thread 马兴田
who can tell me how to opegl from intent 2010/8/31 jerryfan2000 jerryfan1...@gmail.com Hi, A question in Android adapter has confused me for a long time. I have a code spinet like below public View getGroupView(int groupPosition, boolean isExpanded, View convertView,

[android-developers] layout_gravity

2010-08-30 Thread William Ferguson
OK, I'm obviously missing something fundamentally simple here. I have a LinearLayout containing 2 buttons. I've coloured the layout background red so I can see that it has expanded to fill its parent. I wanted the BooButton to center horizontally within the layout and the OtherButton to be right

[android-developers] Re: layout_gravity

2010-08-30 Thread grace
add android:gravity=center_horizontal in the linear layout On Aug 31, 8:42 am, William Ferguson william.ferguson...@gmail.com wrote: OK, I'm obviously missing something fundamentally simple here. I have a LinearLayout containing 2 buttons. I've coloured the layout background red so I can see

Re: [android-developers] layout_gravity

2010-08-30 Thread Floaters
Maybe you can try RelativeLayout... 2010/8/31 William Ferguson william.ferguson...@gmail.com OK, I'm obviously missing something fundamentally simple here. I have a LinearLayout containing 2 buttons. I've coloured the layout background red so I can see that it has expanded to fill its

[android-developers] SeekBar.OnSeekBarChangeListener only Touch Events

2010-08-30 Thread GodsMoon
Anybody else find it weird that OnSeekBarChangeListener has a onStartTrackingTouch and a onStopTrackingTouch method but no corresponding non-touch methods? I have a SeekBar that acts as the volume control of the phone. When I slide it I want to play a sound. I only want to play a sound when it

[android-developers] Re: NPE on WebView.onWindowFocusChanged

2010-08-30 Thread GJTorikian
I downloaded the Motorla AVD for the Milestone, as this was the closest I could get to the Droid/Sholes. Unfortunately, the screen on the emulator doesn't fade out, so I am unable to test if that is the issue. But I have looked over my logs, and it is always the sholes device that is throwing the

[android-developers] Simple Tweened animation question

2010-08-30 Thread Tommy
Hi everyone, I am wanting to have one of my Activities utilize some animation. I want to be able to slide the screen left and right and have it change the Layout of the page to a different RelativeLayout in the same xml file and the same activity. Would I use the same techniques that would be

[android-developers] Re: layout_gravity

2010-08-30 Thread William Ferguson
That centers both buttons, so I still can't get the OtherButton right justified. On Aug 31, 1:53 pm, grace grace.a...@wipro.com wrote:  add android:gravity=center_horizontal in the linear layout On Aug 31, 8:42 am, William Ferguson william.ferguson...@gmail.com wrote: OK, I'm obviously

[android-developers] Re: How Write a background service to get latitude and longitude

2010-08-30 Thread Hotouch
Hello John, i got a pretty good example from your link http://code.google.com/p/androidsmsphonelocator/ and i am going to use this one and i hope to get more resource if any one have. Regards On Aug 31, 6:00 am, John jcarp...@gmail.com wrote: I had full intention on writing a blog post about

[android-developers] Re: layout_gravity

2010-08-30 Thread William Ferguson
Thanks! that worked. Still don't understand why its not working with a LinearLayout. On Aug 31, 1:56 pm, Floaters puhao7117...@gmail.com wrote: Maybe you can try RelativeLayout... 2010/8/31 William Ferguson william.ferguson...@gmail.com OK, I'm obviously missing something fundamentally

[android-developers] Re: .pfx SSL Certificate

2010-08-30 Thread Ajay
Hi, If I include it in the raw folder, under the resources folder, will it get installed? Also, where does it get installed? Thank you, AJ On Aug 27, 8:48 pm, Jake Radzikowski radzikowski.j...@gmail.com wrote: Toss it in the resource folder? or are you asking how to load it? On Fri, Aug 27,

[android-developers] opencv integration

2010-08-30 Thread Vaishnavi
Hi i am trying to port opencv onto android using ndk. I am always getting an error like this: jni warning: method declared to return 'b' returned 'z'.Can anyone help me with the same -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: Piracy Breakdown by Country

2010-08-30 Thread Mark Carter
As a side note, I'm amazed at your conversion rate from Lite to Pro. I have 50% as many Lite downloads but only 5% as many Pro downloads. My Lite version gets a 4.5 rating, Pro gets 4.9. Looks like I need to look into those Video and Social Sharing strategies. Currently I just pop up a dialog box

<    1   2   3