Re: [android-developers] Is the 'back' button still kosher?

2012-11-02 Thread Keith Wiley
All right. I brought this up a few weeks ago on this list and some of the advice on the topic was to avoid menus entirely and replace them with in-app soft-menus from now on...despite the action bar. I guess that advice was incorrect. Thanks for the clarification. On Thursday, November 1,

Re: [android-developers] single selection listveiw

2012-11-02 Thread Nirav Parmar
Hi Rauf, Did you have tried this listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); Thanks Regards, Nirav On Fri, Nov 2, 2012 at 10:19 AM, rauf qureshi qureshira...@gmail.comwrote: Thanks for reply me but i did that by check box. following code i have used for that

[android-developers] (Http)URLConnection.setUseCaches(false) isn't working

2012-11-02 Thread Keith Wiley
A few weeks ago I mentioned that I was experiencing unwanted http caching (I mentioned it here because I wasn't sure if the cause of the problem was the Android OS performing the caching in a way that didn't make sense to me). At the time, it was suggested that I experiment with getUseCaches()

[android-developers] Re: (Http)URLConnection.setUseCaches(false) isn't working

2012-11-02 Thread Keith Wiley
I guess one solution that seems to show promise is appending an unused randomized GET variable to the end of the URL. That seems pretty hackish though. -- 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] Maven vs Ant

2012-11-02 Thread uud ashr
Hi all, I see in maven repo, some of android version not exists (ex: android 4.0.3) and official SDK already support the ant script. Which one preferred or better for android dev? Regards, Uud -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Localized Images in Google Play

2012-11-02 Thread Hans Maulwurf
Hmm, if noone knows whether this is possible I'll have to assume that it isn't posible at all... -- 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

Re: [android-developers] broken breakpoint

2012-11-02 Thread Todd Grigsby
I don't think it's an eclipse problem so much as a newbie problem. it's not getting triggered because that line isn't getting executed. Perhaps some code prior to that line is throwing an exception? Either way, Treking is right that you didn't give near enough information. On Nov 1, 2012 8:53

Re: [android-developers] Is the 'back' button still kosher?

2012-11-02 Thread Mark Murphy
On Fri, Nov 2, 2012 at 2:10 AM, Keith Wiley kbwi...@gmail.com wrote: All right. I brought this up a few weeks ago on this list and some of the advice on the topic was to avoid menus entirely and replace them with in-app soft-menus from now on...despite the action bar. I guess that advice was

Re: [android-developers] Is the 'back' button still kosher?

2012-11-02 Thread Prish goyal
On 2 Nov 2012 17:38, Mark Murphy mmur...@commonsware.com wrote: On Fri, Nov 2, 2012 at 2:10 AM, Keith Wiley kbwi...@gmail.com wrote: All right. I brought this up a few weeks ago on this list and some of the advice on the topic was to avoid menus entirely and replace them with in-app

[android-developers] Unexpected animation when changing Layout Margins on Jelly Bean

2012-11-02 Thread Sanchiski
Since I upgraded to Jelly Bean 4.1.1 I have an unexpected sliding animation whenever changing the margins of any RelativeLayout programmatically. This happens if for example I change margins from (10, 10, 200, 200) to (20, 20, 220, 220), so meaning that because of the margins the layout will

Re: [android-developers] Is the 'back' button still kosher?

2012-11-02 Thread Latimerius
On Fri, Nov 2, 2012 at 1:02 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Nov 2, 2012 at 2:10 AM, Keith Wiley kbwi...@gmail.com wrote: All right. I brought this up a few weeks ago on this list and some of the advice on the topic was to avoid menus entirely and replace them with in-app

[android-developers] Drawable.createfrompath not working!

2012-11-02 Thread Talha Qamar
Hi i m making an application in which i have put images in drawable folder the names of images are s5p1.jpg,s5p2.jpg,s5p3.jpg. User give two inputs in two EditTexts e.g 5 and 2.Now i convert this user input into s5p2 by concatenating with string.Now i am using Drawable .CreatePath method to

[android-developers] Re: Localized Images in Google Play

