[email protected] wrote:
>============================================================================= >Today's Topic Summary >============================================================================= > >Group: [email protected] >Url: http://groups.google.com/group/android-developers/topics > > - getLastKnownLocation *again* [1 Update] > http://groups.google.com/group/android-developers/t/458624ff8f78bafa > - problem in aligning right column in the list [1 Update] > http://groups.google.com/group/android-developers/t/c8f3fddc884c1c32 > - Soft keypad doesn't appear if EditText.setOnClickListener() is set? [1 > Update] > http://groups.google.com/group/android-developers/t/2651e329a1535c7d > - are Animations always clipped to ViewGroup bounds? [3 Updates] > http://groups.google.com/group/android-developers/t/759d18c63cf7bfba > - Is there a way to get notified when a new task is starting or finishing ? > [2 Updates] > http://groups.google.com/group/android-developers/t/297a664d0fc2a44a > - The GPS Shutdown Thing [1 Update] > http://groups.google.com/group/android-developers/t/e687b3bfa9146f31 > - onTouch() not working properly, HTC Magic [2 Updates] > http://groups.google.com/group/android-developers/t/b2a20f0a79aa442f > - running sqlite3 commands from app? [1 Update] > http://groups.google.com/group/android-developers/t/2a5e51bf59819368 > - GK : How to Use Android Open source Platform code [1 Update] > http://groups.google.com/group/android-developers/t/865673b00ca4a59a > - Failed to fetch URL > https://dl-ssl.google.com/android/repository/repository.xml [1 Update] > http://groups.google.com/group/android-developers/t/63a44163a8d07cd9 > - Complex Object Collision Detection [1 Update] > http://groups.google.com/group/android-developers/t/a48ec22e9cf2b9e9 > - Android 2.0 emulator (Droid skin) crawls [1 Update] > http://groups.google.com/group/android-developers/t/9c09cd007eb18aa8 > - Can not access internet with emulator [1 Update] > http://groups.google.com/group/android-developers/t/3a5a089b9cc87653 > - Questin about gmail intents [2 Updates] > http://groups.google.com/group/android-developers/t/6eff92acec2dc563 > - How to detect the Widget is active in the current panel? [1 Update] > http://groups.google.com/group/android-developers/t/4a977d9e5ff502b2 > - ADC2 rank [1 Update] > http://groups.google.com/group/android-developers/t/7551df15eb9365e6 > - emulator sleep? [2 Updates] > http://groups.google.com/group/android-developers/t/c840eae7ae49d321 > - Accessing Remote Database using Android [1 Update] > http://groups.google.com/group/android-developers/t/46de389800cb5560 > - Checked List View am I missing something [1 Update] > http://groups.google.com/group/android-developers/t/e9e1dea18aaa176 > > >============================================================================= >Topic: getLastKnownLocation *again* >Url: http://groups.google.com/group/android-developers/t/458624ff8f78bafa >============================================================================= > >---------- 1 of 1 ---------- >From: stanlick <[email protected]> >Date: Dec 02 11:53AM -0800 >Url: http://groups.google.com/group/android-developers/msg/686c7ff2fb30052a > >Didn't we put a man on the moon? It can't be done seems a little lazy >today! > >I have read all the posts about this topic and I understand the >arguments being made. However, I would like to know how Google Maps >can return my *current* location yet while driving the same stretch of >road, the Android API often (not always) gives me a last known >location that was miles back. I need to be able to rely on the API to >provide me with a *current location* and I have tried all the tricks >being proposed here and elsewhere. Is there lower level code >someplace that could ping the phone's radio for a "fresh fix?" > >If you have solved this riddle, I would be happy to pay for your >solution. > >Peace, >Scott > > > >============================================================================= >Topic: problem in aligning right column in the list >Url: http://groups.google.com/group/android-developers/t/c8f3fddc884c1c32 >============================================================================= > >---------- 1 of 1 ---------- >From: adag <[email protected]> >Date: Dec 02 11:47AM -0800 >Url: http://groups.google.com/group/android-developers/msg/475bf4c4699e6908 > >Worked out with android:weightSum >quite nice..!!! > > > > >============================================================================= >Topic: Soft keypad doesn't appear if EditText.setOnClickListener() is set? >Url: http://groups.google.com/group/android-developers/t/2651e329a1535c7d >============================================================================= > >---------- 1 of 1 ---------- >From: Mark Wyszomierski <[email protected]> >Date: Dec 02 11:46AM -0800 >Url: http://groups.google.com/group/android-developers/msg/90ec7fa7174f7fb6 > >Still stuck on this, if anyone has a suggested work around - I >basically just want to know when an EditText is clicked, but also make >sure the IME keypad is displayed when clicked (the OnClickListener >seems to block that default behavior). > >I tried to check if the keypad is visible/active with the following, >but it always reports true, however I can't see it on screen: > > InputMethodManager imm = (InputMethodManager)getContext >().getSystemService(Context.INPUT_METHOD_SERVICE); > if (imm.isActive() == false) { > Log.d(TAG, "key pad is not active."); > } > >is there another way to check if the keypad is really visible? > >Thanks > > > > >============================================================================= >Topic: are Animations always clipped to ViewGroup bounds? >Url: http://groups.google.com/group/android-developers/t/759d18c63cf7bfba >============================================================================= > >---------- 1 of 3 ---------- >From: skink <[email protected]> >Date: Dec 02 11:09AM -0800 >Url: http://groups.google.com/group/android-developers/msg/fe2aa47320819b39 > >hi, > >i have small ViewGroup somewhere in the middle of the screen. > >this ViewGroup contains some Views that i'd like to animate. > >now this ViewGroup in dispatchDraw() method manages any child Views >animations, clipping them to ViewGroup's bounds > >my question is whether it is possible not to clip them to ViewGroup's >bounds? > >thanks >pskink > > >---------- 2 of 3 ---------- >From: Romain Guy <[email protected]> >Date: Dec 02 11:28AM -0800 >Url: http://groups.google.com/group/android-developers/msg/562d82a4e4a3c786 > >You can disable the clip by using android:clipChildren="false" on the >ViewGroup and its parent. > > >-- >Romain Guy >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 > > >---------- 3 of 3 ---------- >From: skink <[email protected]> >Date: Dec 02 11:40AM -0800 >Url: http://groups.google.com/group/android-developers/msg/488bfeb2cca81296 > >> >> > >thank you Romain! > >seems that i should have RTFM better and more deeply... :) > >thanks >pskink > > > >============================================================================= >Topic: Is there a way to get notified when a new task is starting or finishing >? >Url: http://groups.google.com/group/android-developers/t/297a664d0fc2a44a >============================================================================= > >---------- 1 of 2 ---------- >From: Binu Abraham <[email protected]> >Date: Dec 02 10:28AM -0800 >Url: http://groups.google.com/group/android-developers/msg/372abd4fbbd4fc7 > >I would like to know whenever the top task is changing. i.e. when a >new task is starting or a task is finishing or when the current active >task changes. Is there an intent that is sent that i can listen to ? > > >---------- 2 of 2 ---------- >From: Dianne Hackborn <[email protected]> >Date: Dec 02 11:38AM -0800 >Url: http://groups.google.com/group/android-developers/msg/f71469b5b8942401 > >Sorry there is no way to do this. > > >-- >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, and so won't reply to such e-mails. All such >questions should be posted on public forums, where I and others can see and >answer them. > > > >============================================================================= >Topic: The GPS Shutdown Thing >Url: http://groups.google.com/group/android-developers/t/e687b3bfa9146f31 >============================================================================= > >---------- 1 of 1 ---------- >From: Mark Wyszomierski <[email protected]> >Date: Dec 02 11:24AM -0800 >Url: http://groups.google.com/group/android-developers/msg/27044926b8d1446b > >I've been working with the location providers lately, I haven't seen >this behavior. When I deregister my listeners, the GPS icon goes away, >I haven't seen it stick around. > >Even one minute intervals for GPS seems like a lot for me - I'm >guessing users won't be able to move fast enough in one minute to make >any real difference in location. All depends on the app though. > > > > > > >============================================================================= >Topic: onTouch() not working properly, HTC Magic >Url: http://groups.google.com/group/android-developers/t/b2a20f0a79aa442f >============================================================================= > >---------- 1 of 2 ---------- >From: Romain Guy <[email protected]> >Date: Dec 02 10:29AM -0800 >Url: http://groups.google.com/group/android-developers/msg/42bbd251d130fbe7 > >You should return true in the ACTION_DOWN case, then you'll see the >other events. > > >-- >Romain Guy >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 > > >---------- 2 of 2 ---------- >From: "Enrique López Mañas" <[email protected]> >Date: Dec 02 11:10AM -0800 >Url: http://groups.google.com/group/android-developers/msg/9c2fca1f5a9de538 > >Dear Romain, > >Thank you so much, you were right. Now the app is catching up the >other events. > >Enrique > > > > >============================================================================= >Topic: running sqlite3 commands from app? >Url: http://groups.google.com/group/android-developers/t/2a5e51bf59819368 >============================================================================= > >---------- 1 of 1 ---------- >From: Ken H <[email protected]> >Date: Dec 02 10:57AM -0800 >Url: http://groups.google.com/group/android-developers/msg/e3c8b477dedf1b9f > >From the looks of it you're going to need to read up on SQLite. This >is where I got started: > >http://www.devx.com/wireless/Article/40842/0/page/1 > >But to import data to a database in your app, you need to do something >like this... > >SQLiteDatabase db; >BufferedReader inFile; >String iLine; >try{ > inFile = new BufferedReader(new FileReader("/sdcard/[your file >name]")); // open your file >}catch(FileNotFoundException e){ > // do something if file does not exist >} > >try{ > ContentValues inputvalues = new ContentValues(); > iLine = inFile.readLine(); // read line from file > while(iLine != null){ > String[] elements = iLine.split(","); <-- i'm using a csv file >as an example > inputvalues.put("column1", elements[1]); <-- substitute your >db column names > inputvalues.put("column2", elements[2]); > inputvalues.put("column3", elements[3]); > db.insert("database_name", null, inputvalues); // insert >values into database > iLine = inFile.readLine(); // read next line > } > inFile.close(); >}catch(Exception e){ > // do something >} > >You cannot issue command-line instructions like '.table' from the app, >I think that is were you are getting confused. You interact with the >database like a *database*, meaning you need to use SQL commands like >you would on SQL Server or Oracle. > >Ken > > > > >============================================================================= >Topic: GK : How to Use Android Open source Platform code >Url: http://groups.google.com/group/android-developers/t/865673b00ca4a59a >============================================================================= > >---------- 1 of 1 ---------- >From: Franklin Munoz <[email protected]> >Date: Dec 02 10:24AM -0800 >Url: http://groups.google.com/group/android-developers/msg/9175c7f976c3e80 > >You modified the SDK jar file, but your device still has the original >unmodified one, to do this kind of thing you need to use your own system >image. > > > > > >============================================================================= >Topic: Failed to fetch URL >https://dl-ssl.google.com/android/repository/repository.xml >Url: http://groups.google.com/group/android-developers/t/63a44163a8d07cd9 >============================================================================= > >---------- 1 of 1 ---------- >From: Jarrod Overson <[email protected]> >Date: Dec 02 09:36AM -0800 >Url: http://groups.google.com/group/android-developers/msg/cf9a99783ecb729f > >I had this problem too, but changing to HTTP and using dl.google.com worked. > >On Dec 2, 2009 9:32 AM, "stunnahonsa" <[email protected]> wrote: > >Have this problem. SDK under Win Vista tried to switch to http instead >of https, dont work. also if i try get the xml manually (like in this >forum described: >http://www.anddev.org/problem_while_installing_android_sdk_20-t8681.html) >from https://dl-ssl.google.com/android/repository/repository.xml there >is only: > >Server Error > The server encountered a temporary error and could not complete >your request. > > Please try again in 30 seconds. > > >no matter if i use http or https and i tried it 30 minutes ago > >-- You received this message because you are subscribed to the Google Groups >"Android Developers" ... > > > >============================================================================= >Topic: Complex Object Collision Detection >Url: http://groups.google.com/group/android-developers/t/a48ec22e9cf2b9e9 >============================================================================= > >---------- 1 of 1 ---------- >From: Brian <[email protected]> >Date: Dec 02 10:30AM -0800 >Url: http://groups.google.com/group/android-developers/msg/d3cddf4888746be9 > >Hm, so it would appear that the boards ate my last post so here goes >again. Can you give me a little more info about the actual structure >of your objects, like how you stored your line segments? I have seen >a lot of articles on the web that say how to collide vs a line but >skip what the actual format should look like. I like your bounding- >shape idea, it makes a lot of sense. My other pet idea was to use >actual equations of lines to represent the walls, but it looks like it >is getting ugly very quickly. Does anyone have any thoughts / >experience with this? It seems like it would be quick as you would >only have to do one test per collidable structure, but then you would >have to take the derivative of that line on the fly (or, perhaps, pre- >compute it) to figure out the reflection angle and what not. Not to >mention I have no idea how to figure out the equation of an arbitrary >squiggle. Thanks again for the help. > >-cheers > > > > >============================================================================= >Topic: Android 2.0 emulator (Droid skin) crawls >Url: http://groups.google.com/group/android-developers/t/9c09cd007eb18aa8 >============================================================================= > >---------- 1 of 1 ---------- >From: ironosity <[email protected]> >Date: Dec 02 09:43AM -0800 >Url: http://groups.google.com/group/android-developers/msg/890a7aca48d3c2b1 > >Me three. > > > >============================================================================= >Topic: Can not access internet with emulator >Url: http://groups.google.com/group/android-developers/t/3a5a089b9cc87653 >============================================================================= > >---------- 1 of 1 ---------- >From: Brion Emde <[email protected]> >Date: Dec 02 10:49AM -0800 >Url: http://groups.google.com/group/android-developers/msg/28cca888f5ce71b > >You don't say if you ever had internet and I'm new on the list so I >don't know if you've posted before. > >I needed to tell the emulator about my domain name server(s) to get >internet to work. In Eclipse, I went to the Preferences dialog and >expanded the Android category on the left. Under Launch, you can set >the Default emulator options. Mine is set like this: > >-dns-server 68.87.85.102,68.87.69.150 > >That's two different name servers, which I found by looking the >configuration of my host computer's network. > >I hope that helps. > > > > >============================================================================= >Topic: Questin about gmail intents >Url: http://groups.google.com/group/android-developers/t/6eff92acec2dc563 >============================================================================= > >---------- 1 of 2 ---------- >From: "vendor.net" <[email protected]> >Date: Dec 02 10:48AM -0800 >Url: http://groups.google.com/group/android-developers/msg/ea6742c16ca38e4c > >Hi! > >Is it possible to get an intent when the user recieves a mail and to >cancel the gmail notification? > >I want to filter some messages and I do not want te get notifications >from them. > >Thanks! > > >---------- 2 of 2 ---------- >From: "Mark Murphy" <[email protected]> >Date: Dec 02 01:51PM -0500 >Url: http://groups.google.com/group/android-developers/msg/ebbc68263d72dcdd > >> Is it possible to get an intent when the user recieves a mail and to >> cancel the gmail notification? > >No. > >-- >Mark Murphy (a Commons Guy) >http://commonsware.com >Android App Developer Books: http://commonsware.com/books.html > > > >============================================================================= >Topic: How to detect the Widget is active in the current panel? >Url: http://groups.google.com/group/android-developers/t/4a977d9e5ff502b2 >============================================================================= > >---------- 1 of 1 ---------- >From: farble1670 <[email protected]> >Date: Dec 02 10:20AM -0800 >Url: http://groups.google.com/group/android-developers/msg/aef73b0a57353d4d > >that is really too bad. > >it would be a huge battery saver and make widget use more realistic. >for non-zero widget update periods, it should just automatically avoid >updating the widgets if they aren't visible. for manual alarm-updated >widgets, there should be a way to ask if the widget is visible. > >i'm struggling with a related problem ... trying to tell if a widget >has been removed from the desktop. i need to stop the service that is >running to update the widget in this case. > > > > >============================================================================= >Topic: ADC2 rank >Url: http://groups.google.com/group/android-developers/t/7551df15eb9365e6 >============================================================================= > >---------- 1 of 1 ---------- >From: Sheado <[email protected]> >Date: Dec 02 10:16AM -0800 >Url: http://groups.google.com/group/android-developers/msg/78348a201d0e2d86 > >bumpity bump... > >nobody knows for sure? > >thanks! > > > > >============================================================================= >Topic: emulator sleep? >Url: http://groups.google.com/group/android-developers/t/c840eae7ae49d321 >============================================================================= > >---------- 1 of 2 ---------- >From: Jeffrey Blattman <[email protected]> >Date: Dec 02 10:13AM -0800 >Url: http://groups.google.com/group/android-developers/msg/da4553e7ff9f6f32 > >thanks mark. > >do you have an understanding about when the device "deep sleeps"? it >does not appear to be immediately when the screen blanks. i'd like to >find some way to tell definitively that the device is in deep sleep > >On 12/2/09 9:50 AM, Mark Murphy wrote: > >-- > > >---------- 2 of 2 ---------- >From: "Mark Murphy" <[email protected]> >Date: Dec 02 01:16PM -0500 >Url: http://groups.google.com/group/android-developers/msg/81ac9e3dbe27de5e > >> does not appear to be immediately when the screen blanks. i'd like to >> find some way to tell definitively that the device is in deep sleep > >If non-WAKEUP alarms are not invoked, you're asleep. > >If your code is running, you're not asleep. > >Beyond that, I have no advice -- sorry! > >-- >Mark Murphy (a Commons Guy) >http://commonsware.com >Android App Developer Books: http://commonsware.com/books.html > > > >============================================================================= >Topic: Accessing Remote Database using Android >Url: http://groups.google.com/group/android-developers/t/46de389800cb5560 >============================================================================= > >---------- 1 of 1 ---------- >From: Ken H <[email protected]> >Date: Dec 02 10:10AM -0800 >Url: http://groups.google.com/group/android-developers/msg/5bee16b120d166d > >Not sure what you mean by "remote database", but you can create your >own SQLite database on the phone fairly easily. This is where I got >started on it: > >http://www.devx.com/wireless/Article/40842 > >Ken > > > > >============================================================================= >Topic: Checked List View am I missing something >Url: http://groups.google.com/group/android-developers/t/e9e1dea18aaa176 >============================================================================= > >---------- 1 of 1 ---------- >From: Beth <[email protected]> >Date: Dec 02 09:55AM -0800 >Url: http://groups.google.com/group/android-developers/msg/fb1fdeb7230a73bf > >Take a look at the CheckedTextView in the android widget package. >Should make things easier. > >Regards, >Beth > > > > > >-- >You received this message because you are subscribed to the Google >Groups "Android Developers" group. >To post to this group, send email to [email protected] >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 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] 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

