[android-developers] partial wakelock for 3G in Android
Hello, Anyone from android development team confirm the answer to this: http://stackoverflow.com/questions/4628058/partial-wakelock-for-3g-in-android/ Thanks -- 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
Re: [android-developers] Gingerbread BroadcastReceiver Issue
Yes then it will restart. You may want to have a look at the log when it goes away to see if anything interesting is printed. Also adb shell dumpsys activity services well tell you the state of currently active services (even if their process isn't running). Oh also check for crashing. If a service's process crashes a few times, the services in it will be force removed. On Fri, Jan 7, 2011 at 11:03 PM, Jake Basile jakerbas...@gmail.com wrote: I assumed it would get killed and attempted to design around that so that it gets restarted. I return START_STICKY onStartCommand, which I interpreted as meaning it will be restarted after it is killed. Is that incorrect? What can be returned from onStartCommand that can cause onDestroy() to not be called? -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
[android-developers] convert web page to pdf
Hi All, I have requirement in which I need to convert web page to pdf. How to do this in android? Please help. Thanks Kavitha -- 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
[android-developers] Interaction with other apps
Hi, I'm investigating if I can make an app that runs in background but is able to interact with others by enriching texts adding relevant information. For instance, interact with an existent twitter app or the mail app reading text and showing a popup with detected relevant words. Is there a way to do so? Thanks in advace for any help -- 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
[android-developers] Re: App Add-on
First, let me point you at this RFE: http://www.google.com/support/forum/p/Android+Market/thread?fid=2d69022f36ab6f460004994e8be08b82hl=en I've noticed the LVL library has (and talks about) using a double license check. You could actually use this kind of pattern to add license levels to your app in the way your talking about doing. The consumers act of buying and installing would flag a feature in your db. I've also been considering another approach where your main app would look up features in a content provider. This has the advantage that if the enabling app was uninstalled, you would no longer be able to access the new features. Also, your users would not get duplicate icons in their launcher if you don't provide a main activity. - Brill Pappin On Jan 7, 1:55 pm, John Gaby jg...@gabysoft.com wrote: I have a game for which I would like to be able to sell add-on packs. I would prefer that there was some in-game way to make these purchases, but, alas, there does not appear to be any such mechanism. I am considering the idea of creating separate add-on apps which, when run, would add features to the game. I believe that I have seen this done by others. My question is, how do people deal with the refund process. I mean, the user will be able to purchase the add-on, run it, and then request a refund, which would result in them getting it for free. Has anyone else had experience with this model? Thanks -- 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
[android-developers] Re: Drawing on a canvas like normal VS OpenGl
On Jan 8, 4:34 am, brian purgert brianpurge...@gmail.com wrote: So I was just wondering is openGL better in terms of making a 2dgame. does it render faster then if I were to draw on a Canvas I would definitely go with OpenGL. I've not used the canvas, but I seriously doubt it is as fast, and definitely isn't as flexible. It may be easier to use though if your game is simple (e.g. I would use it for something like a board game). Also, using OpenGL will let you easily port your game to other OSes (except WP7). -- 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
[android-developers] Re: Can't Uninstall
Not the same package name. By keywords, I mean that they look for the app using the Market App Search function and find ours at the top of the list with a very similar name, so they assume it's the same. On Jan 7, 9:54 pm, Dianne Hackborn hack...@android.com wrote: What do you mean by similar keywords? Is it that the app label the user sees is the same? Hopefully they don't both have the same package name. On Fri, Jan 7, 2011 at 5:59 PM, nextgen nextgenfant...@comcast.net wrote: OK, and the final answer is ... You are right! It is an installed app. Turns out after some more research, Verizon has started including an app as part of the system image that has similar keywords to ours. The user tries to uninstall it and can't. So the user goes to the Market App, finds our app due to the similar keywords and mistakes it for the pre-installed one - so the user then sends us an email about the problem. Thanks for your help in tracking this down. On Jan 7, 3:19 pm, Dianne Hackborn hack...@android.com wrote: The first and third sound very much like an app pre-installed in the system image: it will not show up in the default manage apps downloaded list, but will be in the all list. You can not uninstall it (the button is disabled). You can install an update to it from Market, and I think Market will go through the flow of installing an update not like you are installing it the first time. Anyway, if the app is not in the downloaded list but is in the all list, it is almost certainly built in to the system image. On Wed, Jan 5, 2011 at 6:04 AM, Russell DuRoss r2s...@gmail.com wrote: One of them says: ...has appeared on my droid x. It may have been downloaded by mistake, I am not sure. It does not appear to be the same 1 as is available on marketplace. I am hesitant to open it. I don't seem to be able to find a way to erase it without opening it first. Another says in the Market App it shows only an install option. Also, for this user: I've already been to Settings Manage Applications and done that. It doesn't appear and none of the uninstallers seem to show it either. It doesnt show in my downloaded files either. A 3rd user says: followed your instructions, however program does not appear in the manage applications list that were downloaded. Program does appear in the all program list but will not allow uninstall. When click on program the uninstall icon is greyed out. Have even tried several uninstall programs nothing seems to work. I have asked them all for: 1. phone type 2. Android version 3. Whether they installed it using market or some other way (don't know what that could be since we haven't provided any other way) 4. Digital images of the phone screens if they want to go to that length to get it solved. So, I'm waiting to hear back from them. Thanks for you help so far. On Jan 4, 8:41 pm, Dianne Hackborn hack...@android.com wrote: If you go to Settings Manage Applications, that is not part of Market at all. In that case the button would be grayed out because the app is built into the system image. There is no other reason I know of for it to be grayed out. On Tue, Jan 4, 2011 at 1:49 PM, Kumar Bibek coomar@gmail.com wrote: Any information on the devices or OS version? I suspect, its a problem with the market app. They have been pushing updates to this behind the scenes. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Jan 5, 2011 at 3:17 AM, nextgen nextgenfant...@comcast.net wrote: In the last couple of weeks I have received a handful of emails about users' inability to uninstall one of our apps. That app has been in the market for over 2 months and this is the first I've heard of this issue. I responded to the users with uninstall instructions and they say that the app either isn't listed or the Uninstall button is Gray. I was able to uninstall it from my own phone without a problem. I have no clue what this is all about - any ideas? -- 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@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 post to this group,
[android-developers] Use wireless networks setting not always available?
Hello, I have an app that relies on wireless network location, i.e. which receives location updates from the NETWORK provider. In order for this to work, the phone must have Use wireless networks enabled under the Location security settings, and my app instructs the user on how to enable this. However, it turns out that some phones (e.g. on certain American carriers) don't have this setting at all. Instead they have two settings: VZW location services and Google location services My questions: 1) Am I correct in assuming that the first of these refers to mobile network location, and the second to Wi-Fi network location? 2) How can my app detect whether the phone has the single Use wireless networks option, or if it has both of the above mentioned options? I imagine that the naming of VZW location services is carrier-specific -- is there any way of obtaining the name of this option programatically so I can provide appropriate instructions to my users, ideally localised to the user's language? 3) If the phone has both settings, how can I detect which ones are enabled? In other words, what is the return value of LocationManager.isProviderEnabled(NETWORK) if e.g. only VZW location services is enabled and not Google location services? Any pointers would be greatly appreciated. Best, Michael. -- 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
Re: [android-developers] Re: How to access mail ?
On Sat, Jan 8, 2011 at 1:16 AM, Bob Kerns r...@acm.org wrote: But you'll note that my suggested minimal protocol side-steps the issue by not exposing anything about the email other than its arrival, except via an optional content provider URL. That's where the permissions would hook in. Off the cuff, I'd want the permissions even on the broadcasts, but that might just be me. What you propose below is another approach to this -- unifying applications in the face of non-standardization. It has its merits, especially as a transitional measure. It is also an opportunity to establish a defacto standard, especially if it publishes the best protocol as an OpenIntents.org interface, and supports that well. New apps (or old) which want to integrate well, could implement that protocol. Nowadays, I run in that direction under the my arms are too short to box with Google mindset I'm sporting. But a bit of leadership from Google would really help here. For example -- one VERY easy thing that the Google team could do is to publicize OpenIntents.org here: http://developer.android.com/intl/de/resources/community-groups.html I've been lobbying for this since 2008. If I can't convince them to put a frakkin' hyperlink on a Web page, there's no way in hell that I'm going to convince them to standardize APIs for calendar, email, etc. As I said, my arms are too short to box with Google. That's why I see the only hope in being a community-led approach: -- Create an API (e.g., email) -- Convince third-party app developers (e.g., K9) to implement said API, probably by helping them design the API in the first place -- Create a wrapper that uses all sorts of nasty techniques to graft that API on top of what's in Android today (e.g., Email app, device-specific email clients) -- Pray for a groundswell of apps using said API -- Much later, after this stuff becomes popular, try to contribute patches back to AOSP to put the API officially on this stuff, so we can get rid of (or at least shrink) the wrapper However, the kernel of all that is somebody with the itch to scratch. Right now, I don't have the itch to standardize email, calendar, etc. APIs. At most, I have the meta-itch of figuring out a process by which we can collectively get stuff like that done. I'm with you, in that I think Android is a more powerful platform with these sorts of things in place. However, my plate overfloweth, and I have lots of windmills to tilt at, to mix metaphors. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- 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
Re: [android-developers] convert web page to pdf
On Sat, Jan 8, 2011 at 4:12 AM, kavitha b kkavith...@gmail.com wrote: I have requirement in which I need to convert web page to pdf. Whoever gives you these requirements desperately needs to get a grip. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- 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
Re: [android-developers] Interaction with other apps
On Sat, Jan 8, 2011 at 4:13 AM, emafuma emanue...@gmail.com wrote: Hi, I'm investigating if I can make an app that runs in background but is able to interact with others by enriching texts adding relevant information. For instance, interact with an existent twitter app or the mail app reading text and showing a popup with detected relevant words. Is there a way to do so? Fortunately no, as that would be a substantial security hole. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- 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
[android-developers] Re: HTTP parameter question
You could use a StringBuilder but is very simple build it yourself without any help, I think. See this for stringbuilder :http://www.javadb.com/using-the- stringbuilder-class On 8 Gen, 02:08, John Lussmyer johnlussm...@gmail.com wrote: I don't think you understood my question. Given a list of key-value pairs, is there a utility class to build the ?key=valuekey=valuekey=value string.On Fri, Jan 7, 2011 at 3:00 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 7, 2011 at 5:40 PM, John Lussmyer johnlussm...@gmail.com wrote: Does one of the HTTP support classes handle building a parameterized URL? i.e one of the sorthttp://a.com/stuff?a=bc=de=f Yes, I know writing one would be easy, but if there is already one out there... http://developer.android.com/reference/java/net/URLEncoder.html -- 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
[android-developers] Re: What type of messaging would you use?
Well, for reliable working, I think it would be best to use multiple channels. SMS, cloud and local network(wireless or LAN), one of these when the others are not available. On Jan 8, 3:52 am, Nathan critter...@crittermap.com wrote: A client might have a use case for peer to peer or group sharing of location. Internet access, cell phone coverage not guaranteed. Wifi is available on a large private LAN. Users may have phones or more likely, tablets. A group of users are assigned a known key. User can periodically send their location to one or all members of the group. If this were a place with phone coverage, I believe I would pick SMS and send a broadcast intent. The location plus other status information will probably fit in 140 characters or less. What messaging would you use in this situation? I haven't really done much message related programming with Android, and I thought I would check here first, since someone has probably solved this already. Thanks. Nathan -- 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
[android-developers] Re: How to stop ADB server
What do you mean by dynamically? From inside an app? What would you try to do that? Anyway, to shut down the adb server, you just have to use this commands adb kill-server adb start-server These are command line tools available for you to interact with adb. On Jan 7, 10:42 am, b_hirawat b.hirawa...@gmail.com wrote: Hi, I am new to Android. I am Trying to stop ADB server dynamically. Cab anybody let me know were I can find the ADB server code in Adroid froyo code. Any kind of help is appreciable. Thanks in advanced. B Hirawat. -- 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
[android-developers] About viewstubs
I'm trying to gasp viewstubs but I feel I'm missing something. As I understand, a viewstub only exists in a hierarchy until inflated or until made visible. After that is replaced by its referenced layout. This behaviour makes impossible to reinflate a inflated viewstub. Is this correct? The behaviour I was looking for was to have several buttons that would open diferente viewstubs. When I click a button it would deflate the previous layout and inflate the new one but this only works the first time... After that the viewstub is gone... -- 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
[android-developers] First attempt at LVL Licensing
Hi all. I'm implementing this into my app and reading through the docs. As I understand it I should be able to add a test email address (the one set up in my device) and it should return whatever response I set. However, all I'm getting back is Application error: NOT_MARKET_MANAGED Do I have to upload my app to the market for this to work? Currently it isn't, but the docs seem to tell my that this isn't necessary for test accounts. Thanks. -- 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
[android-developers] Re: DNS WHOIS query support
On 8 янв, 01:25, RAJ trra...@gmail.com wrote: Is there a android SDK API to get DNS name servers from given URL, using WHOIS query? Or We will have to implement our own code and parse to decode the response? Any links? thanks -- 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
[android-developers] Re: DNS WHOIS query support
http://www.dnsjava.org/ might help. Though, how it works on Android I don't know Record [] records = new Lookup(android.com, Type.NS).run(); for (int i = 0; i records.length; i++) { MXRecord mx = (MXRecord) records[i]; System.out.println(Host + mx.getTarget() + has preference , mx.getPriority()); } On 8 янв, 01:39, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 7, 2011 at 6:25 PM, RAJ trra...@gmail.com wrote: Is there a android SDK API to get DNS name servers from given URL, using WHOIS query? Not that I am aware of. Or We will have to implement our own code and parse to decode the response? A simple Google search on: java whois turns up many possibilities. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- 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
[android-developers] Re: Launching an application from a email. Is that possible?
okay, i finally got this to work, but it will only work if i use a unique scheme. if I try to do it without a standard http scheme, then i can't get it to work -- even if I specify mimeType. On Jan 7, 8:01 am, Kumar Bibek coomar@gmail.com wrote: I think yes. http://thinkandroid.wordpress.com/2010/02/02/custom-intents-and-broad... But if it will work on the gmail app, or any other app is a question that I am not sure of (but most probably you should be able to do this). Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Fri, Jan 7, 2011 at 9:19 PM, Parag parag.bhag...@cgi.com wrote: Hi All, I am looking for a way to launch an application from a link sent in an email? Is that possible? The application i am developing is basically a work order application which is installed on the device. If a new work order comes an email will be sent to the registered email address and that email will havea link to launch the application. Let me know your views. Thanks, Parag -- 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.comandroid-developers%2bunsubscr...@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 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
Re: [android-developers] Drawing on a canvas like normal VS OpenGl
On Sat, Jan 8, 2011 at 5:34 AM, brian purgert brianpurge...@gmail.comwrote: So I was just wondering is openGL better in terms of making a 2dgame. does it render faster then if I were to draw on a Canvas It really depends on what you're doing.There are certain things that are simply not possible or simply slower with OpenGL (e.g. high-quality anti-aliased vector rendering being one of them). Also not all GLES driver/chips are the same, and your performance may vary. -- 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.comandroid-developers%2bunsubscr...@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 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
[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)
On 19 Dez. 2010, 01:08, Dianne Hackborn hack...@android.com wrote: Except for NFC, I don't think there is much any other high-end Android device would be holding you back from doing. This applies also to the availability of Nexus One and ADP2: Why are they available as dev phone when every recent phone has the same or better features? And what's the use of a Nexus S when any other high- end Android device does just as well? If Android 2.3 is available globally, then the Android 2.3 reference phone should be available globally too. But maybe Google can't because Best Buy has exclusive rights to (not) distribute Nexus S globally. -- 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
[android-developers] Current state of PUSH notifications for apps?
I'm looking at an app where I will really need to support PUSH notifications. After a bunch of Google searches - I'm generally confused as to the state of PUSH support on Android. IS there a standard way of doing it yet? Preferably on 2.1? -- 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
Re: [android-developers] Current state of PUSH notifications for apps?
C2DM is only available for 2.2 and up. There is no direct way, or already cooked up apis in older versions which you can use. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sat, Jan 8, 2011 at 9:18 PM, John Lussmyer johnlussm...@gmail.comwrote: I'm looking at an app where I will really need to support PUSH notifications. After a bunch of Google searches - I'm generally confused as to the state of PUSH support on Android. IS there a standard way of doing it yet? Preferably on 2.1? -- 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.comandroid-developers%2bunsubscr...@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 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
Re: [android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)
On Sat, Jan 8, 2011 at 10:34 AM, RobBln robert.jaemmr...@googlemail.com wrote: This applies also to the availability of Nexus One and ADP2: Why are they available as dev phone when every recent phone has the same or better features? Dev phones are for people devising alternative firmware. They are not necessary for ordinary Android SDK development. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- 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
[android-developers] Re: Launching an application from a email. Is that possible?
okay, yeah, doesn't work -- intent-filter action android:name=android.intent.action.VIEW/ category android:name=android.intent.category.DEFAULT/ category android:name=android.intent.category.BROWSABLE/ data android:scheme=http/ data android:host=www.mycompany.com/ data android:path=subpath/ data android:mimeType=mycompany/test/ /intent-filter And my html looks like this: a href=http://www.mycompany.com/subpath?arg=1; mimetype=mycompany/testTest Link/a When I click on that link in the phone's browser, it tries to navigate to a page within the browser instead of launching my app... And in the logcat window, I can see the intent, and everything looks fine except for the component: cmp=com.android.browser/.BrowserActivity On Jan 8, 7:12 am, sdphil phil.pellouch...@gmail.com wrote: okay, i finally got this to work, but it will only work if i use a unique scheme. if I try to do it without a standard http scheme, then i can't get it to work -- even if I specify mimeType. On Jan 7, 8:01 am, Kumar Bibek coomar@gmail.com wrote: I think yes. http://thinkandroid.wordpress.com/2010/02/02/custom-intents-and-broad... But if it will work on the gmail app, or any other app is a question that I am not sure of (but most probably you should be able to do this). Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Fri, Jan 7, 2011 at 9:19 PM, Parag parag.bhag...@cgi.com wrote: Hi All, I am looking for a way to launch an application from a link sent in an email? Is that possible? The application i am developing is basically a work order application which is installed on the device. If a new work order comes an email will be sent to the registered email address and that email will havea link to launch the application. Let me know your views. Thanks, Parag -- 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.comandroid-developers%2bunsubscr...@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 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
[android-developers] Re: App Add-on
Thanks for the input. Your solution would be nice IF Google would implement it. They could also implement an in-app purchase mechanism like Apple's, which works quite well. However, I wouldn't hold your breath waiting for either of those to happen. As for having a content provider keep track, there is no way to match purchases from the Market to user's devices. That means that the user would have to run the add-on app so that it could communicate with the server. This has the same problem that I am facing now, but also adds the requirement that the user have internet connectivity to run his app. On Jan 8, 1:29 am, Brill Pappin br...@pappin.ca wrote: First, let me point you at this RFE:http://www.google.com/support/forum/p/Android+Market/thread?fid=2d690... I've noticed the LVL library has (and talks about) using a double license check. You could actually use this kind of pattern to add license levels to your app in the way your talking about doing. The consumers act of buying and installing would flag a feature in your db. I've also been considering another approach where your main app would look up features in a content provider. This has the advantage that if the enabling app was uninstalled, you would no longer be able to access the new features. Also, your users would not get duplicate icons in their launcher if you don't provide a main activity. - Brill Pappin On Jan 7, 1:55 pm, John Gaby jg...@gabysoft.com wrote: I have a game for which I would like to be able to sell add-on packs. I would prefer that there was some in-game way to make these purchases, but, alas, there does not appear to be any such mechanism. I am considering the idea of creating separate add-on apps which, when run, would add features to the game. I believe that I have seen this done by others. My question is, how do people deal with the refund process. I mean, the user will be able to purchase the add-on, run it, and then request a refund, which would result in them getting it for free. Has anyone else had experience with this model? Thanks -- 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
[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)
On Jan 8, 7:57 am, Mark Murphy mmur...@commonsware.com wrote: Dev phones are for people devising alternative firmware. They are not necessary for ordinary Android SDK development. ... but sure are a good idea to have. We've seen a selection of dogs where USB drivers weren't available or LogCat wouldn't pick anything up because the device wouldn't provide any output on the USB port... I also like the presence of dev devices so scope can be established when writing proposals, along the line of ... tested on the Android reference devices Google Ion and Nexus One. -- 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
Re: [android-developers] Drawing on a canvas like normal VS OpenGl
You should watch this: http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html On Fri, Jan 7, 2011 at 8:34 PM, brian purgert brianpurge...@gmail.com wrote: So I was just wondering is openGL better in terms of making a 2dgame. does it render faster then if I were to draw on a Canvas -- 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 -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://developingthedream.blogspot.com/, http://www.youtube.com/user/revoltingx -- 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
[android-developers] Using ProGuard
Hi. The android docs at: http://developer.android.com/guide/developing/tools/proguard.html say: When you create an Android project, a proguard.cfg file is automatically generated in the root directory of the project. Am I missing something? I can't see this file. Do I have to install or download or configure something first? Thanks. -- 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
Re: [android-developers] Using ProGuard
At least for command-line development, the latest dev tools will create this file for new projects or projects you update (e.g., android update project -p .). On Sat, Jan 8, 2011 at 11:40 AM, Neilz neilhorn...@gmail.com wrote: Hi. The android docs at: http://developer.android.com/guide/developing/tools/proguard.html say: When you create an Android project, a proguard.cfg file is automatically generated in the root directory of the project. Am I missing something? I can't see this file. Do I have to install or download or configure something first? Thanks. -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- 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
Re: [android-developers] Using ProGuard
On 8 January 2011 17:40, Neilz neilhorn...@gmail.com wrote: Am I missing something? I can't see this file. Do I have to install or download or configure something You have to create new project with recent ADT. Previous version had no proguard support and no proguard.cfg was created. If you got existing project then simply create new one, copy proguard.cfg from it. Also keep in mind that if you got android SDK in path with spaces, (i.e. C:\Documends and settings\.) proguard will fail. Kinda lame from Google dev to not test that correctly - workaround is to move SDK to other location w/o spaces in path. BTW: proguard.cfg is incomplete if you deal with Services and backward compatibility. -- 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
[android-developers] Trying to return to a previous screen
Not sure if I am doing this right, but here is what I am trying to do. I got my CodeActivity(Code Below) that assigns a bunch of buttons. On button 4, I pull up another contentView to display some buttons under that particular button. Then on the button 4(or the back button) I want to return to the previous page of the CodeActivity. If i hit the back button, the app exits so I tried putting a back button on the form and setting it back to the original contentview but then the buttons didn't work for the original codeactivty page. I need another pair of eyes to help me work through this issue. package info.tAIR.tAIRApp; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast; public class CodeActivity extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.codetab); final Button button01 = (Button) findViewById(R.id.Button01); button01.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://code.google.com/p/the-ai-repository;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button02 = (Button) findViewById(R.id.Button02); button02.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://code.google.com/p/the-ai-repository/downloads/list;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button03 = (Button) findViewById(R.id.Button03); button03.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://code.google.com/p/the-ai-repository/source/browse/;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button04 = (Button) findViewById(R.id.Button04); button04.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on contributors click // onPause(); setContentView(R.layout.contributors); final Button button01 = (Button) findViewById(R.id.Button01); button01.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://www.tAIIC.com;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button02 = (Button) findViewById(R.id.Button02); button02.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://sites.jsoft.com/rm/home;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button03 = (Button) findViewById(R.id.Button03); button03.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://www.suavestudio.com/;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button04 = (Button) findViewById(R.id.Button04); button04.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Intent newIntent=new Intent(android.intent.action.CODE); newIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(newIntent); } }); } }); final Button button05 = (Button) findViewById(R.id.Button05); button05.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on
[android-developers] Re: Eclipse: Export signed application log
Hi, About adwhirl problems with proguard, here is what I have added to make it working (thanks to this post:http://www.andengine.org/forums/ tutorials/how-to-use-proguard-to-obfuscate-your-andengine-project- t738.html) : -ignorewarnings -keep public class com.adwhirl.adapters.AdMobAdapter {*;} -keep public class com.adwhirl.adapters.ZestAdzAdapter {*;} -keep public class com.adwhirl.adapters.MillennialAdapter {*;} -keep public class com.admob.android.ads.** {*;} -keep public class com.millennialmedia.android.** {*;} -keep public class com.zestadz.android.** {*;} -keep public class * extends Android.view.View { public init(android.content.Context); public init(android.content.Context, android.util.AttributeSet); public init(android.content.Context, android.util.AttributeSet, int); public void set*(...); } Seb. -- 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
[android-developers] Re: Using ProGuard
Thanks guys, I'm getting there. But I get the error that you mentioned Cannot find C:\Documents Everything is now under C:\android apart from the workspace itself, which is under Documents and Settings. Surely I don't have to completely move my workspace too? On Jan 8, 4:46 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 8 January 2011 17:40, Neilz neilhorn...@gmail.com wrote: Am I missing something? I can't see this file. Do I have to install or download or configure something You have to create new project with recent ADT. Previous version had no proguard support and no proguard.cfg was created. If you got existing project then simply create new one, copy proguard.cfg from it. Also keep in mind that if you got android SDK in path with spaces, (i.e. C:\Documends and settings\.) proguard will fail. Kinda lame from Google dev to not test that correctly - workaround is to move SDK to other location w/o spaces in path. BTW: proguard.cfg is incomplete if you deal with Services and backward compatibility. -- 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
[android-developers] Re: Using ProGuard
To answer my own question, clearly I did have to move my workspace, as the project compiles now and Proguard has output all its files into the specified directory. I assume that if it didn't complain, and has output the files that the docs state, then it ran successfully and that's all I have to worry about? On Jan 8, 5:51 pm, Neilz neilhorn...@gmail.com wrote: Thanks guys, I'm getting there. But I get the error that you mentioned Cannot find C:\Documents Everything is now under C:\android apart from the workspace itself, which is under Documents and Settings. Surely I don't have to completely move my workspace too? -- 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
Re: [android-developers] Trying to return to a previous screen
Anthony, There is only one content view per activity. If you change it, then change back, then you need to obtain new UI element references by calling findViewById all over again. Second, if android.intent.action.CODE is your own action string, don't start it with android. Third, you can handle the back button if needed by overriding onKeyDown and checking for keyCode == KeyEvent.KEYCODE_BACK. Hope this helps. -- Kostya 08.01.2011 20:38, Anthony Barnes ?: Not sure if I am doing this right, but here is what I am trying to do. I got my CodeActivity(Code Below) that assigns a bunch of buttons. On button 4, I pull up another contentView to display some buttons under that particular button. Then on the button 4(or the back button) I want to return to the previous page of the CodeActivity. If i hit the back button, the app exits so I tried putting a back button on the form and setting it back to the original contentview but then the buttons didn't work for the original codeactivty page. I need another pair of eyes to help me work through this issue. package info.tAIR.tAIRApp; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast; public class CodeActivity extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.codetab); final Button button01 = (Button) findViewById(R.id.Button01); button01.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://code.google.com/p/the-ai-repository;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button02 = (Button) findViewById(R.id.Button02); button02.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://code.google.com/p/the-ai-repository/downloads/list;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button03 = (Button) findViewById(R.id.Button03); button03.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://code.google.com/p/the-ai-repository/source/browse/;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button04 = (Button) findViewById(R.id.Button04); button04.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on contributors click // onPause(); setContentView(R.layout.contributors); final Button button01 = (Button) findViewById(R.id.Button01); button01.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://www.tAIIC.com;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button02 = (Button) findViewById(R.id.Button02); button02.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://sites.jsoft.com/rm/home;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button03 = (Button) findViewById(R.id.Button03); button03.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Uri uri = Uri.parse(http://www.suavestudio.com/;); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } }); final Button button04 = (Button) findViewById(R.id.Button04); button04.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform action on click Intent newIntent=new Intent(android.intent.action.CODE); newIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(newIntent); } }); } }); final Button button05 = (Button) findViewById(R.id.Button05); button05.setOnClickListener(new OnClickListener() { public void onClick(View v) { //Perform
[android-developers] Re: NFC Secure Element
I was able to enable a secure element the other day by messing around with this external/libnfc-nxp library. I enabled SMX (SmartMX) in the config headers, and upon booting and monitoring `adb logcat` during boot I saw 1 secure elements (a SmartMX one) had been enabled. I was then able to change the mode in NfcService.java to card emulation mode. The Nexus S is now emulating a MiFare Classic 4k card. However, I am not able to read sectors from the card directly. I've been trying to use the micmd tool to do that but things act pretty strangely. For example, I tried to read block 0 and micmd tells me Could not read the data block! Tag halted, reconnecting... but what's even stranger is that at that point, 'adb logcat' shuts itself off. As if that read command somehow interfered with USB or logging? However trying `a` commands to authenticate in micmd always works for some reason and it'll even pretent to write and persist data to blocks; but of course that data never actually gets persisted to the emulated card. Maybe this is a bug in micmd? Does anyone know if the Nexus S hardware (or its PN544 NFC chipset) even contains a hardware secure element like SmartMX? I tried also enabling UICC but that didn't seem to work at all and NFC service wouldn't even start in that case. Plus my SIM card is MANY years old and not sure it'd even work... Either way, I used libnfc.org's `nfc-mfclassic` tool to dump out the contents of that emulated 4k card. It is here: http://pastebin.com/zKZ2ELcw Seems to be entirely blank which is why I'm wondering if these aren't some default values it would spit out anyway even if no SmartMX module existed? If anyone has any more insights into this, I'd be very happy to hear them. -Nemanja On Dec 19 2010, 7:26 pm, nemik ne...@nemik.net wrote: Dominik, Yea, that's right. All it does currently is read; at least via the Java API. If you look at the kernel source though, a bunch of ifdefs which allow for emulation were all disabled. So full compliance with theNFCstandard will have to wait for a future kernel release. On Dec 7, 5:42 am, Gruntz Dominik dominik.gru...@fhnw.ch wrote: Hi everyone, Do I see it right, that the Android 2.3NFCAPI does not provide functionality to access a secure element? A secure element is a smartcard connected to theNFCcontroller, i.e. a secure storage in the device, either embedded in the mobile phone, on the SIM card or on a SD card. With JavaME access to the secure element was provided with JSR177 which supported the communication with smart card applications usind APDU commands. I have not seen comparable functionality in package android.nfc. Thanks for any hints Dominik -- 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
Re: [android-developers] Drawing on a canvas like normal VS OpenGl
Thanks I started watching that video, On Sat, Jan 8, 2011 at 8:37 AM, Miguel Morales therevolti...@gmail.comwrote: You should watch this: http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html On Fri, Jan 7, 2011 at 8:34 PM, brian purgert brianpurge...@gmail.com wrote: So I was just wondering is openGL better in terms of making a 2dgame. does it render faster then if I were to draw on a Canvas -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://developingthedream.blogspot.com/, http://www.youtube.com/user/revoltingx -- 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.comandroid-developers%2bunsubscr...@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 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
Re: [android-developers] Re: Using ProGuard
On 8 January 2011 20:02, Neilz neilhorn...@gmail.com wrote: To answer my own question, clearly I did have to move my workspace, as the project compiles now and Proguard has output all its files into the specified directory. My workspace is on path with spaces and moving SDK sufficed here. Blind guess: maybe you shall restart Eclipse once you moved SDK (i did that for other reasons, but who knows...) I assume that if it didn't complain, and has output the files that the docs state, then it ran successfully and that's all I have to worry about? In general if you export your app and that's done w/o any error then it meant ProGuard did not reported anything. But it does automatically mean you are on safe ground :) Do some tests with your apps as some default settings may kill your app (i.e. if you utilise Services ProGuard will strip onStartCommand() from your code if you build against SDK earlier than 5 (so you have to prevent that by hand), so as you just started with PG I'd suggest to pay more attention than usual and do some deep tests to ensure no oddities occur due to PG. -- 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
[android-developers] RPC service with notification
Hi everyone, I am looking for someone to help me with a simple RPC service. What I want to do is create a notification message once the service is started and every time the RPC interface is called I want to update the notification. Creating the notification works but when I add the following... P.S. new to GGs so sorry if there is some secret code tag public String getAndroidText(String conversation) throws RemoteException { NotificationManager currentManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); Context context = getApplicationContext(); CharSequence contentTitle = Sogeti; CharSequence contentText = This is a message; Intent notificationIntent = new Intent(this, AndroidServiceImpl.class); PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0); notification.setLatestEventInfo(context, contentTitle, contentText, contentIntent); currentManager.notify(NOTIFICATION_ID, notification); return Android Services are Fun!; } to my inner impl class, however, I get the following compile error... The constructor Intent(AndroidService.AndroidServiceImpl, ClassAndroidService.AndroidServiceImpl) is undefined Can someone help me do this the right way? Thanks! -- 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
Re: [android-developers] RPC service with notification
Intent(Context context, Class cls) needs a Context as first parameter, which AndroidService.AndroidServiceImpl is not :) I see you have a variable called context, you can probably use that, or use standard Java notation AndroidService.this to refer to the enclosing class instance, which as far as I can see, is a Service, which is a Context. -- Kostya 08.01.2011 22:55, Jackie G. пишет: Hi everyone, I am looking for someone to help me with a simple RPC service. What I want to do is create a notification message once the service is started and every time the RPC interface is called I want to update the notification. Creating the notification works but when I add the following... P.S. new to GGs so sorry if there is some secretcode tag public String getAndroidText(String conversation) throws RemoteException { NotificationManager currentManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); Context context = getApplicationContext(); CharSequence contentTitle = Sogeti; CharSequence contentText = This is a message; Intent notificationIntent = new Intent(this, AndroidServiceImpl.class); PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0); notification.setLatestEventInfo(context, contentTitle, contentText, contentIntent); currentManager.notify(NOTIFICATION_ID, notification); return Android Services are Fun!; } to my inner impl class, however, I get the following compile error... The constructor Intent(AndroidService.AndroidServiceImpl, ClassAndroidService.AndroidServiceImpl) is undefined Can someone help me do this the right way? Thanks! -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- 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
Re: [android-developers] Re: Launching an application from a email. Is that possible?
There is no need to play tricks with schemes and intent filters matching hosts and paths and such. Just use this Intent.toUri() method to turn the actual Intent you want (such as one with a custom action of yours and the package set to your app's package name) into a URI you can use else where such as in a web page: http://developer.android.com/reference/android/content/Intent.html#toUri(int) http://developer.android.com/reference/android/content/Intent.html#toUri(int) On Sat, Jan 8, 2011 at 8:00 AM, sdphil phil.pellouch...@gmail.com wrote: okay, yeah, doesn't work -- intent-filter action android:name=android.intent.action.VIEW/ category android:name=android.intent.category.DEFAULT/ category android:name=android.intent.category.BROWSABLE/ data android:scheme=http/ data android:host=www.mycompany.com/ data android:path=subpath/ data android:mimeType=mycompany/test/ /intent-filter And my html looks like this: a href=http://www.mycompany.com/subpath?arg=1; mimetype=mycompany/testTest Link/a When I click on that link in the phone's browser, it tries to navigate to a page within the browser instead of launching my app... And in the logcat window, I can see the intent, and everything looks fine except for the component: cmp=com.android.browser/.BrowserActivity On Jan 8, 7:12 am, sdphil phil.pellouch...@gmail.com wrote: okay, i finally got this to work, but it will only work if i use a unique scheme. if I try to do it without a standard http scheme, then i can't get it to work -- even if I specify mimeType. On Jan 7, 8:01 am, Kumar Bibek coomar@gmail.com wrote: I think yes. http://thinkandroid.wordpress.com/2010/02/02/custom-intents-and-broad. .. But if it will work on the gmail app, or any other app is a question that I am not sure of (but most probably you should be able to do this). Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Fri, Jan 7, 2011 at 9:19 PM, Parag parag.bhag...@cgi.com wrote: Hi All, I am looking for a way to launch an application from a link sent in an email? Is that possible? The application i am developing is basically a work order application which is installed on the device. If a new work order comes an email will be sent to the registered email address and that email will havea link to launch the application. Let me know your views. Thanks, Parag -- 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
Re: [android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)
On Sat, Jan 8, 2011 at 8:34 AM, JP joachim.pfeif...@gmail.com wrote: On Jan 8, 7:57 am, Mark Murphy mmur...@commonsware.com wrote: Dev phones are for people devising alternative firmware. They are not necessary for ordinary Android SDK development. ... but sure are a good idea to have. We've seen a selection of dogs where USB drivers weren't available or LogCat wouldn't pick anything up because the device wouldn't provide any output on the USB port... I also like the presence of dev devices so scope can be established when writing proposals, along the line of ... tested on the Android reference devices Google Ion and Nexus One. It is required for a device to ship with Market that it full support development and debugging over USB. If you find a device with Market where this doesn't work, please let us know -- we aggressively pursue CDD incompatibilities to get them fixed (it is a requirement for someone to ship with Market to fix any such issues that are found). That said, yes the dev devices are partly there to be a benchmark for how that platform is expected to behave. (Though for most cases you can test against the base platform using the emulator as well.) I sometimes like to refer to them as Android reference devices. :) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
Re: [android-developers] Drawing on a canvas like normal VS OpenGl
What about drawing multiple background layers On Jan 8, 2011 2:42 PM, brian purgert brianpurge...@gmail.com wrote: Thanks I started watching that video, On Sat, Jan 8, 2011 at 8:37 AM, Miguel Morales therevolti...@gmail.com wrote: You should watch this: http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html On Fri, Jan 7, 2011 at 8:34 PM, brian purgert brianpurge...@gmail.com wrote: So I was just wondering is openGL better in terms of making a 2dgame. does it render faster then if I were to draw on a Canvas -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://developingthedream.blogspot.com/, http://www.youtube.com/user/revoltingx -- 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.comandroid-developers%2bunsubscr...@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 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
Re: [android-developers] Drawing on a canvas like normal VS OpenGl
Going with OpenGL increases the complexity of the game as you now have to deal with activity life cycle issues and drivers. You also now have to manage creating and loading textures. All these things can be managed of course but they will have to be managed and hence will require more effort on your part. I have released Freddy Jump, Freddy Falling and Wrath all using regular canvas calls. They all have lite versions if you want to check them out. None of these games have a performance problem AFAIK but they are pretty basic. If your game requires sprite scaling or rotations, then I think you should consider OpenGL. Freddy Jump has rotations on Freddy but the scenery is sparse. If you're just starting out I would strongly suggest making a simple game that uses Canvas. Leigh On 1/8/2011 3:58 PM, brian purgert wrote: What about drawing multiple background layers On Jan 8, 2011 2:42 PM, brian purgert brianpurge...@gmail.com mailto:brianpurge...@gmail.com wrote: Thanks I started watching that video, On Sat, Jan 8, 2011 at 8:37 AM, Miguel Morales therevolti...@gmail.com mailto:therevolti...@gmail.com wrote: You should watch this: http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html On Fri, Jan 7, 2011 at 8:34 PM, brian purgert brianpurge...@gmail.com mailto:brianpurge...@gmail.com wrote: So I was just wondering is openGL better in terms of making a 2dgame. does it render faster then if I were to draw on a Canvas -- 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 mailto:android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://developingthedream.blogspot.com/, http://www.youtube.com/user/revoltingx -- 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 mailto:android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@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 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 -- Leigh McRae www.lonedwarfgames.com -- 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
[android-developers] Re: class name (Dbi) does not match path (classes/Dbi.class)
The key part of the answer lies directly in the error message. You'll have to do the legwork to a solution yourself, I'm afraid. Note that the listed path includes the classes/ directory. This is VERY incorrect, and the proximate cause of your problem. Somewhere, you have something pointed at the incorrect directory for where to find the compiled classes. Your classpath entry should point directly at the immediate parent of the 'com/' directory -- in this case, 'classes/'. Java does *not* operate by searching the directory hierarchy under and finding classes. The directory hierarchy for both sources and compiled files must EXACTLY match the package hierarchy. The error you are getting is indicating that this is not the case for the compiled files. It is saying that it is finding the .class files in a directory hierarchy that starts with 'classes/', e.g. 'classes/ com/rcsreg/exposmart/ExpoSmart$2.class'. Thus, somewhere in your process you are pointing to the wrong directory -- possibly the root of your project directory. If you find that, and add the classes directory to the end, it will find this class via 'com/rcsreg/ exposmart/ExpoSmart$2.class', and your problem will be solved. On Jan 6, 1:46 pm, Tobiah t...@tobiah.org wrote: On 01/06/2011 01:45 PM, Kostya Vasilyev wrote: 07.01.2011 0:40, Tobiah пишет: Oh, but now I see that if I run my build script: if ant debug; then adb uninstall com.rcsreg.exposmart adb -d install bin/ExpoSmart-debug.apk adb -d logcat fi And then build from Eclipse again, the warnings are back ever time I try to run the app from Eclipse. Is this going to be ok? The app still seems to run fine either way I build it. Sorry, I've never built my Android applications with Ant... (not yet) More information for whoever. The warnings come every time I save a file. Not when I run the app. Thanks, Tobiah -- 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
Re: [android-developers] About viewstubs
If you're going to inflate all the stubs within one lifecycle of your activity, then there is almost no benefit to using them, since all of their respective view hierarchies will end up in memory. If you really wanted to go down this route, you could remove the unneeded parts of the hierarchy from their parents and replace them with view stubs again, from code (is there a public constructor for ViewStub? you could look it up). This would allow unreferenced views to be GC'd, but unless your layouts are really complex, is probably not worth it. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 08.01.2011 17:34 пользователь Pedro Duque pmdu...@gmail.com написал: I'm trying to gasp viewstubs but I feel I'm missing something. As I understand, a viewstub only exists in a hierarchy until inflated or until made visible. After that is replaced by its referenced layout. This behaviour makes impossible to reinflate a inflated viewstub. Is this correct? The behaviour I was looking for was to have several buttons that would open diferente viewstubs. When I click a button it would deflate the previous layout and inflate the new one but this only works the first time... After that the viewstub is gone... -- 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.comandroid-developers%2bunsubscr...@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 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
[android-developers] Re: First attempt at LVL Licensing
More info. I've now put my app up onto the market account, but haven't clicked 'Publish'. Now, the license check just returns 'LICENSING RESULT : Allow the user access' every time. I have even set the test response to say 'NOT_LICENSED' but I still get the above response. Anyone have any experience with this? -- 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
[android-developers] Re: What type of messaging would you use?
On Jan 8, 6:17 am, Kumar Bibek coomar@gmail.com wrote: Well, for reliable working, I think it would be best to use multiple channels. SMS, cloud and local network(wireless or LAN), one of these when the others are not available. It is the local network case I don't what to use. If it were SMS, I'm pretty sure I would use SmsManager, right? On a local network, what calls would I use? Based on some older discussions, I think what I might need is Serverless P2P (Peer to Peer). Is there a library that someone recommends? Nathan -- 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
[android-developers] Change the background of an AppWidget
I want to set the background of an appwidget at runtime with a dynamically generated image (skin) (which must fill the entire space of the widget). Approach 1: Use an ImageView and remoteViews.setImageViewUri() Problem: For the image to fit and look properly I need to know the exact pixel size of the widget and I have not found a way to do that. The minWidth/Height of the widget does not help. The space taken by the cells also varies from Android version to version e.g. comparing 2.1 (480x678) with 2.3 (480x633) for 4x4 cells on WVGA. And this is only the default Home app. LauncherPro, ADW etc. have different status bar heights etc. Also the image get's really big which slows down the system, lags, is prone to crashes in low mem situation. Approach 2: Use a NinePatch image which adjusts to whatever size the widget has. Problem: I couldn't find a way to set a NinePatch image. This only works with resources which are inside the apk. Not with dynamically created files. Any suggestions would be welcome. -- 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
[android-developers]How to Integrate cryptsetup package with android source code
Hi.. How to integrate cryptsetup package to android source code .I placed the cryptsetup package in external folder of source code but when i compiled the source code it gave following error ... 1)Is it the correct way to integrate ? out/target/product/zoom2/obj/SHARED_LIBRARIES/libCryptsetup_intermediates/lib/libdevmapper.o: In function `_dm_check_versions': /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:91: undefined reference to `dm_task_create' /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:94: undefined reference to `dm_task_run' /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:99: undefined reference to `dm_task_get_versions' /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:110: undefined reference to `dm_task_destroy' /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/lib/libdevmapper.c:95: undefined reference to `dm_task_destroy' /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:45: undefined reference to `gcry_md_open' /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:47: undefined reference to `gcry_md_write' /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:48: undefined reference to `gcry_md_write' /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:49: undefined reference to `gcry_md_read' /home/mahesh/Desktop/build/external/cryptsetup-1.1.3/luks/af.c:51: undefined reference to `gcry_md_close' i need help to solve these type of error . Thanks -- 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
Re: [android-developers] Gingerbread BroadcastReceiver Issue
I really doubt it's crashing, as the service doesn't do anything, really. It registers the BroadcastReceiver and then sits and holds a reference to it. It would sometimes get killed before, but it would then be restarted, re-register, and continue on. As it stands, the current code I have isn't getting it's onDestroy called, and if it is then restarted it's onStartCommand isn't being called either: this leads me to believe the service lifecycle isn't the problem. I think something is happening to the BroadcastReceiver somehow that is causing it to not receive the event. To be sure, I'm trying out the startForeground thing to rule out the service lifecycle issue. If that doesn't fix it I will check out the logs and your dumpsys call. -- 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
[android-developers] MediaPlayer StreamVideo question.
Hello Group, First question is. is it better to store the apps video as a resource on the phone? If yes, what format would you recommend. Or, would it be better to store the videos on a web server and stream the videos to the app when requested. My app is going to have lots of video's eventually. I am thinking around 10min each. Let's say for now 5 videos. But, will be more down the road. They are intro videos for my application for each objective type thing. Now, if it is better to store them on the cloud/interwebs, how do you do streaming video with the MediaPlayer class. Do you have to store Temp files while it buffers or does it just stream? Also, if it does store temp files, where should I store them? Some how my instinct is telling me, put files on a server and cache the buffer vids. Either way, where are good tutorials on doing anyone of these solutions. I already have the MediaPlayer class in my app and it works for playing local stuff. I just have to make it work for streaming vids. Thanks group. -- 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
Re: [android-developers] MediaPlayer StreamVideo question.
On Sat, Jan 8, 2011 at 8:24 PM, Scott Deutsch surger...@gmail.com wrote: First question is. is it better to store the apps video as a resource on the phone? I've heard of a lot of people having problems playing videos stored as resources. I haven't tried it myself, since IMHO shipping videos in the APK is just plain too big. If yes, what format would you recommend. You don't exactly have a ton of options: http://developer.android.com/guide/appendix/media-formats.html Or, would it be better to store the videos on a web server and stream the videos to the app when requested. Well, the third option is you download the videos to external storage at some point in time. Either that or streaming will be preferable to storing them as raw resources, IMHO. My app is going to have lots of video's eventually. All the more reason why you can't have them as resources, since there's a 50MB APK size limit for distribution through the Android Market, and having APKs that big anyway will be a problem for a lot of Android users on 1+ year old phones. Now, if it is better to store them on the cloud/interwebs, how do you do streaming video with the MediaPlayer class. Hand it an RTSP or HTTP URL instead of a local file path. Make sure the video is safe for streaming (for MP4 files, that means the MOOV atom appears before the first MDAT atom, which you can accomplish via MP4Box -hint). Either way, where are good tutorials on doing anyone of these solutions. I already have the MediaPlayer class in my app and it works for playing local stuff. I just have to make it work for streaming vids. Hand it an RTSP or HTTP URL instead of a local file path, and you're done. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- 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
[android-developers] Zoom on canvas.drawLine(), is that possible?
Hi guys, I have a view object with series of lines drawn on it by using canvas.drawLine(). However, the lines were too big to be fitted on the screen. So, the lines have to be scaled down and user can zoom in and zoom out on the lines. How do I implement this? Thanks in advance. -- 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
Re: [android-developers] Gingerbread BroadcastReceiver Issue
I don't think the behavior of the broadcast has changed. It is pretty simple. Here is the code from GB. It is not ordered, so every registered receiver will get it. private final void sendIntent(int headset, int headsetState, intprevHeadsetState, String headsetName) { if ((headsetState headset) != (prevHeadsetState headset)) { // Pack up the values and broadcast them to everyone Intent intent = new Intent(Intent.ACTION_HEADSET_PLUG); intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY); int state = 0; int microphone = 0; if ((headset HEADSETS_WITH_MIC) != 0) { microphone = 1; } if ((headsetState headset) != 0) { state = 1; } intent.putExtra(state, state); intent.putExtra(name, headsetName); intent.putExtra(microphone, microphone); if (LOG) Slog.v(TAG, Intent.ACTION_HEADSET_PLUG: state: +state+ name: +headsetName+ mic: +microphone); // TODO: Should we require a permission? ActivityManagerNative.broadcastStickyIntent(intent, null); } } On Sat, Jan 8, 2011 at 4:59 PM, Jake Basile jakerbas...@gmail.com wrote: I really doubt it's crashing, as the service doesn't do anything, really. It registers the BroadcastReceiver and then sits and holds a reference to it. It would sometimes get killed before, but it would then be restarted, re-register, and continue on. As it stands, the current code I have isn't getting it's onDestroy called, and if it is then restarted it's onStartCommand isn't being called either: this leads me to believe the service lifecycle isn't the problem. I think something is happening to the BroadcastReceiver somehow that is causing it to not receive the event. To be sure, I'm trying out the startForeground thing to rule out the service lifecycle issue. If that doesn't fix it I will check out the logs and your dumpsys call. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
[android-developers] Accessing AudioManager within a class which extends BroadcastReceiver
I am using an AlarmManager to trigger the following class so it will change the volume from say high to low: package com.test; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.media.AudioManager; public class ToRing extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { AudioManager am = (AudioManager)getSystemService(AUDIO_SERVICE); } } It is saying that AUDIO_SERVICE cannot be resolved to a constant or variable. How can I access the audio service from within the broadcast receiver? -- 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
[android-developers] Start earning right now from home based online part time data entry jobs.
Apply now to make a difference http://smartcareer.webs.com/graduatejobs.htm http://smartcareer.webs.com/dataentrywrok.htm -- 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
[android-developers] Re: Trying to get my head around multi screen densities. With more info
Thanks all for your responses. It appears there was a knowledge gap in my understanding. I have it all sorted now. I really appreciate your assistance. Damien On 06/01/2011 9:53 PM, Damien Cooke cooke.dam...@gmail.com wrote: I have the following: supports-screens android:smallScreens=false android:normalScreens=false android:largeScreens=true android:anyDensity=true / My app currently only support the 480x800 screen size (I will be improving this, but that is how it is right now) my question is: Does android:anyDensity=true mean Android will sort out the densities (despite the fact I have only provide 240dpi assets) or does it mean I need to provide assets for all known density classes? I want to support the Galaxy TAB - it is a large screen (600x1024) with density of hdpi, it turns out that my HTC desire has a large screen (480x800) with a density of hdpi. So these devices are indistinguishable to android as they fit into the same categories. Now the issue is that i designed it to look great on the HTC and now I have the Galaxy I want to fix it to look good on that too. So the background image on the listView is 800 wide which looks great on the HTC but not so much on the TAB as it is centred and the icon that is on the left side on the HTC is blowing in the breeze on the TAB. So I have some issues and I am really not getting anywhere. So if anyone could point me in the right direction as to the proper process to follow to solve this I would be eternally grateful. Regards Damien -- 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
Re: [android-developers] MediaPlayer StreamVideo question.
I did what you said. Instead of a file for the local path, replaced it with HTTP://.../test.3gp .. = URI uri = Uri.parse(HTTP://./test.3gp); the file format i used was .3gp? Ignore the . I had a real domain name in there. mMediaPlayer.setDataSource(this, uri); And no luck. It does not play it. Any ideas? thanks friends. -- 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
[android-developers] TextView setCompoundDrawables inconsistent size
I'am trying to use TextView's setCompoundDrawables feature because i wan't a button with a label above it. I set android:drawableBottom to my button drawable, which is a layer-list with a button background, an icon and a toggle indicator. First app launch every thing looks nice, close app, launch again and the drawables seems to have lost their padding. If I close the app and wait a few more seconds, GC runs or something, then the buttons looks ok again. Does the drawables gets altered at first launch? Doesn't the TextView set the bounds on the drawables the second launch? Very inconsistent. -- 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
[android-developers] Trying to play a ringtone and vibrate the phone at the same time
Hey Guys, I am trying to use the Vibrator service and the RingtoneManager to simultaneously vibrate the phone and play a ringtone. If I remove the code to vibrate the phone, my ringtone plays continuously but if I add the code to also vibrate, my ringtone plays for a short time until the vibrate starts and the ringtone stops?? I didnt see any way to check if the phone is vibrating so that I can play the ringtone after the vibrate finishes. Does anyone know a way around this? Here is the code Im using: if (vibrateOnOffValue != VIBRATE_STATUS_OFF) { Vibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); // 1. Vibrate for 1000 milliseconds long milliseconds = 1000; v.vibrate(milliseconds); } String ringToneURI = getIntent().getStringExtra(InspireAlarmConstants.ALARM_RINGTONE_PREF_KEY); rg = getRingTone(ringToneURI); if (rg != null) { rg.play(); } -- 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
Re: [android-developers] TextView setCompoundDrawables inconsistent size
You should use setCompoundDrawablesWithIntrinsicBounds() On Sat, Jan 8, 2011 at 6:40 PM, Henrik Lindqvist henrik.lindqv...@gmail.com wrote: I'am trying to use TextView's setCompoundDrawables feature because i wan't a button with a label above it. I set android:drawableBottom to my button drawable, which is a layer-list with a button background, an icon and a toggle indicator. First app launch every thing looks nice, close app, launch again and the drawables seems to have lost their padding. If I close the app and wait a few more seconds, GC runs or something, then the buttons looks ok again. Does the drawables gets altered at first launch? Doesn't the TextView set the bounds on the drawables the second launch? Very inconsistent. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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
[android-developers] Re: Current state of PUSH notifications for apps?
I was under the impression that it was still in lab mode. You can ask to join, which I did but I'm hesitent to release anything that uses it until its released. - Brill Pappin On Jan 8, 10:50 am, Kumar Bibek coomar@gmail.com wrote: C2DM is only available for 2.2 and up. There is no direct way, or already cooked up apis in older versions which you can use. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Sat, Jan 8, 2011 at 9:18 PM, John Lussmyer johnlussm...@gmail.comwrote: I'm looking at an app where I will really need to support PUSH notifications. After a bunch of Google searches - I'm generally confused as to the state of PUSH support on Android. IS there a standard way of doing it yet? Preferably on 2.1? -- 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.comandroid-developers%2Bunsubs cr...@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 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
[android-developers] Re: How to interrupt a blocking I/O operation?
Well, there's interrupting the IO loop, and there's backing out of the blocked IO system call. GENERALLY SPEAKING, you won't be able to force an ARBITRARY OS to give you back control if it's actually in a blocked IO system call. If you can on a specific OS, and it improves your app in some way that's worth the complexity, then great. But I recommend avoiding it as a design requirement! What may work on one platform may not work on another. That's why I suggest the default position is you can't do that. If you can, you should view it as a nice optimization. Optimizations come with costs; if it's worth the complexity and potential for bugs and corresponding testing burden -- go for it. But first design your application to work as well as it can without relying on it. Then figure out if you even need it. On Jan 7, 11:57 am, Streets Of Boston flyingdutc...@gmail.com wrote: In my experience, if you use AsynTasks (or Future? instances) to do your HTTP I/O in the background, calling cancel(true) on these instances will interrupt the HTTP I/O. If i'm not mistaken, the apache HttpClient is sensitive to calling interrupt() on the thread on which it is doing HTTP I/O. On Jan 7, 12:07 pm, ivan istas...@gmail.com wrote: I'm wondering what the currently suggested method is for interrupting a read operation of a socket input stream? I know that traditionally the read could be interrupted by closing the socket from another thread and catching an IOException, but I'm not quite sure how to get at the socket from the apache classes. Maybe I should use some sort of interruptible channel instead ... ? Any links or help is greatly appreciated. My code looks like this -- minus most of the error handling: org.apache.http.impl.client.DefaultHttpClient org.apache.http.client.methods.HttpGet org.apache.http.HttpResponse DefaultHttpClient client = new DefaultHttpClient(httpParameters); HttpGet request = new HttpGet(Uri); HttpResponse response = client.execute(request); InputStream entityStream = response.getEntity().getContent(); try { bytesRead = entityStream.read(data);} catch (IOException ex) { }- Hide quoted text - - Show quoted text - -- 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
Re: [android-developers] Re: c2DM error when third-party server sends data to push
Hi Jose, Happy New Year 2011! No I haven't got back to testing this yet. I am busy with some other related issue. Hopefully I will be able to fix it soon before I can fix and test this issue. Thanks for your suggestions. I will try them as soon as I get a chance. I will keep you posted. Regards, Nagaraj On Mon, Jan 3, 2011 at 9:44 AM, Jose Ignacio Gil Jaldo naranj...@gmail.comwrote: Hi Nagaraj, I made it work... The point is: what are you sending as Auth token? the whole response that you got from /ClientLogin? or just the Auth= section? (Without the Auth=). You have to send the second one. If you're already doing it that way, try removing all \n in that String. You will also have to disable expect:continue in http requests (it's something that sends only the headers and if it's ok, continues sending the body). To do so: HttpParams params = new BasicHttpParams(); HttpProtocolParams.setUseExpectContinue(params, false); HttpClient httpclient = new DefaultHttpClient(params); That way it worked for me... On Jan 3, 11:25 am, Jose Ignacio Gil Jaldo naranj...@gmail.com wrote: Hi Nagaraj, could you make it work? I also tried downloading sources from google examples (JumpNote and Google2Chrome) and I couldn't make them work due to Authentication error (I think it could be related to something that Nasif Nooruden pointed you out about trimming the Auth string). However in my code, I've tried trimming the string and then I get 401 - UnAuthorized (I suppose it is because I have wrongly changed the auth string). Could it be an Apache HTTP related issue? But for me the most strange thing is that I can see the header in my POST request and the value of Content-Length is the same as the length of the POST parameters (and I have no querystring parameters). On Dec 27 2010, 6:18 pm, Jose Ignacio Gil Jaldo naranj...@gmail.com wrote: I am having the same problem as you and I think it's not my mistake I have checked the tcpdump (to do it I changed from https to http to have plain text). POST /c2dm/send HTTP/1.1 Authorization: GoogleLogin auth=SID=DQAAALw7O-9sDrg_FXztPEQ7fcfqBmPtCtIcN3gX4wTsXf7AmfQh5eetqv5jQm6FGt7QvjMJNaoZFlLNG- pTSPl07dQWCwM2tNSnbFCS6FO- Xe0Q0SJ6Ok4gipqqArAB2uh7mvgtHRguiWaP38IRVHcQjG4fhpo0K6LIZN0fBoE__FXl5ukqsIVc8Qo_ezXOspC_MZew76G6AvfkqwyMTM7XWzrgHDT9D9MlbgnuAWpR_XOA1KKOVO- eHFXp1UsCE6FM6mQ LSID=DQAAAL8AAADFjsO1Q_TnSqwZgm3HYxQsb08JcQxFwC_oucPZ3eEiqFNLhuQWJI_ZVS- iMuZKphHsmghU7I1sQPkFC_Iu0Jc0Fba4efoUYHcq- TBjLJgPQW-8aQVFMEobmMhkTJUUr0iXAibZV2Bbwd7HalGh1oZU07AtvQa7T- NMv7LUZT8rSYeSZ8kHBXKYaUHjVykVAAKmw2gS3ZDxpiklgSg8VmSyU6788JwH6lh2VpDzs1r0yoH55qOZD8gzBls64i5Lwgk Auth=DQAAAL8AAAD3PzwO5BSHo_TzqwD-QyTVM73-vxDAlUs8fkzbLoX5lHr6YI- D0IznRSnYoJshE9LDjtm78vcpbieT_RGBS9pnWXFier8l8uVQwITP0SLJnH2QMla4qLzylDANSqIIDdm_MY91t1wjGGivaTr5mOB_4w-0NQx_QvSQwyl-- eZnEkkH-80Ul_HJYzLv6TneYGd9q1q6UUAgDszesHzBQYullYvmwY1aF2wbVCUKF4urS_ynONL55aYg01ccShzExjs Content-Type: application/x-www-form-urlencoded Content-Length: 209 User-Agent: Jakarta Commons-HttpClient/3.1 Host: android.apis.google.com registration_id=APA91bEhZNjB1KZRlIzolrG_oXBpn0uTxPsoX22L5Xz- i9DTK38PRNe4QgoMTG9L4mrGlx33t6k39vRewVFRF7SAMbVSj62ESJ5o1gAdfANSiC6SCdXzAfEcollapse_key=12345data.receiver=1234data.source=12345data.message=holaHTTP/ 1.0411Length Required Content-Type: text/html; charset=UTF-8 Content-Length: 1363 Date: Mon, 27 Dec 2010 16:30:22 GMT Server: GFE/2.0 htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title411Length Required/title style!-- body {font-family: arial,sans-serif} div.nav {margin-top: 1ex} div.nav A {font-size: 10pt; font-family: arial,sans-serif} span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight: bold} div.nav A,span.big {font-size: 12pt; color: #cc} div.nav A {font-size: 10pt; color: black} A.l:link {color: #6f6f6f} A.u:link {color: green} //--/style script!-- var rc=411; //-- /script /head body text=#00 bgcolor=#ff table border=0 cellpadding=2 cellspacing=0 width=100%trtd rowspan=3 width=1% nowrap bfont face=times color=#0039b6 size=10G/fontfont face=times color=#c41200 size=10o/fontfont face=times color=#f3c518 size=10o/fontfont face=times color=#0039b6 size=10g/fontfont face=times color=#30a72f size=10l/fontfont face=times color=#c41200 size=10e/fontnbsp;nbsp;/b tdnbsp;/td/tr trtd bgcolor=#3366ccfont face=arial,sans-serif color=#ffbError/b/td/tr trtdnbsp;/td/tr/table blockquote H1Length Required/H1 POST requests require a codeContent-length/code header. p /blockquote table width=100% cellpadding=0 cellspacing=0trtd bgcolor=#3366ccimg alt= width=1 height=4/td/tr/table /body/html This is my code: Protocol myhttps =
[android-developers] android developer tablet?
Are there any plans to release an android dev tablet like the nexus one? I'm primarily concerned with getting something that will get the latest android builds over the air and is a stock android experience. -- 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
[android-developers] Re: onBufferingUpdate What is the progress argument
I myself dont get what the situation is, the mediaplayer isnt seeking correctly because of it. -- 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
[android-developers] public static variables being reset across same package in different classes in the framework
I'm trying to keep track of home key button hit and touch event in the area of interest pressed within some fixed window of time. For that I'm using public static int COUNTER_HOME =0 in View.java under frameworks/base/ core/java/android/view/ I then increment the variable in WindowManagerService.java under frameworks/base/services/java/com/android/server/ View.COUNTER_HOME++ when i acess the variable upon touch event in ViewGroup.java which is a subclass of View under frameworks/base/core/java/android/view I see the COUNTER to be 0, WHy is that, is the class ViewGroup reloaded everytime the control transfers from WindowManagerService, I dont understand it or there is something I'm missing? Appreciate your help Regards, S.Abdullah -- 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
[android-developers] Re: HTTP parameter question
Here's the full sample code for HttpClient 4 (Android version at API 8, at least): ListBasicNameValuePair pairsList = Arrays.asList(new BasicNameValuePair[] { new BasicNameValuePair(q, Search String for Google), new BasicNameValuePair(client, ubuntu) }); System.out.println(URLEncodedUtils.format(pairsList, UTF8)); URI uri = new URI(http, www.google.com, / search,URLEncodedUtils.format(pairsList, UTF8), null); System.out.println(URI: +uri); HttpGet get = new HttpGet(http://www.google.com/ search?+URLEncodedUtils.format(pairsList, UTF8)); System.out.println(get.getURI()); get = new HttpGet(uri); System.out.println(get.getURI()); On 8 янв, 00:40, John Lussmyer johnlussm...@gmail.com wrote: Does one of the HTTP support classes handle building a parameterized URL? i.e one of the sorthttp://a.com/stuff?a=bc=de=f Yes, I know writing one would be easy, but if there is already one out there... -- 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
Re: [android-developers] public static variables being reset across same package in different classes in the framework
Applications each run in their own process, and do not run in the same process as the system process where the window manager service runs. Thus they all have their own independent static globals. What you are doing fundamentally won't work. To have a global across the system, you'd need to have an IPC interface to a single entity maintaining the value, and if you do that you need to deal with all of the associated complexity: defining the interface, implementing the threaded service for it, designing access so that remote processes don't have to perform IPCs all the time to it, etc. On Sat, Jan 8, 2011 at 11:11 PM, Shafaq s.abdullah...@gmail.com wrote: I'm trying to keep track of home key button hit and touch event in the area of interest pressed within some fixed window of time. For that I'm using public static int COUNTER_HOME =0 in View.java under frameworks/base/ core/java/android/view/ I then increment the variable in WindowManagerService.java under frameworks/base/services/java/com/android/server/ View.COUNTER_HOME++ when i acess the variable upon touch event in ViewGroup.java which is a subclass of View under frameworks/base/core/java/android/view I see the COUNTER to be 0, WHy is that, is the class ViewGroup reloaded everytime the control transfers from WindowManagerService, I dont understand it or there is something I'm missing? Appreciate your help Regards, S.Abdullah -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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