2012-11-02 Thread MathieuB
Sadly not, from my experience. Had the same problem with my banner on Google Play. No way to have a different one for each languages. Google Play have many adjustments to do in my opinion. They are becoming the leader and have exceeded Apple over the # of apps on the store. Now they need to

[android-developers] multiple instances of activity created

2012-11-02 Thread vani reddy
Hi All, I am starting activities from A-B-C in acttivity C i am creating a notification , when i click on the notification it opens A, but I want to open activity C. On back press from A it goes to C. I t shows there are mulitple instances of A created.A is the MAIN launcher activity How to avoid

[android-developers] Re: (Http)URLConnection.setUseCaches(false) isn't working

2012-11-02 Thread Streets Of Boston
Did you try to add caching headers to the request and/or response: Your android client app' request: If-None-Match: **, If-Modified-Since: **, If-Unmodified-Since: ** Your server's response: Cache-Control: *no-cache*, ETag: *x* On Friday, November 2, 2012 2:40:57 AM UTC-4, Keith

[android-developers] Re: (Http)URLConnection.setUseCaches(false) isn't working

2012-11-02 Thread bob
Are you using WiFi or your phone's data connection? I saw this strange issue with this Origami Iris game where it would somehow load a page from the cache if I used my MetroPCS connection. Didn't happen on Wifi though. Very weird. On Friday, November 2, 2012 1:27:38 AM UTC-5, Keith

Re: [android-developers] broken breakpoint

2012-11-02 Thread bob
Okay. To reproduce the problem: Create a new project: Add this class: package com.break_test; import java.io.IOException; import java.util.UUID; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothServerSocket; import android.bluetooth.BluetoothSocket; import

[android-developers] Re: Drawable.createfrompath not working!

2012-11-02 Thread bob
That function is expecting a file path: public static Drawable createFromPath (String pathName) Added in API level 1 Create a drawable from file path name. It wants something like /mnt/sdcard/image.png Sounds like you want to use *assets*. On Friday, November 2, 2012 8:29:46 AM UTC-5, Talha

[android-developers] Re: can someone answer me a question about webkit android?

2012-11-02 Thread bob
I bet it is to speed up the performance when there's a lot of text on the page. Having to redraw lots of anti-aliased text might be expensive sometimes... On Thursday, October 18, 2012 11:53:07 PM UTC-5, 方灿 wrote: Hi all ,my question is : In android 4.0 webkit,there is a FrameCache

Re: [android-developers] broken breakpoint

2012-11-02 Thread Latimerius
On Fri, Nov 2, 2012 at 3:39 PM, bob b...@coolfone.comze.com wrote: new Listener_Thread(this).start(); This looks suspicious to me - try storing the reference to your Listener_Thread instance somewhere. If you don't it might immediately become eligible for GC and could be

Re: [android-developers] Re: (Http)URLConnection.setUseCaches(false) isn't working

2012-11-02 Thread Robert Greenwalt
Even if this is a carrier issue, please let us know - we'd like the carriers to do the right thing and do have some contacts to explore issues like this. Kieth, was this on mobile data or on wifi (or other)? On Fri, Nov 2, 2012 at 7:06 AM, bob b...@coolfone.comze.com wrote: Are you using WiFi

[android-developers] Re: In App Billing: making sense of errors in the logs.

2012-11-02 Thread bob
Maybe the 500 refers to this HTTP code? Internal Error 500 The server encountered an unexpected condition which prevented it from fulfilling the request. Maybe try again later? On Thursday, November 1, 2012 11:05:44 PM UTC-5, Bram Stolk wrote: Hi, I am integrating In App Billing, going by

Re: [android-developers] broken breakpoint

2012-11-02 Thread bob
I changed it to this: Listener_Thread listener_Thread = new Listener_Thread(this); listener_Thread.start(); The breakpoint still doesn't trigger. On Friday, November 2, 2012 9:59:17 AM UTC-5, latimerius wrote: On Fri, Nov 2, 2012 at 3:39 PM, bob b...@coolfone.comze.com javascript: wrote:

Re: [android-developers] broken breakpoint

