Re: [android-developers] Re: In-App Purchasing and the Market Agreement
Good stuff Bob.. hurry up with your blog.. its empty right now. ;) I am happy to hear that at lest someone from google has acknowledged that it is perfectly fine to do in-app virtual goods, etc. I plan to roll that ability into my service soon as I figure out how to handle paypal, credit cards and google checkout. On Fri, Mar 26, 2010 at 10:10 PM, Bob Kerns wrote: > My experience was, I published it, went to my device, located it, and > downloaded it. > > But I don't know if they have a distributed infrastructure that may > impose delays before it reaches everyone. I've noticed that it can > take a while for comments I posted from the Market app to actually > appear. > > I maintain a comment to (1) try to direct people to contact me for > assistance rather than post problems -- HAH! and (2) mark in the > comments where any earlier comments are for earlier versions. So I was > a bit concerned at first, but my updated comment did show up in the > right place after a while. > > My comment says: > "Please send any support reuests or problem reports to us at android- > supp...@sfsmart.com. We aim to give fast, quality support. NEWLY > UPDATED! 1.0.296" > (And I'll increment the version number every time I repost the > comment). > > I'm hoping this will help. > > Of course, this means I absolutely cannot reply via the comments, at > least not without another phone or account and a lot of hassle. > > More on my thoughts and impressions at > http://bobkerns.typepad.com/bob_kerns_thinking/2010/03/meet-the-users.html > in a few minutes (I'm having a bad case of Chrome vs TypePad...) > > On Mar 26, 9:26 pm, Kevin Duffey wrote: > > Its within a day usually faster most of the time from what I have read > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
My experience was, I published it, went to my device, located it, and downloaded it. But I don't know if they have a distributed infrastructure that may impose delays before it reaches everyone. I've noticed that it can take a while for comments I posted from the Market app to actually appear. I maintain a comment to (1) try to direct people to contact me for assistance rather than post problems -- HAH! and (2) mark in the comments where any earlier comments are for earlier versions. So I was a bit concerned at first, but my updated comment did show up in the right place after a while. My comment says: "Please send any support reuests or problem reports to us at android- supp...@sfsmart.com. We aim to give fast, quality support. NEWLY UPDATED! 1.0.296" (And I'll increment the version number every time I repost the comment). I'm hoping this will help. Of course, this means I absolutely cannot reply via the comments, at least not without another phone or account and a lot of hassle. More on my thoughts and impressions at http://bobkerns.typepad.com/bob_kerns_thinking/2010/03/meet-the-users.html in a few minutes (I'm having a bad case of Chrome vs TypePad...) On Mar 26, 9:26 pm, Kevin Duffey wrote: > Its within a day usually faster most of the time from what I have read -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
I believe most apps are available within a few hours to a day at most.. from what I've read anyway. Not 100% sure tho. I am a little bummed that google hasn't made any attempt to better the market app. There is sooo much I would do to improve it. It could be far better than the iPhone market app. I wonder if they have a forum to post on things like the built-in apps... or if we can gain source code to it and mess with it, test it and offer changes to them. On Fri, Mar 26, 2010 at 8:40 PM, chris harper wrote: > That is a great idea and out of the box (which is good) building a .apk > dynamically. > > The Market place does not yet have the ability to search per app (which I > agree if add on's start to come more common that will be needed). The way I > am planning on getting around that (hopefully temporarily) is that within my > app I still plan to open a page to my website where all my characters are > and they can select them from there. Once they select a character it then > links to the .apk within the market place for that character. > > I admit the downside is they can't select multiple characters for one check > out which is where you idea would be ideal. But I think its the best I can > currently do until the Market place changes. > > One question I do have though. I have yet to publish an app on the Market > (this will be my first one). > How long is the process take when you submit an app to when it is available > on the market? > I really don't know. For your idea that would probably be my first question > and its not an issue with your idea but more an issue of the Market place. > Is it immediately? Or does it take a few days? > > If it takes a few days you can see how it would make a user upset if they > ordered something and they have to wait days to get it. > > If it is immediately than you might have given me an idea for version two > of my app (if people like version one that is). > > I hope to get my first install app working with my main app by the end of > the weekend to add/remove my characters. > > -Chris > > > > On Fri, Mar 26, 2010 at 7:33 PM, Kevin Duffey wrote: > >> I have a sort of twist idea to the market problem... not sure this can be >> done, but I think it could be possible. >> >> Imagine you have an app that allows for virtual goods. You have dozens of >> goods for sale. Even better, you have an open-ended API that allows OTHER >> developers/users to create goods for your game/app and sell them. Yay.. >> revenue streams are good. >> >> Now, many users will probably buy one good here, one good there... but >> often times, you'll have a lot of users who want to purchase several goods. >> We surely don't want to deter the multi-goods buyer. That's more money in >> our pocket. The problem with the way you're doing it Chris (not a problem as >> in bad..just for this example), is that they would have to search/find/buy >> individual downloads for each good they wanted. >> >> What if your users could build up a cart full of items they want, check >> out just once, and behind the scenes, your server side builds up a single >> .apk with those goods, put's it out on the market, then sends them an email >> link for them to access from their android device when its deployed to >> market. At that time, they can then purchase the whole pack at once, through >> the market, and then utilize what you are doing Chris, where your main app >> can make use of all the goods from that install, and if not refunded in 48 >> hours... uninstall/delete the .apk off the device to avoid taking up room. >> >> Ok, I don't know that I would implement this, but I imagine it's got to be >> possible. >> >> On Fri, Mar 26, 2010 at 8:43 AM, chris harper wrote: >> >>> We are probably in the running for the most active thread now but that’s >>> great because >>> >>> this is an important issue that needs to be addressed. >>> >>> >>> >>> Bob – Thank you. Your solution is a pretty thought out solution. I admit >>> I had to print it out and re-read it a few times. I might have a few >>> questions coming your way because I think I like what you are doing. Give me >>> a little more time to make sure I understand what you are doing. >>> >>> >>> >>> String – Congrats on doing what many have failed to do. Get an answer >>> from someone at google about app’s doing their own in-app purchasing. We >>> need to post that in bold someplace. I hope you bought his dessert for >>> him. That closes the can on a big question we have all be wanting a simple >>> answer to (right Kevin, Warren?). The idea of Google user creds is very >>> good. I still REALLY like that fact since the user is already using android >>> then they probably already have an account though Market place and REALLY >>> want to tap into that. As far as account setup it’s pretty much a given in >>> my opinion. They just have to “ok” a transaction though my app and download >>> the install app for the character. We are talking mobile here so people are >>>
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
Its within a day usually faster most of the time from what I have read chris harper wrote: >That is a great idea and out of the box (which is good) building a .apk >dynamically. > >The Market place does not yet have the ability to search per app (which I >agree if add on's start to come more common that will be needed). The way I >am planning on getting around that (hopefully temporarily) is that within my >app I still plan to open a page to my website where all my characters are >and they can select them from there. Once they select a character it then >links to the .apk within the market place for that character. > >I admit the downside is they can't select multiple characters for one check >out which is where you idea would be ideal. But I think its the best I can >currently do until the Market place changes. > >One question I do have though. I have yet to publish an app on the Market >(this will be my first one). >How long is the process take when you submit an app to when it is available >on the market? >I really don't know. For your idea that would probably be my first question >and its not an issue with your idea but more an issue of the Market place. >Is it immediately? Or does it take a few days? > >If it takes a few days you can see how it would make a user upset if they >ordered something and they have to wait days to get it. > >If it is immediately than you might have given me an idea for version two of >my app (if people like version one that is). > >I hope to get my first install app working with my main app by the end of >the weekend to add/remove my characters. > >-Chris > > > >On Fri, Mar 26, 2010 at 7:33 PM, Kevin Duffey wrote: > >> I have a sort of twist idea to the market problem... not sure this can be >> done, but I think it could be possible. >> >> Imagine you have an app that allows for virtual goods. You have dozens of >> goods for sale. Even better, you have an open-ended API that allows OTHER >> developers/users to create goods for your game/app and sell them. Yay.. >> revenue streams are good. >> >> Now, many users will probably buy one good here, one good there... but >> often times, you'll have a lot of users who want to purchase several goods. >> We surely don't want to deter the multi-goods buyer. That's more money in >> our pocket. The problem with the way you're doing it Chris (not a problem as >> in bad..just for this example), is that they would have to search/find/buy >> individual downloads for each good they wanted. >> >> What if your users could build up a cart full of items they want, check out >> just once, and behind the scenes, your server side builds up a single .apk >> with those goods, put's it out on the market, then sends them an email link >> for them to access from their android device when its deployed to market. At >> that time, they can then purchase the whole pack at once, through the >> market, and then utilize what you are doing Chris, where your main app can >> make use of all the goods from that install, and if not refunded in 48 >> hours... uninstall/delete the .apk off the device to avoid taking up room. >> >> Ok, I don't know that I would implement this, but I imagine it's got to be >> possible. >> >> On Fri, Mar 26, 2010 at 8:43 AM, chris harper wrote: >> >>> We are probably in the running for the most active thread now but that’s >>> great because >>> >>> this is an important issue that needs to be addressed. >>> >>> >>> >>> Bob – Thank you. Your solution is a pretty thought out solution. I admit I >>> had to print it out and re-read it a few times. I might have a few questions >>> coming your way because I think I like what you are doing. Give me a little >>> more time to make sure I understand what you are doing. >>> >>> >>> >>> String – Congrats on doing what many have failed to do. Get an answer from >>> someone at google about app’s doing their own in-app purchasing. We need to >>> post that in bold someplace. I hope you bought his dessert for him. That >>> closes the can on a big question we have all be wanting a simple answer to >>> (right Kevin, Warren?). The idea of Google user creds is very good. I >>> still REALLY like that fact since the user is already using android then >>> they probably already have an account though Market place and REALLY want to >>> tap into that. As far as account setup it’s pretty much a given in my >>> opinion. They just have to “ok” a transaction though my app and download the >>> install app for the character. We are talking mobile here so people are >>> messing with their phone while doing something else a lot of the time. If >>> you can set it up so they just click “ok” and not have to mess with setting >>> anything up then that has to make a difference in the amount of people you >>> get purchasing extras. >>> >>> >>> >>> Westmeadboy – I agree with you. Last night knowing that I can hide my >>> install app’s from the user and access them though the main app, well I can >>> just modify my desig
Re: [android-developers] Re: How to delete a contact in android 2.1
There should be no need for additional code. Calling resolver.delete on the contact should instantly make it invisible. On Mar 26, 2010 7:38 PM, "Rishabh" wrote: Hi Dmitri thanks for reply, Is there any way that i can make it invisible from phone if i delete raw contact or there is any need to add some field while adding contact into phone. can you provide me some lines of code to do it ? Thanks Rishabh On Mar 26, 6:15 pm, Dmitri Plotnikov wrote: > When you use the Delete optio... > On Mar 26, 2010 4:11 AM, "Rishabh" wrote: > > Hi, > > I have added on... > android-developers+unsubscr...@googlegroups.com > For more options, visit this group athttp:// groups.google.com/group/android-developers?hl=en > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com ... -- You received this message because you are subscribed to the Google Groups "Android Developers" 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
That is a great idea and out of the box (which is good) building a .apk dynamically. The Market place does not yet have the ability to search per app (which I agree if add on's start to come more common that will be needed). The way I am planning on getting around that (hopefully temporarily) is that within my app I still plan to open a page to my website where all my characters are and they can select them from there. Once they select a character it then links to the .apk within the market place for that character. I admit the downside is they can't select multiple characters for one check out which is where you idea would be ideal. But I think its the best I can currently do until the Market place changes. One question I do have though. I have yet to publish an app on the Market (this will be my first one). How long is the process take when you submit an app to when it is available on the market? I really don't know. For your idea that would probably be my first question and its not an issue with your idea but more an issue of the Market place. Is it immediately? Or does it take a few days? If it takes a few days you can see how it would make a user upset if they ordered something and they have to wait days to get it. If it is immediately than you might have given me an idea for version two of my app (if people like version one that is). I hope to get my first install app working with my main app by the end of the weekend to add/remove my characters. -Chris On Fri, Mar 26, 2010 at 7:33 PM, Kevin Duffey wrote: > I have a sort of twist idea to the market problem... not sure this can be > done, but I think it could be possible. > > Imagine you have an app that allows for virtual goods. You have dozens of > goods for sale. Even better, you have an open-ended API that allows OTHER > developers/users to create goods for your game/app and sell them. Yay.. > revenue streams are good. > > Now, many users will probably buy one good here, one good there... but > often times, you'll have a lot of users who want to purchase several goods. > We surely don't want to deter the multi-goods buyer. That's more money in > our pocket. The problem with the way you're doing it Chris (not a problem as > in bad..just for this example), is that they would have to search/find/buy > individual downloads for each good they wanted. > > What if your users could build up a cart full of items they want, check out > just once, and behind the scenes, your server side builds up a single .apk > with those goods, put's it out on the market, then sends them an email link > for them to access from their android device when its deployed to market. At > that time, they can then purchase the whole pack at once, through the > market, and then utilize what you are doing Chris, where your main app can > make use of all the goods from that install, and if not refunded in 48 > hours... uninstall/delete the .apk off the device to avoid taking up room. > > Ok, I don't know that I would implement this, but I imagine it's got to be > possible. > > On Fri, Mar 26, 2010 at 8:43 AM, chris harper wrote: > >> We are probably in the running for the most active thread now but that’s >> great because >> >> this is an important issue that needs to be addressed. >> >> >> >> Bob – Thank you. Your solution is a pretty thought out solution. I admit I >> had to print it out and re-read it a few times. I might have a few questions >> coming your way because I think I like what you are doing. Give me a little >> more time to make sure I understand what you are doing. >> >> >> >> String – Congrats on doing what many have failed to do. Get an answer from >> someone at google about app’s doing their own in-app purchasing. We need to >> post that in bold someplace. I hope you bought his dessert for him. That >> closes the can on a big question we have all be wanting a simple answer to >> (right Kevin, Warren?). The idea of Google user creds is very good. I >> still REALLY like that fact since the user is already using android then >> they probably already have an account though Market place and REALLY want to >> tap into that. As far as account setup it’s pretty much a given in my >> opinion. They just have to “ok” a transaction though my app and download the >> install app for the character. We are talking mobile here so people are >> messing with their phone while doing something else a lot of the time. If >> you can set it up so they just click “ok” and not have to mess with setting >> anything up then that has to make a difference in the amount of people you >> get purchasing extras. >> >> >> >> Westmeadboy – I agree with you. Last night knowing that I can hide my >> install app’s from the user and access them though the main app, well I can >> just modify my design so all the resources for each character are contained >> in their own install app’s (images, sounds etc..) and the main app can just >> access them via the assetManager. This will allow the in
[android-developers] Adding iconified rows to existing ArrayAdapter
Hi, I am developing an application which requires me to load first twenty rows (consisting on icons and two text fields) and if I have more rows I need to display a button. When i click this button I want to display more twenty rows( again iconified). My current approach which is working is that on the button click I create one more activity which will have the previous rows and the new rows. In this case the curson is set to the very first row. But I want to have something like Facebooks "Older Post" where the new rows get appended to the old ones and the cursor is set to the last row to which the new rows are added. Please can anyone give me ideas on how to achieve this. That is, how to add rows (iconified) to the existing array adapter. Thanks, Prajakta. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: How to delete a contact in android 2.1
Hi Dmitri thanks for reply, Is there any way that i can make it invisible from phone if i delete raw contact or there is any need to add some field while adding contact into phone. can you provide me some lines of code to do it ? Thanks Rishabh On Mar 26, 6:15 pm, Dmitri Plotnikov wrote: > When you use the Delete option from the menu, the raw contact is marked for > deletion. Normally a sync adapter sees that flag, removes the contact from > the server and then physically removes the raw contact from the phone. In > the absence of a sync adapter, the contact marked for deletion stays on the > phone, but it should not be visible. When accessing raw contacts > programmaticaly, you can explicitly exclude deleted raw contacts by having > deleted=0 in your selection. > > Cheers, > Dmitri > > On Mar 26, 2010 4:11 AM, "Rishabh" wrote: > > Hi, > > I have added one contact to android by following code. > > ContentValues values = new ContentValues(); > Uri rawContactUri = > getContentResolver().insert(RawContacts.CONTENT_URI, values); > long rawContactId = ContentUris.parseId(rawContactUri); > > values.clear(); > values.put(Data.RAW_CONTACT_ID, rawContactId); > values.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); > values.put(StructuredName.DISPLAY_NAME, "Mike Sullivan"); > getContentResolver().insert(Data.CONTENT_URI, values); > It shows up on emulator 2.1, but when i am going to delete it manually > by "delete contact" option, its not deleteing from emulator. > > If I edit some thing on it then only it deletes. > > How can i directly delete it from menu ? > > 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 > athttp://groups.google.com/group/android-developers?hl=en > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
I have a sort of twist idea to the market problem... not sure this can be done, but I think it could be possible. Imagine you have an app that allows for virtual goods. You have dozens of goods for sale. Even better, you have an open-ended API that allows OTHER developers/users to create goods for your game/app and sell them. Yay.. revenue streams are good. Now, many users will probably buy one good here, one good there... but often times, you'll have a lot of users who want to purchase several goods. We surely don't want to deter the multi-goods buyer. That's more money in our pocket. The problem with the way you're doing it Chris (not a problem as in bad..just for this example), is that they would have to search/find/buy individual downloads for each good they wanted. What if your users could build up a cart full of items they want, check out just once, and behind the scenes, your server side builds up a single .apk with those goods, put's it out on the market, then sends them an email link for them to access from their android device when its deployed to market. At that time, they can then purchase the whole pack at once, through the market, and then utilize what you are doing Chris, where your main app can make use of all the goods from that install, and if not refunded in 48 hours... uninstall/delete the .apk off the device to avoid taking up room. Ok, I don't know that I would implement this, but I imagine it's got to be possible. On Fri, Mar 26, 2010 at 8:43 AM, chris harper wrote: > We are probably in the running for the most active thread now but that’s > great because > > this is an important issue that needs to be addressed. > > > > Bob – Thank you. Your solution is a pretty thought out solution. I admit I > had to print it out and re-read it a few times. I might have a few questions > coming your way because I think I like what you are doing. Give me a little > more time to make sure I understand what you are doing. > > > > String – Congrats on doing what many have failed to do. Get an answer from > someone at google about app’s doing their own in-app purchasing. We need to > post that in bold someplace. I hope you bought his dessert for him. That > closes the can on a big question we have all be wanting a simple answer to > (right Kevin, Warren?). The idea of Google user creds is very good. I > still REALLY like that fact since the user is already using android then > they probably already have an account though Market place and REALLY want to > tap into that. As far as account setup it’s pretty much a given in my > opinion. They just have to “ok” a transaction though my app and download the > install app for the character. We are talking mobile here so people are > messing with their phone while doing something else a lot of the time. If > you can set it up so they just click “ok” and not have to mess with setting > anything up then that has to make a difference in the amount of people you > get purchasing extras. > > > > Westmeadboy – I agree with you. Last night knowing that I can hide my > install app’s from the user and access them though the main app, well I can > just modify my design so all the resources for each character are contained > in their own install app’s (images, sounds etc..) and the main app can just > access them via the assetManager. This will allow the install app’s very > “lean” and in turn make downloading them quick for the user. > > That way my virtual content (i.e. my characters) truly are just “modules” > that my main uses. Then my main app just accesses the “modules” for each > character when a user wants to add/remove or update a character. > > Flooding the market. Maybe. But on a separate point many other threads have > been asking (even pleading) Google to upgrade the market. I don’t want to > wait because they have been very slow to respond in doing that. Maybe > flooding the market will actually SHOW them that the market NEEDS to be > changed. They need to maybe create an “addon” category so developers can do > what we are taking about and app users can then search for add-on’s for > specific apps? In your last post “LAUNCHER intent, the system won't give the > user the option to open it, from anywhere.” That is want I seen when I > played with it last night, but that is perfect for my design because A. The > install app’s are hidden and B. They can only access them via the main > app. > > > > Bob – I am re-reading. I like what you are doing. > > -Chris > > > On Fri, Mar 26, 2010 at 6:34 AM, westmeadboy wrote: > >> On Mar 26, 11:54 am, String wrote: >> > If your add-on app doesn't have a LAUNCHER intent, the system won't >> > give the user the option to open it, from anywhere. >> >> I thought using category INFO also allows the user to click Open in >> the Market app once the downloaded app has installed? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, s
Re: [android-developers] Re: How to start an Activity from a Service and getting a result from it
On Fri, Mar 26, 2010 at 4:22 PM, Matt Kanninen wrote: > Sorry about resurrecting an old thread, but really? All resources > from all APK's are public to all APK's at all times? > Yes. > Could yall post a new blog post about how to write secure Android > applications? ;) > One possibility is to use encryption of things you want to protect. > How about assets? And whats the deal with the stuff that ends up in > your assets folder that you didn't put there? > You mean if you look at the contents of the AssetManager? Those are in the framework. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Targetted updates
I am pretty sure the market is doing this filtering now. And yes, if it sees a newer version of an app that is pre-installed on the system image, it will offer the user an update. This is how updates to the maps app are delivered. On Fri, Mar 26, 2010 at 5:26 PM, John Seghers wrote: > We're preloading apps that require specific OEM-level integration. Due > to advice in an earlier discussion(http://tinyurl.com/yzpzwgd) we have > a model-specific library and our application contains the library> element in the Manifest to reference this library. > > In that earlier discussion Dianne stated that, at some point in the > future, the Marketplace would check for that prerequisite prior to > displaying an update as being available. I.e. that if we put updates > for two handset models (each with a different ) that > each of those handsets would see the update meant for that model, and > none others would see it at all. > > I would like to know if there's any more clarity as to when this > functionality will exist in the Marketplace? > > Also, do the package names of the differently-targetted applications > need to be unique? > > I also wanted to clarify an assumption based on further questions > asked by others in the earlier thread: Will the Marketplace > application properly pick up that there is an update available for a > preloaded application (assuming they are both signed by the same > certificate and use the same package name). > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Intent to bring up top-most activity in task?
You use the same intent that original started the task. Tasks started from launcher are ACTION_MAIN, CATEGORY_LAUNCHER, with the component being the explicit component corresponding to the icon it has shown. You can use "adb shell dumpsys activity" to see details on the intents used to launch each acitivity and task. On Fri, Mar 26, 2010 at 4:30 PM, westmeadboy wrote: > If my app is already running, then either Activity1 or Activity2 might > be currently on top. > > How to construct an Intent so that it will simply show whichever > Activity is already on top (in the task)? Just like if you touch an > icon in the Recent list (long-press home). > > At the moment, it looks like (for explicit Intents) you need to be > explicit about the Activity to launch. But I would rather be explicit > about the app (package name). > > FWIW, I'm thinking of Intents triggered via Notifications. > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Webview Issue Displaying 100% Wide Pages
Grr, I meant overflow:hidden. Mike Brian wrote: I am working on an app that uses webview for a help section. The help section is loaded from an external site, that is specifically designed for mobile phones. There are a series of 5 pages, with a simple next/ back navigation. When the first page loads, it loads perfectly, filling the entire area of the screen. When you click next, the page is now smaller with a large white gap around it (right and bottom), when I click back to the first page, this page now is displaying the same way (gap around it). I have tried setting body/table/container divs to 100% wide, and this continues to happen. However it works perfectly on any desktop browser. This happens on the droid/nexus one. It almost seems as if clicking next is resetting something in the webview settings, but I don't know what it would be or why? Any help or ideas would be 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Targetted updates
We're preloading apps that require specific OEM-level integration. Due to advice in an earlier discussion(http://tinyurl.com/yzpzwgd) we have a model-specific library and our application contains the element in the Manifest to reference this library. In that earlier discussion Dianne stated that, at some point in the future, the Marketplace would check for that prerequisite prior to displaying an update as being available. I.e. that if we put updates for two handset models (each with a different ) that each of those handsets would see the update meant for that model, and none others would see it at all. I would like to know if there's any more clarity as to when this functionality will exist in the Marketplace? Also, do the package names of the differently-targetted applications need to be unique? I also wanted to clarify an assumption based on further questions asked by others in the earlier thread: Will the Marketplace application properly pick up that there is an update available for a preloaded application (assuming they are both signed by the same certificate and use the same package name). -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Webview Issue Displaying 100% Wide Pages
Brian wrote: I am working on an app that uses webview for a help section. The help section is loaded from an external site, that is specifically designed for mobile phones. There are a series of 5 pages, with a simple next/ back navigation. When the first page loads, it loads perfectly, filling the entire area of the screen. When you click next, the page is now smaller with a large white gap around it (right and bottom), when I click back to the first page, this page now is displaying the same way (gap around it). I have tried setting body/table/container divs to 100% wide, and this continues to happen. However it works perfectly on any desktop browser. I think I've seen this too. What I believe what you are seeing is the placeholders for scrollbars. I haven't actually squashed it for sure, but you might try putting a style="overflow:none" in your top level body/div/table and see if it goes away. Mike This happens on the droid/nexus one. It almost seems as if clicking next is resetting something in the webview settings, but I don't know what it would be or why? Any help or ideas would be 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
TMobile Nexus One in Los Angeles today. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Intent to bring up top-most activity in task?
If my app is already running, then either Activity1 or Activity2 might be currently on top. How to construct an Intent so that it will simply show whichever Activity is already on top (in the task)? Just like if you touch an icon in the Recent list (long-press home). At the moment, it looks like (for explicit Intents) you need to be explicit about the Activity to launch. But I would rather be explicit about the app (package name). FWIW, I'm thinking of Intents triggered via Notifications. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Application not installed on Hero
Run adb logcat, attempt to install the app and examine the log carefully. I'd wager the error is in there somewhere. Jim On 26 March 2010 09:23, John Edwards wrote: > > Our app installs fine on phones running v1.5 and has been sucessfully > installed on G1's and Nexus, however for some reason when we try and > istall the app on a HTC Hero we see error > > "Application not installed, XX could not be installed on this > phone" > > has anyone else had any issue running apps on the Hero, even though it > runs 1.5 ? Any thoughts would be 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: How to start an Activity from a Service and getting a result from it
Sorry about resurrecting an old thread, but really? All resources from all APK's are public to all APK's at all times? Could yall post a new blog post about how to write secure Android applications? ;) How about assets? And whats the deal with the stuff that ends up in your assets folder that you didn't put there? On Feb 16, 2:04 pm, Dianne Hackborn wrote: > On Mon, Feb 15, 2010 at 4:37 PM, jotobjects wrote: > > Are the resources of the another application package essentially > > public - can any application call Context.createPackageContext() to > > get the context of a different application? > > Yep all resources are public. This allows other applications to display > your icons and labels (such as when you appear in a picker), inflate your > layout for app widgets, etc. > > -- > 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.
They surveyed 108 developers. On Mar 25, 8:55 pm, Kevin Duffey wrote: > 108 of what? I read the link..didn't see anything about 108? > > I don't know that google isn't too keen on monetizing android..they bought > admob after all and a lot of apps on android use that to make money, so they > get a bit from there. I think they are nuts NOT to provide an android SDK > for billing customers for in-app purchases, be it music, themes, or game > characters or new maps... take 25% of that and google could probably retire > most of their staff in a few years time from the money they'll make. > > > > On Thu, Mar 25, 2010 at 5:49 PM, Matt Kanninen wrote: > > On Mar 17, 8:54 pm, Kevin Duffey wrote: > > > I still do not > > > understand for the life of me why google (and even iPhone) did NOT make > > this > > > charge directly to the carrier bill. > > > Carrier billing is very hard to do. I don't think Google is rushing > > to monetize Android. Honestly I don't think anyone should rush to > > monetize Android. There will be plenty of money for us all to share. > > At my local Mall I visited a Sprint store, a T-Mobile store, a Verizon > > kiosk, and an ATT kiosk. They were were all willing to sell me > > Android phones. > > > The ATT Kiosk guy had no idea what Android was, and he couldn't demo > > his phone, but he could sell it. > > > The T-Mobile Store guy said he's selling mostly smart phones, and > > those are mostly Android. They don't sell HotSpot @Home phones > > anymore, I miss those dearly. > >http://en.wikipedia.org/wiki/Generic_Access_Networkor > >http://en.wikipedia.org/wiki/Unlicensed_Mobile_Access > > > The Sprint Store guy said he was selling plenty of the Samsung Android > > device. > > > The Verizon Kiosk girl said she was selling Droids, and that she did > > not yet have Devour's in stock, but the bigger store. > > > Have yall read this? > > >http://metrics.admob.com/ > > > were you one of the 108? I think I was. > > > -My 2 cents, > > MK > > > PS Enjoy the lack of carrier billing while everything is free. Enjoy > > free tethering, for example. As soon as there is carrier billing, on > > android, with monthly subscriptions, I expect them to charge for > > tethering. I'm not sure what that means for people like me that have > > paid for the improved version of PDA Net. (I wanted my https.) > > > -- > > 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 > cr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > > To unsubscribe from this group, send email to android-developers+ > > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > > ME" as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Possible to finish() my activity when Home is pressed?
Um, isn't an activity pause any time it's display is no longer displayed? Home is a special activity, but it's still an activity? When does onPause get called then? On Mar 25, 9:29 pm, Guru wrote: > < activity in response to Home key presses, but I think you can get it > to call finish in all cases where the Home button is pressed.>> > > The Home Button is not interpreted by the application ,so it is not possible > for the app to call the finish on click of Home.The Home Button is basically > designed for the user to goto the phone's desktop(which the user is > familiar). > > > > On Fri, Mar 26, 2010 at 5:52 AM, Matt Kanninen wrote: > > I think onPause is called. It will be hard to only close your > > activity in response to Home key presses, but I think you can get it > > to call finish in all cases where the Home button is pressed. > > > On Mar 25, 11:52 am, paladin wrote: > > > I saw another thread related to this question, but did not find the > > > answer that was useful to me. Is it possible when the user presses the > > > Home button to be able to finish() my activity somewhere? I saw that > > > people were having problems with using onStop(). Has anyone found a > > > resolution to see if this is always called on Home being pressed? > > > -- > > 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 > cr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > > To unsubscribe from this group, send email to android-developers+ > > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > > ME" as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] About the MediaController
Hi, is there any way to customise the behaviour of MediaController...? the screen is disappearing after 3 sec... and i dont want that... -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Obtaining the selected index of a spinner
I want to obtain the index of the selected item in a spinner. I am aware of the method getSelectedItem() which returns the item selected (which might be a String). But i want the index of the selected item. Something equivalent to the setSelection(index) to set the selected item. Of course I can get the selected item and compare it against the array of items to obtain the index, but I hope there is a better way of doing this. Thnx. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] onItemClick gives index/ positi on of item on visible page … not actual index of the item in list ..problem on enabling setTextFilterEnabled ..
hi, I am creating a list .. the elements of the list are drawn from sqlite database .. I populate the list using ArrayList and ArrayAdapter ...upon clicking the items on the list I want to be able to fire an intent containing info about the item clicked ... info like the index number of the item .. using the method : onItemClick(AdapterView av, View v, int index, long arg) I do get index of the item clicked . however it is of the list currently displayed . the problem comes when I do setFilterTextEnabled(true) , and on the app type in some text to to search some item ..and then click it ..rather than giving me the index of the item on the original list it gives me the index on filtered list.. following is the snippet of code: - x--x- myListView.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView av, View v, int index, long arg) { Intent lyricsViewIntent = new Intent(iginga.this, LyricsPage.class); lyricsViewIntent.putExtra("title", songList.get((int)arg).getTitle()); lyricsViewIntent.putExtra("id", songList.get((int)arg).getSongId()); startActivity(lyricsViewIntent); } }); myListView.setTextFilterEnabled(true); x--- x- Is there any way I can get the original index /position of the item instead of the one showing in filtered text ...when filtered. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: AudioRecord on Emulator with friquency > 8 kHz
For 16Khz freq response you need 32Khz sampling rate. What is your desired freq response? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Adding network presence to ContactsContract
Is there a way to add network presence to ContactsContract via a Raw Contacts insert? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers
N1 in Connecticut. On Thu, Mar 25, 2010 at 8:39 PM, Jason Arora wrote: > There are 2 ways to uninstall applications: > 1) Market->Downloads (this will prompt you) > 2) Home->Menu->Settings->Manage Applications (no prompt) > > On Mar 23, 9:38 am, TreKing wrote: > > On Tue, Mar 23, 2010 at 11:09 AM, Mark Murphy >wrote: > > > > > David Horn wrote: > > > > I never get that! > > > > > I seem to get this sporadically. I haven't deduced a pattern yet. It's > > > not free vs. paid, AFAICT. > > > > Really? Weird. I get it every time I uninstall something, free or paid. > > Maybe it's a phone thing? I'm on G1 with 1.6. > > > > > - > > TreKing - Chicago transit tracking app for Android-powered deviceshttp:// > sites.google.com/site/rezmobileapps/treking > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: How to sell through Android market?
Hire a broker/agent in the US and pay a commision? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Bind view objects to Adapter
I have searched the forum for something on this topic, and I haven't found anything suitable for me. I may not have been using the correct search terms, so forgive me if it's been discussed in another thread. I am looking for a way to bind an entire view (made up of EditViews and possibly check boxes for example) to a backing cursor or data object that can manage the state (dirty/ unchanged), and bind the data to the view. I see that Adapters are used for AdapterView to bind data to a view such as lists and grids, but I didn't see anything for binding an entire form of differing views (EditViews, CheckBoxes, etc) to a backing data object. Did I miss this? Did I phrase my question understandably? Thanks, Christian -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] How to get the app package name before the Context is available?
On Fri, Mar 26, 2010 at 3:30 PM, westmeadboy wrote: > But, of course, the Context is not available at that time. Do a lazy load in your Activity: static boolean isInitialize = false; onCreate(...) { if (!isInitialized) initialize(this); // Sets isInitalized to true } Or something like that. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Re: Get unique ID of phone - Settings.Secure.ANDROID_ID not working on N1?
I also use TelephonyManager in my app, but I do, on occasion, get an angry e-mail asking why the app needs to make phone calls. Many users just don't understand the phone state permission. On Fri, Mar 26, 2010 at 2:20 PM, Ken H wrote: > Can't say anything about the ANDROID_ID thing. What's wrong with the > TelephonyManager? You can get the device ID, subscriber ID, Sim serial > number, etc. I think the only permission you need is > > > > in the manifest. > > Ken > > On Mar 25, 6:28 am, Anna PS wrote: > > Odd - I posted this message yesterday and got sent a copy, but it > > doesn't seem to have shown up in the group... Here it is again. > > > > > > > > This seems to be a bit of a vexed issue: seehttp:// > groups.google.com/group/android-developers/browse_thread/threa... > > > > Like the person who started that thread, I need to get a unique ID for > > a device, without using scary permissions for TelephonyManager. I've > > tried > > > >id = > > android.provider.Settings.Secure.getString(getContentResolver(), > > android.provider.Settings.Secure.ANDROID_ID); > > > > but that just produces "android_id" on my phone. Anyone know a way > > that works? I'm using a Nexus One and Android 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- Shane Isbell (Founder of ZappMarket) http://twitter.com/sisbell http://twitter.com/zappstore http://zappmarket.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: MediaPlayer Error Codes
I have the same question. The error codes and "extra" values aren't fully documented in the API Reference. From what I can tell the "extra" values might not be that reliable, but if I knew what all of the error codes and warning codes meant, I could do a much better job of handling them. Looking forward to a reply! Many thanks, Brooke On Mar 25, 7:25 am, momojo wrote: > I have a MediaPlayer app which seems to be working fairly well for > streamingmedia. However I geterrorcodes in my OnErrorListener every > so often and I have no idea what they mean. > > Can someone explain what the following codes mean and what the > appropriate action to take is? sometimes i get anerrorafter I am > already streaming and the stream is still available via my browser. > > Codes > 1, -1 > 1, -11 > -38, 0 > > I really appreciate any insight. > 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Get unique ID of phone - Settings.Secure.ANDROID_ID not working on N1?
Can't say anything about the ANDROID_ID thing. What's wrong with the TelephonyManager? You can get the device ID, subscriber ID, Sim serial number, etc. I think the only permission you need is in the manifest. Ken On Mar 25, 6:28 am, Anna PS wrote: > Odd - I posted this message yesterday and got sent a copy, but it > doesn't seem to have shown up in the group... Here it is again. > > > > This seems to be a bit of a vexed issue: > seehttp://groups.google.com/group/android-developers/browse_thread/threa... > > Like the person who started that thread, I need to get a unique ID for > a device, without using scary permissions for TelephonyManager. I've > tried > > id = > android.provider.Settings.Secure.getString(getContentResolver(), > android.provider.Settings.Secure.ANDROID_ID); > > but that just produces "android_id" on my phone. Anyone know a way > that works? I'm using a Nexus One and Android 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Android Developer Device Seeding Program - Updates?
But was yours for the market program, or the developer program? I heard people were getting confirmations for the market program, but I hadn't heard anything for the developer program. On Mar 25, 8:05 pm, makeramen wrote: > It takes a while. > > I just received my Nexus One yesterday :D > > The only other communication I got was a confirmation of my shipping > address and that it would arrive in 2-4 weeks. Rather vague timeline, > but can't complain about a free phone. > > On Mar 25, 5:20 pm, Jeremy Logan wrote: > > > Oh, I'm fine with patience... especially for free things :) > > > I was just wanting to make sure I hadn't screwed something up since I > > hadn't heard anything since filling in the form. > > > On Mar 25, 1:03 pm, Streets Of Boston wrote: > > > > I haven't heard anything yet. I think we just need to have a little > > > patience :-) > > > > On Mar 25, 2:10 pm, Jeremy Logan wrote: > > > > > I (as well as many others) received an email telling us that Google > > > > would like to give us a new Android device for "your contribution to > > > > the success of Android's community forums". The email continued asking > > > > us to fill out the form by Monday, March 15th, 6pm PST. > > > > > I filled out the form as soon as the email hit my inbox (long before > > > > the due date) and have still not heard anything back from them (10 > > > > days after the due date). Has anyone else heard anything back about > > > > this? > > > > > Please note that this isn't the "Device Seeding Program for Top > > > > Android Market Developers" but the "Android Developer Device Seeding > > > > Program" that I'm talking about here. > > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Nexus one
The greatest phone ever. On Mar 26, 11:20 am, ernie wrote: > Just got the Nexus One via FedEx, in Southern California. Thank you > Google. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] How to sell through Android market?
Same here (from Switzerland...) :((( On Fri, Mar 26, 2010 at 9:39 PM, Simone Russo wrote: > Unfortunately I think you will have to wait for Google to allow the > citizens of Singapore to sell their applications. > Regards, > Simone > > > On Fri, Mar 26, 2010 at 7:49 PM, chib...@gmail.com wrote: > >> Hi, >> >> We are from Singapore & would like to sell our applications through >> Android Market. We can't find the option for Singapore when we >> register a Merchant account with Google Checkout. >> >> Any solutions on this? >> >> >> Thanks, >> Boon >> >> -- >> 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 >> >> To unsubscribe from this group, send email to android-developers+ >> unsubscribegooglegroups.com or reply to this email with the words "REMOVE >> ME" as the subject. >> > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- YuviDroid http://android.yuvalsharon.net -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Re: getDuration() in VideoView returns -1 !!!
Maybe posting some more code would be of help! Simone On Fri, Mar 26, 2010 at 7:20 PM, Abhi wrote: > The idea was to post the same question with a relevant subject this > time... don't think it should annoy you that much > > On Mar 26, 2:17 pm, Yahel wrote: > > Stop posting twice the same question. Wait for an answer in your > > original post. > > > > Yahel > > > > On Mar 26, 7:06 pm, Abhi wrote: > > > > > Hi, > > > > > Has anyone tried using the getDuration() method in VideoView? It > > > returns a -1 for me always. Is there a way around? > > > > > Thanks, > > > > > Abhi > > > > > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Capture Network Traffic
Hi, It's possible to program an application to capture network traffic on the device like WireShark make it on a PC? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] How to sell through Android market?
Unfortunately I think you will have to wait for Google to allow the citizens of Singapore to sell their applications. Regards, Simone On Fri, Mar 26, 2010 at 7:49 PM, chib...@gmail.com wrote: > Hi, > > We are from Singapore & would like to sell our applications through > Android Market. We can't find the option for Singapore when we > register a Merchant account with Google Checkout. > > Any solutions on this? > > > Thanks, > Boon > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Full-screen virtual keyboard?
The SDK includes sample code for writing an IME. You can modify this to always be fullscreen (instead of only fullscreen in landscape). On Thu, Mar 25, 2010 at 2:24 PM, Bill Gatliff wrote: > Guys: > > I have a need for a virtual keyboard with maximally-large keys. > Ideally, the keyboard would expand to cover the whole screen, and the > semi-transparent keys would allow me to see the widget with the input > focus underneath. > > Is such a thing possible? Can anyone point me in a direction? I > don't mind looking at and writing code. > > Thanks! > > b.g. > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] How to get the app package name before the Context is available?
I don't believe there is a way -- the statics are initialized when the class loader is created, which is just given a path to the .apk to load but only looks at the dex files (it knows nothing about the manifest). On Fri, Mar 26, 2010 at 1:30 PM, westmeadboy wrote: > Often, I want to set up statics (during class initialization/loading) > in some activity based on things like package name, version code, > whether the debuggable attribute is set in the Manifest etc. > > But, of course, the Context is not available at that time. > > All of these values are there in the manifest, so I'm trying to find > if there is another way to access 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] How to get the app package name before the Context is available?
Often, I want to set up statics (during class initialization/loading) in some activity based on things like package name, version code, whether the debuggable attribute is set in the Manifest etc. But, of course, the Context is not available at that time. All of these values are there in the manifest, so I'm trying to find if there is another way to access 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Re: Singleton Service ???
Please look at the various service examples in ApiDemos, they cover a lot of different ways to interact with them. On Tue, Feb 23, 2010 at 4:05 AM, MobDev wrote: > Lol, > I see I actually forgot to place the question in the first part of my > previous post :D > That is : if a Service already is running, is there some way to bind > to it when my app starts up, and/or programmatically check if it's > already running ? > So that I won't be having 2 separate Service entities that do exactly > the same... > > On 23 feb, 11:44, MobDev wrote: > > actually I had a question regarding this... > > I made a service which plays an MP3, so it uses a single instance (in > > the whole service) of MediaPlayer.. > > Still I noticed (by mistake because the Service didn't get closed > > while exiting my main Activity) that the Service obviously kept > > running, but when I restarted my app it created another Service which > > also could play the MP3, thus creating a "mixing" effect, having the > > same MP3 playing double... The second one I could stop through my App > > but the first "lost" one couldn't be stopped... > > To me this doesn't look like a Singleton's behaviour, I actually have > > two seperate entities of a Service running in the system... > > Also, a little question, I use the onBind() method and the .aidl > > interface methology to create my Service... Is there a correct way to > > stop a Service ? And if so where should this be implemented (for > > example unBind() in the onDestroy() method of my main Activity) ? > > Thanks in advance Mark (or anyone who might shed some light on my > > issue) ! > > > > On 11 feb, 17:11, "Mark Murphy" wrote: > > > > > > I'd like to know if it's possible to create a Singelton Service > > > > throughout an application ? > > > > > Services are singletons by their very nature. > > > > > -- > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > Android App Developer Books:http://commonsware.com/books.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 > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Application as root
You can't as a third party application (in fact you can't at all without hacking the platform or possibly running in factory test mode). Modifying the platform is more appropriate for android-porting. On Fri, Mar 26, 2010 at 5:22 AM, manjunath wrote: > Hi, > > I want to run a application as root to check one of my API > functionality. I know that Android won't permit applications with root > access i.e. setting UID = 0. Can anyone provide a hack so that I can > run my application as root. > > I saw in Process.java file that FIRST_APPLICATION_UID is set to 1 > and so on. If I set it to 0 my homescreen doesn't come up. > Can anyone tell me where this security check is done. > > I also want to know the actual flow for any application to run on > android. > > > Thanks, > Manjunath > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Re: Adding image into imageadapter at runtime
Hi, Very much thank you!! I will try this... On Fri, Mar 26, 2010 at 8:40 PM, Tako Au wrote: > Haven't tried. I bet that you'd better extends ArrayAdapter instead > of BaseAdapter then use ArrayAdapter.add(Object T) to put it into the > ListView dynamically. > > Here is the reference, I tried to make a TextView + Checkbox custom > ListView using this guide (CheckedTextView does not work since I need > to predefine some checkbox) > > > http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ > > On Mar 26, 7:39 pm, Abdul Mateen wrote: > > Hi, > > I just want to ask that how it is possible to add images ( bitmaps ) into > > ImageAdapter which is BaseAdapter at runtime. > > > > Thank You, > > Abdul Mateen. > > -- > 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 > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Where can I report UI bugs with android 2.1 (nexus)
> 1) Home screen/Navigation dots: > While on the default home screen, It sometimes shows one dot on the > left, and three dots on the right. (or vice versa). When the expected > result is 2 dots on either side. Tapping on the single dot brings me > to the proper "second" page, and the dot's then begin to work as > normal. Known bugs we've fixed internally weeks ago. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Nexus One here, via FedEx in Southern California. Thank you Google. On Mar 26, 7:41 am, Corollary Computing wrote: > Oh haha, I set this one up way back when the program was first > announced :) > > On Mar 26, 5:38 am, Disconnect wrote: > > > > > Or the one I set up 2 weeks ago - exchange.andblogs.net :) And its open to > > anyone with android devices to swap, including google's community seeding > > program. > > > On Fri, Mar 26, 2010 at 1:06 AM, Corollary Computing < > > > corollarycomput...@gmail.com> wrote: > > > Called FedEx and when I told him why I was calling, he asked me if I > > > was expecting a cellphone!! I think we bothered them too much :D > > > Expected delivery to California is TOMORROW But I won't be there : > > > ( reschedule to Tuesday b/c FedEx Home is only Tue-Sat :/ > > > > I've set up a forum where we can exchange our phones if we get the one > > > we want less (because NOBODY doesn't want a free phone :D). The > > > address ishttp://www.evoiceusa.com/forum.php. If you want access > > > shoot me an email at android at evoiceusa.com from your developer > > > email address; include the app that qualifies you and if it checks out > > > I'll give you access... It's not foolproof but it's better than > > > nothing, I think only Google can really verify that they've sent > > > someone a phone. > > > > On Mar 25, 8:20 am, g1bb wrote: > > > > Anyone in or around Colorado receive anything yet? > > > > > FedEx had no information for me. > > > > > On Mar 25, 8:10 am, mscwd01 wrote: > > > > > > I'm in the UK too and still waiting. Are you sure FedEx will be used > > > > > in the UK? It could be Royal Mail, Parcel Force, DPD etc... > > > > > > On Mar 25, 2:06 pm, David Horn wrote: > > > > > > > I was about to say that I'm very grateful to be offered a free Nexus > > > > > > One and would suggest that you wait until after the deadline before > > > > > > whining- uh, asking where it is. > > > > > > > Dave. > > > > > > > On Mar 25, 1:57 pm, Thomas Riley wrote: > > > > > > > > Good point, will send an email their way. > > > > > > > > On Mar 25, 1:45 pm, Arnon wrote: > > > > > > > > > I think you can contact the Android Market Seeding email and ask > > > about > > > > > > > > it, > > > > > > > > In my opinion, four business days left for your deadline is a > > > > > > > > reasonable time to approach them > > > > > > > > > On Mar 25, 3:37 pm, Thomas Riley > > > wrote: > > > > > > > > > > Just spoken to FedEx UK... no sign of any parcel for me in > > > their > > > > > > > > > system :( > > > > > > > > > > The 4 week estimate is this Tuesday for me. > > > > > > > > > > On Mar 25, 8:35 am, Arnon wrote: > > > > > > > > > > > Same here. > > > > > > > > > > Got online with FedEx Italy, they searched from March 18 > > > > > > > > > > till > > > today > > > > > > > > > > and found no package. > > > > > > > > > > I hope they will start with Italy distribution soon. > > > > > > > > > > 4 Weeks from form submittion date for me are next friday. > > > > > > > > > > > If anyone from EU recieves the phone, please let us know who > > > shipped > > > > > > > > > > it and where from > > > > > > > > > > > Thanks! > > > > > > > > > > > On Mar 24, 9:07 pm, Markus wrote: > > > > > > > > > > > > I called them too (Switzerland). > > > > > > > > > > > Guy did the search but told me there's no package on the > > > way for me. > > > > > > > > > > > So either it has not been sent yet or they don't use Fedex > > > over here. > > > > > > > > > > > > On Mar 24, 8:02 pm, Thomas Riley < > > > tomrile...@googlemail.com> wrote: > > > > > > > > > > > > > I tried live chat (in the UK) and it's not much use > > > > > > > > > > > > (same > > > applies on > > > > > > > > > > > > phone actually) > > > > > > > > > > > > > To be able to track they want to know dispatch date, > > > which I of course > > > > > > > > > > > > don't know! > > > > > > > > > > > > > On Mar 24, 6:40 pm, Bryan Allen > > > wrote: > > > > > > > > > > > > > > Live chat with FedEx works great. Your address, the > > > shipper name, and you're > > > > > > > > > > > > > golden. I spent about 4 minutes on it and found out > > > it's arriving today! > > > > > > > > > > > > > Better than a 20 minute hold on the phone. > > > > > > > > > > > > > > -Bryan > > > > > > > > > > > > > > On Wed, Mar 24, 2010 at 1:14 PM, abowman < > > > abow...@gmail.com> wrote: > > > > > > > > > > > > > > If you trust your neighbors, just leave a note for > > > them to leave the > > > > > > > > > > > > > > package at your door. > > > > > > > > > > > > > > > On Mar 24, 1:19 pm, JasonC > > > wrote: > > > > > > > > > > > > > > > Ya Rocco, they will give you the info even without > > > a tracking number. > > > > > > > > > > > > > > > I called FedEx yesterday and waited on hold for 20 > > > minutes. Gave them > > > > > > > > > > > > > > > my name address and phone number and I found out > > > that my phone will be > > > > > > > > > > > > > > > delivered tomorrow between 8am and 6pm, >
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Just called FedEx (because no reps were available for online chat - guess they all ran away). Well, the lady told me there is a package marked for pickup for delivery to my residence and I know I didn't purchase anything recently. So I guess this is it. She couldn't say who was shipping it because it has not been picked up yet - just that a tracking number has been reserved for my address. Keeping fingers crossed. On Mar 26, 1:06 am, Corollary Computing wrote: > Called FedEx and when I told him why I was calling, he asked me if I > was expecting a cellphone!! I think we bothered them too much :D > Expected delivery to California is TOMORROW But I won't be there : > ( reschedule to Tuesday b/c FedEx Home is only Tue-Sat :/ > > I've set up a forum where we can exchange our phones if we get the one > we want less (because NOBODY doesn't want a free phone :D). The > address ishttp://www.evoiceusa.com/forum.php. If you want access > shoot me an email at android at evoiceusa.com from your developer > email address; include the app that qualifies you and if it checks out > I'll give you access... It's not foolproof but it's better than > nothing, I think only Google can really verify that they've sent > someone a phone. > > On Mar 25, 8:20 am, g1bb wrote: > > > > > Anyone in or around Colorado receive anything yet? > > > FedEx had no information for me. > > > On Mar 25, 8:10 am, mscwd01 wrote: > > > > I'm in the UK too and still waiting. Are you sure FedEx will be used > > > in the UK? It could be Royal Mail, Parcel Force, DPD etc... > > > > On Mar 25, 2:06 pm, David Horn wrote: > > > > > I was about to say that I'm very grateful to be offered a free Nexus > > > > One and would suggest that you wait until after the deadline before > > > > whining- uh, asking where it is. > > > > > Dave. > > > > > On Mar 25, 1:57 pm, Thomas Riley wrote: > > > > > > Good point, will send an email their way. > > > > > > On Mar 25, 1:45 pm, Arnon wrote: > > > > > > > I think you can contact the Android Market Seeding email and ask > > > > > > about > > > > > > it, > > > > > > In my opinion, four business days left for your deadline is a > > > > > > reasonable time to approach them > > > > > > > On Mar 25, 3:37 pm, Thomas Riley wrote: > > > > > > > > Just spoken to FedEx UK... no sign of any parcel for me in their > > > > > > > system :( > > > > > > > > The 4 week estimate is this Tuesday for me. > > > > > > > > On Mar 25, 8:35 am, Arnon wrote: > > > > > > > > > Same here. > > > > > > > > Got online with FedEx Italy, they searched from March 18 till > > > > > > > > today > > > > > > > > and found no package. > > > > > > > > I hope they will start with Italy distribution soon. > > > > > > > > 4 Weeks from form submittion date for me are next friday. > > > > > > > > > If anyone from EU recieves the phone, please let us know who > > > > > > > > shipped > > > > > > > > it and where from > > > > > > > > > Thanks! > > > > > > > > > On Mar 24, 9:07 pm, Markus wrote: > > > > > > > > > > I called them too (Switzerland). > > > > > > > > > Guy did the search but told me there's no package on the way > > > > > > > > > for me. > > > > > > > > > So either it has not been sent yet or they don't use Fedex > > > > > > > > > over here. > > > > > > > > > > On Mar 24, 8:02 pm, Thomas Riley > > > > > > > > > wrote: > > > > > > > > > > > I tried live chat (in the UK) and it's not much use (same > > > > > > > > > > applies on > > > > > > > > > > phone actually) > > > > > > > > > > > To be able to track they want to know dispatch date, which > > > > > > > > > > I of course > > > > > > > > > > don't know! > > > > > > > > > > > On Mar 24, 6:40 pm, Bryan Allen > > > > > > > > > > wrote: > > > > > > > > > > > > Live chat with FedEx works great. Your address, the > > > > > > > > > > > shipper name, and you're > > > > > > > > > > > golden. I spent about 4 minutes on it and found out it's > > > > > > > > > > > arriving today! > > > > > > > > > > > Better than a 20 minute hold on the phone. > > > > > > > > > > > > -Bryan > > > > > > > > > > > > On Wed, Mar 24, 2010 at 1:14 PM, abowman > > > > > > > > > > > wrote: > > > > > > > > > > > > If you trust your neighbors, just leave a note for them > > > > > > > > > > > > to leave the > > > > > > > > > > > > package at your door. > > > > > > > > > > > > > On Mar 24, 1:19 pm, JasonC wrote: > > > > > > > > > > > > > Ya Rocco, they will give you the info even without a > > > > > > > > > > > > > tracking number. > > > > > > > > > > > > > I called FedEx yesterday and waited on hold for 20 > > > > > > > > > > > > > minutes. Gave them > > > > > > > > > > > > > my name address and phone number and I found out that > > > > > > > > > > > > > my phone will be > > > > > > > > > > > > > delivered tomorrow between 8am and 6pm, unfortunately > > > > > > > > > > > > > i will be at > > > > > > > > > > > > > work so I will have to drive out to the hub on friday > > > > > > > > > > > > > to pick it up
[android-developers] How to sell through Android market?
Hi, We are from Singapore & would like to sell our applications through Android Market. We can't find the option for Singapore when we register a Merchant account with Google Checkout. Any solutions on this? Thanks, Boon -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] WebView HTML5 Cache Manifest
Unless I am doing something wrong, it does not appear that WebView supports the HTML5 cache manifest. Does anyone know if there are plans to implement this in the SDK anytime soon? Thanks, Jeff -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Nexus one
Just got the Nexus One via FedEx, in Southern California. Thank you Google. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] SQLite database locale, locking, and version
In some books and online I see these method calls being made after a database is created: db.setLocale(Locale.getDefault()); db.setLockingEnabled(true); db.setVersion(DB_VERSION); Why is this done? As far as I can tell, after creating a new database, the system adds a table named android_metadata with one field named locale and that table has one row with the locale field set to "en_US". Now I assume the column has that value because I am using a U.S. phone, and if I were using a phone from a different region then the locale field would be set appropriately. Can anyone confirm this? I'm guessing that the setLocale method would only be useful in the case that you install a pre-built database onto a phone and then want to change the locale to match the phone's locale. Sound right? The documentation for setLockingEnabled says it defaults to true so there's no need to make that call, right? Lastly, what's with the call to setVersion? I can't find a table that contains this information so I've been assuming that the database file itself stores the version number somewhere. So when I create a database, which requires you to have already specified the version number in the call to the SQLiteOpenHelper constructor, there's no point in calling setVersion. Again, perhaps this method exists for the case of installing a pre-built database to a device and you then wish to change the database's version (though I can't think of when doing this would make sense). Thanks for any insight! -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Application as root
Hi, I want to run a application as root to check one of my API functionality. I know that Android won't permit applications with root access i.e. setting UID = 0. Can anyone provide a hack so that I can run my application as root. I saw in Process.java file that FIRST_APPLICATION_UID is set to 1 and so on. If I set it to 0 my homescreen doesn't come up. Can anyone tell me where this security check is done. I also want to know the actual flow for any application to run on android. Thanks, Manjunath -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Access To the SIM CARD
Hi, Does anyone know how to send APDU command to the SIM Card from an android application? Thanks, Adrien -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Application not installed on Hero
Our app installs fine on phones running v1.5 and has been sucessfully installed on G1's and Nexus, however for some reason when we try and istall the app on a HTC Hero we see error "Application not installed, XX could not be installed on this phone" has anyone else had any issue running apps on the Hero, even though it runs 1.5 ? Any thoughts would be 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] left scrollbar
hello, I'm working on adding rabic support to android. when dealing with layouts, I have to change the position of scrollbars from right to left, the same thing for spinners and checkboxes. where to modify in the android source code. Please 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: How to use 3G Connection in Android Application instead of Wi-fi?
Because Telcos like 3 in Australia, refuse to load their web pages unless you connect via 3G. If you use WiFi, the page evetually just times out. So, for instance, to check my account balance if I'm in a WiFi area, I need to turn off the WiFi adapter to force it to go to 3G for the page to load. C On Mar 25, 6:58 pm, Kaj Bjurman wrote: > Why does it matter what connection you are using as long as you get a > connection? Just create a socket (or whatever it is that you have) and > let the OS decide how to connect. > > Kaj > > On 25 mar, 07:52, Jel wrote:> Hi, > > > How to use 3G Connection in Android Application instead of Wi-fi? > > > i want to connect 3G connection , is there any sample code for get > > connect 3G instead of Wi-fi? > > > Regards, > > Jeyavel N -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Confirmend on 6March - still got no phone - iam from GERMANY ;( -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Horizontal scroll in ListView
i want to ask a question: my code: * String[] strArray = new String[]{* *** **People._ID,* *** **People.NAME,* *** **People.NUMBER* *};* ** ** *Uri uri = People.CONTENT_URI;* *Cursor cursor = this.managedQuery(uri, strArray, null, null, People.NAME);* and i also set * * in AndroidManifest.xml but the app also throw *ERROR/AndroidRuntime(799): java.lang.SecurityException: * *Permission Denial: starting Intent { flags=0x1000 comp={com.app/com.app.Demo} } from null (pid=-1, uid=-1) * *requires android.permission.READ_CONTACTS* how to fix these problem? any suggestion? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Problem with alternate screen sizes on OS X?
I'm having a problem creating an avd with an alternate screen size (960x540 for example) and getting it to work. When I create the avd via the UI and set the screen size, launching the emulator never succeeds - it hangs, shows no UI and gobbles up 90% of the CPU until you kill the process. The same steps work fine on the Windows SDK. I'm currently using Android 2.1, API Level 7 when creating the avd. Anyone else seeing this or have a workaround? - 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Also waiting ... Got confirmation on 6.March GERMANY -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Arabic keyboard
I'm working at adding rabic keyboard to the android os. I made a copy of the package softkeyboard and I changed querty.xml by integrating the arabic letters. After rebuilding the system, arabicsoftkeyboard dosen't appear in the emulator. Am I wrong and if so can you please help me. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Full-screen virtual keyboard?
Guys: I have a need for a virtual keyboard with maximally-large keys. Ideally, the keyboard would expand to cover the whole screen, and the semi-transparent keys would allow me to see the widget with the input focus underneath. Is such a thing possible? Can anyone point me in a direction? I don't mind looking at and writing code. Thanks! b.g. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Pulling my hair out
Can you point me to the source code for the phone app? I have found the class I want to access, but it is an internal class and I know the Android dev's frown on gaining access to internal class. The class it looks like I need to use is the the com.android.internal.telephony.Phone class, which I don't have access to in the normal SDK and I don't know how to access that class. Anyone have any ideas? On Thu, Mar 25, 2010 at 10:04 PM, LG wrote: > If you are looking for an application level solution, please go ahead and > implement your own dialer app > Look into the code of existing Phone APP and modify to suit your needs. > I don't think so by keeping the existing dialer you can achieve your > requirements > LG > > > On Fri, Mar 26, 2010 at 10:36 AM, Isaac Wagner > wrote: >> >> I've been hunting for a solution for days and can't find an answer. >> I've got an application where I need to place multiple calls in a row. >> I can invoke the dialer just fine and it starts calling the number. >> The problem is that after the call is over the call log comes up. I >> don't want the call log to come up. I want the dialer to return to my >> app after the call is over. How can I do 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 >> >> To unsubscribe from this group, send email to >> android-developers+unsubscribegooglegroups.com or reply to this email with >> the words "REMOVE ME" as the subject. > > -- > 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 > > To unsubscribe from this group, send email to > android-developers+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Android layouts
In fact , after I had added arabic support to the android os, I have now to deal with layouts. In other words: texts must be right aligned, scrollbars must be on the left side, checkboxreference must be reversed and so on. I'm thinking of modifying the styles.xml, themes.xml please can you help me, it's very urgent. Best regards. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] remoteViews and scrolling
I am trying to make a widget which could show a list of content (my app data), the problem i am facing are as follows, - i never know how many records i would need to show, so i basically need a dynamic listing , which is fairly trivial in app but is causing me nightmares in widget - is widget just a UI, which could be refreshed by data only, or can we add ui components dynamically, any help in above issues would be highly appriciated, 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] How to reverse text / background colors
I want to reverse whatever text colors the user is seeing at the moment. For example, change white-text-on-black-background to black-text-on-white-background. I want this to follow whatever colors the user has selected at the moment of the change. This happens to be in a TextView. This is apparently possible, according to posts like: http://groups.google.com/group/android-developers/browse_thread/thread/4910bae94510ef77/59d4bb35e811e396?pli=1 I've tried several different techniques. But, I can't get it to work. Does anyone have an working example, or a pointer to a working example ? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] multiple Notification
Hi If multiple notification comes, i want to display the icon once and number of times the Notification has come... not individual icon for each Notification. Please let me know how this can be achieved using NotificationManager? Regards Gururaja B O -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
4)call+menu+power, home+power, wait a bit, alt+w (this is what i use most, as i have a habbit of installng more and more apps till my phone runs too slow) 5)on some phones just remove the SD card :D On Mar 25, 10:58 pm, Andrei wrote: > 3) adb uninstall > > On Mar 25, 8:39 pm, Jason Arora wrote: > > > > > There are 2 ways to uninstall applications: > > 1) Market->Downloads (this will prompt you) > > 2) Home->Menu->Settings->Manage Applications (no prompt) > > > On Mar 23, 9:38 am, TreKing wrote: > > > > On Tue, Mar 23, 2010 at 11:09 AM, Mark Murphy > > > wrote: > > > > > David Horn wrote: > > > > > I never get that! > > > > > I seem to get this sporadically. I haven't deduced a pattern yet. It's > > > > not free vs. paid, AFAICT. > > > > Really? Weird. I get it every time I uninstall something, free or paid. > > > Maybe it's a phone thing? I'm on G1 with 1.6. > > > > --- > > > -- > > > TreKing - Chicago transit tracking app for Android-powered > > > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Restoring ScrollView scroll position after orientation change
I am making an app which uses a ScrollView to display a bunch of images. When switching to horizontal orientation the view will be replaced with a HorizontalScrollView. I want to preseve the scroll position after orientation change, and I tried to save the position in onSaveInstanceState/onRestoreInstanceState. However it appears the ScrollView is not fully rendered at onRestoreInstanceState (scrollView.getHeight() returns 0 at this point), so calling scrollView.scrollTo() has no effect. Does anyone know how to do this properly? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] CometD and Android Emulator 1.5
I'm having a problem with the Android Emulator and I think I figured it out, but wanted to know if there is a way around. I am opening up a comet/bayeux connection back to my server. My web site sits on port 80 and the bayeux/comet server sits on port 8080. Using the Android emulator I can not get my web page application to ever connect to the comet server, yet if I use the example code where everything comes from port 8080, where it loads the HTML page and connect to the comet server at port 8080 then it works. I'm guessing this is a cross domain security issue, yet FireFox, Crome, Safari, iTouch browsers all work the Android Emulator does not. I watch the ADB log screen and don't see any errors. I'm at a loss of this is something I can do. Any pointers would greatly be appreciated. Andy -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Android Developer Device Seeding Program - Updates?
It takes a while. I just received my Nexus One yesterday :D The only other communication I got was a confirmation of my shipping address and that it would arrive in 2-4 weeks. Rather vague timeline, but can't complain about a free phone. On Mar 25, 5:20 pm, Jeremy Logan wrote: > Oh, I'm fine with patience... especially for free things :) > > I was just wanting to make sure I hadn't screwed something up since I > hadn't heard anything since filling in the form. > > On Mar 25, 1:03 pm, Streets Of Boston wrote: > > > > > I haven't heard anything yet. I think we just need to have a little > > patience :-) > > > On Mar 25, 2:10 pm, Jeremy Logan wrote: > > > > I (as well as many others) received an email telling us that Google > > > would like to give us a new Android device for "your contribution to > > > the success of Android's community forums". The email continued asking > > > us to fill out the form by Monday, March 15th, 6pm PST. > > > > I filled out the form as soon as the email hit my inbox (long before > > > the due date) and have still not heard anything back from them (10 > > > days after the due date). Has anyone else heard anything back about > > > this? > > > > Please note that this isn't the "Device Seeding Program for Top > > > Android Market Developers" but the "Android Developer Device Seeding > > > Program" that I'm talking about here. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Question about Canvas
Hello, I'm new to android and I analyse example codes like Snake at the moment to get a better feeling for android development. The most parts are clear for me, but there is something I don't understand yet. In this example there is the following code example: public void loadTile(int key, Drawable tile) { Bitmap bitmap = Bitmap.createBitmap(mTileSize, mTileSize, Bitmap.Config.ARGB_); Canvas canvas = new Canvas(bitmap); tile.setBounds(0, 0, mTileSize, mTileSize); tile.draw(canvas); mTileArray[key] = bitmap; } So every time a loadTile is executed (this is not just once) a new Canvas will be created. What is the sense of more than one canvas? I thought that a canvas is some kind of layer whereon you have to draw. But obviously they instance multiple canvases. Is my thought about what a canvas is wrong? In my opinion I only need one canvas. I already wrote some testcode with a thread, a bouncing ball and a background and I have only drawn to one canvas. So why do they use more than one canvas? Regards.. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Database : XML or SQLite ?
Hello, I'm doing a application that will use a database with serialized object. The objects will be already serialized and the user will just display things. On a PC I would just make an XML but with android I'm not sure. Can I make an XML and "unpack" it when the user launch the application for the first time or should I do something else? Best regards, rXp>!< -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] let Android compiling javascript
HI Is it possible let Android it self compile javascript language rather than use browser? Example: i open a API that can create or edit javascript like below // javascript code alert("Hello Android"); // and execute it. than i can see a small window with "Hello Android" in there just like a browser did. thx -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Problem in Showing TXT file in Webview
If you dont need html formatting you can probable load it with the mime type "text/plain". webview.loadData(summary, "text/plain", "utf-8"); cheers - Rainer On Mar 25, 1:13 pm, brijesh masrani wrote: > Hello > > I am reading a txt file using Stringbuffer and try to show it in webview by > adding simple html tags ("My txt content") > but it is not showing Spacial characters so can u please help me or any > other way to show txt file in Web Browser -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] GLSurfaceView given to a PopupWindow trouble (is it possible??)
Hello, This post is in follow-up to the following topic: http://groups.google.com/group/android-developers/browse_thread/thread/b566c0059c91a023/79c5618e7b9cef41 I'm unable to get a PopupWindow to work with a GLSurfaceView as its contentView. The following error occurs when the popup becomes visible: 03-23 23:34:22.166: WARN/WindowManager(1264): Attempted to add window with token that is a sub-window: android.os.binderpr...@451cecf0. Aborting. WARN/WindowManager(1264): Requested window android.os.binderpr...@451cfef8 does not exist WARN/WindowManager(1264): java.lang.RuntimeException WARN/WindowManager(1264): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java: 9305) WARN/WindowManager(1264): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java: 9297) WARN/WindowManager(1264): at com.android.server.WindowManagerService.relayoutWindow(WindowManagerService.java: 2300) WARN/WindowManager(1264): at com.android.server.WindowManagerService $Session.relayout(WindowManagerService.java:6868) WARN/WindowManager(1264): at android.view.IWindowSession $Stub.onTransact(IWindowSession.java:115) WARN/WindowManager(1264): at com.android.server.WindowManagerService $Session.onTransact(WindowManagerService.java:6829) WARN/WindowManager(1264): at android.os.Binder.execTransact(Binder.java:301) WARN/WindowManager(1264): at dalvik.system.NativeStart.run(Native Method) My code is basically the following: onCreate(...) { . mGLSurfaceView = new GLSurfaceView(this); mGLSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 0); mGLSurfaceView.setRenderer(new CubeRenderer(true)); mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT); mGlPopupWindow = new PopupWindow(mGLSurfaceView, 480, 640); } onButtonListenerCallback(...) { .. mGlPopupWindow.showAtLocation(mSurfaceView, Gravity.CENTER, 0, 0); } Has anyone else been able to get this to work? I'm using 2.1 Thanks, Dan -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] multiple notification
HI all, I am noticing same multiple icons displayed on the status bar instead of icon(number of times it occured) ex: icon(2).. when failed in transferring file. How to display this in other format icon(2). Thanks Gururaja B O -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Android Drm provider and forward locking
This question assumes Android OS 2.0 or higher. My application tries to use the following API Intent item = DrmStore.addDrmFile(getContentResolver(), file, "amy"); Where file is a File object pointing to a downloaded OMA1 forward locked file (“amy.dm”). This method is called from a normal activity running under its own user id. The method DrmStore.addDrmFile then calls if (contentUri != null) { ContentValues values = new ContentValues(3); values.put(DrmStore.Columns.TITLE, title); values.put(DrmStore.Columns.SIZE, size); values.put(DrmStore.Columns.MIME_TYPE, mimeType); Uri uri = cr.insert(contentUri, values); This will cause DrmProvider.insert() to be called @Override public Uri insert(Uri uri, ContentValues initialValues) { if (getContext().checkCallingOrSelfPermission(Manifest.permission.INSTALL_DRM) != PackageManager.PERMISSION_GRANTED) { throw new SecurityException("Requires INSTALL_DRM permission"); } long rowId; int match = URI_MATCHER.match(uri); Uri newUri = null; SQLiteDatabase db = mOpenHelper.getWritableDatabase(); if (initialValues == null) { initialValues = new ContentValues(); } switch (match) { case AUDIO: { ContentValues values = ensureFile(initialValues); ... /** * Ensures there is a file in the _data column of values, if one isn't * present a new file is created. * * @param initialValues the values passed to insert by the caller * @return the new values */ private ContentValues ensureFile(ContentValues initialValues) { try { File parent = getContext().getFilesDir(); parent.mkdirs(); File file = File.createTempFile("DRM-", ".data", parent); ContentValues values = new ContentValues(initialValues); values.put("_data", file.toString()); return values; } catch (IOException e) { Log.e(TAG, "Failed to create data file in ensureFile"); return null; } } ensureFile() then throws an exception because it cannot create the temp data file requested. The same code (DrmStore.addDrmFile()) is used by the android download manager and there it works fine. My assumption is that the reason for that is that the download provider and the drm provider run under the same user id. However, when my code calls the method I get the before mentioned exception. My theory is that the reason for this is that my activity is running with a different user id. I have tried to make my activities files directory world writable but that did not help. When I create my own content provider I can observe that the content provider is running under its own user id and getFilesDir() in the contentprovider will return the directory of the content provider to which it has full access. So I am really surprised why the DrmProvider works differently. Unfortunately I don't have the ability to debug native android OS code so I have no means to find out what getContext().getFilesDir() inside the DrmProvider really returns. Since the INSTALL_DRM right is public (i.e. Does not require specific signatures), IMHO it is legal for 3rd party apps to use this function. Having it not working is really quite unexpected. Any 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] AudioRecord on Emulator with friquency > 8 kHz
Hello dear developers, I'm doing a voice recording using AudioRecord class and the main requirement that the frequency must be 16000 Hz. I'm using only emulator in development process for now and met the problem that I can't set frequency more than 8000, otherwise I get bufferSize == -2, and can't create instance of AudioRecord with such buffer. Thank you to Szabolcs Vrbos, he told me that this problem is only with emulator and several Samsung phones, device can record with higher frequency. I need a word from Android engineers that I will be able to record voice with 16000 Hz frequency on for instance HTC Hero (Android 1.5) or similar device with os 1.5 or higher. Thank you. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Apps-license list
Hi, Where can I see a list of Android Apps categorized by license? I am interested in a list of GPL or FSF-approved license apps. Cheers, avilella. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] hey everyone - couple of things that have been bothering me
1. Im trying to gain logical access to the device SDCard(Micro SD) from a JNI layer - Native library that is interfacing with a priviliged APK application by this piece of code: open("/dev/block/vold/x:y",O_RDWR). It worked under G1 and HTC Magic phone , but on Nexus one it doesnt - i get Access Denied (errno 13) - what can i do? 2. I was wondering if there is an option to dynamically determine if my application will have an Icon at the programs menu - even a manual setting change. thanks in advance, andrew. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Singleton Service ???
You can call stopSelf () from within a service, or stopService (Intent) from another activity. Sincerely, -Kitzy On Feb 23, 5:05 am, MobDev wrote: > Lol, > I see I actually forgot to place the question in the first part of my > previous post :D > That is : if aServicealready is running, is there some way to bind > to it when my app starts up, and/or programmatically check if it's > already running ? > So that I won't be having 2 separateServiceentities that do exactly > the same... > > On 23 feb, 11:44, MobDev wrote: > > > actually I had a question regarding this... > > I made aservicewhich plays an MP3, so it uses a single instance (in > > the wholeservice) of MediaPlayer.. > > Still I noticed (by mistake because theServicedidn't get closed > > while exiting my main Activity) that theServiceobviously kept > > running, but when I restarted my app it created anotherServicewhich > > also could play the MP3, thus creating a "mixing" effect, having the > > same MP3 playing double... The second one I could stop through my App > > but the first "lost" one couldn't be stopped... > > To me this doesn't look like aSingleton'sbehaviour, I actually have > > two seperate entities of aServicerunning in the system... > > Also, a little question, I use the onBind() method and the .aidl > > interface methology to create myService... Is there a correct way to > > stop aService? And if so where should this be implemented (for > > example unBind() in the onDestroy() method of my main Activity) ? > > Thanks in advance Mark (or anyone who might shed some light on my > > issue) ! > > > On 11 feb, 17:11, "Mark Murphy" wrote: > > > > > I'd like to know if it's possible to create a SingeltonService > > > > throughout an application ? > > > > Services are singletons by their very nature. > > > > -- > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > Android App Developer Books:http://commonsware.com/books.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Nexus One here, so glad I didn't Droid as I already have one. Impressed with the prompt shipping by Google! -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Get unique ID of phone - Settings.Secure.ANDROID_ID not working on N1?
Odd - I posted this message yesterday and got sent a copy, but it doesn't seem to have shown up in the group... Here it is again. This seems to be a bit of a vexed issue: see http://groups.google.com/group/android-developers/browse_thread/thread/3f4ae5cdf792ce00 Like the person who started that thread, I need to get a unique ID for a device, without using scary permissions for TelephonyManager. I've tried id = android.provider.Settings.Secure.getString(getContentResolver(), android.provider.Settings.Secure.ANDROID_ID); but that just produces "android_id" on my phone. Anyone know a way that works? I'm using a Nexus One and Android 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Webview Issue Displaying 100% Wide Pages
I am working on an app that uses webview for a help section. The help section is loaded from an external site, that is specifically designed for mobile phones. There are a series of 5 pages, with a simple next/ back navigation. When the first page loads, it loads perfectly, filling the entire area of the screen. When you click next, the page is now smaller with a large white gap around it (right and bottom), when I click back to the first page, this page now is displaying the same way (gap around it). I have tried setting body/table/container divs to 100% wide, and this continues to happen. However it works perfectly on any desktop browser. This happens on the droid/nexus one. It almost seems as if clicking next is resetting something in the webview settings, but I don't know what it would be or why? Any help or ideas would be 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] ScrollView listview again again
Hi I'm new to Android development and having a hard time making the UI, so hopefully someone here can help me with a hint... What I need in my layout is this: as you can see the layout will need scrolling, but adding a scrollview as a root to the RelativeLayout tag, didnt do anything... can anyone help me? - Lars -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Hide camera preview on augmented reality app
Hi all, I want to develop an augmented reality application, but I'm having some trouble in the first steps. The first I want to do is to get a frame with the onPreviewFrame callback, process it, and then draw it in the screen. Here I want to hide the camera preview, I mean, I don't want to draw it, but I can't manage to do it. I've been reading some threads where it's said that simply don't doing "SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS" you'll fix it. In the emulator does work, but in the real device doesn't and the program crash. The second question is: Is there a way to overlay a GLSurfaceView on top of the CameraPreview before the API level 5? I've tried some methods like GLSurfaceView.bringToFront(), but none of them works. I would like to do it for android 1.5. Anyway I don't have (yet) a device with 2.0 or later, and I also don't know if the "setZOrderMediaOverlay" method really works in real devices. Many thanks for your time. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] How to get Linux version and manufacturer name
Hi, I am using SDK 1.5 and I need to retrieve the linux version and the manufacturer name. please help. Zohar -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Where can I report UI bugs with android 2.1 (nexus)
Sorry if I'm adding to a problem by "spamming" you guys, but I've searched for bugs and bug reporting only to find stuff about other peoples applications in general. And of course it's quite hard to search for the same bug when someone might use different terms to describe the same thing. But as far as the UI goes, I'm experiencing a few different bugs as follows: 1) Home screen/Navigation dots: While on the default home screen, It sometimes shows one dot on the left, and three dots on the right. (or vice versa). When the expected result is 2 dots on either side. Tapping on the single dot brings me to the proper "second" page, and the dot's then begin to work as normal. I can replicate this problem by navigating to a homescreen that is not the center or default screen, open the application grid, select an application, then press the soft home key to return to the default screen with the dots layed out as if i was on a secondary screen. 2) Keyboard: When typing on the virtual keypad, I would make mistakes... or so I thought they were mistakes. (Such as hitting the voice input button).. But I noticed that visually the "d" button which I intended to hit was registering/hitting in the right spot, but the voice input would come up also. This was not an issue related to touching in two places at once. Once the error occurred, I could keep pressing the "d" button and continue to get the voice input. Pressing backspace and starting to type fixed that issue for the particular time. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Android market place crashes on receiving intent for an application that doesn't exists in marketplace
Hi, I am creating an application that checks the installation of a package and exits after launching the market-place with its id. When I try to launch market place with id of an application say com.mybrowser.android by throwing an intent android.intent.action.VIEW with url: market://details?id=com.mybrowser.android, the market place application does launches but crashes after launch. The application com.mybrowser.android doesn't exist on the market- place. MyApplication is my application. $ adb logcat I/ActivityManager( 1030): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=myapp.testapp/.MyApplication } I/ActivityManager( 1030): Start proc myapp.testapp for activity myapp.testapp/.MyApplication: pid=3858 uid=10047 gids={1015, 3003} I/MyApplication( 3858): [ Activity CREATED ] I/MyApplication( 3858): [ Activity STARTED ] I/MyApplication( 3858): onResume D/dalvikvm( 1109): GC freed 6571 objects / 423480 bytes in 73ms I/MyApplication( 3858): Pressed OK button I/MyApplication( 3858): Broadcasting Intent: android.intent.action.VIEW, data: market://details?id=com.mybrowser.android I/ActivityManager( 1030): Starting activity: Intent { act=android.intent.action.VIEW dat=market://details? id=com.mybrowser.android flg=0x1000 cmp=com.android.ven ding/.AssetInfoActivity } I/MyApplication( 3858): onPause I/ActivityManager( 1030): Start proc com.android.vending for activity com.android.vending/.AssetInfoActivity: pid=3865 uid=10023 gids={3003} I/ActivityThread( 3865): Publishing provider com.android.vending.SuggestionsProvider: com.android.vending.SuggestionsProvider D/dalvikvm( 1030): GREF has increased to 701 I/vending ( 3865): com.android.vending.api.RadioHttpClient $1.handleMessage(): Handle DATA_STATE_CHANGED event: NetworkInfo: type: WIFI[], state: CONNECTED/CO NNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true I/ActivityManager( 1030): Displayed activity com.android.vending/.AssetInfoActivity: 609 ms (total 7678 ms) D/dalvikvm( 1030): GC freed 10458 objects / 676440 bytes in 128ms I/MyApplication( 3858): [ Activity STOPPED ] D/dalvikvm( 3865): GC freed 3538 objects / 254008 bytes in 84ms W/dalvikvm( 3865): threadid=19: thread exiting with uncaught exception (group=0x4001b180) E/AndroidRuntime( 3865): Uncaught handler: thread AsyncTask #1 exiting due to uncaught exception E/AndroidRuntime( 3865): java.lang.RuntimeException: An error occured while executing doInBackground() E/AndroidRuntime( 3865):at android.os.AsyncTask $3.done(AsyncTask.java:200) E/AndroidRuntime( 3865):at java.util.concurrent.FutureTask $Sync.innerSetException(FutureTask.java:273) E/AndroidRuntime( 3865):at java.util.concurrent.FutureTask.setException(FutureTask.java:124) E/AndroidRuntime( 3865):at java.util.concurrent.FutureTask $Sync.innerRun(FutureTask.java:307) E/AndroidRuntime( 3865):at java.util.concurrent.FutureTask.run(FutureTask.java:137) E/AndroidRuntime( 3865):at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1068) E/AndroidRuntime( 3865):at java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:561) E/AndroidRuntime( 3865):at java.lang.Thread.run(Thread.java: 1096) E/AndroidRuntime( 3865): Caused by: java.lang.NullPointerException E/AndroidRuntime( 3865):at com.android.vending.AssetItemAdapter $ReloadLocalAssetInformationTask.doInBackground(AssetItemAdapter.java: 845) E/AndroidRuntime( 3865):at com.android.vending.AssetItemAdapter $ReloadLocalAssetInformationTask.doInBackground(AssetItemAdapter.java: 831) E/AndroidRuntime( 3865):at android.os.AsyncTask $2.call(AsyncTask.java:185) E/AndroidRuntime( 3865):at java.util.concurrent.FutureTask $Sync.innerRun(FutureTask.java:305) E/AndroidRuntime( 3865):... 4 more I/Process ( 1030): Sending signal. PID: 3865 SIG: 3 I/dalvikvm( 3865): threadid=7: reacting to signal 3 I/dalvikvm( 3865): Wrote stack trace to '/data/anr/traces.txt' I/DumpStateReceiver( 1030): Added state dump to 1 crashes D/AndroidRuntime( 3865): Shutting down VM W/dalvikvm( 3865): threadid=3: thread exiting with uncaught exception (group=0x4001b180) E/AndroidRuntime( 3865): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 3865): java.lang.NullPointerException E/AndroidRuntime( 3865):at com.android.vending.controller.AssetInfoActivityController.getIdDeferToLocal(AssetInfoActivityController.java: 637) E/AndroidRuntime( 3865):at com.android.vending.AssetInfoActivity.displayAssetInfo(AssetInfoActivity.java: 556) E/AndroidRuntime( 3865):at com.android.vending.AssetInfoActivity.access $800(AssetInfoActivity.java:74) E/AndroidRuntime( 3865):at com.android.vending.AssetInfoActivity$LoadAssetInfoAction $1.run(AssetInfoActivity.java:917) E/AndroidRuntime( 3865):at android.os.Handler.handle
[android-developers] MapView layout behaves differently depending on order?
Hi All, I have a TextView 30 px tall and RelativeLayout containing a MapView plus some overlayed components that I want to display in a single screen with no scrolling. When I place the TextView before the RelativeLayout the MapView fills the available vertical space correctly (i.e. 430-30=400 px) , but if I change the order the MapView fills all the available space (i.e. 430 px on my G1) and pushes the TextView out of the visible area. My problem is I want to place the TextView at the bottom of the screen but not on the MapView itself. So is there a way I can specify the order the layout engine calculates sizes such that even if I place the TextView after the MapView, the MapView still has a height of 400px? Thanks, 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Problems with ViewGroup.addView()
"Why doesn't the "Ori" text shows up?" Because: TextView t = new TextView(this); t.setText("Ori"); TextView t2 = new TextView(this); t.setText("Ori2"); // here you reset the text from TextView t instead of TextView t2. // TextView t2 is empty: you don't set any text LinearLayout layout = (LinearLayout) findViewById(R.id.mainLayout); layout.addView(t); layout.addView(t2); As hint: Try to set LayoutParams for your TextView before adding it to layout -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Passing Command line arguments to an android application
Hello, I am new to Android Development. I have a few questions to ask. 1) How can i pass command line arguments to an android application. Lets say, i have to pass an Integer value as a command line argument to an android application while launching it. 2) can we launch an application made using Eclipse IDE via command line? if yes,how? if no, then do i have to rebuild the application using command line tools? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Solution to why list item text is invisible in AlertDialog
I have seen several posts (which for some reason I cannot reply to) that complain that there list item text is invisible when inside an AlertDialog unless they select it. I ran into this problem and wanted to post my solution. If you use AlertDialog.Builder.setItems with a simple string array, then the Builder will create a ListView for you using R.layout.select_dialog_item resource. This creates working dialogs with visible text. The problem is when you try to use your own layout resource (perhaps to get a two line list item layout) with your own adapter with AlertDialog.Builder.setAdatper. You might try to use android.R.layout.simple_list_item_2 like I did. This causes the invisible text problem. The actual problem is simply a text color issue. android.R.layout.simple_list_item_2 uses white for the text color which is the same color as the background of an AlertDialog, causing a white on white situation making the text invisible. The R.layout.select_dialog_item layout resource used by AlertDialog.Builder by default when using setItems specifies a text color of android:textColor="@android:color/ primary_text_light_disable_only" which usually maps to black making the text visible. Therefore, to fix this problem, you need to get your text color to be what AlertDialog would normally choose by default. What I did was to copy the android.R.layout.simple_list_item_2 source code xml file to my own project so that I could edit it. I added the setting of the textColor with: android:textColor="?android:attr/textColorPrimaryInverseDisableOnly" I first tried using @android:color/primary_text_light_disable_only, but that would not compile because it is not public to app developers. I scanne the android source and discovered that ? android:attr/textColorPrimaryInverseDisableOnly maps to the exact same thing as @android:color/primary_text_light_disable_only, so it works great! -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Service not running when phone is locked
In my application i written a service which will continuously track the location using GPS.But when phone is locked service is not tracking the location. Anyone having any idea ? Please let me know. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Anyone with Nexus One and Logcat? My program is crashing...
Hi, I've developed an app that uses the camera to detect movements, but unfortunately it crashes on Nexus One phones. I *think* it might be an issue with the supported sizes of the preview and the snapshots, but im not sure. So is there anyone out there with a Nexus One who would try to run the app and sent the stacktrace to me? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Android Applications for Web Browsers
Hi, I am new to Android and am currently reading the documentation. I am trying to scope out the following. *Porting an android application UI to Web Browsers. * * * The reason here is, we plan on using android as a platform for an embedded device and the output/renderer in this case is going to be a web browser. Alternative approach here is to use android as a platform & application back-end and GTW/javascript for the UI . This is possible to do. However it surely is more viable if I could figure a way, the Andriod UI (Activity) could be rendered on a web browser. Any pointers would be extremely helpful. Thanks -Ashish -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] HttpPost abort not returning immediately when called from separate thread
I am using a DefaultHttpClient and a ThreadSafeClientConnManager to share the httpClient across threads. That part is working well. However, when I execute an HttpPost in one thread, and call httpPost.abort() from another. It does not return immediately and continues blocking until the socket timeout is reached in most cases. Am I missing something else? I've tried using: connectionManager.closeIdleConnections(30, TimeUnit.SECONDS); connectionManager.closeExpiredConnections(); But it did not help. 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] view list of extra's for a intent
On Wed, Mar 24, 2010 at 3:48 PM, arnoldl wrote: > i'm trying to find out what extra's there are for a specific intent.. > > in the eclipse debug window i can see it has extra's , but i can''t > find a list of those extra's. > I also can't find a function to get all extra's into a human readable > format. > It's non-sensical to have a generic method to print out all the contents in the extra since you can literally pack anything in there, including binary data which is not human-readable. However, you can get the extra bundle by calling Intent.getExtras() and call Bundle.keySet() to get the set of keys the extra contains. They are human readable. Then you can extract the corresponding values using the keys. -- Ning -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.