[android-developers] Contacts insertion failure
HI all, I had a query regarding the behavior of insert method when contact insertion failure occures. Assume that the phone memory is full & no more contacts can be added to the phone. While a user attempts to insert a contact into People & Phones table in this scanrio what would be the URI that would be returned. How can one determine from the URI returned whether the contact was added successfully or not. Thanks in advance for all the help. --Abraham --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Device scroller issue
Hi I have converted one J2Me code to Android.. the problem is that the Dpad( as apperas in teh emulator) works fine in teh emulator But when I put it in the device .. some times the device scroller works(its only a track ball..no Dpad as seen in the emulator) and some times not.especially in the left and right direction.. any one faced any such issues.. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
Do You Have A Link? On 12/08/2008, Dan <[EMAIL PROTECTED]> wrote: > > Just wanted to point out that I'm still having trouble extracting the > Mac edition of the 1.0r2 SDK. I've tried downloading via Safari, > Firefox, and Curl. Strangely, I get different MD5 values from > subsequent downloads. Same file size, but a binary diff reveals a LOT > of differences, but not apparent corruption. There will be a few bytes > inserted here, and a few bytes removed there. I can't explain it. > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
Just wanted to point out that I'm still having trouble extracting the Mac edition of the 1.0r2 SDK. I've tried downloading via Safari, Firefox, and Curl. Strangely, I get different MD5 values from subsequent downloads. Same file size, but a binary diff reveals a LOT of differences, but not apparent corruption. There will be a few bytes inserted here, and a few bytes removed there. I can't explain it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to send email programmatically?
Btw, you can probably get away with doing this with little to no platform changes at all, by defining an intent protocol that is similar to the existing one but doesn't require presenting a UI. There are still some important security, user interaction, and management issues that would need to be addressed though, such as what to do with multiple e-mail apps with multiple accounts. Anyway, the point is that this is an open source project. You aren't dependent on Google for things, you don't have to sit here begging for people to give you features you want, if you feel strongly about something you can make it happen. On Mon, Dec 8, 2008 at 9:31 PM, Dianne Hackborn <[EMAIL PROTECTED]> wrote: > If you want a feature like this, feel free to look at submitting a patch to > the platform. You'll want to talk with people in the platform group about > the security implications of doing so, so we can have a patch that we are > comfortable with. This is probably way down on the priority list for the > core platform work, so I doubt a feature like it would be added without > someone who wants it coming in and making it happen. > > > On Mon, Dec 8, 2008 at 8:44 PM, Jay-andro <[EMAIL PROTECTED]> wrote: > >> >> Diane >> I accept (with a heavy heart :-( that Google is not interested in >> providing for this, but I do believe it is a valid requirement. >> >> First let me clarify that I have no interest in accessing the user's >> personal account information from my app. I would ideally like an >> android api that protects this info and just allows my app to invoke a >> sendmail method with subject, body etc. Under the covers the api would >> access the personal account credentials of so it can connect to the >> smtp server. >> >> Second, consider the following use cases where this requirement comes >> up: >> - A salesforce phone app is set up to always send an email to the >> sales supervisor when a customer support person updates a customer >> ticket. The email is automatic and informational >> - A service rep (cable guy) app is set up to automatically email the >> service supervisor, when a rep leaves the location of his/her last >> service order. >> - A game is set up to automatically email the highest score to all >> members of a game-group >> In all cases, the app would advertise the auto-email as a feature, >> that the user can opt into or out of. >> >> thx >> jay >> >> On Dec 6, 2:13 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: >> > You need to go through the UI of the mailer activity, so the user can >> select >> > which app to use etc. Adding support for allowing applications to get >> at >> > the user's personal e-mail information and send on their behalf without >> > their interaction (but some other way to inform them that the app is >> doing >> > this) is not a high priority for the platform; actually, I would >> personally >> > much prefer that apps go through the mail UI so the user can be aware of >> and >> > confirm whatever some non-mail app is sending on their behalf. >> > >> > As a user, wouldn't you prefer this too? :} >> > >> > >> > >> > On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <[EMAIL PROTECTED]> wrote: >> > >> > > I too want to send email programmtaically (i.e without a send form). >> > > I've got it working with my hardcoded credentials, but I want my app >> > > to use the user's account to send the email from the user's account >> > > and receive replies to his account. How do I do this? >> > >> > > On Nov 12, 10:51 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: >> > > > Thank you. I will try this. >> > >> > > > On Wed, Nov 12, 2008 at 12:44 AM, Peli <[EMAIL PROTECTED]> >> wrote: >> > >> > > > > You can find a code snippet here: >> > > > >http://www.openintents.org/en/node/121 >> > >> > > > > There is also a related SENDTO action which you can look up in the >> > > > > documentation. >> > >> > > > > Peli >> > > > >www.openintents.org >> > >> > > > > On Nov 12, 8:52 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: >> > > > > > Ok how would I implement the 'send form'. Do you mean that I >> should >> > > > > launch a >> > > > > > web browser and use some webmail type of application hosted on a >> > > server? >> > > > > > I was thinking about the Email Outbox. How can I put a simple >> text >> > > > > message >> > > > > > as an email in the Outbox? I know I could do this long long ago >> with >> > > Palm >> > > > > OS >> > > > > > ver3.0. Hope there is a way to do it on Android. >> > >> > > > > > - Sunit >> > >> > > > > > On Tue, Nov 11, 2008 at 5:25 PM, Andrew Burgess < >> [EMAIL PROTECTED]> >> > > > > wrote: >> > > > > > > If you don't want to direct the user to the typical send form, >> then >> > > > > you're >> > > > > > > going to have to either try and adapt an existing java based >> mailer >> > > to >> > > > > > > android or write an SMTP client from scratch. The SMTP >> standard >> > > isn't >> > > > > too >> > > > > > > hard to implement. >> > >> > > > > > > On Tue, Nov 11, 2008 at
[android-developers] Re: How to send email programmatically?
If you want a feature like this, feel free to look at submitting a patch to the platform. You'll want to talk with people in the platform group about the security implications of doing so, so we can have a patch that we are comfortable with. This is probably way down on the priority list for the core platform work, so I doubt a feature like it would be added without someone who wants it coming in and making it happen. On Mon, Dec 8, 2008 at 8:44 PM, Jay-andro <[EMAIL PROTECTED]> wrote: > > Diane > I accept (with a heavy heart :-( that Google is not interested in > providing for this, but I do believe it is a valid requirement. > > First let me clarify that I have no interest in accessing the user's > personal account information from my app. I would ideally like an > android api that protects this info and just allows my app to invoke a > sendmail method with subject, body etc. Under the covers the api would > access the personal account credentials of so it can connect to the > smtp server. > > Second, consider the following use cases where this requirement comes > up: > - A salesforce phone app is set up to always send an email to the > sales supervisor when a customer support person updates a customer > ticket. The email is automatic and informational > - A service rep (cable guy) app is set up to automatically email the > service supervisor, when a rep leaves the location of his/her last > service order. > - A game is set up to automatically email the highest score to all > members of a game-group > In all cases, the app would advertise the auto-email as a feature, > that the user can opt into or out of. > > thx > jay > > On Dec 6, 2:13 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > > You need to go through the UI of the mailer activity, so the user can > select > > which app to use etc. Adding support for allowing applications to get at > > the user's personal e-mail information and send on their behalf without > > their interaction (but some other way to inform them that the app is > doing > > this) is not a high priority for the platform; actually, I would > personally > > much prefer that apps go through the mail UI so the user can be aware of > and > > confirm whatever some non-mail app is sending on their behalf. > > > > As a user, wouldn't you prefer this too? :} > > > > > > > > On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <[EMAIL PROTECTED]> wrote: > > > > > I too want to send email programmtaically (i.e without a send form). > > > I've got it working with my hardcoded credentials, but I want my app > > > to use the user's account to send the email from the user's account > > > and receive replies to his account. How do I do this? > > > > > On Nov 12, 10:51 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: > > > > Thank you. I will try this. > > > > > > On Wed, Nov 12, 2008 at 12:44 AM, Peli <[EMAIL PROTECTED]> > wrote: > > > > > > > You can find a code snippet here: > > > > >http://www.openintents.org/en/node/121 > > > > > > > There is also a related SENDTO action which you can look up in the > > > > > documentation. > > > > > > > Peli > > > > >www.openintents.org > > > > > > > On Nov 12, 8:52 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: > > > > > > Ok how would I implement the 'send form'. Do you mean that I > should > > > > > launch a > > > > > > web browser and use some webmail type of application hosted on a > > > server? > > > > > > I was thinking about the Email Outbox. How can I put a simple > text > > > > > message > > > > > > as an email in the Outbox? I know I could do this long long ago > with > > > Palm > > > > > OS > > > > > > ver3.0. Hope there is a way to do it on Android. > > > > > > > > - Sunit > > > > > > > > On Tue, Nov 11, 2008 at 5:25 PM, Andrew Burgess < > [EMAIL PROTECTED]> > > > > > wrote: > > > > > > > If you don't want to direct the user to the typical send form, > then > > > > > you're > > > > > > > going to have to either try and adapt an existing java based > mailer > > > to > > > > > > > android or write an SMTP client from scratch. The SMTP > standard > > > isn't > > > > > too > > > > > > > hard to implement. > > > > > > > > > On Tue, Nov 11, 2008 at 8:05 PM, Sunit Katkar < > > > [EMAIL PROTECTED] > > > > > >wrote: > > > > > > > > >> Any ideas? Any pointers to some examples? > > > > > > > > >> On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar < > > > [EMAIL PROTECTED] > > > > > >wrote: > > > > > > > > >>> Suppose I have an Activity which has couple of text fields - > one > > > for > > > > > the > > > > > > >>> subject and one for body text. > > > > > > >>> And there is a simple Button. When user clicks the button, I > wish > > > to > > > > > send > > > > > > >>> the text in the textfields via email to a predetermined email > > > > > address. > > > > > > >>> How can I achieve this? > > > > > > > > >>> Sorry for being lazy and not looking up the SDK docs :) > > > > > > > > >>> PS: I have configured the EMAIL app on G1 using the Email > setup > > > > > steps, so > >
[android-developers] Re: Wifi Ip Address
Also, generally speaking, you can use address 0.0.0.0 to accept connections from any network interface without having to worry about the difference between the GSM and Wifi channels On Mon, Dec 8, 2008 at 8:49 PM, David Turner <[EMAIL PROTECTED]> wrote: > FYI the emulator doesn't simulate wifi, so all you have is an emulated > GPRS/EDGE/3G connection. > > > On Wed, Dec 3, 2008 at 7:12 AM, Andrea <[EMAIL PROTECTED]> wrote: > >> >> Marcio: Yeah, that is what i am looking for, but on the emulator >> info.ipAddress returns 0. I hope on a real device it returns the >> actual ipAddress. I don't have one to test! >> >> thanks to all. >> Andrea >> >> On Dec 3, 2:57 pm, "Marcio Alexandroni" <[EMAIL PROTECTED]> >> wrote: >> > Would it be: >> > >> > WiFiManager wifi = (WifiManager) getSystemService(WIFI_SERVICE); >> > DhcpInfo info = wifi.getDhcpInfo(); >> > >> > DhcpInfo has all the WiFi configurations. Of course you have to add the >> > permissions below to the manifest. I'm not sure you need both but it >> worked >> > with those. >> > >> > > > >> android:name="android.permission.ACCESS_NETWORK_STATE"> >> > > > android:name="android.permission.ACCESS_WIFI_STATE"> >> > >> > Marcio Alexandroniwww.cialogica.com >> > w Tel. 55 11 3717-2345 >> >Cel. 55 11 9989-8316 >> > [EMAIL PROTECTED] >> > marcioalexandroni >> > >> >> >> >> > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Wifi Ip Address
FYI the emulator doesn't simulate wifi, so all you have is an emulated GPRS/EDGE/3G connection. On Wed, Dec 3, 2008 at 7:12 AM, Andrea <[EMAIL PROTECTED]> wrote: > > Marcio: Yeah, that is what i am looking for, but on the emulator > info.ipAddress returns 0. I hope on a real device it returns the > actual ipAddress. I don't have one to test! > > thanks to all. > Andrea > > On Dec 3, 2:57 pm, "Marcio Alexandroni" <[EMAIL PROTECTED]> > wrote: > > Would it be: > > > > WiFiManager wifi = (WifiManager) getSystemService(WIFI_SERVICE); > > DhcpInfo info = wifi.getDhcpInfo(); > > > > DhcpInfo has all the WiFi configurations. Of course you have to add the > > permissions below to the manifest. I'm not sure you need both but it > worked > > with those. > > > > > android:name="android.permission.ACCESS_NETWORK_STATE"> > > > android:name="android.permission.ACCESS_WIFI_STATE"> > > > > Marcio Alexandroniwww.cialogica.com > > w Tel. 55 11 3717-2345 > >Cel. 55 11 9989-8316 > > [EMAIL PROTECTED] > > marcioalexandroni > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to send email programmatically?
Diane I accept (with a heavy heart :-( that Google is not interested in providing for this, but I do believe it is a valid requirement. First let me clarify that I have no interest in accessing the user's personal account information from my app. I would ideally like an android api that protects this info and just allows my app to invoke a sendmail method with subject, body etc. Under the covers the api would access the personal account credentials of so it can connect to the smtp server. Second, consider the following use cases where this requirement comes up: - A salesforce phone app is set up to always send an email to the sales supervisor when a customer support person updates a customer ticket. The email is automatic and informational - A service rep (cable guy) app is set up to automatically email the service supervisor, when a rep leaves the location of his/her last service order. - A game is set up to automatically email the highest score to all members of a game-group In all cases, the app would advertise the auto-email as a feature, that the user can opt into or out of. thx jay On Dec 6, 2:13 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > You need to go through the UI of the mailer activity, so the user can select > which app to use etc. Adding support for allowing applications to get at > the user's personal e-mail information and send on their behalf without > their interaction (but some other way to inform them that the app is doing > this) is not a high priority for the platform; actually, I would personally > much prefer that apps go through the mail UI so the user can be aware of and > confirm whatever some non-mail app is sending on their behalf. > > As a user, wouldn't you prefer this too? :} > > > > On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <[EMAIL PROTECTED]> wrote: > > > I too want to send email programmtaically (i.e without a send form). > > I've got it working with my hardcoded credentials, but I want my app > > to use the user's account to send the email from the user's account > > and receive replies to his account. How do I do this? > > > On Nov 12, 10:51 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: > > > Thank you. I will try this. > > > > On Wed, Nov 12, 2008 at 12:44 AM, Peli <[EMAIL PROTECTED]> wrote: > > > > > You can find a code snippet here: > > > >http://www.openintents.org/en/node/121 > > > > > There is also a related SENDTO action which you can look up in the > > > > documentation. > > > > > Peli > > > >www.openintents.org > > > > > On Nov 12, 8:52 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: > > > > > Ok how would I implement the 'send form'. Do you mean that I should > > > > launch a > > > > > web browser and use some webmail type of application hosted on a > > server? > > > > > I was thinking about the Email Outbox. How can I put a simple text > > > > message > > > > > as an email in the Outbox? I know I could do this long long ago with > > Palm > > > > OS > > > > > ver3.0. Hope there is a way to do it on Android. > > > > > > - Sunit > > > > > > On Tue, Nov 11, 2008 at 5:25 PM, Andrew Burgess <[EMAIL PROTECTED]> > > > > wrote: > > > > > > If you don't want to direct the user to the typical send form, then > > > > you're > > > > > > going to have to either try and adapt an existing java based mailer > > to > > > > > > android or write an SMTP client from scratch. The SMTP standard > > isn't > > > > too > > > > > > hard to implement. > > > > > > > On Tue, Nov 11, 2008 at 8:05 PM, Sunit Katkar < > > [EMAIL PROTECTED] > > > > >wrote: > > > > > > >> Any ideas? Any pointers to some examples? > > > > > > >> On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar < > > [EMAIL PROTECTED] > > > > >wrote: > > > > > > >>> Suppose I have an Activity which has couple of text fields - one > > for > > > > the > > > > > >>> subject and one for body text. > > > > > >>> And there is a simple Button. When user clicks the button, I wish > > to > > > > send > > > > > >>> the text in the textfields via email to a predetermined email > > > > address. > > > > > >>> How can I achieve this? > > > > > > >>> Sorry for being lazy and not looking up the SDK docs :) > > > > > > >>> PS: I have configured the EMAIL app on G1 using the Email setup > > > > steps, so > > > > > >>> it can receive and send email from my email account. > > > > > > >>> -- > > > > > >>> - Sunit Katkar > > > > > >>>http://sunitkatkar.blogspot.com/-AndroidOS Tutorials > > > > > > >> -- > > > > > >> - Sunit Katkar > > > > > >>http://sunitkatkar.blogspot.com/-AndroidOS Tutorials > > > > > > > -- > > > > > > Andrew Burgess > > > > > > -- > > > > > - Sunit Katkarhttp://sunitkatkar.blogspot.com/-AndroidOS Tutorials > > > > -- > > > - Sunit Katkarhttp://sunitkatkar.blogspot.com/-Android OS Tutorials > > -- > Dianne Hackborn > Android framework engineer > [EMAIL PROTECTED] > > 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,
[android-developers] Re: JavaBinder: !!! FAILED BINDER TRANSACTION !!!
It means the native Binder IPC system reported an error when trying to submit an operation to it. On Mon, Dec 8, 2008 at 7:55 PM, sandy8531 <[EMAIL PROTECTED]> wrote: > > I get this message on the G1 device. > > Can anyone shed some light on what scenarios could cause this message, > I suspect that it is coming from Platform code. > > 12-08 21:43:27.149 1825 2980 E JavaBinder: !!! FAILED BINDER > TRANSACTION !!! > > > -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] JavaBinder: !!! FAILED BINDER TRANSACTION !!!
I get this message on the G1 device. Can anyone shed some light on what scenarios could cause this message, I suspect that it is coming from Platform code. 12-08 21:43:27.149 1825 2980 E JavaBinder: !!! FAILED BINDER TRANSACTION !!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: MediaPlayer and onSaveInstanceState?
You can use Activity.onRetainNonConfigurationInstance() to transfer an active object across activity instances. Just be careful that the object doesn't continue referencing the old activity. On Sun, Dec 7, 2008 at 12:59 AM, ben rosenberg <[EMAIL PROTECTED]>wrote: > > hey folks, > > to make a long story short, I'm working on an app that plays streaming > video content in a VideoView with a MediaController; Im wondering how > I can preserve the state of my VideoView across orientation changes, > such that opening the keyboard doesn't restart the playback, etc.. > > I've been messing around with onSaveInstanceState, but Im fairly > certain I'm missing something (possibly Parcelized objects?) .. > Ideally i think I'd like to save and restore the state of the > MediaPlayer, as well as an HttpClient (or at least its cookiejar) ... > I suspect this will have to be done with Parcelables, but I don't > quite have my head around how those work (and the Notepad example > hasn't helped).. > > any suggestions, or especially code or pseudocode examples, would be > greatly apprectiated > > > > > -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Wifi Ip Address
create your own post. On 12/08/2008, androidfromCordoba <[EMAIL PROTECTED]> wrote: > > Hello again, > Another question: > How could I simulate whit the emulator a connection with a configured > local wifi netwok in which my localhost is in? > Is that possible or I must get the real device? > > Thaks very much > > On 3 dic, 14:57, "Marcio Alexandroni" <[EMAIL PROTECTED]> wrote: >> Would it be: >> >> WiFiManager wifi = (WifiManager) getSystemService(WIFI_SERVICE); >> DhcpInfo info = wifi.getDhcpInfo(); >> >> DhcpInfo has all the WiFi configurations. Of course you have to add the >> permissions below to the manifest. I'm not sure you need both but it >> worked >> with those. >> >> > android:name="android.permission.ACCESS_NETWORK_STATE"> >> > android:name="android.permission.ACCESS_WIFI_STATE"> >> >> Marcio Alexandroniwww.cialogica.com >> w Tel. 55 11 3717-2345 >>Cel. 55 11 9989-8316 >> [EMAIL PROTECTED] >> marcioalexandroni >> >> >> >> -Original Message- >> From: android-developers@googlegroups.com >> >> [mailto:[EMAIL PROTECTED] On Behalf Of Andrea >> Sent: Monday, December 01, 2008 19:43 >> To: Android Developers >> Subject: [android-developers] Re: Wifi Ip Address >> >> Xavier: I don't want to change the ip. I want only to know the ip that >> is assigned to the NIC of the phone. >> Ed: Sure, but showipaddress.com shows only the ip with which you go >> out on the Internet: for example you could be connected to Internet >> behind NAT. >> >> I try to explain better my problem: >> I'm developing on the emulator because I'm in italy and here there >> aren't devices. My app creates a server listening on a port for >> incoming connections. On the emulator the address used to bind the >> socket is "10.0.2.15", if I want to connect to that server, say from >> another host, i have to: >> 1) make a redirection on the local interface of the host that runs the >> emulator (so 127.0.0.1: forwards to 10.0.2.15:) >> 2) redirect my NIC interface to the local interface (say >> 192.168.2.1: forwards to 127.0.0.1:) with a datapipe tool >> 3) connect from a client to 192.168.2.1: >> 4) start communicating. >> >> Now, in a real device how is this achieved? How many interfaces the >> device has? I think it has 10.0.2.15, 127.0.0.1 and the ip address >> assigned to the phone by a wifi network. Am I wrong? >> >> Thanks- Ocultar texto de la cita - >> >> - Mostrar texto de la cita - > > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 and PS3 question
YOU can download one and how long does the batt last? On 12/08/2008, Michael <[EMAIL PROTECTED]> wrote: > > I'm doing this right now with Music Player Daemon (http:// > www.musicpd.org/) and an application I wrote for Android to control > the player (currently unreleased). It works great but my music is > stored on the server, not on the G1. If you want to keep your music > on the G1, you'd need a player that streamed to the internet, and I > suspect that it'd drain your battery fast. As far as I know, there is > no such player yet available - but one could be written. > > - michael > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: MediaPlayer and onSaveInstanceState?
The HTTP session isn't controlled by the Java application, the media framework has its own HTTP client. The Java proxy object for the network session is the MediaPlayer object which is owned by VideoView. You could retain a reference to the VideoView object across the orientation change, so that it keeps its internal MediaPlayer reference. You need to be careful because holding on to a MediaPlayer object can have significant implications on battery life, so you want to make sure you release it if your activity no longer has the focus. Unfortunately, the current VideoView design doesn't work well for restoring state because it starts playing immediately after setVideoURI (). On Dec 7, 12:59 am, ben rosenberg <[EMAIL PROTECTED]> wrote: > hey folks, > > to make a long story short, I'm working on an app that plays streaming > video content in a VideoView with a MediaController; Im wondering how > I can preserve the state of my VideoView across orientation changes, > such that opening the keyboard doesn't restart the playback, etc.. > > I've been messing around with onSaveInstanceState, but Im fairly > certain I'm missing something (possibly Parcelized objects?) .. > Ideally i think I'd like to save and restore the state of the > MediaPlayer, as well as an HttpClient (or at least its cookiejar) ... > I suspect this will have to be done with Parcelables, but I don't > quite have my head around how those work (and the Notepad example > hasn't helped).. > > any suggestions, or especially code or pseudocode examples, would be > greatly apprectiated --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
UGH none of use of us no anything. officaly... On 12/08/2008, Josh Roesslein <[EMAIL PROTECTED]> wrote: > Here are some specs on the G1 --> > http://www.htc.com/www/product/g1/specification.html > > Of interest is the networking section. > > HSPA/WCDMA and Quad-band GSM/GPRS/EDGE are supported. > > Keep in mind WCDMA is a lot different than the standard CDMA. Its often > called UMTS and the only major > telecoms in the USA that support it are T-mobile and At&t. > > On Mon, Dec 8, 2008 at 2:05 PM, don rhummy <[EMAIL PROTECTED]> wrote: > >> >> Thanks for the reply. >> >> Sorry to be a pest about this but no where in the Google press release did >> i see anything saying it's only GSM. Where was that specified? >> >> >> --- On Mon, 12/8/08, Josh Roesslein <[EMAIL PROTECTED]> wrote: >> >> > From: Josh Roesslein <[EMAIL PROTECTED]> >> > Subject: [android-developers] Re: New SDK Available >> > To: android-developers@googlegroups.com >> > Date: Monday, December 8, 2008, 2:43 PM >> > Sprint uses cdma in most of its coverage areas. Since the g1 >> > is a GSM phone >> > it probably will not work. >> > >> > On Mon, Dec 8, 2008 at 1:38 PM, don rhummy >> > <[EMAIL PROTECTED]> wrote: >> > >> > > >> > > > Well any phone works with sprint you will just >> > have to pay >> > > > more if it >> > > > is not a sprint phone. >> > > >> > > Wait, I thought the phone didn't work with Sprint. >> > Does it? >> > > >> > > >> > > >> > > >> > > > >> > > >> > >> > >> >> >> >> > >> > > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Debugging in Eclipse.
No, I don't have anything that is 100% repeatable. After I sent the email, two of the integer variables started showing up again, which helped. Then for the ones that still weren't showing I simply created new variable and assigned it at the spot where I needed to see the other, and the new variable showed up. Also, it was a string parsing method that I was having the problem with, and at the bottom of the method, I trimmed the main string and then looped back to the top. It showed in the variables window if I set a breakpoint just after I trimmed it at the bottom of the method. After I looped to the top again it disappeared until I got to the bottom again. Very strange. Anyway, I finished debugging it this afternoon. I think it is still doing it, but only in that one procedure in that one class. No idea how or why yet. Sincerely, Brad Gies - Brad Gies 27415 Greenfield Rd, # 2, Southfield, MI, USA 48076 www.bgies.com www.truckerphone.com www.EDI-Easy.com www.pricebunny.com - Moderation in everything, including abstinence -Original Message- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fadden Sent: Monday, December 08, 2008 8:23 PM To: Android Developers Subject: [android-developers] Re: Debugging in Eclipse. On Dec 8, 6:43 am, "Brad Gies" <[EMAIL PROTECTED]> wrote: > Last night, I was debugging a new class I implemented, and everything was > fine, but suddenly in one method none of my variables were showing up in the > variables window.. And in the Expressions window the variables show up, but > are marked as "cannot be resolved"..Making debugging TOUGH. Do you have an APK for which this is 100% repeatable? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: AndroidManifest.xml file missing!
Hi Fred, I installed the "Eclipse for RCP/Plug-in Developers (175 MB)" (eclipse- rcp-ganymede-SR1-linux-gtk.tar.gz) The version is: Eclipse SDK: 3.4.1 Build id: M20080911-1700 com.android.ide.eclipe.adt: 0.8.0.v200809220836-110569 Thanks, Bill On Dec 6, 5:49 pm, "Fred Grott(shareme)" <[EMAIL PROTECTED]> wrote: > Hi Bill which version of the SDk are you using and which version of > the Eclipse ADt plugin are you using? > > On Dec 5, 7:49 pm, "Bill Tan" <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > I created a project for Android development in eclipse according > > tohttp://source.android.com/using-eclipse: > > > 1. If Eclipse asks you for a workspace location, choose the default. > > 2. If you have a "Welcome" screen, close it to reveal the Java > > perspective. > > 3. File > New > Java Project > > 4. Pick a project name, "android" or anything you like. > > 5. Select "Create project from existing source", enter the path to your > > Android root directory, and click Finish. > > 6. Wait while it sets up the project. (You'll see a subtle progress meter > > in the lower right corner.) > > > After the build finished, I got two errors: > > AndroidManifest.xml file missing! > > The type IGearsDialogService is already defined > > > I am sure I followed the instructions. Is there anything I missed? > > > Thanks in advance. > > > Bill- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1™
If they are shipping internationally to other counties, I don't see why not ship it to New Zealand. Not sure if the phone will work there, depends if its band frequencies match up with your carriers. Hopefully a Google staff member can clear this up. On Mon, Dec 8, 2008 at 5:52 PM, Izard <[EMAIL PROTECTED]> wrote: > > The page (http://code.google.com/android/dev-devices.html) suggests > it's possible to ship the device in US, UK, Germany, Japan, India, > Canada, France, Taiwan, Spain, Australia, Singapore, Switzerland, > Netherlands, Austria, Sweden, Finland, Poland, and Hungary. > > What about other countries, e.g. will it ship to me to New Zealand? > Thanks! > Alexander > > On Dec 9, 12:02 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> > wrote: > > To your second question, the frequencies supported are listed in the > > device's specs. Specifically, it is quad-band GSM, so you should get > > EDGE speeds anywhere in the world with GSM and EDGE. It supports UMTS > > on 1700Mhz and 2100Mhz frequencies (bands I and IV). AT&T operates > > their 3G network on bands II and V. > > > > Cheers, > > Justin > > Android Team @ Google > > > > On Dec 8, 2:57 pm, szeldon <[EMAIL PROTECTED]> wrote: > > > > > I know just an answer for the first question: > > > > >http://groups.google.com/group/android-developers/browse_thread/threa. > .. > > > > > On Dec 8, 8:49 pm, Pastymage <[EMAIL PROTECTED]> wrote: > > > > > > Does anyone have a more detailed FAQ than the text onhttp:// > android.brightstarcorp.com/? My main concern is that GPS is > > > > not listed anywhere in the hardware features - does it actually > > > > support GPS, or not? > > > > > > Aside from that, I'm unclear on how the 3G bands work - what would > > > > the actual bandwidth of this device be on AT&T, for example? > > > > > > -Dave > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Creating a TabHost with Tabs containing Activities WITHOUT extending TabActivity
Fyi, ActivityGroup is very simple and as far as I know doesn't use any internal methods: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=core/java/android/app/ActivityGroup.java;hb=HEAD It's basically the same as ListActivity, a convenience class for a common pattern that you can implement yourself. On Mon, Dec 8, 2008 at 4:41 PM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > mscwd01 wrote: > > Anyone? I'm guessing its possible but I cant find an obvious > > solution... > > Alas, I don't think it is possible, unless you fancy getting your hands > dirty in the Android source code. > > You need the activity that is managing the tabs to be an ActivityGroup > if you want one or more tabs to contain Intent-launched activities. The > only such class is TabActivity. > > Similarly, AFAIK, you need to use MapActivity for your MapView to work. > > Your only hope is to get the Android source code for TabActivity and > MapActivity and attempt to merge them yourself to create > TabbedMapActivity, so you can have an ActivityGroup subclass that > implements both tabbing and mapping behavior. > > Having written a section in Version 1.9 of my book on using Intent-based > tabs in a TabActivity, I confess as to having no real good idea why > anyone would want to use one. The only scenario I can see is if you need > something that can be run independently as an activity *and* appear as a > tab in another activity...but that can be solved just by separating > those smarts out into a separate Java class and reusing the logic in > both spots. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > > Android Training on the Ranch! -- Mar 16-20, 2009 > http://www.bignerdranch.com/schedule.shtml > > > > -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Creating a TabHost with Tabs containing Activities WITHOUT extending TabActivity
mscwd01 wrote: > The "content" I wish to include in each tab are WebViews, I hadn't > really thought about it but I may be able to achieve what I want > without using intent-based tab content. Absolutely! > Just out of interest, my Activity is getting rather large, is there a > way to define a WebView in a different class from the one creating the > TabHost and just reference the WebView (from its individual class) > when inserting it as content to the tab? Sure! Well, OK, it depends on how you define "define". TabHost#addTab() takes a TabSpec, which wants a widget ID from the layout for the tab activity. But, what you can do is create MyNeatoWebViewWrapper class that takes a WebView in the constructor and houses all your WebView-specific logic, such as your WebViewClient instances and such. In your TabActivity, you would use findViewById() to get the WebView to hand to MyNeatoWebViewWrapper, and use the same widget ID in the TabSpec. There are probably other patterns here as well; this is just one off the top of my head. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1™
The page (http://code.google.com/android/dev-devices.html) suggests it's possible to ship the device in US, UK, Germany, Japan, India, Canada, France, Taiwan, Spain, Australia, Singapore, Switzerland, Netherlands, Austria, Sweden, Finland, Poland, and Hungary. What about other countries, e.g. will it ship to me to New Zealand? Thanks! Alexander On Dec 9, 12:02 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > To your second question, the frequencies supported are listed in the > device's specs. Specifically, it is quad-band GSM, so you should get > EDGE speeds anywhere in the world with GSM and EDGE. It supports UMTS > on 1700Mhz and 2100Mhz frequencies (bands I and IV). AT&T operates > their 3G network on bands II and V. > > Cheers, > Justin > Android Team @ Google > > On Dec 8, 2:57 pm, szeldon <[EMAIL PROTECTED]> wrote: > > > I know just an answer for the first question: > > >http://groups.google.com/group/android-developers/browse_thread/threa... > > > On Dec 8, 8:49 pm, Pastymage <[EMAIL PROTECTED]> wrote: > > > > Does anyone have a more detailed FAQ than the text > > > onhttp://android.brightstarcorp.com/? My main concern is that GPS is > > > not listed anywhere in the hardware features - does it actually > > > support GPS, or not? > > > > Aside from that, I'm unclear on how the 3G bands work - what would > > > the actual bandwidth of this device be on AT&T, for example? > > > > -Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Kalman Filters for the GPS data
Interesting. I did some R&D/Simple prototype coding for a WiFi Indoor Location Positioning System in 2001/2. I experimented with Kalman filters as well as RBFs in order to calm down the random jumping that occurs with indoor non-triangulated positioning. I say non- triangulated because, in truth it wasnt, and I assumed such problems would've disappeared had we been using Angle-of-Arrival or Time-of- Flight methods, similiar to GPS. I'd never heard of GPS jumping or giving inaccurate positions in the scenario of a weak signal however, after having gone through the task of WiFi LPS, I dont doubt it, RF is a strange place that can through some interesting curve balls at you. It's a hard problem to solve if it's the case that GPS could give rise to the same issues. I'm sure with Cellular-Enhanced GPS, it becomes more likely. However, in order to implement something like this, I believe you would need decibal data from the GPS/Cellular Receievers for each signal incorporated into the measurement in order to weight each reading, I dont believe you would want to throw all readings in any kind of a filter equally weighted. Most of the time, say when the average Californian is driving on a busy roadway or highway, you should be able to receive a clean signal since, in terms of an average over distance traveled, you dont have too many tall buildings. Of course the anecotal response to that is that the large asian cities is where most users of these systems will probably reside however, the truth remains that good signals shouldnt be weighted the same as something that had poor signal quality to begin with. Although it's been.. six years since I've looked at Kalman Filters... time to refresh! I'm not sure if it's a problem but, It will be interesting to see what kind of problems come up with regard to positioning availability and accuracy! I think their will probably be a need for hybrid systems with something like Zigbee or, a kind of ultra- sensitive custom indoor time-of-flight/AoA system as people begin to realize the value of Location and not only demand to be tracked but, down to the foot, especially in heavily populated environments.. in say 5 years? Cheers, Brian A. On Dec 7, 2:12 pm, [EMAIL PROTECTED] wrote: > hi all, > > so i understand that there are lots of smart people at google, so > maybe maybe this is > already in shipping libraries :) > > My guess is that the GPS data coming back from the my android is just > raw, unmassaged > data as it gets it from whatever chipset the T1 is using (just like > what happens in the > emulator :). As people I'm sure realize, GPS data is really really > noisy, especially when > the signal is weak, etc. > > I've been googling around and it seems like Kalman filters for GPS > would be a good > way of doing curve fitting so that outliers and other nasties would > get smoothed out. > Does anybody know of either this filter, or some other GPS filtering > mechanism that > are either available through the API's, or elsewhere? > > TIA, Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Creating a TabHost with Tabs containing Activities WITHOUT extending TabActivity
Thanks again for your time helping me with this, very much appreciated. The "content" I wish to include in each tab are WebViews, I hadn't really thought about it but I may be able to achieve what I want without using intent-based tab content. Just out of interest, my Activity is getting rather large, is there a way to define a WebView in a different class from the one creating the TabHost and just reference the WebView (from its individual class) when inserting it as content to the tab? Thanks On Dec 9, 12:41 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > mscwd01 wrote: > > Anyone? I'm guessing its possible but I cant find an obvious > > solution... > > Alas, I don't think it is possible, unless you fancy getting your hands > dirty in the Android source code. > > You need the activity that is managing the tabs to be an ActivityGroup > if you want one or more tabs to contain Intent-launched activities. The > only such class is TabActivity. > > Similarly, AFAIK, you need to use MapActivity for your MapView to work. > > Your only hope is to get the Android source code for TabActivity and > MapActivity and attempt to merge them yourself to create > TabbedMapActivity, so you can have an ActivityGroup subclass that > implements both tabbing and mapping behavior. > > Having written a section in Version 1.9 of my book on using Intent-based > tabs in a TabActivity, I confess as to having no real good idea why > anyone would want to use one. The only scenario I can see is if you need > something that can be run independently as an activity *and* appear as a > tab in another activity...but that can be solved just by separating > those smarts out into a separate Java class and reusing the logic in > both spots. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > > Android Training on the Ranch! -- Mar 16-20, > 2009http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is there any API for the Messaging notification settings ?
These are not supported by the sms api (gsm telephony). You can write your own sms client activity where you can implement whatever you want to happen when recieving messages, but there is no api that will you allow you to modify these for the onboard sms client. Mark On Dec 8, 10:38 am, jarkman <[EMAIL PROTECTED]> wrote: > I'm looking for the API for access to the Messaging (SMS/MMS) > notificaiton settings, specifically the ringtone & vibrate settings. > > Analogy with the phone would seem to suggest there should be an API, > but I can't find one. What am I missing ? > > Thanks, > > Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Weird Map Problem (Controlling same map)
Having tried the test you suggested it seems I can go back and forth between my Activity1 map and the inbuilt Google Maps app perfectly fine - no memory worries. However my application, constantly throws up OutOfMemory errors. One thing I have noticed is after Activity1 calls Activity2, Activity1 is never able to load additional tiles. It seems Activity2, even if it is destroyed after pressing the back button and returning to Activity1 always retains some kind of "focus" - If you reopen Activity 2, the map is able to load new tiles. Very strange... On Dec 8, 11:47 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > mscwd01 wrote: > > > Hope I havent confused you ;) > > No, but you have made my head hurt. > > > Oh btw I purchased your "The Busy Coder's Guide to Android > > Development" book - its very helpful ;) > > My head feels better now... ;-) > > > However what i'm asking is, is there a way to kill off Activity2 > > completely when pressing the Back button to return to Activity1 and > > return full control to the first map? > > Well, you already tried the stock answer of using finish(). With your > kill-my-process hack, you're heading down in a direction which, on my > map of Android, is labeled "Here There Be Dragons"... > > > I believe I am making more and > > > more map objects when I launch Activity2 again and again and not > > releasing resources when I finish with it? > > Or they're just not getting garbage collected fast enough or something. > > I have a suggestion. I have no idea how crazy it will be for you to > utilize if it works. > > In Activity1, temporarily replace launching Activity2 with a > startActivity() that launches the built-in Maps application. You should > be able to do this through: > > startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("geo:40,-75"))); > > which will give you a map of the NJ side of the Philadelphia suburbs. > > Now, try bouncing back and forth between your Activity1 and the Maps > application, like you were bouncing between Activity1 and Activity2. > > If things fail as before, I think you may just be screwed, at least in > terms of rapidly flipping between two MapView instances. They may make > too much garbage. > > If, however, this holds up, it may be you can only effectively have one > MapView per *application* if you want to rapidly switch between them. In > that case, your mission (should you choose to accept it) is to split > your project into two separate applications. This would suck mightily, > particularly if you were looking to deploy via a market, but it's > possible it is the best way for you to get two stable MapViews under > your control. > > If it were me, I'd try very very hard to get by with one map, somehow. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Eclipse problem viewing threads on emulator
For posterity, I found the answer. I didn't find any button which was referenced by the error message above, but I was able to locate under Windows->Preferences->Android->DDMS to check the 'Thread Updates Enabled by Default' and then thread data was available (after restarting the emulator). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: java.lang.VerifyError in Android again
On Dec 5, 10:56 am, Claudio Veas <[EMAIL PROTECTED]> wrote: > I was wondering if anybody knows which are the classes/interfaces/ > fields/methods not > supported by Android because Im getting a Verify error and I cannot > identify which is the part of the class that is causing it. The output from "adb logcat" indicates the class that could not be found as well as the class that has the bad reference. The location is identified down to the specific Dalvik instruction. The trick is to look in the logs above the exception. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Debugging in Eclipse.
On Dec 8, 6:43 am, "Brad Gies" <[EMAIL PROTECTED]> wrote: > Last night, I was debugging a new class I implemented, and everything was > fine, but suddenly in one method none of my variables were showing up in the > variables window.. And in the Expressions window the variables show up, but > are marked as "cannot be resolved"..Making debugging TOUGH. Do you have an APK for which this is 100% repeatable? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Creating a TabHost with Tabs containing Activities WITHOUT extending TabActivity
mscwd01 wrote: > Anyone? I'm guessing its possible but I cant find an obvious > solution... Alas, I don't think it is possible, unless you fancy getting your hands dirty in the Android source code. You need the activity that is managing the tabs to be an ActivityGroup if you want one or more tabs to contain Intent-launched activities. The only such class is TabActivity. Similarly, AFAIK, you need to use MapActivity for your MapView to work. Your only hope is to get the Android source code for TabActivity and MapActivity and attempt to merge them yourself to create TabbedMapActivity, so you can have an ActivityGroup subclass that implements both tabbing and mapping behavior. Having written a section in Version 1.9 of my book on using Intent-based tabs in a TabActivity, I confess as to having no real good idea why anyone would want to use one. The only scenario I can see is if you need something that can be run independently as an activity *and* appear as a tab in another activity...but that can be solved just by separating those smarts out into a separate Java class and reusing the logic in both spots. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Hidden Contacts
bklik's question seemed to indicate that he was dumping the contact list programactically via his own activity. I was just wondering if the contacts API was returning all contacts and the activity needed to do the filtering. On Dec 8, 4:48 pm, Eric Mill <[EMAIL PROTECTED]> wrote: > The "Suggested Contacts" category was specifically created in Gmail so > that G1 users wouldn't get swamped with a massive, irrelevant contacts > list. If the G1 is populating any view of contacts from that list, > something is wrong. > > I see this too, specifically when Any Cut populates a view of contacts > for you to create direct call shortcuts to, it includes duplicates of > many contacts, duplicates which don't appear in my regular Contacts > list in the dialer. > > -- Eric > > On Dec 7, 9:50 pm, Paul <[EMAIL PROTECTED]> wrote: > > > Did you check your gmail account under Contacts --> suggested contacts > > to see if the people you're seeing appear there as well? GMail > > creates a hidden contact for everyone you've traded emails with and > > perhaps the hidden people are coming from here? > > > On Dec 6, 4:07 pm, bklik <[EMAIL PROTECTED]> wrote: > > > > Did anyone else find that when you dump all your contacts to a > > > ListView, you see "hidden" contacts that don't show up in your regular > > > contact list under the Dialer? > > > > I found nameless contacts, contacts with names but no numbers. When I > > > returned their email address, I found emails to sale- > > > @craigslist.org, as well as one for a Dana Thompson and a TJ > > > Brown. > > > > These are people I don't know, and never new existed. And oddly > > > enough, the Dana Thompson individual is some CPA in Maryland > > > (see:http://danathompsoncpa.com/Contact_Us.htm). > > > > Now, I got my phone new, in a sealed box, from a just opened box > > > shipped to the T-Mobile store where I picked it up. I'm wondering if > > > they are part of the image used to make the phone? It's very odd. > > > > Here's the code I used to return the contacts: > > > > final Uri data = Uri.parse("content://contacts/people/"); > > > final Cursor c = this.managedQuery(data, null, null, null, > > > null); > > > String[] from = new String[] {People.NUMBER, People.NAME}; > > > int[] to = new int[] {R.id.itemNumber, R.id.itemName}; > > > > SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, > > > R.layout.listitemlayout, c, from, to); > > > ListView lv = (ListView)this.findViewById > > > (R.id.contactListView); > > > lv.setAdapter(adapter); > > > > Anyone else getting weird results? > > > > Brenton --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Weird Map Problem (Controlling same map)
Okay, I think its just a case of not having enough memory, so for now I'll forget switching between two activities where one activity launches a new MapActivity instance. I have created another version of my app which uses one MapView, however that too has some problems ;) Fancy having a look at that issue? http://groups.google.com/group/android-developers/browse_thread/thread/81631e00bd25ee83/bfb7f675eb8faadc?lnk=gst&q=mscwd01#bfb7f675eb8faadc If I can get that solved, I should be fine! Thanks again! On Dec 8, 11:47 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > mscwd01 wrote: > > > Hope I havent confused you ;) > > No, but you have made my head hurt. > > > Oh btw I purchased your "The Busy Coder's Guide to Android > > Development" book - its very helpful ;) > > My head feels better now... ;-) > > > However what i'm asking is, is there a way to kill off Activity2 > > completely when pressing the Back button to return to Activity1 and > > return full control to the first map? > > Well, you already tried the stock answer of using finish(). With your > kill-my-process hack, you're heading down in a direction which, on my > map of Android, is labeled "Here There Be Dragons"... > > > I believe I am making more and > > > more map objects when I launch Activity2 again and again and not > > releasing resources when I finish with it? > > Or they're just not getting garbage collected fast enough or something. > > I have a suggestion. I have no idea how crazy it will be for you to > utilize if it works. > > In Activity1, temporarily replace launching Activity2 with a > startActivity() that launches the built-in Maps application. You should > be able to do this through: > > startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("geo:40,-75"))); > > which will give you a map of the NJ side of the Philadelphia suburbs. > > Now, try bouncing back and forth between your Activity1 and the Maps > application, like you were bouncing between Activity1 and Activity2. > > If things fail as before, I think you may just be screwed, at least in > terms of rapidly flipping between two MapView instances. They may make > too much garbage. > > If, however, this holds up, it may be you can only effectively have one > MapView per *application* if you want to rapidly switch between them. In > that case, your mission (should you choose to accept it) is to split > your project into two separate applications. This would suck mightily, > particularly if you were looking to deploy via a market, but it's > possible it is the best way for you to get two stable MapViews under > your control. > > If it were me, I'd try very very hard to get by with one map, somehow. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Creating a TabHost with Tabs containing Activities WITHOUT extending TabActivity
Anyone? I'm guessing its possible but I cant find an obvious solution... On Dec 8, 5:45 pm, mscwd01 <[EMAIL PROTECTED]> wrote: > I need a way to create a TabHost which has an intent as the tabs > content, e.g: > > TabHost tabs = (TabHost)findViewById(R.id.tabhost); > tabs.setup(); > TabSpec spec1 = tabs.newTabSpec("TabOne"); > spec1.setIndicator("Tab One", this.getResources().getDrawable > (R.drawable.tab_icon)); > spec1.setContent(new Intent(this, MyTabClass.class)); > tabs.addTab(spec1); > > Without extending TabActivity. > > I am currently extending MapActivity, which I cannot change as it is > needed. Therefore, I currently get the following error at runtime, > when the tab is clicked: > java.lang.IllegalStateException: Did you forget to call 'public void > setup(LocalActivityManager activityGroup)'? > > Is there a way to call "setup(LocalActivityManager activityGroup)" > WITHOUT extending TabActivity? > > Please say there is ;) > > 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to prevent one program to be overlaped by another
Sorry, you can not do this. On Mon, Dec 8, 2008 at 9:58 AM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hello. Is there any way of how to prevent e.g. incoming call screen > display during playing some game? Probably, some parameters can be > specified while starting activity which preventing any overlapping? > Thanks. > > > > -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Weird Map Problem (Controlling same map)
mscwd01 wrote: > Hope I havent confused you ;) No, but you have made my head hurt. > Oh btw I purchased your "The Busy Coder's Guide to Android > Development" book - its very helpful ;) My head feels better now... ;-) > However what i'm asking is, is there a way to kill off Activity2 > completely when pressing the Back button to return to Activity1 and > return full control to the first map? Well, you already tried the stock answer of using finish(). With your kill-my-process hack, you're heading down in a direction which, on my map of Android, is labeled "Here There Be Dragons"... > I believe I am making more and > more map objects when I launch Activity2 again and again and not > releasing resources when I finish with it? Or they're just not getting garbage collected fast enough or something. I have a suggestion. I have no idea how crazy it will be for you to utilize if it works. In Activity1, temporarily replace launching Activity2 with a startActivity() that launches the built-in Maps application. You should be able to do this through: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("geo:40,-75"))); which will give you a map of the NJ side of the Philadelphia suburbs. Now, try bouncing back and forth between your Activity1 and the Maps application, like you were bouncing between Activity1 and Activity2. If things fail as before, I think you may just be screwed, at least in terms of rapidly flipping between two MapView instances. They may make too much garbage. If, however, this holds up, it may be you can only effectively have one MapView per *application* if you want to rapidly switch between them. In that case, your mission (should you choose to accept it) is to split your project into two separate applications. This would suck mightily, particularly if you were looking to deploy via a market, but it's possible it is the best way for you to get two stable MapViews under your control. If it were me, I'd try very very hard to get by with one map, somehow. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Weird Map Problem (Controlling same map)
Oh btw I purchased your "The Busy Coder's Guide to Android Development" book - its very helpful ;) On Dec 8, 11:30 pm, mscwd01 <[EMAIL PROTECTED]> wrote: > Okay, one last question ;) > > I've noticed if I have one map in, say, "Activity1" and I call another > activity, "Activity2" which has a map within a tab of a TabHost - If I > press the back button and go from Activity2 to Activity1, the map in > Activity1 doesn't update i.e. load new tiles - only the map in the > TabHost of Activity2 will update from there on. > > Also I have noticed I am getting OutOfMemory errors after I switch > between the Activity1 and Activity2 several times. > > I tried overriding the onKeyDown method in the Activity of the tab in > Activity2 such as: > > @Override > public boolean onKeyDown(int keyCode, KeyEvent event) { > if (keyCode == KeyEvent.KEYCODE_BACK) { > Log.v("DEBUGTAG", "Back button pressed"); > //Process.killProcess(Process.myTid()); > finish(); > return (true); > } > return (super.onKeyDown(keyCode, event)); > > } > > If I just call finish(), I get the problem mentioned above, however if > I call: > Process.killProcess(Process.myTid()); > ... to kill Activity2 (the process holding the TabHost and which > created the tab content activity displaying the second map), the > problem doesnt seem to appear. However I guess this is a nasty hack - > it certainly causes the application to stutter before redisplaying > Activity1 again. > > Theres a lot there to take in I know ;) > However what i'm asking is, is there a way to kill off Activity2 > completely when pressing the Back button to return to Activity1 and > return full control to the first map? I believe I am making more and > more map objects when I launch Activity2 again and again and not > releasing resources when I finish with it? > > Hope I havent confused you ;) > > On Dec 8, 11:11 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > > > mscwd01 wrote: > > > I've had a look at the documentation you suggested, however I think im > > > misunderstanding how you launch a new activity in a seperate process. > > > Is there a demo which illustrates this? > > > U...none I'm aware of. The ApiDemos in the SDK show separate > > processes, but for services, not activities. > > > -- > > Mark Murphy (a Commons Guy)http://commonsware.com > > _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Weird Map Problem (Controlling same map)
Okay, one last question ;) I've noticed if I have one map in, say, "Activity1" and I call another activity, "Activity2" which has a map within a tab of a TabHost - If I press the back button and go from Activity2 to Activity1, the map in Activity1 doesn't update i.e. load new tiles - only the map in the TabHost of Activity2 will update from there on. Also I have noticed I am getting OutOfMemory errors after I switch between the Activity1 and Activity2 several times. I tried overriding the onKeyDown method in the Activity of the tab in Activity2 such as: @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { Log.v("DEBUGTAG", "Back button pressed"); //Process.killProcess(Process.myTid()); finish(); return (true); } return (super.onKeyDown(keyCode, event)); } If I just call finish(), I get the problem mentioned above, however if I call: Process.killProcess(Process.myTid()); ... to kill Activity2 (the process holding the TabHost and which created the tab content activity displaying the second map), the problem doesnt seem to appear. However I guess this is a nasty hack - it certainly causes the application to stutter before redisplaying Activity1 again. Theres a lot there to take in I know ;) However what i'm asking is, is there a way to kill off Activity2 completely when pressing the Back button to return to Activity1 and return full control to the first map? I believe I am making more and more map objects when I launch Activity2 again and again and not releasing resources when I finish with it? Hope I havent confused you ;) On Dec 8, 11:11 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > mscwd01 wrote: > > I've had a look at the documentation you suggested, however I think im > > misunderstanding how you launch a new activity in a seperate process. > > Is there a demo which illustrates this? > > U...none I'm aware of. The ApiDemos in the SDK show separate > processes, but for services, not activities. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ListView + SimpleCursorAdapter => NullPointerException
Chronos wrote: I am trying to access the contact list and display it in a CUSTOM > ListView (ListActivity is not an option). Unfortunately the activity > fails with a NullPointerException :( This may be a simple issue - have > I overlooked something ? Help appreciated ... (I have tried the code > with a ListActivity and got valid results - therefore I assume, the > Cursor instantiation is correct) > @Override > public void onCreate(Bundle savedInstanceState) > { > super.onCreate(savedInstanceState); > setContentView(R.layout.mainmenu); Here you load res/layout/mainmenu.xml. > recommendationList = (ListView) findViewById > (R.id.recommendationList); Here you try to find recommendationList in res/layout/mainmenu.xml. > Recommendation.xml: Here you say the layout you're aiming for is res/layout/Recommendation.xml. > http://schemas.android.com/apk/res/android"; > android:id="@+id/recommendationList" > android:layout_width="fill_parent" > android:layout_height="fill_parent"/> > Here is a recommendationList in res/layout/Recommendation.xml. If all those are correct, then you may be loading the wrong layout, which would make your recommendationList variable null after the findViewById() call. Also, I recommend all resources (layouts, etc.) be named in all lowercase, since on some platforms you can have a Recommendation.xml and a recommendation.xml, but Android ignores case in the R.java generation, which may cause confusion. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Weird Map Problem (Controlling same map)
mscwd01 wrote: > I've had a look at the documentation you suggested, however I think im > misunderstanding how you launch a new activity in a seperate process. > Is there a demo which illustrates this? U...none I'm aware of. The ApiDemos in the SDK show separate processes, but for services, not activities. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1™
To your second question, the frequencies supported are listed in the device's specs. Specifically, it is quad-band GSM, so you should get EDGE speeds anywhere in the world with GSM and EDGE. It supports UMTS on 1700Mhz and 2100Mhz frequencies (bands I and IV). AT&T operates their 3G network on bands II and V. Cheers, Justin Android Team @ Google On Dec 8, 2:57 pm, szeldon <[EMAIL PROTECTED]> wrote: > I know just an answer for the first question: > > http://groups.google.com/group/android-developers/browse_thread/threa... > > On Dec 8, 8:49 pm, Pastymage <[EMAIL PROTECTED]> wrote: > > > Does anyone have a more detailed FAQ than the text > > onhttp://android.brightstarcorp.com/? My main concern is that GPS is > > not listed anywhere in the hardware features - does it actually > > support GPS, or not? > > > Aside from that, I'm unclear on how the 3G bands work - what would > > the actual bandwidth of this device be on AT&T, for example? > > > -Dave > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to prevent one program to be overlaped by another
I certainly hope not. I don't want third-party applications interfering with my ability to receive a phone call. The correct response would be for the game to pause or suspend. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1™
I know just an answer for the first question: http://groups.google.com/group/android-developers/browse_thread/thread/dffc1eeca2b8c358/a6942cdaff5d8651#a6942cdaff5d8651 On Dec 8, 8:49 pm, Pastymage <[EMAIL PROTECTED]> wrote: > Does anyone have a more detailed FAQ than the text > onhttp://android.brightstarcorp.com/? My main concern is that GPS is > not listed anywhere in the hardware features - does it actually > support GPS, or not? > > Aside from that, I'm unclear on how the 3G bands work - what would > the actual bandwidth of this device be on AT&T, for example? > > -Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Developer Phone... Upgrade?
I've had my phone slightly too long to return to T-Mobile, 14 days is the cut off I belive, but perhaps you are still within your return window? In any case I'm sure there's a fair group of us that would love a path from our T-Moble G-1 to the Development platform and are perfectly willing to give up any support/warantee from T-Mobile in the process. -Jon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How does a Cursor work?
Hi, when a database query retrieves a Cursor, what does it have in fact? I mean, does it have the whole result set in memory or keep a kind of "pointer" to each result row, and when I do cursor.moveToNext() it points to the next row? Or anything else? I need to deal with a long list of data, and I really wanna know how efficient is a Cursor retrieved from a database query. Thanks, Taísa --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Wifi Ip Address
Hello again, Another question: How could I simulate whit the emulator a connection with a configured local wifi netwok in which my localhost is in? Is that possible or I must get the real device? Thaks very much On 3 dic, 14:57, "Marcio Alexandroni" <[EMAIL PROTECTED]> wrote: > Would it be: > > WiFiManager wifi = (WifiManager) getSystemService(WIFI_SERVICE); > DhcpInfo info = wifi.getDhcpInfo(); > > DhcpInfo has all the WiFi configurations. Of course you have to add the > permissions below to the manifest. I'm not sure you need both but it worked > with those. > > android:name="android.permission.ACCESS_NETWORK_STATE"> > android:name="android.permission.ACCESS_WIFI_STATE"> > > Marcio Alexandroniwww.cialogica.com > w Tel. 55 11 3717-2345 > Cel. 55 11 9989-8316 > [EMAIL PROTECTED] > marcioalexandroni > > > > -Original Message- > From: android-developers@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of Andrea > Sent: Monday, December 01, 2008 19:43 > To: Android Developers > Subject: [android-developers] Re: Wifi Ip Address > > Xavier: I don't want to change the ip. I want only to know the ip that > is assigned to the NIC of the phone. > Ed: Sure, but showipaddress.com shows only the ip with which you go > out on the Internet: for example you could be connected to Internet > behind NAT. > > I try to explain better my problem: > I'm developing on the emulator because I'm in italy and here there > aren't devices. My app creates a server listening on a port for > incoming connections. On the emulator the address used to bind the > socket is "10.0.2.15", if I want to connect to that server, say from > another host, i have to: > 1) make a redirection on the local interface of the host that runs the > emulator (so 127.0.0.1: forwards to 10.0.2.15:) > 2) redirect my NIC interface to the local interface (say > 192.168.2.1: forwards to 127.0.0.1:) with a datapipe tool > 3) connect from a client to 192.168.2.1: > 4) start communicating. > > Now, in a real device how is this achieved? How many interfaces the > device has? I think it has 10.0.2.15, 127.0.0.1 and the ip address > assigned to the phone by a wifi network. Am I wrong? > > Thanks- Ocultar texto de la cita - > > - Mostrar texto de la cita - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android Dev Phone 1™
Does anyone have a more detailed FAQ than the text on http://android.brightstarcorp.com/? My main concern is that GPS is not listed anywhere in the hardware features - does it actually support GPS, or not? Aside from that, I'm unclear on how the 3G bands work - what would the actual bandwidth of this device be on AT&T, for example? -Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Wifi Ip Address
Hello, I think your discussion is very interesting.I would like to know how I can get all the ip adresses or hostnames from all the hosts connected to a wifi network programmatically It could very useful if you want to establish a connection with a server into the same network. Thanks On 3 dic, 14:57, "Marcio Alexandroni" <[EMAIL PROTECTED]> wrote: > Would it be: > > WiFiManager wifi = (WifiManager) getSystemService(WIFI_SERVICE); > DhcpInfo info = wifi.getDhcpInfo(); > > DhcpInfo has all the WiFi configurations. Of course you have to add the > permissions below to the manifest. I'm not sure you need both but it worked > with those. > > android:name="android.permission.ACCESS_NETWORK_STATE"> > android:name="android.permission.ACCESS_WIFI_STATE"> > > Marcio Alexandroniwww.cialogica.com > w Tel. 55 11 3717-2345 > Cel. 55 11 9989-8316 > [EMAIL PROTECTED] > marcioalexandroni > > > > -Original Message- > From: android-developers@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of Andrea > Sent: Monday, December 01, 2008 19:43 > To: Android Developers > Subject: [android-developers] Re: Wifi Ip Address > > Xavier: I don't want to change the ip. I want only to know the ip that > is assigned to the NIC of the phone. > Ed: Sure, but showipaddress.com shows only the ip with which you go > out on the Internet: for example you could be connected to Internet > behind NAT. > > I try to explain better my problem: > I'm developing on the emulator because I'm in italy and here there > aren't devices. My app creates a server listening on a port for > incoming connections. On the emulator the address used to bind the > socket is "10.0.2.15", if I want to connect to that server, say from > another host, i have to: > 1) make a redirection on the local interface of the host that runs the > emulator (so 127.0.0.1: forwards to 10.0.2.15:) > 2) redirect my NIC interface to the local interface (say > 192.168.2.1: forwards to 127.0.0.1:) with a datapipe tool > 3) connect from a client to 192.168.2.1: > 4) start communicating. > > Now, in a real device how is this achieved? How many interfaces the > device has? I think it has 10.0.2.15, 127.0.0.1 and the ip address > assigned to the phone by a wifi network. Am I wrong? > > Thanks- Ocultar texto de la cita - > > - Mostrar texto de la cita - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone - shipping to Canada?
I too tried to order phone and got that completely ridiculous shipping charge of $264 which absolutely no one can justify. I buy phones off of Cellular Blowout and get them shipped to Canada via USPS the most I have been charged is $40 shipping and then I pay GST and duty here. Maybe $50 tops. Its telling me it will only ship UPS and they charge these outrageous brokerage fees to Canadians. The minute I saw it was UPS I canceled my order. Total rip-off and they want us to develop for these phones. On Dec 8, 5:30 am, J Dietrich <[EMAIL PROTECTED]> wrote: > So, I signed up for the Market, and then suffered a severe bout of Jaw > Drop when I saw that it was going to cost $264.19 to ship to Canada. I > quickly retreated from purchasing what had been looking like one hell > of an x-mas present for myself. > > According to the Help/FAQ, the fee includes "applicable customs, > duties, import and country specific other fees". As anyone in Canada > ordering from the US knows, duties and taxes are levied somewhat > arbitrarily - it's not uncommon to receive something with no > additional taxes levied, despite accurate declared value that > technically warrants it. Even when they are levied, they are charged > through to the party receiving the shipment, and it's hard to see how > they could ever come in so high as to approach this up-front cost - > higher than *every* other country on the list. > > Phone: 399.00 USD = 499.63 CADShipping: 264.19 USD = 331.19 CAD (66% of the > cost of the device!) > Total: 830.82 CAD :( > > No regrets about joining the Market, as I am going to develop on this > platform in any case. I'm just disappointed that I won't be dabbling > with real hardware over the holidays, and I know other developers here > who are in the same boat - all willing to lay out the price of the > phone, but not about to pay 66% on top forshipping. > > Can someone please take a stab at breaking down or otherwise > rationalizing this number, helping me (and other Canucks scratching > their heads and/or already being preyed upon by eBay sellers) to > understand this? For $18.99, I could have this next-day shipped to a > location in NY state a mere 5km away. Why are these heavy additional > charges rolled into theshippingcost, and why are the extra charges > for Canada so high relative to all other countries? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to prevent one program to be overlaped by another
Hello. Is there any way of how to prevent e.g. incoming call screen display during playing some game? Probably, some parameters can be specified while starting activity which preventing any overlapping? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How can I send CJK text via SMS on G1
Yes. It's very interesting for me too. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Text Messages
Hi there. Unfortunately there aren't any functions once a text message has been received. For example, could you create the following: Use detail: you can select either phone number, email address or web address from the message sent to you Forward Edit Get Message details If you are sent a picture, then save that to the pictures directory. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] developer needed to write a theme application
Greetings, Android Insider is looking for a developer to create a theme application that switches between custom themes for Android OS. We need you to figure out current possibilities and ways of "skinning" Android OS. Unlike others, this is a paid job, and PAY IS GOOD. Please reply to this thread or email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Hidden Contacts
The "Suggested Contacts" category was specifically created in Gmail so that G1 users wouldn't get swamped with a massive, irrelevant contacts list. If the G1 is populating any view of contacts from that list, something is wrong. I see this too, specifically when Any Cut populates a view of contacts for you to create direct call shortcuts to, it includes duplicates of many contacts, duplicates which don't appear in my regular Contacts list in the dialer. -- Eric On Dec 7, 9:50 pm, Paul <[EMAIL PROTECTED]> wrote: > Did you check your gmail account under Contacts --> suggested contacts > to see if the people you're seeing appear there as well? GMail > creates a hidden contact for everyone you've traded emails with and > perhaps the hidden people are coming from here? > > On Dec 6, 4:07 pm, bklik <[EMAIL PROTECTED]> wrote: > > > Did anyone else find that when you dump all your contacts to a > > ListView, you see "hidden" contacts that don't show up in your regular > > contact list under the Dialer? > > > I found nameless contacts, contacts with names but no numbers. When I > > returned their email address, I found emails to sale- > > @craigslist.org, as well as one for a Dana Thompson and a TJ > > Brown. > > > These are people I don't know, and never new existed. And oddly > > enough, the Dana Thompson individual is some CPA in Maryland > > (see:http://danathompsoncpa.com/Contact_Us.htm). > > > Now, I got my phone new, in a sealed box, from a just opened box > > shipped to the T-Mobile store where I picked it up. I'm wondering if > > they are part of the image used to make the phone? It's very odd. > > > Here's the code I used to return the contacts: > > > final Uri data = Uri.parse("content://contacts/people/"); > > final Cursor c = this.managedQuery(data, null, null, null, > > null); > > String[] from = new String[] {People.NUMBER, People.NAME}; > > int[] to = new int[] {R.id.itemNumber, R.id.itemName}; > > > SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, > > R.layout.listitemlayout, c, from, to); > > ListView lv = (ListView)this.findViewById > > (R.id.contactListView); > > lv.setAdapter(adapter); > > > Anyone else getting weird results? > > > Brenton --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Out Of Memory issue
I've run into similar problems when rendering or successively rendering large bitmaps, can't tell if this is a specific bug, or just a limitation of the jvm. I haven't yet found a way to mitigate the problem. Mark On Dec 8, 12:47 pm, elephantbug <[EMAIL PROTECTED]> wrote: > Hi, > > Our application sometimes runs out of memory, especially on the map > view. Below it the exception we got, anyone can give any hint about > what might be the cause? Is there any known issue about MapView? > > W/System.err( 193): OutOfMemory > E/MapView ( 193): IllegalStateException on drawMap. Wiping cache. > E/MapView ( 193): java.lang.IllegalStateException: null image > E/MapView ( 193): at com.google.googlenav.map.MapTile.getImage > (Unknown Source) > E/MapView ( 193): at com.google.googlenav.map.Map.a(Unknown > Source) > E/MapView ( 193): at com.google.googlenav.map.Map.drawMap > (Unknown Source) > E/MapView ( 193): at com.google.android.maps.MapView.drawMap > (MapView.java:996) > E/MapView ( 193): at com.google.android.maps.MapView.onDraw > (MapView.java:442) > E/MapView ( 193): at android.view.View.draw(View.java:5326) > E/MapView ( 193): at android.view.ViewGroup.drawChild > (ViewGroup.java:1420) > E/MapView ( 193): at android.view.ViewGroup.dispatchDraw > (ViewGroup.java:1192) > E/MapView ( 193): at android.view.ViewGroup.drawChild > (ViewGroup.java:1418) > E/MapView ( 193): at android.view.ViewGroup.dispatchDraw > (ViewGroup.java:1192) > E/MapView ( 193): at android.view.ViewGroup.drawChild > (ViewGroup.java:1418) > E/MapView ( 193): at android.view.ViewGroup.dispatchDraw > (ViewGroup.java:1192) > E/MapView ( 193): at android.view.ViewGroup.drawChild > (ViewGroup.java:1418) > E/MapView ( 193): at android.view.ViewGroup.dispatchDraw > (ViewGroup.java:1192) > E/MapView ( 193): at android.view.ViewGroup.drawChild > (ViewGroup.java:1418) > E/MapView ( 193): at android.view.ViewGroup.dispatchDraw > (ViewGroup.java:1192) > E/MapView ( 193): at android.view.View.draw(View.java:5329) > E/MapView ( 193): at android.widget.FrameLayout.draw > (FrameLayout.java:324) > E/MapView ( 193): at com.android.internal.policy.impl.PhoneWindow > $DecorView.draw(PhoneWindow.java:1701) > E/MapView ( 193): at android.view.ViewRoot.draw(ViewRoot.java: > 980) > E/MapView ( 193): at android.view.ViewRoot.performTraversals > (ViewRoot.java:829) > E/MapView ( 193): at android.view.ViewRoot.handleMessage > (ViewRoot.java:1103) > E/MapView ( 193): at android.os.Handler.dispatchMessage > (Handler.java:88) > E/MapView ( 193): at android.os.Looper.loop(Looper.java:123) > E/MapView ( 193): at android.app.ActivityThread.main > (ActivityThread.java:3742) > E/MapView ( 193): at java.lang.reflect.Method.invokeNative > (Native Method) > E/MapView ( 193): at java.lang.reflect.Method.invoke(Method.java: > 515) > E/MapView ( 193): at com.android.internal.os.ZygoteInit > $MethodAndArgsCaller.run(ZygoteInit.java:739) > E/MapView ( 193): at com.android.internal.os.ZygoteInit.main > (ZygoteInit.java:497) > E/MapView ( 193): at dalvik.system.NativeStart.main(Native > Method) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Weird Map Problem (Controlling same map)
I've had a look at the documentation you suggested, however I think im misunderstanding how you launch a new activity in a seperate process. Is there a demo which illustrates this? On Dec 8, 12:36 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > mscwd01 wrote: > > If only one MapActivity is allowed "per process" - I take it that > > means per application??? > > By default, yes, though it does not have to be that way: > > http://code.google.com/android/intro/appmodel.html > > > How does one properly use 2 or more maps > > per application? > > If the quoted bit of documentation is correct, you may be able to use > android:process in your manifest to force your secondary activity to run > in another process. See the Processes section in the page linked to above. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > > Android Training on the Ranch! -- Mar 16-20, > 2009http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 and PS3 question
I'm doing this right now with Music Player Daemon (http:// www.musicpd.org/) and an application I wrote for Android to control the player (currently unreleased). It works great but my music is stored on the server, not on the G1. If you want to keep your music on the G1, you'd need a player that streamed to the internet, and I suspect that it'd drain your battery fast. As far as I know, there is no such player yet available - but one could be written. - michael --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
Here are some specs on the G1 --> http://www.htc.com/www/product/g1/specification.html Of interest is the networking section. HSPA/WCDMA and Quad-band GSM/GPRS/EDGE are supported. Keep in mind WCDMA is a lot different than the standard CDMA. Its often called UMTS and the only major telecoms in the USA that support it are T-mobile and At&t. On Mon, Dec 8, 2008 at 2:05 PM, don rhummy <[EMAIL PROTECTED]> wrote: > > Thanks for the reply. > > Sorry to be a pest about this but no where in the Google press release did > i see anything saying it's only GSM. Where was that specified? > > > --- On Mon, 12/8/08, Josh Roesslein <[EMAIL PROTECTED]> wrote: > > > From: Josh Roesslein <[EMAIL PROTECTED]> > > Subject: [android-developers] Re: New SDK Available > > To: android-developers@googlegroups.com > > Date: Monday, December 8, 2008, 2:43 PM > > Sprint uses cdma in most of its coverage areas. Since the g1 > > is a GSM phone > > it probably will not work. > > > > On Mon, Dec 8, 2008 at 1:38 PM, don rhummy > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > Well any phone works with sprint you will just > > have to pay > > > > more if it > > > > is not a sprint phone. > > > > > > Wait, I thought the phone didn't work with Sprint. > > Does it? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Market HTTP Links?
mathiastck, Awesome! I completely missed that... This completes my app, now lets just hope the rigorous "in emulator" testing was enough for the real device. Thanks again, Kevin On Dec 8, 2:37 pm, mathiastck <[EMAIL PROTECTED]> wrote: > Yes you can: > > http://code.google.com/android/devel/sign-publish.html > > The "Using Intents to Launch the Market Application on a Device" > section describes the url pattern. It also works if these urls are > used on links on pages viewed from and Android phone. They don't work > if you just type them directly into the browser, they have to be > links, to generate the right intent. > > On Dec 7, 9:27 pm, cyntacks <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Is it possible to "link" from a webpage to the Android Market? That > > is, can I place a link on our company website which if clicked from an > > Android mobile device it would auto"magically" open the Android > > Market, bringing the user to that particular app? > > > Thanks for the help, > > > Kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Out Of Memory issue
Hi, Our application sometimes runs out of memory, especially on the map view. Below it the exception we got, anyone can give any hint about what might be the cause? Is there any known issue about MapView? W/System.err( 193): OutOfMemory E/MapView ( 193): IllegalStateException on drawMap. Wiping cache. E/MapView ( 193): java.lang.IllegalStateException: null image E/MapView ( 193): at com.google.googlenav.map.MapTile.getImage (Unknown Source) E/MapView ( 193): at com.google.googlenav.map.Map.a(Unknown Source) E/MapView ( 193): at com.google.googlenav.map.Map.drawMap (Unknown Source) E/MapView ( 193): at com.google.android.maps.MapView.drawMap (MapView.java:996) E/MapView ( 193): at com.google.android.maps.MapView.onDraw (MapView.java:442) E/MapView ( 193): at android.view.View.draw(View.java:5326) E/MapView ( 193): at android.view.ViewGroup.drawChild (ViewGroup.java:1420) E/MapView ( 193): at android.view.ViewGroup.dispatchDraw (ViewGroup.java:1192) E/MapView ( 193): at android.view.ViewGroup.drawChild (ViewGroup.java:1418) E/MapView ( 193): at android.view.ViewGroup.dispatchDraw (ViewGroup.java:1192) E/MapView ( 193): at android.view.ViewGroup.drawChild (ViewGroup.java:1418) E/MapView ( 193): at android.view.ViewGroup.dispatchDraw (ViewGroup.java:1192) E/MapView ( 193): at android.view.ViewGroup.drawChild (ViewGroup.java:1418) E/MapView ( 193): at android.view.ViewGroup.dispatchDraw (ViewGroup.java:1192) E/MapView ( 193): at android.view.ViewGroup.drawChild (ViewGroup.java:1418) E/MapView ( 193): at android.view.ViewGroup.dispatchDraw (ViewGroup.java:1192) E/MapView ( 193): at android.view.View.draw(View.java:5329) E/MapView ( 193): at android.widget.FrameLayout.draw (FrameLayout.java:324) E/MapView ( 193): at com.android.internal.policy.impl.PhoneWindow $DecorView.draw(PhoneWindow.java:1701) E/MapView ( 193): at android.view.ViewRoot.draw(ViewRoot.java: 980) E/MapView ( 193): at android.view.ViewRoot.performTraversals (ViewRoot.java:829) E/MapView ( 193): at android.view.ViewRoot.handleMessage (ViewRoot.java:1103) E/MapView ( 193): at android.os.Handler.dispatchMessage (Handler.java:88) E/MapView ( 193): at android.os.Looper.loop(Looper.java:123) E/MapView ( 193): at android.app.ActivityThread.main (ActivityThread.java:3742) E/MapView ( 193): at java.lang.reflect.Method.invokeNative (Native Method) E/MapView ( 193): at java.lang.reflect.Method.invoke(Method.java: 515) E/MapView ( 193): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:739) E/MapView ( 193): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:497) E/MapView ( 193): at dalvik.system.NativeStart.main(Native Method) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Resources for Android Wifi Programming
Ok, thanks for your help. Is it possible to compile/run code from the Eclipse plugin so that the application runs directly on the device via the USB cable? Or do I need to create the file, then navigate to it separately from the phone? On Dec 7, 11:23 am, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote: > -The emulator doesn't emulatorwifi, you'll have to use a real device for that. > > -In the current version of Android, you'll find that thewifisupport > is mostly suitable for infrastructure-based connections (i.e. > communicating through an access point), not for ad-hoc connections. > You can just blindly establish network connections, and they'll be > routed overwifiif that's available, or you can use the > ConnectivityManagerhttp://code.google.com/android/reference/android/net/ConnectivityMana... > if you want some finer-grained controls over whenwifiis available. > > JBQ > > On Sat, Dec 6, 2008 at 4:15 PM, Doughy <[EMAIL PROTECTED]> wrote: > > > Does anyone know where I can get some tutorials on developingwifi > > applications for android? I have some great ideas, but I am > > struggling to find some good introductions to using thewifi > > capabilities in Android. Furthermore, is it possible to debugwifi > > applications in the emulator. My emulator is crashing every time I > > try to run something simple. For example, the application crashes > > when I use: > > > TextView rssLabel = (TextView)findViewById(R.id.rssLabel); > > WifiManager wm = (WifiManager)getSystemService(Context.WIFI_SERVICE); > > WifiInfo wfinfo = wm.getConnectionInfo(); > > > Thanks for your 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Rotate MapView
"Bump" can anyone provide insight here? Did the MapView onDraw() API change to "final" at some point? If the recommended method to rotate a MapView is canvas.rotate() how can that be achieved if not via onDraw()? Personally I'd prefer to see the MapView API extended to support "setBearing()" or something similar, but nothing like that exists. On Dec 7, 11:23 am, David C <[EMAIL PROTECTED]> wrote: > A few threads have discussed using canvas.rotate() as a means to > rotate a MapView. However, onDraw() is declared "final" for MapView > and so can't be over-ridden. Is there an alternative way to manipulate > the MapView canvas than from onDraw()? > > Thanks, > David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Show images from internal and external content
Hi, I am going crazy to show a few images from Media.INTERNAL_CONTENT_URI or Media.EXTERNAL_CONTENT_URI. I need to show a few images from Internal or External memory, using an Activity similar to ImageSwitcher1.java from ApiDemo. I know if the image is on Internal or External memory and I know also the image name. I modified the getView function of ImageSwitcher1.java so: public View getView(int position, View convertView, ViewGroup parent) { ImageView i = new ImageView(mContext); try{ cur.moveToPosition(position); Uri ur=null; if (cur.getInt(7)==1) ur = Media.INTERNAL_CONTENT_URI; else ur = Media.EXTERNAL_CONTENT_URI; Uri uri=Uri.withAppendedPath(ur, cur.getString(5)); i.setImageURI(uri); i.setAdjustViewBounds(true); i.setLayoutParams(new Gallery.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); i.setBackgroundResource(R.drawable.picture_frame); } catch(Exception ex){ } return i; } The problem is that is showed correctly only the first image, then crash. Where can I find a sample that show images from internal and external content ? help please. thanks Stefano --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] AIDL callback interface from Service to Activity oddity
I have 2 activities (call them 1 and 2), Activity 1 includes a Service. If the Service tries to make an AIDL call to Activity 1, the call works fine. If, however, the Service tries the same AIDL call to Activity 2 (the remote activity), it never arrives for processing at the remote activity. No RemoteException is triggered during the call from the Service, either. Is there anything magic I must do to make an AIDL interface work from a Service to a remote Activity? It bears mention that the remote Activity is easily making calls by a separate AIDL interface to the Service. tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: MediaPlayer and onSaveInstanceState?
bump --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: When will we get a "Firm" Date on app sales
I am having trouble making out a development roadmap for my applications in the Android Market without any ideas as to when I will be able to sell them. I realize that the apps now available must remain free, but my decisions on feature sets and possible updates are dependent on how long the wait is until I can recoup some money. I have heard "early next year". Is that the best estimate? If there is no date envisioned, is there a recommendation as to where else to go to sell Android apps? thanks, JJL _ Send e-mail faster without improving your typing skills. http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Problem debugging the application -MediaPlayer
I'm not a Java developer, but this seems like a problem in your manifest. On Dec 6, 1:37 pm, sam <[EMAIL PROTECTED]> wrote: > I'm on the 1.0 SDK and I'm having the exact same problem... I spent a > few hours on the forums & googling, but the only suggestion I can find > is to make sure you call setContentView(...) before you call > findViewById. I can't seem to get past this -- I can't lookup any of > my views from onCreate. Posting relevant portion of main activity -- > am I doing anything stupid/wrong here? > > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > > Button btn = (Button)this.findViewById(R.id.btn_about); /* > RuntimeException here */ > if(btn != null) > { > return; /* set a breakpoint here*/ > } > } > > Thanks > > Sam > > On Nov 19, 11:23 am, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > Start by downloading the current SDK 1.0. Then take a look at the > > sample code posted on this forum. > > > On Nov 19, 12:29 am, Dagger <[EMAIL PROTECTED]> wrote: > > > > Some one help I am using 0.9 SDK > > > > On Nov 19, 12:58 pm, Dagger <[EMAIL PROTECTED]> wrote: > > > > > I am having the same problem but I am only implementing the Activity > > > > Class which is included in the package by default. > > > > THis is the partial code. > > > > > public class ActiveOctave extends Activity implements OnErrorListener, > > > > OnBufferingUpdateListener, OnCompletionListener, > > > > OnPreparedListener, SurfaceHolder.Callback { > > > > > private static final String TAG = "VideoPlayer"; > > > > private MediaPlayer mp; > > > > private SurfaceView mPreview; > > > > private EditText mPath; > > > > private SurfaceHolder holder; > > > > private ImageButton mPlay; > > > > private ImageButton mPause; > > > > private ImageButton mReset; > > > > private ImageButton mStop; > > > > private String current; > > > > /** > > > > * Called when the activity is first created. > > > > */ > > > > public void onCreate(Bundle savedInstanceState) { > > > > super.onCreate(savedInstanceState); > > > > > setContentView(R.layout.main); > > > > // Set up the play/pause/reset/stop buttons > > > > mPreview = (SurfaceView) findViewById(R.id.surface); > > > > mPath = (EditText) findViewById(R.id.path); > > > > mPlay = (ImageButton) findViewById(R.id.play); > > > > mPause = (ImageButton) findViewById(R.id.pause); > > > > mReset = (ImageButton) findViewById(R.id.reset); > > > > mStop = (ImageButton) findViewById(R.id.stop); > > > > > This is my Debug Stack. > > > > Thread [<3> main] (Suspended (exception RuntimeException)) > > > > ActivityThread.performLaunchActivity(ActivityThread > > > > $ActivityRecord) > > > > line: 2131 > > > > ActivityThread.handleLaunchActivity(ActivityThread > > > > $ActivityRecord) > > > > line: 2147 > > > > ActivityThread.access$1800(ActivityThread, ActivityThread > > > > $ActivityRecord) line: 112 > > > > ActivityThread$H.handleMessage(Message) line: 1572 > > > > ActivityThread$H(Handler).dispatchMessage(Message) line: 88 > > > > Looper.loop() line: 123 > > > > ActivityThread.main(String[]) line: 3708 > > > > Method.invokeNative(Object, Object[], Class, Class[], Class, > > > > int, > > > > boolean) line: not available [native method] > > > > Method.invoke(Object, Object...) line: 492 > > > > ZygoteInit$MethodAndArgsCaller.run() line: 734 > > > > ZygoteInit.main(String[]) line: 492 > > > > NativeStart.main(String[]) line: not available [native method] > > > > > Please help what to Do. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
Thanks for the reply. Sorry to be a pest about this but no where in the Google press release did i see anything saying it's only GSM. Where was that specified? --- On Mon, 12/8/08, Josh Roesslein <[EMAIL PROTECTED]> wrote: > From: Josh Roesslein <[EMAIL PROTECTED]> > Subject: [android-developers] Re: New SDK Available > To: android-developers@googlegroups.com > Date: Monday, December 8, 2008, 2:43 PM > Sprint uses cdma in most of its coverage areas. Since the g1 > is a GSM phone > it probably will not work. > > On Mon, Dec 8, 2008 at 1:38 PM, don rhummy > <[EMAIL PROTECTED]> wrote: > > > > > > Well any phone works with sprint you will just > have to pay > > > more if it > > > is not a sprint phone. > > > > Wait, I thought the phone didn't work with Sprint. > Does it? > > > > > > > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Activity finishOnBackground attribute
Hi all, I want to do the following for a notification type activity that should be removed/closed from the system either via a button in the activity, or the user leaving with back or home: from - http://code.google.com/android/intro/appmodel.html Another approach you can take is to set the notification activity's task affinity to the empty string "" (indicating no affinity) and setting the finishOnBackground attribute. ... By specifying this attribute, the activity will be finished whether the user leaves it with BACK or HOME; if the attribute isn't specified, pressing HOME will result in the activity and its task remaining in the system, possibly with no way to return to it. However, I don't see any other references in the docs to finishOnBackground - the link on that page takes me to finishOnTaskLaunch instead. Any ideas? Thanks, Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1 + Shipping to Germany
> did anyone who ordered the dev phone receive a upstrackingnumber? Not yet, but that is supposedly to come later (http:// android.brightstarcorp.com/help.php): > How can I track my order? > Once your order ships, you will receive an email with your shipment tracking > information. > With the information provided you will be able to track the status of your > shipment via > the shipping carrier's web site. On Dec 8, 5:05 pm, walterc <[EMAIL PROTECTED]> wrote: > just curious: did anyone who ordered the dev phone receive a > upstrackingnumber? is there anyway to know the progress of our orders? > all i received was a email telling me my order was placed and an order > number which i dont really know what to do with (its not a > upstrackingnumber). any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
Sprint uses cdma in most of its coverage areas. Since the g1 is a GSM phone it probably will not work. On Mon, Dec 8, 2008 at 1:38 PM, don rhummy <[EMAIL PROTECTED]> wrote: > > > Well any phone works with sprint you will just have to pay > > more if it > > is not a sprint phone. > > Wait, I thought the phone didn't work with Sprint. Does it? > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
Well anyone can use the tmobile network i have it on my psp slim. On 12/08/2008, Michael <[EMAIL PROTECTED]> wrote: > > Except the phones that don't support the networks they use. I.e. the > T-Mobile G1. > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
> Well any phone works with sprint you will just have to pay > more if it > is not a sprint phone. Wait, I thought the phone didn't work with Sprint. Does it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Market HTTP Links?
Yes you can: http://code.google.com/android/devel/sign-publish.html The "Using Intents to Launch the Market Application on a Device" section describes the url pattern. It also works if these urls are used on links on pages viewed from and Android phone. They don't work if you just type them directly into the browser, they have to be links, to generate the right intent. On Dec 7, 9:27 pm, cyntacks <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to "link" from a webpage to the Android Market? That > is, can I place a link on our company website which if clicked from an > Android mobile device it would auto"magically" open the Android > Market, bringing the user to that particular app? > > Thanks for the help, > > Kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
Except the phones that don't support the networks they use. I.e. the T-Mobile G1. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Problem configuring build path
Hi. I am trying to call one android application from another. Both these applications are working fine independently. The commands I have given are: Intent intent = new Intent(); intent.setClassName(android.sip.simpleclient, android.sip.simpleclient.SIPclient.class); startActivity(intent); But I am getting the error message stating that "android.sip.simpleclient can't be resolved". I tried the "Fix project setup" option but it gave the message "No proposals were found". So, then I tried to manually configure the build path of the project. But even after adding the target project folder into the "Required projects on the build path", the package needed is not being resolved. Please give me some advice regarding this. What am I missing? Thanks and Regards. Aniruddha. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
Well any phone works with sprint you will just have to pay more if it is not a sprint phone. On 12/08/2008, Josh Roesslein <[EMAIL PROTECTED]> wrote: > Adding an one app mandatory submission requirement will only result in a > surge of untested, low quality apps flooding the app store. > I'm sure there will be enough dev phones to go around. If not then its the > good old first come first served. :) > > On Mon, Dec 8, 2008 at 9:58 AM, Al Sutton <[EMAIL PROTECTED]> wrote: > >> >> Egg meet chicken... chicken meet egg... now who was first? >> >> Al. >> >> Jean-Baptiste Queru wrote: >> > So, you're saying that developers should be forced to release untested >> > applications? >> > >> > JBQ >> > >> > On Mon, Dec 8, 2008 at 7:43 AM, Teo <[EMAIL PROTECTED]> wrote: >> > >> >> About the new dev phone, there should probably be one mandatory app >> >> submission (if there isn't one already) because otherwise there will >> >> be an avalanche of 'developers' which will affect dev phone supplies >> >> for future devs, or devs in countries which will be included in the >> >> program... I hope i'm making sense :) >> >> >> >> Thanks, >> >> Teo >> >> >> >> On Dec 8, 5:34 pm, don rhummy <[EMAIL PROTECTED]> wrote: >> >> >> >>> Will thephonework with Sprint? Is there anything that can use android >> with Sprint? >> >>> >> >>> --- On Mon, 12/8/08, Dianne Hackborn <[EMAIL PROTECTED]> wrote: >> >>> >> >>> >> From: Dianne Hackborn <[EMAIL PROTECTED]> >> Subject: [android-developers] Re: New SDK Available >> To: android-developers@googlegroups.com >> Date: Monday, December 8, 2008, 3:24 AM >> It's the same as the G1. >> >> On Sun, Dec 7, 2008 at 4:04 PM, Christine >> <[EMAIL PROTECTED]>wrote: >> >> > But we don't know whichphoneGoogle will be >> > >> shipping. Is it similar >> >> > to a US G1 or to a UK G1 which seems to work on a >> > >> different 3G >> >> > frequency? I guess we'll all know by the end of >> > >> the week. >> >> > On Dec 7, 11:57 pm, "Pierre Bonnefoy" >> > >> <[EMAIL PROTECTED]> >> >> > wrote: >> > >> >> A SIM is necessary if you want to makephone >> >> >> calls on a standard cellular >> >> >> networks (I mean, you can still makephonecalls >> >> >> on WiFi without a SIM). >> >> >> 2008/12/7 Xavier Mathews >> >> >> <[EMAIL PROTECTED]> >> >> >>> I thought that iphone was also an ipod and >> >>> >> has over 10,000 apps what >> >> >>> is the point of a sim? >> >>> >> -- >> Dianne Hackborn >> Android framework engineer >> [EMAIL PROTECTED] >> >> 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. >> >> > >> > > >> > >> >> >> > >> > > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK Available
Adding an one app mandatory submission requirement will only result in a surge of untested, low quality apps flooding the app store. I'm sure there will be enough dev phones to go around. If not then its the good old first come first served. :) On Mon, Dec 8, 2008 at 9:58 AM, Al Sutton <[EMAIL PROTECTED]> wrote: > > Egg meet chicken... chicken meet egg... now who was first? > > Al. > > Jean-Baptiste Queru wrote: > > So, you're saying that developers should be forced to release untested > > applications? > > > > JBQ > > > > On Mon, Dec 8, 2008 at 7:43 AM, Teo <[EMAIL PROTECTED]> wrote: > > > >> About the new dev phone, there should probably be one mandatory app > >> submission (if there isn't one already) because otherwise there will > >> be an avalanche of 'developers' which will affect dev phone supplies > >> for future devs, or devs in countries which will be included in the > >> program... I hope i'm making sense :) > >> > >> Thanks, > >> Teo > >> > >> On Dec 8, 5:34 pm, don rhummy <[EMAIL PROTECTED]> wrote: > >> > >>> Will thephonework with Sprint? Is there anything that can use android > with Sprint? > >>> > >>> --- On Mon, 12/8/08, Dianne Hackborn <[EMAIL PROTECTED]> wrote: > >>> > >>> > From: Dianne Hackborn <[EMAIL PROTECTED]> > Subject: [android-developers] Re: New SDK Available > To: android-developers@googlegroups.com > Date: Monday, December 8, 2008, 3:24 AM > It's the same as the G1. > > On Sun, Dec 7, 2008 at 4:04 PM, Christine > <[EMAIL PROTECTED]>wrote: > > > But we don't know whichphoneGoogle will be > > > shipping. Is it similar > > > to a US G1 or to a UK G1 which seems to work on a > > > different 3G > > > frequency? I guess we'll all know by the end of > > > the week. > > > On Dec 7, 11:57 pm, "Pierre Bonnefoy" > > > <[EMAIL PROTECTED]> > > > wrote: > > > >> A SIM is necessary if you want to makephone > >> > calls on a standard cellular > > >> networks (I mean, you can still makephonecalls > >> > on WiFi without a SIM). > > >> 2008/12/7 Xavier Mathews > >> > <[EMAIL PROTECTED]> > > >>> I thought that iphone was also an ipod and > >>> > has over 10,000 apps what > > >>> is the point of a sim? > >>> > -- > Dianne Hackborn > Android framework engineer > [EMAIL PROTECTED] > > 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 and PS3 question
What does this have to do with android? To answer your question i dont think that there an applaction for it you will have to do it manualy. On 12/08/2008, Ryan <[EMAIL PROTECTED]> wrote: > > I plan on putting 4-6 gigs of music on my G1. I then want to stream > that music using bluetooth or wi-fi to my stereo system. I figured > the best way to do this would be to use the bluetooth/ wi-fi abilities > of the PS3. The idea is to control the music heard throughout the > house using the G1. I can see that it's possible. But, my question > is does an application(s) or software exist to make this happen? > Thanks and cheers, Ryan > > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone - shipping to Canada?
Why not start a buddy programme... you team up with a buddy in the US, get the device shipped to their house, and then collect it from them and buy them a thankyou gift. It's got to be cheaper than Brightstars P&P + Taxes Al. Joe Bowser wrote: > Brightstar has a history of screwing up International Orders, which > can be found by looking at the history of the One Laptop Per Child's > G1G1 program. In that case, getting the device was the issue, not the > cost of the shipping. It took Brightstar almost six months to figure > out how to ship to Canada for cheap, and it seems that they've > promptly forgot how to do that with the astronomical shipping cost for > the Dev Phone. It shouldn't cost that much to ship it to Canada. > > I honestly want to know why Brightstar has so much trouble shipping to > Canada, because every other company that I have ever dealt with hasn't > had a problem shipping across the border. If we could get some > justification from them, that would be helpful, since every cool > device that I want (either for dev work, or for personal) seems to > inflict their unique brand of pain. > > On Dec 8, 10:00 am, "Justin (Google Employee)" <[EMAIL PROTECTED]> > wrote: > >>> Even when they are levied, they are charged >>> through to the party receiving the shipment, >>> >> Not in this case. In this case the duties and taxes have been charged >> to the shipper, which is why the cost of shipping *and handling* is >> much more than just the shipping cost. >> >> As to the amount, I'm not a lawyer or a customs specialist. Therefore, >> I assume the costs vary by country according to the laws of that >> country. While it is true that sometimes duties are not assessed >> depending on how shipments are labeled, it doesn't mean that legally >> they shouldn't be. >> >> Cheers, >> Justin >> Android Team @ Google >> >> On Dec 8, 4:30 am, J Dietrich <[EMAIL PROTECTED]> wrote: >> >> >>> So, I signed up for the Market, and then suffered a severe bout of Jaw >>> Drop when I saw that it was going to cost $264.19 to ship to Canada. I >>> quickly retreated from purchasing what had been looking like one hell >>> of an x-mas present for myself. >>> >>> According to the Help/FAQ, the fee includes "applicable customs, >>> duties, import and country specific other fees". As anyone in Canada >>> ordering from the US knows, duties and taxes are levied somewhat >>> arbitrarily - it's not uncommon to receive something with no >>> additional taxes levied, despite accurate declared value that >>> technically warrants it. Even when they are levied, they are charged >>> through to the party receiving the shipment, and it's hard to see how >>> they could ever come in so high as to approach this up-front cost - >>> higher than *every* other country on the list. >>> >>> Phone: 399.00 USD = 499.63 CAD >>> Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!) >>> Total: 830.82 CAD :( >>> >>> No regrets about joining the Market, as I am going to develop on this >>> platform in any case. I'm just disappointed that I won't be dabbling >>> with real hardware over the holidays, and I know other developers here >>> who are in the same boat - all willing to lay out the price of the >>> phone, but not about to pay 66% on top for shipping. >>> >>> Can someone please take a stab at breaking down or otherwise >>> rationalizing this number, helping me (and other Canucks scratching >>> their heads and/or already being preyed upon by eBay sellers) to >>> understand this? For $18.99, I could have this next-day shipped to a >>> location in NY state a mere 5km away. Why are these heavy additional >>> charges rolled into the shipping cost, and why are the extra charges >>> for Canada so high relative to all other countries? >>> > > > -- == Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone - shipping to Canada?
I've spoken with Canada Customs and had it confirmed that a phone w/ $399USD value would incur a max of $64 in taxes (PST+GST) at current exchange rates. Being manufactured outside of NAFTA zones, it is possibly subject to duties of 6% (about $30), though I was just explicitly told by someone at customs that "this is rarely applied", esp. for gear like cel phones. I'm pretty sure that it is not illegal when it doesn't get applied, but IANAL either. UPS charges a brokerage fee of $51 for $500+ value. Allow for $20 of other misc charges, and go as high as $15 on the exchange spread for the CC/bank. You've still got $180 CAD here in what I think it's safe to call "worst case", and that's a far cry from the $330+ CAD being charged. I will more than likely ship to the US and get it over here myself - which will likely only cost me a lunch break and an extra $64 (taxes). But the hassle, and the lack of a real explanation for the incredibly high extra fee makes me think twice -- not a great first experience on what I hope will be a fun and productive ride with this platform. Loads of US companies have no problems shipping to Canada without incurring these kind of costs - I'm really disappointed that Google/ Brightstar managed to get it so wrong. Why does Google hate Canada? ;) On Dec 8, 1:00 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > > Even when they are levied, they are charged > > through to the party receiving the shipment, > > Not in this case. In this case the duties and taxes have been charged > to the shipper, which is why the cost of shipping *and handling* is > much more than just the shipping cost. > > As to the amount, I'm not a lawyer or a customs specialist. Therefore, > I assume the costs vary by country according to the laws of that > country. While it is true that sometimes duties are not assessed > depending on how shipments are labeled, it doesn't mean that legally > they shouldn't be. > > Cheers, > Justin > Android Team @ Google > > On Dec 8, 4:30 am, J Dietrich <[EMAIL PROTECTED]> wrote: > > > So, I signed up for the Market, and then suffered a severe bout of Jaw > > Drop when I saw that it was going to cost $264.19 to ship to Canada. I > > quickly retreated from purchasing what had been looking like one hell > > of an x-mas present for myself. > > > According to the Help/FAQ, the fee includes "applicable customs, > > duties, import and country specific other fees". As anyone in Canada > > ordering from the US knows, duties and taxes are levied somewhat > > arbitrarily - it's not uncommon to receive something with no > > additional taxes levied, despite accurate declared value that > > technically warrants it. Even when they are levied, they are charged > > through to the party receiving the shipment, and it's hard to see how > > they could ever come in so high as to approach this up-front cost - > > higher than *every* other country on the list. > > > Phone: 399.00 USD = 499.63 CAD > > Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!) > > Total: 830.82 CAD :( > > > No regrets about joining the Market, as I am going to develop on this > > platform in any case. I'm just disappointed that I won't be dabbling > > with real hardware over the holidays, and I know other developers here > > who are in the same boat - all willing to lay out the price of the > > phone, but not about to pay 66% on top for shipping. > > > Can someone please take a stab at breaking down or otherwise > > rationalizing this number, helping me (and other Canucks scratching > > their heads and/or already being preyed upon by eBay sellers) to > > understand this? For $18.99, I could have this next-day shipped to a > > location in NY state a mere 5km away. Why are these heavy additional > > charges rolled into the shipping cost, and why are the extra charges > > for Canada so high relative to all other countries? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Suppressing unwanted options in image handler
I'm getting a chooser for this even though I don't specify chooser. I want this to go directly to the email handler intent and not even show the MMS option. Is there a way to suppress this option? Thanks Intent intent = new Intent(Intent.ACTION_SEND); intent.setType("image/png"); intent.putExtra(Intent.EXTRA_STREAM, photoUri); startActivity(intent); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Is there any API for the Messaging notification settings ?
I'm looking for the API for access to the Messaging (SMS/MMS) notificaiton settings, specifically the ringtone & vibrate settings. Analogy with the phone would seem to suggest there should be an API, but I can't find one. What am I missing ? Thanks, Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone - shipping to Canada?
Brightstar has a history of screwing up International Orders, which can be found by looking at the history of the One Laptop Per Child's G1G1 program. In that case, getting the device was the issue, not the cost of the shipping. It took Brightstar almost six months to figure out how to ship to Canada for cheap, and it seems that they've promptly forgot how to do that with the astronomical shipping cost for the Dev Phone. It shouldn't cost that much to ship it to Canada. I honestly want to know why Brightstar has so much trouble shipping to Canada, because every other company that I have ever dealt with hasn't had a problem shipping across the border. If we could get some justification from them, that would be helpful, since every cool device that I want (either for dev work, or for personal) seems to inflict their unique brand of pain. On Dec 8, 10:00 am, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > > Even when they are levied, they are charged > > through to the party receiving the shipment, > > Not in this case. In this case the duties and taxes have been charged > to the shipper, which is why the cost of shipping *and handling* is > much more than just the shipping cost. > > As to the amount, I'm not a lawyer or a customs specialist. Therefore, > I assume the costs vary by country according to the laws of that > country. While it is true that sometimes duties are not assessed > depending on how shipments are labeled, it doesn't mean that legally > they shouldn't be. > > Cheers, > Justin > Android Team @ Google > > On Dec 8, 4:30 am, J Dietrich <[EMAIL PROTECTED]> wrote: > > > So, I signed up for the Market, and then suffered a severe bout of Jaw > > Drop when I saw that it was going to cost $264.19 to ship to Canada. I > > quickly retreated from purchasing what had been looking like one hell > > of an x-mas present for myself. > > > According to the Help/FAQ, the fee includes "applicable customs, > > duties, import and country specific other fees". As anyone in Canada > > ordering from the US knows, duties and taxes are levied somewhat > > arbitrarily - it's not uncommon to receive something with no > > additional taxes levied, despite accurate declared value that > > technically warrants it. Even when they are levied, they are charged > > through to the party receiving the shipment, and it's hard to see how > > they could ever come in so high as to approach this up-front cost - > > higher than *every* other country on the list. > > > Phone: 399.00 USD = 499.63 CAD > > Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!) > > Total: 830.82 CAD :( > > > No regrets about joining the Market, as I am going to develop on this > > platform in any case. I'm just disappointed that I won't be dabbling > > with real hardware over the holidays, and I know other developers here > > who are in the same boat - all willing to lay out the price of the > > phone, but not about to pay 66% on top for shipping. > > > Can someone please take a stab at breaking down or otherwise > > rationalizing this number, helping me (and other Canucks scratching > > their heads and/or already being preyed upon by eBay sellers) to > > understand this? For $18.99, I could have this next-day shipped to a > > location in NY state a mere 5km away. Why are these heavy additional > > charges rolled into the shipping cost, and why are the extra charges > > for Canada so high relative to all other countries? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Any way to reject a call programmatically
Is there any direct (or convoluted) way to reject an incoming call, i.e. send it directly to voicemail. Meaning (a) if a call is coming in and matches certain criteria (b) send the call to VM, and stop the ringing. (programmatically) I've got (a) under control but I dont know how to do (b). Any ideas? Thanks Jay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Logcat timestamps?
adb logcat -v time for more options: adb logcat -help Xav On Mon, Dec 8, 2008 at 10:09 AM, Ward Willats <[EMAIL PROTECTED]> wrote: > > I see when ddms shows a log the entires are timestamped. > > Is there a way to get "adb logcat" to timestamp entries? > > -- Ward > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ConnectivityManager with the emulator
Thank you David! In the meantime I found the right action for the IntentFilter. It is "android.net.conn.CONNECTIVITY_CHANGE". On 8 Dez., 18:58, "David Turner" <[EMAIL PROTECTED]> wrote: > pressing F8 will toggle the emulator network on/off. > > On Mon, Dec 8, 2008 at 9:09 AM, nimbus83 <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I want to implement with the emulator an application that receives > > information when the network connection is connected or disconnected. > > How can I register a receiver that gets the changes in the network > > connection? > > > I have tried this: > > > public class ConnectionChangeReceiver extends BroadcastReceiver { > > > [EMAIL PROTECTED] > > public void onReceive(Context context, Intent intent) { > > ConnectivityManager connectivityManager = > > (ConnectivityManager) > > context.getSystemService(Context.CONNECTIVITY_SERVICE); > > NetworkInfo activeNetInfo = > > connectivityManager.getActiveNetworkInfo > > (); > > NetworkInfo mobNetInfo = > > connectivityManager.getNetworkInfo > > (ConnectivityManager.TYPE_MOBILE); > > } > > } > > > IntentFilter intentFilter = new > > IntentFilter(); > > registerReceiver(new > > ConnectionChangeReceiver(), intentFilter); > > > What should be the input of the filter so that the ConnectivityManager > > sends information to my receiver? > > > And one more question. > > > I have done some tests with the emulator with the following code: > > > ConnectivityManager connManager = (ConnectivityManager) > > getSystemService(Context.CONNECTIVITY_SERVICE); > > NetworkInfo activeNetworkInfo = connManager.getActiveNetworkInfo(); > > > I get the information that the MOBILE network type is available and > > its state is CONNECTED. If I disable the local area connection on my > > PC I get the same information. How can make the network information > > change? How can I disable/enable the connection for simulations? > > > Thank you in advance. > > > Best wishes! > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Astronomical Android Dev Phone 1 shipping free
On Mon, Dec 8, 2008 at 7:18 AM, J Dietrich <[EMAIL PROTECTED]> wrote: > Can someone please take a stab at breaking down or otherwise > rationalizing this number, helping me (and other Canucks scratching > their heads and/or already being preyed upon by eBay sellers) to > understand this? For $18.99, I could have this next-day shipped to a > location in NY state a mere 5km away. Why are these heavy additional > charges rolled into the shipping cost, and why are the extra charges > for Canada so high relative to all other countries? Customs Canada is *very* hungry and the Tim Hortons down the street is open 24 hours a day, eh? Enjoy, Brian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Logcat timestamps?
I see when ddms shows a log the entires are timestamped. Is there a way to get "adb logcat" to timestamp entries? -- Ward --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone - shipping to Canada?
> Even when they are levied, they are charged > through to the party receiving the shipment, Not in this case. In this case the duties and taxes have been charged to the shipper, which is why the cost of shipping *and handling* is much more than just the shipping cost. As to the amount, I'm not a lawyer or a customs specialist. Therefore, I assume the costs vary by country according to the laws of that country. While it is true that sometimes duties are not assessed depending on how shipments are labeled, it doesn't mean that legally they shouldn't be. Cheers, Justin Android Team @ Google On Dec 8, 4:30 am, J Dietrich <[EMAIL PROTECTED]> wrote: > So, I signed up for the Market, and then suffered a severe bout of Jaw > Drop when I saw that it was going to cost $264.19 to ship to Canada. I > quickly retreated from purchasing what had been looking like one hell > of an x-mas present for myself. > > According to the Help/FAQ, the fee includes "applicable customs, > duties, import and country specific other fees". As anyone in Canada > ordering from the US knows, duties and taxes are levied somewhat > arbitrarily - it's not uncommon to receive something with no > additional taxes levied, despite accurate declared value that > technically warrants it. Even when they are levied, they are charged > through to the party receiving the shipment, and it's hard to see how > they could ever come in so high as to approach this up-front cost - > higher than *every* other country on the list. > > Phone: 399.00 USD = 499.63 CAD > Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!) > Total: 830.82 CAD :( > > No regrets about joining the Market, as I am going to develop on this > platform in any case. I'm just disappointed that I won't be dabbling > with real hardware over the holidays, and I know other developers here > who are in the same boat - all willing to lay out the price of the > phone, but not about to pay 66% on top for shipping. > > Can someone please take a stab at breaking down or otherwise > rationalizing this number, helping me (and other Canucks scratching > their heads and/or already being preyed upon by eBay sellers) to > understand this? For $18.99, I could have this next-day shipped to a > location in NY state a mere 5km away. Why are these heavy additional > charges rolled into the shipping cost, and why are the extra charges > for Canada so high relative to all other countries? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ConnectivityManager with the emulator
pressing F8 will toggle the emulator network on/off. On Mon, Dec 8, 2008 at 9:09 AM, nimbus83 <[EMAIL PROTECTED]> wrote: > > Hello, > > I want to implement with the emulator an application that receives > information when the network connection is connected or disconnected. > How can I register a receiver that gets the changes in the network > connection? > > I have tried this: > >public class ConnectionChangeReceiver extends BroadcastReceiver { > >@Override >public void onReceive(Context context, Intent intent) { >ConnectivityManager connectivityManager = > (ConnectivityManager) > context.getSystemService(Context.CONNECTIVITY_SERVICE); >NetworkInfo activeNetInfo = > connectivityManager.getActiveNetworkInfo > (); >NetworkInfo mobNetInfo = > connectivityManager.getNetworkInfo > (ConnectivityManager.TYPE_MOBILE); >} >} > >IntentFilter intentFilter = new > IntentFilter(); >registerReceiver(new > ConnectionChangeReceiver(), intentFilter); > > What should be the input of the filter so that the ConnectivityManager > sends information to my receiver? > > And one more question. > > I have done some tests with the emulator with the following code: > > ConnectivityManager connManager = (ConnectivityManager) > getSystemService(Context.CONNECTIVITY_SERVICE); > NetworkInfo activeNetworkInfo = connManager.getActiveNetworkInfo(); > > I get the information that the MOBILE network type is available and > its state is CONNECTED. If I disable the local area connection on my > PC I get the same information. How can make the network information > change? How can I disable/enable the connection for simulations? > > Thank you in advance. > > Best wishes! > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Eclipse problem viewing threads on emulator
Hi All, In Eclipse there is an android Threads view which, I assume, will allow me to monitor the threads I am creating. However, the view simply comes up and says 'Thread updates not enabled for selected client (use toolbar button to enable)'. I see no toolbar button that has anything to do with this and googling for this message came up with nada. I also see nothing regarding threads in the android run configuration for the project. Can anyone point me in the right direction here for what I need to do to actually enable this view? Thanks, Greg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1 + Shipping to Germany
When logged to an Android Market, see this for details: http://android.brightstarcorp.com/help.php This contains information as follows: "Outside the US For Orders shipping outside the US, shipping pricing includes cost of shipping service and the applicable customs, duties, import and country specific other fees." So this price is not only for a package. This wasn't obvious, at least for me. On Dec 8, 9:02 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The only shiping available to germany seams to be dhl for 178$, thats > a lot. > > On 8 Dez., 00:52, Christine <[EMAIL PROTECTED]> wrote: > > > In my experience, it depends on what Google puts in the shipping > > papers, what UPS tells the people at Customs and the mood of the > > people at Customs. Sometimes you pay nothing, sometimes you pay taxes > > of various kinds. I suggest Google should write "free sample, $399 > > administrative cost". > > > :-) > > > On Dec 7, 6:53 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > > > > Any appropriate customs duties and taxes will be added on top of the > > > $399 purchase price. You are correct, that this can add a substantial > > > the base price. However, it should not add any hassle. Is there some > > > specific difficulty you're referring to? > > > > Cheers, > > > Justin > > > Android Team @ Google > > > > On Dec 6, 2:13 am, Marc Seeger <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > I'm really interested in the possibility of buying a "Android Dev > > > > Phone 1 " (-->http://code.google.com/android/dev-devices.html), the > > > > only question I have concerns the shipping. > > > > According to the site, it will be (?is?) available for order in > > > > Germany, I can't find any information about the details though. > > > > The price seems fair, but adding VAT + Import Taxes would add a BIG > > > > amount of money to the final number (and a lot of hassle). > > > > > Does Google ship all of its devices from the US or are devices for > > > > European Devs shipped from inside the EU? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Shipping a European dev phone to the US?
The charger that ships with the Dev Phone 1 works from 100-240V, so it supports European voltages, but you may need a plug adapter to physically adapt the plug. Additionally, if it doesn't come with one, you can just buy a USB- >miniUSB cable and charge your phone from your computer (this is what I often do). Cheers, Justin Android Team @ Google On Dec 8, 1:32 am, Jiri <[EMAIL PROTECTED]> wrote: > I'm interested in buying the Android Dev Phone 1, which I'd mainly use > in Finland and elsewhere in Europe. This means that I'd need to get > the version that uses the Finnish GSM and UMTS band, and of course > comes with a 230V charger. > > I'll be visiting the US over the holidays, so it'd be very convenient > (read: probably faster and cheaper) for me to get the phone shipped to > a friend's place and pick it up from there. So my question is, is it > possible to get the European version of the phone shipped to an US > address? > > Thanks, > > -Jiri --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1 Specification
What a relief... I thought so, but it's great to be sure. I think that it should be mentioned that this device is exactly the same (with all the modules) as G1 sold by T-Mobile. Or maybe those modules should be listed. On Dec 8, 6:38 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > > I couldn't find GPS, compass, and Motion Sensor in the hardware > > specification published on the Android Market site. > > These hardware features are part of the Android Dev Phone 1. They're > present, but not listed in the features. It would be pretty silly to > provide a developer device, and then not include some of the most used > hardware. > > Cheers, > Justin > Android Team @ Google > > On Dec 7, 4:35 pm, focuser <[EMAIL PROTECTED]> wrote: > > > Is the hardware of this phone Android Dev Phone 1 identical to T- > > Mobile G1 except it's > > fully unlocked? > > > I couldn't find GPS, compass, and Motion Sensor in the hardware > > specification published on the Android Market site. Just wondering if > > this > > information is actually accurate. > > > Hardware Features > > > * Touch screen > > * Trackball > > * 3.2 Megapixel camera with auto focus > > * Wi-Fi > > * Bluetooth v2.0 > > o Handsfree profile v1.5 > > o Headset profile v1.0 > > * 3G WCDMA (1700/2100 MHz) > > * Quad-band GSM (850/900/1800/1900 MHz) > > * QWERTY slider keyboard > > * Includes 1GB MicroSD card (Can be replaced with up to 16GB card) > > * Included in the box > > o HTC Android Dev Phone 1 > > o USB Cable > > o AC Adapter (with US plug) > > o Stereo Hands-Free Headset > > o Battery > > o Getting Starting Guide > > o 1G Micro SD Card (inserted into Device) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to configure android emulator disk space?
disk space is not configurable at the moment. the partition sizes reflect the ones on the G1. we may add a feature to allow arbitrary partition sizes in the future, but for now, you will have to hack the emulator sources to do that (search for 0x420 in android_main.c). as for anything built with gnueabi, chances are that it will not work at all, *unless* you build a totally static executable (i.e. one that doesn't even link dynamically to the Android C library), given that it is not compatible with the Android ABI. On Mon, Dec 8, 2008 at 7:25 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: > > Hi, > > I want to compile a native c++ program with gnueabi-g++ running on > android emplator, > but it was failed to copy the runtime c++ library to android emulator > due to not enough disk space of emulator.How to set the emulator disk > space,or I have to compile a android image with the source? > Thanks for any help. > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Creating a TabHost with Tabs containing Activities WITHOUT extending TabActivity
I need a way to create a TabHost which has an intent as the tabs content, e.g: TabHost tabs = (TabHost)findViewById(R.id.tabhost); tabs.setup(); TabSpec spec1 = tabs.newTabSpec("TabOne"); spec1.setIndicator("Tab One", this.getResources().getDrawable (R.drawable.tab_icon)); spec1.setContent(new Intent(this, MyTabClass.class)); tabs.addTab(spec1); Without extending TabActivity. I am currently extending MapActivity, which I cannot change as it is needed. Therefore, I currently get the following error at runtime, when the tab is clicked: java.lang.IllegalStateException: Did you forget to call 'public void setup(LocalActivityManager activityGroup)'? Is there a way to call "setup(LocalActivityManager activityGroup)" WITHOUT extending TabActivity? Please say there is ;) 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1 Specification
> I couldn't find GPS, compass, and Motion Sensor in the hardware > specification published on the Android Market site. These hardware features are part of the Android Dev Phone 1. They're present, but not listed in the features. It would be pretty silly to provide a developer device, and then not include some of the most used hardware. Cheers, Justin Android Team @ Google On Dec 7, 4:35 pm, focuser <[EMAIL PROTECTED]> wrote: > Is the hardware of this phone Android Dev Phone 1 identical to T- > Mobile G1 except it's > fully unlocked? > > I couldn't find GPS, compass, and Motion Sensor in the hardware > specification published on the Android Market site. Just wondering if > this > information is actually accurate. > > Hardware Features > > * Touch screen > * Trackball > * 3.2 Megapixel camera with auto focus > * Wi-Fi > * Bluetooth v2.0 > o Handsfree profile v1.5 > o Headset profile v1.0 > * 3G WCDMA (1700/2100 MHz) > * Quad-band GSM (850/900/1800/1900 MHz) > * QWERTY slider keyboard > * Includes 1GB MicroSD card (Can be replaced with up to 16GB card) > * Included in the box > o HTC Android Dev Phone 1 > o USB Cable > o AC Adapter (with US plug) > o Stereo Hands-Free Headset > o Battery > o Getting Starting Guide > o 1G Micro SD Card (inserted into Device) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1 Specification
Damn, great question. I assumed that this device is exactly the same as T-Mobile's G1 except from the fact that this is unlocked. I've already ordered this phone and now I'm a little confused. On Dec 8, 1:35 am, focuser <[EMAIL PROTECTED]> wrote: > Is the hardware of this phone Android Dev Phone 1 identical to T- > Mobile G1 except it's > fully unlocked? > > I couldn't find GPS, compass, and Motion Sensor in the hardware > specification published on the Android Market site. Just wondering if > this > information is actually accurate. > > Hardware Features > > * Touch screen > * Trackball > * 3.2 Megapixel camera with auto focus > * Wi-Fi > * Bluetooth v2.0 > o Handsfree profile v1.5 > o Headset profile v1.0 > * 3G WCDMA (1700/2100 MHz) > * Quad-band GSM (850/900/1800/1900 MHz) > * QWERTY slider keyboard > * Includes 1GB MicroSD card (Can be replaced with up to 16GB card) > * Included in the box > o HTC Android Dev Phone 1 > o USB Cable > o AC Adapter (with US plug) > o Stereo Hands-Free Headset > o Battery > o Getting Starting Guide > o 1G Micro SD Card (inserted into Device) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: audio recording issues
I can only tell you that the feature is done. The timing of when you see a device in the field that supports it is up to the deployment manager. It's important to remember that Android is a platform, and just because the platform advances doesn't necessarily mean that all devices are advancing in lockstep. Each deployment manager will make choices based on their own business case. For example, the G1 has different deployments based on region. On Dec 8, 6:49 am, "Dorn Hetzel" <[EMAIL PROTECTED]> wrote: > While I am sure any "forward looking statement" will need to be taken > with a grain of salt, perhaps you could alleviate many of our concerns > with some clue as to the timeframe in which we might expect relief on > this front. If we knew that in a month or two we could look forward > to at least rudimentary real-time audio we could quit expending energy > on trying to scheme a workaround and just delay our application plans. > If it's going to be a lot longer than that, we can make appropriate > decisions as well. Leaving us knowing nothing doesn't really engender > confidence. Some sort of roadmap with approximate dates would help a > lot! > > Regards, > > Dorn Hetzel > > On Fri, Dec 5, 2008 at 12:12 AM, Dave Sparks <[EMAIL PROTECTED]> wrote: > > > The reason this isn't in 1.0 is because we didn't want to ship a half- > > baked API. We have a solution coming soon in the form of a flexible > > base layer that supports push and pull models. For example, we have > > built an InputStream object on top of it that we will offer as sample > > code. > > > In the future, this development will be taking place in the open > > source repo so we can have a real-time dialog about the code as it is > > developed. In the meantime, we are working hard to get the code that > > has been in development since we forked the 1.0 branch moved into the > > open source repo as soon as possible. > > > On Dec 4, 6:40 pm, MichaelEGR <[EMAIL PROTECTED]> wrote: > >> On Dec 2, 5:22 am, "Dorn Hetzel" <[EMAIL PROTECTED]> wrote: > > >> > Maybe we need to start another mailing list for unrequited android > >> > realtimeaudio:) > > >> I'm all for focused discussion on this topic as it crosses between > >> native concerns and public APIs via the SDK. In my longer original > >> post I mentioned that it would be appropriate to evaluate how to not > >> only getting something workable on the G1, but keep in mind that > >> Android can/will be used in the future conceivably beyond smart phones > >> in devices/hardware that may support expanded audio I/O options. I > >> favor PortAudio (www.portaudio.com) for the task as it can provide a > >> workable real time audio API for desktop Java and Android audio > >> development/porting to other hardware configurations. It is also low > >> level enough to say even implement javax.sound on top of it for those > >> interested in that particular API. More discussion is welcome > >> especially in understanding unspecified work being done for the next > >> SDK release. > > >> Best, > >> --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] ConnectivityManager with the emulator
Hello, I want to implement with the emulator an application that receives information when the network connection is connected or disconnected. How can I register a receiver that gets the changes in the network connection? I have tried this: public class ConnectionChangeReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo (); NetworkInfo mobNetInfo = connectivityManager.getNetworkInfo (ConnectivityManager.TYPE_MOBILE); } } IntentFilter intentFilter = new IntentFilter(); registerReceiver(new ConnectionChangeReceiver(), intentFilter); What should be the input of the filter so that the ConnectivityManager sends information to my receiver? And one more question. I have done some tests with the emulator with the following code: ConnectivityManager connManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo activeNetworkInfo = connManager.getActiveNetworkInfo(); I get the information that the MOBILE network type is available and its state is CONNECTED. If I disable the local area connection on my PC I get the same information. How can make the network information change? How can I disable/enable the connection for simulations? Thank you in advance. Best wishes! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---