2012-11-02 Thread Latimerius
On Fri, Nov 2, 2012 at 4:25 PM, bob b...@coolfone.comze.com wrote: I changed it to this: Listener_Thread listener_Thread = new Listener_Thread(this); listener_Thread.start(); Well what is the lifespan of listener_Thread? If it's local in onCreate() as seems to be implied then you haven't

Re: [android-developers] Is the 'back' button still kosher?

2012-11-02 Thread Keith Wiley
Thanks for coming back to my original question. So, perhaps we can all consider my situation from a higher level and discuss the possible design options we might choose from (and which options are most in the spirit of intended Android user experience). Although I have a few Android apps, the

[android-developers] Re: (Http)URLConnection.setUseCaches(false) isn't working

2012-11-02 Thread Keith Wiley
I don't generally use wifi unless there is an explicit reason to do so (poor cell coverage AND good wifi coverage...a rare combination). My data plan and data usage do not drive me to go to wifi (e.g. to save bandwidth). On Friday, November 2, 2012 7:06:52 AM UTC-7, bob wrote: Are you using

Re: [android-developers] Re: (Http)URLConnection.setUseCaches(false) isn't working

2012-11-02 Thread Keith Wiley
I haven't considered testing different kinds of connections...I figured the phone was responsible for the caching and the issue was unrelated to the connection...but I could test it. For that matter, it could be the fault of the particular phone (perhaps this phone caches http data without

Re: [android-developers] broken breakpoint

2012-11-02 Thread Kostya Vasilyev
Hold on a second. Calling start() on a thread surely keeps a reference somewhere that would prevent the thread from being GC'd while it's still running. As for the breakpoint, quoting Bob's original message: Now put a breakpoint on this line in the thread: BluetoothAdapter bluetoothAdapter =

Re: [android-developers] Re: (Http)URLConnection.setUseCaches(false) isn't working

2012-11-02 Thread Kostya Vasilyev
There could be an overzealous cache somewhere in the middle - either intentionally, or misconfigured, or an old buggy version. For example: http://squid-web-proxy-cache.1019090.n4.nabble.com/Problem-with-cached-entries-w-ETag-and-request-without-If-None-Match-header-td1048627.html I also

Re: [android-developers] broken breakpoint

2012-11-02 Thread bob
You're right. It only triggers if you put it on the second line. Do you think this is correct behavior? I guess I just always thought whitespace never mattered at all. On Friday, November 2, 2012 12:19:23 PM UTC-5, Kostya Vasilyev wrote: Hold on a second. Calling start() on a

Re: [android-developers] broken breakpoint

2012-11-02 Thread Latimerius
On Fri, Nov 2, 2012 at 6:15 PM, Kostya Vasilyev kmans...@gmail.com wrote: Hold on a second. Calling start() on a thread surely keeps a reference somewhere that would prevent the thread from being GC'd while it's still running. I would hope it doesn't but this is Java so yeah, possibly. One

Re: [android-developers] multiple instances of activity created

