[android-developers] Re: Can somebody suggest the best book or online resource for beginning android apps development?
I have to agree - http://commonsware.com/ - helped me a lot when I was first starting and is still something I refer to frequently. On Mar 21, 6:51 am, Narendra Padala checksumandr...@gmail.com wrote: Hi Flocks, Can somebody suggest the best book or online resource for beginning android apps development? Regard's Narendra -- 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: Install % drop again?
I think another way this discrepancy may happen is when users have the same google userId on multiple devices. I noticed it on a new app I put out 2 days ago - shows one more install on the stats page than the main page. I know two of the buyers and one told me that she put it on two different devices. On 2011-03-15 13:48, TreKing wrote: [] Seriously. The graphs says one install count, the total on the main page says another. -- 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: Android Market Rank
why does an app like this need the permission to Read device status and identity? On Mar 7, 10:43 pm, ravishi ravish...@gmail.com wrote: Hi all, I just released a free app, called Android Market Rank that let's you find an app's elusive android rank. You can see exactly what an app's current rank is, what was the lowest (best) it's ever been, and what the highest (worst) it's ever been. It also has a graph that shows how the rank has changed over time. As a developer, this is really useful information because the higher your rank is, the higher your visibility to all android users. What is android rank and how is it calculated? No one knows how google calculates an app's rank but many have their theories. Your rank corresponds to what place you are in the category list of apps. For example, in the Arcade Action free list, Angry Birds is #1 (of course), Glow Hockey is #3, and Robo Defense FREE is #9. Please let me know if you have any comments or suggestions. -- 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: Installing app from third party site
sounds like a missing MIME type on the server be sure your server knows how to deal with the apk files application/vnd.android.package-archive On Mar 8, 5:59 am, Raghav Sood raghavs...@gmail.com wrote: Hi everyone, I am giving out my app from my websitehttps://www.raghavsood.com. I want to start the installation of the app when the viewer touches the download link. right now it downloads on the computer but when a person from a phone taps it it shows a lot of garbled text. Any ideas or code for making this happen?(PHP code preferred) -- Raghav Soodhttp://www.raghavsood.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: Cannot write Exif data to JPG images
90 isn't a valid value - check the constants for ExifInterface to find valid values public static final int ORIENTATION_ROTATE_90 Since: API Level 5 Constant Value: 6 (0x0006) On Mar 4, 4:19 am, bizso09 bitva...@gmail.com wrote: This doesn't work. Any ideas why? ExifInterface exifInterface = new ExifInterface(filePath); String o1 = exifInterface.readAttribute(TAG_ORIENTATION); //o1 is 0 exifInterface.setAttribute(TAG_ORIENTATION, 90); exifInterface.saveAttributes(); String o2 = exifInterface.readAttribute(TAG_ORIENTATION); //o2 is 90 // relaunch app, read attribute for same photo String o3 = exifInterface.readAttribute(TAG_ORIENTATION); //o3 is 0 again, should be 90 -- 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: Create native typeface in 2.31
it's the underscore characters in the file name so far 2.3.1 is the only place I see this - doesn't affect 2.3.3 or previous versions On Feb 28, 1:51 pm, intbt in...@tacberry.com wrote: Code: final Typeface font2 = Typeface.createFromAsset(getAssets(), fonts/ CHOPS___.TTF); -- 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: Create native typeface in 2.31
well, maybe I'll take that back. My first test showed this to be the case, now I cannot recreated that. On Mar 6, 6:10 am, kernelpanic j.m.roya...@gmail.com wrote: it's the underscore characters in the file name so far 2.3.1 is the only place I see this - doesn't affect 2.3.3 or previous versions On Feb 28, 1:51 pm, intbt in...@tacberry.com wrote: Code: final Typeface font2 = Typeface.createFromAsset(getAssets(), fonts/ CHOPS___.TTF); -- 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: Create native typeface in 2.31
yep, I already rescinded my statement, jumped the gun there - my apologies. On Mar 6, 7:19 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Sun, Mar 6, 2011 at 9:34 PM, kernelpanic j.m.roya...@gmail.com wrote: well, maybe I'll take that back. My first test showed this to be the case, now I cannot recreated that. On Mar 6, 6:10 am, kernelpanic j.m.roya...@gmail.com wrote: it's the underscore characters in the file name so far 2.3.1 is the only place I see this - doesn't affect 2.3.3 or previous versions The font I am using doesn't have underscores. And it shouldn't matter anyway. -- 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: Is License Server down at the moment?
I ran into this as well. Make sure you have uploaded your apk to the Market and saved it. On Mar 2, 7:30 pm, JYA jyaven...@gmail.com wrote: On Mar 3, 12:11 pm, JYA jyaven...@gmail.com wrote: Log.w(TAG, Error contacting licensing server.); handleResponse(LicenseResponse.RETRY, data); Ok, now I can contact the server ; but it fails in LicenseValidator.java (in the LVL itself) at: if (!sig.verify(Base64.decode(signature))) { Log.e(TAG, Signature verification failed.); handleInvalidResponse(); return; } Somehow the signature from the server is incorrect.. What is going on ?? -- 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 correct market issue
ok, so the other day (feb 23) when the market was glitchy I ended up with one of those charges that did not process properly. It originally showed as Customer review in progress - now it shows as New-Chargeable I just got an email from the buyer saying he didn't get the app but his CC has been charged. Should I just refund this and hope he repurchases? or is there some other course of action I can take. -- 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 correct market issue
nevermind - I just canceled the order - contrary to what the buyer said, it was only authorized and not charged. -- 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: Playing sound with mediaplayer
I understand But he is using one of the static convenience methods which states that prepare must not be called again http://developer.android.com/reference/android/media/MediaPlayer.html#create%28android.content.Context,%20int%29 regards, kp On Feb 24, 1:30 am, Marcin Orlowski webnet.andr...@gmail.com wrote: On 24 February 2011 00:54, kernelpanic j.m.roya...@gmail.com wrote: shouldn't have to call prepare - according to the docs, that is already done IF the mediaPlayer was successfully created. It actually says prepare must not be called again. Read there:http://developer.android.com/reference/android/media/MediaPlayer.html -- Regards, Marcin -- 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: Playing sound with mediaplayer
shouldn't have to call prepare - according to the docs, that is already done IF the mediaPlayer was successfully created. It actually says prepare must not be called again. On Feb 23, 5:06 pm, vnv nikola1...@gmail.com wrote: Adding prepare made no progress. I have no sound at all. Currently it was failing with sound and then exception now there is no sound at all. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from 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: In-app billing and trial period
I like #6 - seems to be the most compatible method :-) I'm working on a variation of #3 using LVL to obtain the userID info to avoid the read account info issue. Not completely happy with it yet, but it shows promise. On Feb 22, 11:19 am, Kostya Vasilyev kmans...@gmail.com wrote: I'm presently investigating the possibility of implementing limited / premium functionality within a single application with the new in-app billing. I'd like to provide a trial period for premium features, and that's where I'm having trouble understanding what my options are - since I don't see anything in the in-app billing documentation about a trial period. Maybe I'm missing something and there *is* support for a purchase trial period in in-app billing? If there is not, then it looks like my options are: 1 - Store trial start date within application data files. Obviously, doesn't work - the user can remove/reinstall as soon as the trial period ends, and thus make it start over. 2 - Store trial start date somewhere on the memory card. Obviously, doesn't work - anyone with root access can run strace, find where the file is stored, remove it, and thus make the trial period start over. Users can share this information, so that those without root can benefit. 3 - Implement my own server-based storage for trial start dates, indexed by Google account id, possibly combined with ANDROID_ID, don't forget to handle cases like the user doing a device reset (so that ANDROID_ID changes), somehow get the the user's Google account name, handle the user moving to a new device. Request permission for Internet access in the manifest, hope that explaining why it's needed in the app's Market description is enough to not scare users away. Request permission to read account info, or prompt the user to enter it, hope that explaining why it's needed in the app's Market description is enough to not scare users away. Hope that those two permissions seen together aren't going to scare users away. Hope that implementing all of the above still leaves time to work on the application itself. 4 - Forget about implementing the trial period, require payment for premium features up-front. Hope that users make purchases even though the checkout window says there is no refund. 5 - Forget about in-app billing, implement lite/pro versions with the LVL. 6 - Rely on a honor system, where users call me on the phone each time they want to use a premium feature, and I tell them if they're allowed to, after consulting a stack Post-It notes where I'd previously written their names. Does this make sense? Did I miss something in the in-app billing documentation? Any comments / thoughts / suggestions? -- Kostya Vasilyev --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
[android-developers] Re: setTextColor dynamically, major phail
something else must be wrong ... textView.setTextColor(0x00FF) works all day long for me On Feb 16, 1:12 am, Oldarney oldar...@gmail.com wrote: The following do not work: myDate.setTextColor(0x00FF); myDate.setTextColor(Color.argb(250,250,0,250)); The reason being is that it wants a reference to the XML object. Search after search I find that no one in the androidverse has been able to programatically set a custom color. Can anyone get the TextView to change color without pulling the color from an XML file? given that there are about 16million possible colors, taking that approach seems unreasonable for my purposes. I need to give the user the ability to use sliders to precision pick the color of the text in the TextView. -- 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: Are the Dialog Buttons considered Views?
pretty straightforward answer then - from the docs here - http://developer.android.com/reference/android/widget/Button.html java.lang.Object ↳ android.view.View ↳ android.widget.TextView ↳ android.widget.Button On Feb 8, 11:07 am, Jeremiah Sellars sylus.mcf...@gmail.com wrote: Pretty straightforward question, really. Thanks everyone, Jeremiah -- 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: URL query string bug in SMS messages
You didn't mention which Galaxy S phone or if it's all of them. FWIW, I've had no issues sending this type of URL through an SMS gateway to the Samsung Epic Galaxy class phone - works as expected. I do question the validity of the spaces in the query and suspect that is the issue here. I can send you a screen shot from an Epic showing my links versus your links - mine look fine, yours look like your image. I also sent the same text message to a diff phone (J2ME based) and the link is underlined up to the first space but it includes the ? sc=4KNZNSEN part in the link Loosely related - in the past, I have had issues with some phones/ carriers when the URL string is rather long. There is the obvious inherent SMS length limitations, but even when that is complied with, I have seen some devices that accept the URL in the SMS, but then truncate it between the SMS and the browser when the link is tapped - some as short as 60 characters, some at 64 characters, some not at all. However, I don't think that is the problem here since you are saying it is happening at the ? On Feb 2, 3:51 am, Jan Westin jan.wes...@gmail.com wrote: Hi, Has anyone else stumbled upon a similar issue as seen in the following screen shot :http://twitpic.com/3vpnzx The problem is when a user sends a URL containing a query string, the query string is not interpreted as part of the URL. I've seen this happen to both my HTC Desire running 2.2 and on Samsung galaxy S phones. Does anyone know of a workaround or a fix for this? //Jan -- 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: URL query string bug in SMS messages
yeah that's true As Mark said, if you do the same test with %20 - it does include the ? sc= portion in the link may need a CR/LF in there to force the separation between the link and the text On Feb 5, 9:46 am, Kostya Vasilyev kmans...@gmail.com wrote: Not sure if there are any spaces. The SMS content is: http://www.site.com?param=valueTest 2 It's not clear whether the Test 2 is part of the URL. I would think not, because spaces in URLs are always encoded as %20 or +. I suspect the issue is that the ?param=value is not highlighted, just the http://www.site.com;. Here is that link again: http://twitpic.com/3vpnzx -- Kostya 05.02.2011 18:30, Mark Murphy пишет: On Sat, Feb 5, 2011 at 10:25 AM, kernelpanicj.m.roya...@gmail.com wrote: I do question the validity of the spaces in the query and suspect that is the issue here. :: smacks forehead :: Yeah, I never noticed that. Looking at the regex that Linkify uses, it will not honor spaces in query parameters, but it should honor %20 values. -- 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
[android-developers] Re: URL query string bug in SMS messages
just to add more food for thought - there may be a problem here - there are definitely some differences Using this as a test URL http://www.test.com?id=123abc If I send it to the Epic from another phone - it does NOT consider the query portion (?id=123abc) as part of the link if I send it to the Epic from an email client (in this case Thunderbird) which forces it through Sprint's SMS gateway - it DOES consider the query portion as part of the link On Feb 5, 10:09 am, kernelpanic j.m.roya...@gmail.com wrote: yeah that's true As Mark said, if you do the same test with %20 - it does include the ? sc= portion in the link may need a CR/LF in there to force the separation between the link and the text On Feb 5, 9:46 am, Kostya Vasilyev kmans...@gmail.com wrote: Not sure if there are any spaces. The SMS content is: http://www.site.com?param=valueTest2; It's not clear whether the Test 2 is part of the URL. I would think not, because spaces in URLs are always encoded as %20 or +. I suspect the issue is that the ?param=value is not highlighted, just the http://www.site.com;. Here is that link again: http://twitpic.com/3vpnzx -- Kostya 05.02.2011 18:30, Mark Murphy пишет: On Sat, Feb 5, 2011 at 10:25 AM, kernelpanicj.m.roya...@gmail.com wrote: I do question the validity of the spaces in the query and suspect that is the issue here. :: smacks forehead :: Yeah, I never noticed that. Looking at the regex that Linkify uses, it will not honor spaces in query parameters, but it should honor %20 values. -- 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
[android-developers] Re: SQL query
if ( ! recentC.getCount() == 0) { On Jan 29, 8:41 am, André pha...@hotmail.com wrote: This is doing my head in. I have a database where there is currently one entry. What I want to do is to check if this entry exists. If it does I want to update it, if not create a new one. recentC = db.fetchExisting(file); if (recentC != null){ long rwId = recentC.getLong(recentC.getColumnIndexOrThrow(SilverDbManager.RECENT_ROWID)); db.updateRecent(rwId, name, file, time);} else { db.createRecent(name, file, time); } public Cursor fetchExisting(String file) throws SQLException { Cursor mCursor = null; mCursor = mDb.query(true, RECENT_TABLE, new String[] {RECENT_ROWID, RECENT_NAME, RECENT_FILE, RECENT_TIME}, RECENT_FILE + = ?, new String[]{file}, null, null, null, null); return mCursor; } I know that recentC != null is probably wrong but I dont know what to change it to. And its some problem with the query because it can't find the entry I already have there when I search for it. Any suggestions? //André -- 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: SQL query
I just went through this myself, but my logic is inverted to yours, so ignore my previous probably better to use if (recentC.getCount() != 0) { On Jan 29, 8:41 am, André pha...@hotmail.com wrote: This is doing my head in. I have a database where there is currently one entry. What I want to do is to check if this entry exists. If it does I want to update it, if not create a new one. recentC = db.fetchExisting(file); if (recentC != null){ long rwId = recentC.getLong(recentC.getColumnIndexOrThrow(SilverDbManager.RECENT_ROWID)); db.updateRecent(rwId, name, file, time);} else { db.createRecent(name, file, time); } public Cursor fetchExisting(String file) throws SQLException { Cursor mCursor = null; mCursor = mDb.query(true, RECENT_TABLE, new String[] {RECENT_ROWID, RECENT_NAME, RECENT_FILE, RECENT_TIME}, RECENT_FILE + = ?, new String[]{file}, null, null, null, null); return mCursor; } I know that recentC != null is probably wrong but I dont know what to change it to. And its some problem with the query because it can't find the entry I already have there when I search for it. Any suggestions? //André -- 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] is it possible to override 9 patch pngs?
specifically, I am trying to change the 9 patch image used for btn_dropdown_normal.9.png anyone know how to override the stock 9 patch images without rooting the device or other silly ideas? I was hoping that selection of a 9 patch image file would cascade through from my project's drawable-mdpi to drawable to the platform default such that if I put that image in my project's drawable or drawable-mdpi, it would be used instead. so far I have had no success - any ideas 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] Re: is it possible to override 9 patch pngs?
ok, let me clarify that I only want to affect my app. I created a spinner with an image and text, and the drop down arrow gets stretched in the middle - and it looks kinda like this guy's here http://androidforbeginners.blogspot.com/2010/10/spinner-down-arrow-stretching.html i just want to change it (for my app) such that it stretches above and below the arrow. On Jan 28, 12:11 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can copy the platform defaults into your project, edit them as you like, and use with buttons by setting android:background. This would affect your own application. As for changing an Android resource so it affects other apps - sorry, no. -- Kostya 28.01.2011 21:07, kernelpanic пишет: specifically, I am trying to change the 9 patch image used for btn_dropdown_normal.9.png anyone know how to override the stock 9 patch images without rooting the device or other silly ideas? I was hoping that selection of a 9 patch image file would cascade through from my project's drawable-mdpi to drawable to the platform default such that if I put that image in my project's drawable or drawable-mdpi, it would be used instead. so far I have had no success - any ideas welcome -- 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
[android-developers] Re: is it possible to override 9 patch pngs?
yes you're right - thanks I hadn't considered future proofing or customized implementations, but it makes good sense. mine doesn't look near as bad as the example I posted http://test-icu.com/images/android/stretched-arrow.png the icons I'm using are only 32x32 but I'll vamp them down so that they don't force the stretching On Jan 28, 12:27 pm, Kostya Vasilyev kmans...@gmail.com wrote: You *could* copy the standard spinner image, edit it in Draw9Patch to add stretch areas in more proper places, but I wouldn't recommend this: if this image is replaced by the firmware, your application will not match the rest of the phone's UI. To be specific, the Motorola Droid X does this, as does the Samsung Galaxy S family, and maybe others. I would try to fit whatever content you have on one line, using TextView singleLine=true, and a smaller image, or come up with a different way to show the current selection (a spinner that looks so different that the user won't know it's a spinner?) -- Kostya 28.01.2011 21:15, kernelpanic пишет: ok, let me clarify that I only want to affect my app. I created a spinner with an image and text, and the drop down arrow gets stretched in the middle - and it looks kinda like this guy's here http://androidforbeginners.blogspot.com/2010/10/spinner-down-arrow-st... i just want to change it (for my app) such that it stretches above and below the arrow. On Jan 28, 12:11 pm, Kostya Vasilyevkmans...@gmail.com wrote: You can copy the platform defaults into your project, edit them as you like, and use with buttons by setting android:background. This would affect your own application. As for changing an Android resource so it affects other apps - sorry, no. -- Kostya 28.01.2011 21:07, kernelpanic пишет: specifically, I am trying to change the 9 patch image used for btn_dropdown_normal.9.png anyone know how to override the stock 9 patch images without rooting the device or other silly ideas? I was hoping that selection of a 9 patch image file would cascade through from my project's drawable-mdpi to drawable to the platform default such that if I put that image in my project's drawable or drawable-mdpi, it would be used instead. so far I have had no success - any ideas welcome -- Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com -- 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
[android-developers] Re: supports-screens question
thanks - I found several other sites that disagree with the manufacturer's site and state 320x480 as well. The app was tested and works fine (according to a few other users) on a Samsung Transform which is 320x455, so not sure why the claim that it doesn't work. The person never bothered to contact me directly or ask for a refund, so it may just be someone that wanted pay so they could vote 1 star, who knows. On Jan 23, 4:52 am, Kostya Vasilyev kmans...@gmail.com wrote: The M860 appears to be the CDMA twin brother of the UMTS-based U8230 (sold in Russia, Ukraine, etc.) The specs at link below say 320x480, 3.5 - a pretty typical HVGA (other sites I'm not posting here also give the same numbers). You can see it quite clearly in the screenshots, too: http://habrahabr.ru/blogs/android/97298/ -- Kostya 2011/1/23 Zsolt Vasvari zvasv...@gmail.com That phone has 3.5 screen (same as an iPhone), and while it's not impossible, I would find it extremely hard to believe that it's a 240x320 screen. I think you would see pixelation even on a YouTube video of that were the case. I believe the HVGA part of the description is correct and it's, in fact, a HVGA 320x480 device. On Jan 23, 8:51 am, kernelpanic j.m.roya...@gmail.com wrote: looking at the Huawei website, it states that device is 320x240 HVGA is the HVGA the issue here? On Jan 22, 5:35 pm, kernelpanic j.m.roya...@gmail.com wrote: yes, that's how I decided I had an issue - he left a 1 star rating with this comment cannot play on my huawei ascend touchscreen please fix On Jan 22, 5:29 pm, Dianne Hackborn hack...@android.com wrote: It should be a child of manifest, so that is fine. Do you know what device this was allowed to be installed on? On Sat, Jan 22, 2011 at 2:47 PM, kernelpanic j.m.roya...@gmail.com wrote: ok, thanks. According to the docs, it should just be in the manifest - I have this uses-sdk android:minSdkVersion=5 android:targetSdkVersion=8 / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.VIBRATE / supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ should it be inside the application tag maybe? On Jan 22, 2:15 pm, Dianne Hackborn hack...@android.com wrote: It absolutely should be filtered from Market. There are lots of apps that aren't available to small screen devices because they don't support small screens. Make sure you have the tag in the right place in your manifest. On Sat, Jan 22, 2011 at 4:02 AM, kernelpanic j.m.roya...@gmail.com wrote: I'm using the following supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ but had someone with a 320x240 screen download the app from the market - of course it doesn't work on that small screen. My question is why would someone with a screen that small be able to see the app in the market? any insight appreciated -- 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.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%252Bunsubscr...@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.comandroid-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 -- Dianne Hackborn Android framework engineer hack...@android.com
[android-developers] supports-screens question
I'm using the following supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ but had someone with a 320x240 screen download the app from the market - of course it doesn't work on that small screen. My question is why would someone with a screen that small be able to see the app in the market? any insight appreciated -- 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: supports-screens question
ok, thanks. According to the docs, it should just be in the manifest - I have this uses-sdk android:minSdkVersion=5 android:targetSdkVersion=8 / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.VIBRATE / supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ should it be inside the application tag maybe? On Jan 22, 2:15 pm, Dianne Hackborn hack...@android.com wrote: It absolutely should be filtered from Market. There are lots of apps that aren't available to small screen devices because they don't support small screens. Make sure you have the tag in the right place in your manifest. On Sat, Jan 22, 2011 at 4:02 AM, kernelpanic j.m.roya...@gmail.com wrote: I'm using the following supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ but had someone with a 320x240 screen download the app from the market - of course it doesn't work on that small screen. My question is why would someone with a screen that small be able to see the app in the market? any insight appreciated -- 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] Re: supports-screens question
yes, that's how I decided I had an issue - he left a 1 star rating with this comment cannot play on my huawei ascend touchscreen please fix On Jan 22, 5:29 pm, Dianne Hackborn hack...@android.com wrote: It should be a child of manifest, so that is fine. Do you know what device this was allowed to be installed on? On Sat, Jan 22, 2011 at 2:47 PM, kernelpanic j.m.roya...@gmail.com wrote: ok, thanks. According to the docs, it should just be in the manifest - I have this uses-sdk android:minSdkVersion=5 android:targetSdkVersion=8 / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.VIBRATE / supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ should it be inside the application tag maybe? On Jan 22, 2:15 pm, Dianne Hackborn hack...@android.com wrote: It absolutely should be filtered from Market. There are lots of apps that aren't available to small screen devices because they don't support small screens. Make sure you have the tag in the right place in your manifest. On Sat, Jan 22, 2011 at 4:02 AM, kernelpanic j.m.roya...@gmail.com wrote: I'm using the following supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ but had someone with a 320x240 screen download the app from the market - of course it doesn't work on that small screen. My question is why would someone with a screen that small be able to see the app in the market? any insight appreciated -- 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 -- 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.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] Re: supports-screens question
looking at the Huawei website, it states that device is 320x240 HVGA is the HVGA the issue here? On Jan 22, 5:35 pm, kernelpanic j.m.roya...@gmail.com wrote: yes, that's how I decided I had an issue - he left a 1 star rating with this comment cannot play on my huawei ascend touchscreen please fix On Jan 22, 5:29 pm, Dianne Hackborn hack...@android.com wrote: It should be a child of manifest, so that is fine. Do you know what device this was allowed to be installed on? On Sat, Jan 22, 2011 at 2:47 PM, kernelpanic j.m.roya...@gmail.com wrote: ok, thanks. According to the docs, it should just be in the manifest - I have this uses-sdk android:minSdkVersion=5 android:targetSdkVersion=8 / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.VIBRATE / supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ should it be inside the application tag maybe? On Jan 22, 2:15 pm, Dianne Hackborn hack...@android.com wrote: It absolutely should be filtered from Market. There are lots of apps that aren't available to small screen devices because they don't support small screens. Make sure you have the tag in the right place in your manifest. On Sat, Jan 22, 2011 at 4:02 AM, kernelpanic j.m.roya...@gmail.com wrote: I'm using the following supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ but had someone with a 320x240 screen download the app from the market - of course it doesn't work on that small screen. My question is why would someone with a screen that small be able to see the app in the market? any insight appreciated -- 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 -- 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.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] Re: supports-screens question
I believe you, but http://www.huaweidevice.com/worldwide/productFeatures.do?pinfoId=2880directoryId=2044treeId=44 On Jan 22, 7:56 pm, Dianne Hackborn hack...@android.com wrote: Er 320x240 is definitely not HVGA. :} On Sat, Jan 22, 2011 at 4:51 PM, kernelpanic j.m.roya...@gmail.com wrote: looking at the Huawei website, it states that device is 320x240 HVGA is the HVGA the issue here? On Jan 22, 5:35 pm, kernelpanic j.m.roya...@gmail.com wrote: yes, that's how I decided I had an issue - he left a 1 star rating with this comment cannot play on my huawei ascend touchscreen please fix On Jan 22, 5:29 pm, Dianne Hackborn hack...@android.com wrote: It should be a child of manifest, so that is fine. Do you know what device this was allowed to be installed on? On Sat, Jan 22, 2011 at 2:47 PM, kernelpanic j.m.roya...@gmail.com wrote: ok, thanks. According to the docs, it should just be in the manifest - I have this uses-sdk android:minSdkVersion=5 android:targetSdkVersion=8 / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.VIBRATE / supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ should it be inside the application tag maybe? On Jan 22, 2:15 pm, Dianne Hackborn hack...@android.com wrote: It absolutely should be filtered from Market. There are lots of apps that aren't available to small screen devices because they don't support small screens. Make sure you have the tag in the right place in your manifest. On Sat, Jan 22, 2011 at 4:02 AM, kernelpanic j.m.roya...@gmail.com wrote: I'm using the following supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ but had someone with a 320x240 screen download the app from the market - of course it doesn't work on that small screen. My question is why would someone with a screen that small be able to see the app in the market? any insight appreciated -- 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 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%252bunsubscr...@googlegroups.comandroid-developers%25252bunsubscr...@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.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 -- 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.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
[android-developers] Re: supports-screens question
like I said, I believe you - of all the people to not believe - you are not on that list. I admit I am new to android, but I know how to butter toast as they say All I know is someone downloaded my app from the market (the only place it is avail) and claims to have that device - that was the whole point of my inquiry about the supports-screens thing So either they are lying, they have figured out a way to fool the market, or the market got fooled some other way, or I am lying, or you are lying And as stated in the first sentence, I know that you are not lying - and I doubt that I am lying, so there ya go On Jan 22, 9:09 pm, Dianne Hackborn hack...@android.com wrote: This is all beside the point, but I am just saying that HVGA is by definition 480x320. They have a mistake in their description. Anyway, in the platform and elsewhere we don't care about HVGA or any other resolution names at all, just the actually resolution width and height (and of course density). http://en.wikipedia.org/wiki/Graphic_display_resolutions http://en.wikipedia.org/wiki/Graphic_display_resolutionsMaybe they did something bogus like modify their device to report it is a normal screen. Can you find out if your app is visible on other QVGA devices? On Sat, Jan 22, 2011 at 6:08 PM, kernelpanic j.m.roya...@gmail.com wrote: I believe you, but http://www.huaweidevice.com/worldwide/productFeatures.do?pinfoId=2880... On Jan 22, 7:56 pm, Dianne Hackborn hack...@android.com wrote: Er 320x240 is definitely not HVGA. :} On Sat, Jan 22, 2011 at 4:51 PM, kernelpanic j.m.roya...@gmail.com wrote: looking at the Huawei website, it states that device is 320x240 HVGA is the HVGA the issue here? On Jan 22, 5:35 pm, kernelpanic j.m.roya...@gmail.com wrote: yes, that's how I decided I had an issue - he left a 1 star rating with this comment cannot play on my huawei ascend touchscreen please fix On Jan 22, 5:29 pm, Dianne Hackborn hack...@android.com wrote: It should be a child of manifest, so that is fine. Do you know what device this was allowed to be installed on? On Sat, Jan 22, 2011 at 2:47 PM, kernelpanic j.m.roya...@gmail.com wrote: ok, thanks. According to the docs, it should just be in the manifest - I have this uses-sdk android:minSdkVersion=5 android:targetSdkVersion=8 / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.VIBRATE / supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ should it be inside the application tag maybe? On Jan 22, 2:15 pm, Dianne Hackborn hack...@android.com wrote: It absolutely should be filtered from Market. There are lots of apps that aren't available to small screen devices because they don't support small screens. Make sure you have the tag in the right place in your manifest. On Sat, Jan 22, 2011 at 4:02 AM, kernelpanic j.m.roya...@gmail.com wrote: I'm using the following supports-screens android:smallScreens=false android:normalScreens=true android:largeScreens=true android:anyDensity=true/ but had someone with a 320x240 screen download the app from the market - of course it doesn't work on that small screen. My question is why would someone with a screen that small be able to see the app in the market? any insight appreciated -- 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 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%252bunsubscr...@googlegroups.comandroid-developers%25252bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%252bunsubscr...@googlegroups.comandroid-developers%25252bunsubscr...@googlegroups.com android-developers%252bunsubscr...@googlegroups.comandroid-developers%25252bunsubscr...@googlegroups.com android-developers%25252bunsubscr...@googlegroups.comandroid-developers%2525252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Anybody seen comfortta.com?
he's hosting on GoDaddy servers - won't be long before he has to move. On Jan 20, 1:57 am, ko5tik kpriblo...@yahoo.com wrote: It seems that this is new app thief around here. They just hacked my highscore lists to place URL on the top (not very scillfull, but it will require intervention to remove entries) -- 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: seekTo behavior after onBufferingComplete
seekTo is relative to the start of the file - NOT the current position according to the docs public void seekTo (int msec) Since: API Level 1 Seeks to specified time position. Parameters msec the offset in milliseconds from the start to seek to for your 30s file, the range is 0 to 3 try seekTo(15000) On Jan 17, 6:53 pm, Ganesh ganesh.vija...@gmail.com wrote: Dear Experts, I am currently trying to understand the Media Player and had a question on the seeking part in Media Player. Basically, seekTo method can be invoked from any state except Idle, Initialized, Stopped, Error. Consider a case where playback has been completed (30 s file) i.e. Looping was set to FALSE and the player is in PlaybackCompleted state. I intend to jump to middle of the file and play it back from there. If I invoke a seekTo(-15000) and invoke a mediaPlayer.start() in onSeekComplete callback, what is the expected behavior of the system? From the documentation, it wasn't clear as invoking a start from PlaybackCompleted starts the playback from starting of the file and successful call of seekTo doesn't alter the state of the player. If this has been answered/discussed earlier, kindly pardon me for posting the same. Any pointers or information about the same would be extremely helpful. Thanks, Ganesh -- 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: Code Assist still Slow
I had this problem for a while but I don't remember how I fixed it. I googled around and found some references to Content Assist settings and changed something in there that solved my problem. I think it was one of the choices under Window | Preferences | Java | Editor | Content Assist | Advanced Sorry I can't be more help, but the info you seek is out there. On Jan 7, 5:31 pm, Dan king...@gmail.com wrote: After upgrading to ADT 8.0.1 with Eclipse Helios (3.6.1) I am still getting freezes with code assist. Does anyone have any ideas to fix or is this still a bug? -- 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: Digest for android-developers@googlegroups.com -25 Messages in 21 Topics
Brilliant On Jan 3, 11:04 am, Daniel Shin neowo...@gmail.com wrote: Jhhghjjhhbhbtthhthththt Enviado desde mi terminal BlackBerry® de Digicel -- 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: Screen Rotation
if what you posted in the original msg is a cut/paste, then the problem is likely a typo - the right before your android:configChanges line should be moved to AFTER activity android:name=.ReunionPlanner android:label=@string/app_name android:configChanges=orientation|keyboardHidden On Dec 31 2010, 2:21 pm, Robert rcope...@gmail.com wrote: Yes, I agree and even said in my original post that I was working to understand how to make that work correctly. Still would be interested to know why the manifest entry doesn't seem to be working as documented. -- 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: Alarm in sleep mode
On Dec 28, 8:00 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Dec 25, 2010 at 3:54 PM, b_t bartata...@gmail.com wrote: In an appwidget I declare a repeating alarm to refresh a widget in every 10 seconds: Please don't. yeah really - not on my phone you won't -- 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] New market features
anyone know what this really means? Feature Graphic: 1024w x 500h 24 bit PNG or JPEG (no alpha) Will be downsized to mini or micro what sizes are mini and/or micro ? -- 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's the general consensus on the non-Android affiliated app stores?
like the market does this with any kind of logic - how a declined credit card, or the user changing their mind should count as anything is beyond me. If you have to count it, count it as attempted sales maybe - but don't use to screw over my active install ratio On Dec 9, 11:53 am, Nathan critter...@crittermap.com wrote: On Dec 9, 9:31 am, Brill Pappin br...@pappin.ca wrote: I don't whether stores have better statistics that the Market, as bad as they are. Many of them can't track the active install percentage like the Market can. -- 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: Anybody else getting document.body is null JS error when loading Market Dashboard?
works from here using FF 3.6.10 I can't say about IE - stopped using that back when it started encountering errors and had to shutdown every 15 minutes - in IE7 IIRC - ignorant software. I've never seen the JS error either. On Dec 5, 11:15 am, Streets Of Boston flyingdutc...@gmail.com wrote: I'm not sure about the error, but i can no longer load the market- console on FireFox. It works fine on IE8. -- 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: Button placement problems
if you are using a relative layout with b2 b3 achored to the bottom left/right respectively - can you then declare b1 after these in the XML and align it above b2 -- 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: Android system font size
It's in Spare Parts on the Emulator On Nov 19, 9:59 am, Lance Nanek lna...@gmail.com wrote: I've never actually seen a system wide font size preference, however, and I must have seen the settings screens on over a dozen Android phones. I wish there was one, and I've had people ask me about it before too, but it's incredibly rare if it exists, or is just hidden somewhere I have no clue to check. -- 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: Suggest android paid tutorials??
I'll vote/vouch for the Commonsware books - I've found them quite helpful - well worth the money. -- 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: Downloading Problem
I went through this a couple of months back with our server where we had the same script sometimes provide a content-length, other times the length was -1 AFAIK, -1 is a valid response when the server can't determine the length. In researching the issue, we found our solution was in the server output headers - much like Bob suggested We changed the output headers on those problematic scripts from Header('Content-Type: text/html'); to Header('Content-Type: text/html charset=UTF-8'); adding the charset encoding made all the difference - who'd've thunk it YMMV of course since you are doing ZIP files, but it's something to check. On Nov 10, 11:16 pm, Android Humanoid droid.hu...@gmail.com wrote: The length of the content that am getting is -1, The server is ours only, so I asked the server persons to look into the logs what exactly logged, They informed that there is nothing logged, Is there any chance for android to change url, because, the same url is working on desktop. -- 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: Overriding Back Button Action in Activity
http://developer.android.com/reference/android/app/Activity.html#onBackPressed() ? On Nov 4, 2:33 am, tanmay@gmail.com tanmay@gmail.com wrote: Thanks for the suggestions. But no result Waiting for a logic to implement 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] 2 questions
my apologies up front for the noob questions 1) html hr equivalent - so I have a LinearLayout and need to provide some differentiation between views in that layout - similar to an hr / call in HTML. I've seen references to android:divider, but that only applies to lists AFAIK. What's is the recommended way to do something similar in a LinearLayout? 2) if I want to programmatically do a Linear Gradient background on a LinearLayout or a button, what is the best way? regards, kp -- 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: Overriding user sms request
hopefully not On Oct 16, 7:14 am, Omer omer...@gmail.com wrote: Is it possible to know when a user tries to send an sms message, and preventing him from doing so? -- 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: Gogle: fix the effing Lunar Lander example, unless it's an example of crappy programming.
heh heh On Oct 17, 6:56 am, orlandroid orlandro...@gmail.com wrote: I cannot believe this crap!! -- 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: Gogle: fix the effing Lunar Lander example, unless it's an example of crappy programming.
sorry - I meant say are you frustrated? On Oct 17, 6:56 am, orlandroid orlandro...@gmail.com wrote: I cannot believe this crap!! -- 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: Application still Running After Exit
I've been debating this myself, so have been following this discussion here with interest. Another good read is this article http://blog.radioactiveyak.com/2010/05/when-to-include-exit-button-in-android.html I had a user contact me yesterday who said this And I just discovered if you do not get out of the program with the exit button you can hit the back button and it takes you back the to the last copy you had open and will do so until you have gone back on all you did not exit from...hmm again This is more of a user issue really - she's been using the Home key to quit the app. If I include an Exit command that simply does what the Back button does and they actually use it instead of hitting Home, then I feel like I've helped my users. Granted, a better way to help the users is to explain what the the Home and Back button are for, which I have done many times, but that's a bit out of my jurisdiction really. On Oct 24, 11:17 pm, Frank Weiss fewe...@gmail.com wrote: I might add that we should contact developers who add exit buttons to their apps (against Android development guidelines) that they are contributing to the confusion of new developers. If any such developers read this, I'd be interested to hear their defense. -- 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