2012-11-02 Thread TreKing
On Fri, Nov 2, 2012 at 8:53 AM, vani reddy vani.reddy.bl...@gmail.comwrote: final ListRecentTaskInfo recentTaskInfos = am.getRecentTasks(1024,0); String myPkgNm = context.getPackageName(); if(!recentTaskInfos.isEmpty()) { RecentTaskInfo recentTaskInfo; final int size =

Re: [android-developers] broken breakpoint

2012-11-02 Thread Kostya Vasilyev
2012/11/2 bob b...@coolfone.comze.com You're right. It only triggers if you put it on the second line. Do you think this is correct behavior? Whether it's correct or not is a loaded question, I'm not gonna discuss this without a lawyer :) Putting it another way: I remember debuggers for

Re: [android-developers] broken breakpoint

2012-11-02 Thread Kostya Vasilyev
2012/11/2 Latimerius l4t1m3r...@gmail.com On Fri, Nov 2, 2012 at 6:15 PM, Kostya Vasilyev kmans...@gmail.com wrote: Hold on a second. Calling start() on a thread surely keeps a reference somewhere that would prevent the thread from being GC'd while it's still running. I would hope it

[android-developers] Re: Jelly Bean Edit Calendar Event Intent

2012-11-02 Thread Mike Summerton
On Saturday, 27 October 2012 11:05:48 UTC+1, Mike Summerton wrote: I have some code in my app which uses an intent to bring up the built in Calendar editor to edit the event. It works fine pre ICS, but on Jelly Bean it only allows me to edit the event's alarms and timezone. The code used

Re: [android-developers] broken breakpoint

2012-11-02 Thread Latimerius
Good to know, cheers. On Fri, Nov 2, 2012 at 6:59 PM, Kostya Vasilyev kmans...@gmail.com wrote: 2012/11/2 Latimerius l4t1m3r...@gmail.com On Fri, Nov 2, 2012 at 6:15 PM, Kostya Vasilyev kmans...@gmail.com wrote: Hold on a second. Calling start() on a thread surely keeps a reference

Re: [android-developers] Is the 'back' button still kosher?

2012-11-02 Thread Latimerius
For all your secondary UI screens, it should be possible to add an on-screen back button so I'd do it. As for in-game, that's for you to decide - I haven't seen your game. If there's a place on your in-game screen where a pause button wouldn't get in the way, I'd add it. Once in the paused

[android-developers] How do updates for apps work in Google Play?

2012-11-02 Thread Jungle Jim
I have recently written and uploaded to Google Play an update to a free app I have written. It has about 50 active device installs. In order to notify the people who have active device installs, do I need to do something particular in Google Play or Android Developer Console? Or does it

[android-developers] How do I make an app that allows users to interact with each other?

2012-11-02 Thread Jason Hsu
How do I make an app that allows users to interact with each other? I assume that this requires a central server that interacts with the app. Examples of such interactive apps: 1. Message boards 2. Chat rooms 3. Multiplayer games Please point me to the types of tools behind such interactive

Re: [android-developers] How do I make an app that allows users to interact with each other?

2012-11-02 Thread TreKing
On Fri, Nov 2, 2012 at 5:26 PM, Jason Hsu jhsu802...@gmail.com wrote: Please point me to the types of tools behind such interactive apps. www.google.com - TreKing

Re: [android-developers] How do I make an app that allows users to interact with each other?

2012-11-02 Thread Satya Komatineni
that is an ambitious question. :) See a little bit of research I have done http://satyakomatineni.com/item/4234 this space is coming to be known as BAAS (Back end as a service) Some players are Cocoafish - Appecelerator/Titanium now ACS Parse Applicasa Stackmob Kinvey But thats just tip of

[android-developers] android multiple contact picker

2012-11-02 Thread prudhvi p n v
hi guys, -- 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,

[android-developers] android multiple contact picker

2012-11-02 Thread prudhvi p n v
hi guys, -- 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,

[android-developers] Re: android multiple contact picker

2012-11-02 Thread prudhvi p n v
hi guys, -- 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,

[android-developers] Re: Creating OpenGL shaders from an alternate class

2012-11-02 Thread Braindrool
Tried a different shader with no success. I see no apparent error either. Logcat: 11-02 23:02:01.035: I/System.out(833): Finished loading: models/monkey.ply 11-02 23:02:01.045: I/System.out(833): Finished loading: shaders/vertex/default *11-02 23:02:01.045: I/System.out(833): attribute

Re: [android-developers] Re: Creating OpenGL shaders from an alternate class

2012-11-02 Thread Kostya Vasilyev
It's pretty weird to see the \n-s make it into the log as is... Do your shader files perhaps contain those two symbols (the backslash and the n) at the end of each line? Are they really supposed to be there if they do? -- K On 11/03/2012 03:04 AM, Braindrool wrote: Tried a different shader

Re: [android-developers] Re: Creating OpenGL shaders from an alternate class

2012-11-02 Thread RichardC
You need to call: glGetShaderInfoLog to get the output from the shader compiler if there is an error. HOWEVER it is bugged: http://code.google.com/p/android/issues/detail?id=9953 The work-round is in comment 7 On Friday, November 2, 2012 11:20:09 PM UTC, Kostya Vasilyev wrote: It's pretty