REMOVE ME 2010/3/19 <[email protected]<android-developers%[email protected]> >
> Today's Topic Summary > > Group: http://groups.google.com/group/android-developers/topics > > - INDIAN BOOB FUCKING A BIG BOOOOBBSSSSS AFTER > MARRAGE<#127750803f11c485_group_thread_0>[1 Update] > - Hi All TabWidget Show is Small <#127750803f11c485_group_thread_1> [1 > Update] > - How to show a ScrollView with button anchored to bottom of > screen?<#127750803f11c485_group_thread_2>[2 Updates] > - camera service problem <#127750803f11c485_group_thread_3> [1 Update] > - Functional retrieval of strings? <#127750803f11c485_group_thread_4>[3 > Updates] > - phone-as-client Socket connections time out in 3GS mode, but work > fine in wifi <#127750803f11c485_group_thread_5> [1 Update] > - Application losing SharedPreferences and Sqlite database on > Droid<#127750803f11c485_group_thread_6>[1 Update] > - Application wake up <#127750803f11c485_group_thread_7> [1 Update] > - GPS without gps signal <#127750803f11c485_group_thread_8> [1 Update] > - 答复: 答复: 答复: [android-developers] Where is the source project location > of YouTube in Eclair? <#127750803f11c485_group_thread_9> [1 Update] > - Are primitive types garbage collected in > Android?<#127750803f11c485_group_thread_10>[1 Update] > - Strategies for using Touchscreen MotionEvent > Coordinates<#127750803f11c485_group_thread_11>[1 Update] > > Topic: INDIAN BOOB FUCKING A BIG BOOOOBBSSSSS AFTER > MARRAGE<http://groups.google.com/group/android-developers/t/74999442c83086b4> > > bala a <[email protected]> Mar 18 10:48PM -0700 > ^<#127750803f11c485_digest_top> > > INDIAN BOOB FUCKING A BIG BOOOOBBSSSSS AFTER MARRAGE > > http://genesynthes.blogspot.com/ > > http://genesynthes.blogspot.com/ > > http://genesynthes.blogspot.com/ > > > > Topic: Hi All TabWidget Show is > Small<http://groups.google.com/group/android-developers/t/248f77a03b073ed2> > > takky takazawa <[email protected]> Mar 18 09:41PM -0700 > ^<#127750803f11c485_digest_top> > > Hi Kantesh & Kumar Bibek > > Thanks a lot for both recommend. I will try fix it by both and > tell result again. > > > > > Topic: How to show a ScrollView with button anchored to bottom of > screen?<http://groups.google.com/group/android-developers/t/1cb943d486da1462> > > Andreas <[email protected]> Mar 18 07:46PM -0700 > ^<#127750803f11c485_digest_top> > > Curiously, no. Shorter code below: > > mScrollView = new ScrollView(this); > mListView = new LinearLayout(this); > mScrollView.addView(mListView); > mListView.setOrientation(LinearLayout.VERTICAL); > > Button button = new Button(this); > button.setText("OK"); > > LinearLayout layout = new LinearLayout(this); > layout.setOrientation(LinearLayout.VERTICAL); > layout.addView(mScrollView); > layout.addView(button); > > As the list view grows, the button will disappear outside the screen > and become unreachable. I was very surprised. ;) > > > > > > > TreKing <[email protected]> Mar 18 11:35PM -0500 > ^<#127750803f11c485_digest_top> > > > layout.addView(button); > > > As the list view grows, the button will disappear outside the screen > > and become unreachable. I was very surprised. ;) > > Where are you setting the layout parameters and weights for the the > views, > if at all? > > > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered devices > http://sites.google.com/site/rezmobileapps/treking > > > > Topic: camera service > problem<http://groups.google.com/group/android-developers/t/75f5ec6cd8df92c> > > grace <[email protected]> Mar 18 09:33PM -0700 > ^<#127750803f11c485_digest_top> > > hi, > > i have tried the following code and it shows me strange behavior.. > > > > http://groups.google.com/group/android-developers/browse_thread/thread/d8587b4b2139a85/809ebdafc456be32?lnk=gst&q=camera+overlay#809ebdafc456be32 > > when i run it for the first time it shows an exception saying "failed > to connect to the camera service" > but works fine for the second run.. > what could be the possible reason for this?? > pls help.. > > > thanks in advance, > > Grace. > > > > Topic: Functional retrieval of > strings?<http://groups.google.com/group/android-developers/t/ea9d99c939e30151> > > HippoMan <[email protected]> Mar 18 06:49PM -0700 > ^<#127750803f11c485_digest_top> > > I know that I can retrieve a string within an Activity as follows: > > this.getString(R.string.foobar) > > (assuming that I have previously defined a string named "foobar"). > > However. I'm wondering if there also might be an alternate way to > retrieve this same string in a functional manner, without an explicit > attribute reference. I'm talking about something like this: > > this.somehowGetStringAnotherWay("foobar") > > The reason I'd like this is so I can avoid compile errors if the > string doesn't exist. This would allow me to do something like the > following: > > String foobar = null; > try { > foobar = this.somehowGetStringAnotherWay("foobar"); > } > catch (SomeSortOfException e) { > Log.e("MyActivity", "foobar string not found"); > } > > Is there any way I can do this? > > Thanks in advance. > > > > > Mark Murphy <[email protected]> Mar 18 09:54PM -0400 > ^<#127750803f11c485_digest_top> > > HippoMan wrote: > > Log.e("MyActivity", "foobar string not found"); > > } > > > Is there any way I can do this? > > Resources has getIdentifier() for this. However, this is significantly > less efficient than just using the R static data member. Use it if you > have to (and cache the lookups), but "avoid compile errors" doesn't > strike me as a great reason to do so. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Android 2.0 Programming Books: http://commonsware.com/books > > > > > TreKing <[email protected]> Mar 18 09:42PM -0500 > ^<#127750803f11c485_digest_top> > > > catch (SomeSortOfException e) { > > Log.e("MyActivity", "foobar string not found"); > > } > > Let me get this straight - you would rather have a runtime exception > that > you just catch and ignore than a compile time error that will quickly > identify your problem and allow you to fix it on the spot? > > Why exactly would you prefer this? > > > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered devices > http://sites.google.com/site/rezmobileapps/treking > > > > Topic: phone-as-client Socket connections time out in 3GS mode, but work > fine in > wifi<http://groups.google.com/group/android-developers/t/a54e90f282819688> > > Samsyn <[email protected]> Mar 18 08:11PM -0700 > ^<#127750803f11c485_digest_top> > > OK, some success, as it were. > > Let the wookiie win > > -- > > I changed my server to listen on port 80 instead and now it works fine > in both WIFI and MOBILE modes. > > * server ping is now 800ms instead of 100ms > * I can not, of course, run a web server on the same machine now, > which is a small pain. > > But hey, if it works for port 80, maybe it will work for some other > ports, and maybe I just was using the One Illegal Verizon Port In the > Entire World. > > ooo. 950 ms ping... I can see why people say "plays better over wifi" > > Well, at least I wasn't crazy, they really WERE blocking me. > > - Dan > > > > > > Topic: Application losing SharedPreferences and Sqlite database on > Droid<http://groups.google.com/group/android-developers/t/28935d60c7066653> > > "Matt (preinvent)" <[email protected]> Mar 18 08:02PM -0700 > ^<#127750803f11c485_digest_top> > > Still no nearer getting this fixed... I rooted my Droid and can see > that the /data/data/<myapp>/lib directory was created some time ago - > that implies to me that the main app directory has not been deleted > since it was installed some time ago, therefore it's unlikely that > android is simply automatically uninstalling/reinstalling the app > (assuming that the entire data dir is removed when this happens). > > I manually added a SharedPrefs value in my code and can see that XML > line in the same file as the app prefs in the /shared_prefs > directory. I've also created files in the shared_prefs folder and > databases folder under both the root user and the app owner user. > When the data gets trashed again I can see if anything else in there > is removed. > > > > Topic: Application wake > up<http://groups.google.com/group/android-developers/t/a9528ec78417ffc6> > > Andreas <[email protected]> Mar 18 07:56PM -0700 > ^<#127750803f11c485_digest_top> > > Hi, > > Please note that there is no longer any class called IntentReceiver. > It is now called BroadcastReceiver. Also, to get this to work, you > need to register the receiver in the AndroidManifest.xml like this: > > <receiver android:name=".RespToSMS"> > <intent-filter> > <action android:name="android.provider.Telephony.SMS_RECEIVED" /> > </intent-filter> > </receiver> > > Regards, > Andreas > > > > > Topic: GPS without gps > signal<http://groups.google.com/group/android-developers/t/7095a88c1f39b97a> > > Andreas <[email protected]> Mar 18 07:20PM -0700 > ^<#127750803f11c485_digest_top> > > Thank you. > > That was about what I expected, but it's nice to get a confirmation > from someone who actually tried it. ;) > > > > > Topic: 答复: 答复: 答复: [android-developers] Where is the source project > location of YouTube in > Eclair?<http://groups.google.com/group/android-developers/t/10b17bd315bb2ab7> > > "David" <[email protected]> Mar 19 10:13AM +0800 > ^<#127750803f11c485_digest_top> > > App1 calls the Youtube search and can get the right result list as the > following solution, but when press "back" key, the result list disappears, > the Youtube's main window appears automatically, we have to press "back" > again to come back to the App1, we just want the UI go directly to the app1 > window when press the back key on the search result window. > > Anyone knows how to skip the Main window of Youtube? > > Thanks, > > Best Regards, > David > > -----邮件原件----- > 发件人: [email protected] [mailto: > [email protected]] 代表 Kumar Bibek > 发送时间: 2010年3月11日 20:12 > 收件人: Android Developers > 主题: Re: 答复: 答复: [android-developers] Where is the source project > location of YouTube in Eclair? > > > Check this link > > > > http://tech-droid.blogspot.com/2010/03/youtube-intent-for-search-in-android.html > > Thanks and Regards, > Kumar Bibek > > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > > > Topic: Are primitive types garbage collected in > Android?<http://groups.google.com/group/android-developers/t/96fa1a56e002f01d> > > snctln <[email protected]> Mar 18 06:58PM -0700 > ^<#127750803f11c485_digest_top> > > I know this may be a dumb question, but my background is more in c++ > and managing my own memory. > > I am currently cutting down every single allocation that I can from > one of my games to try and reduce the frequency of garbage collection > and perceived "lag", so for every variable that I create that is an > Object (String for example) I am making sure that I create it before > hand in my constructor and not create temporary variables in simple 10 > line functions... (I hope that makes sense) > > Anyways I was working though it some more tonight and I realized that > I a may be completely wrong about my assumption on garbage collection > and primitive types (int, boolean, float) are these primitive type > variables that I create in a 10 line function that gets called 20 > times a second adding to my problem of garbage collection? > > Thank you for any responses. > > > > Topic: Strategies for using Touchscreen MotionEvent > Coordinates<http://groups.google.com/group/android-developers/t/787c66877c2ac0d9> > > Rocco <[email protected]> Mar 18 06:37PM -0700 > ^<#127750803f11c485_digest_top> > > Hey Robert, > > Thanks so much for your reply! I think you might be right that this > IS in fact a scaling issue. I'm sure I can run some tests by actually > drawing a dot at the actual screen coordinates and comparing where I > expect it to land. I got the jist of the issue right away when you > mentioned it but I also appreciate the additional suggestions. > > Now I just have to drum up a couple thousand bucks for the rest of the > android phones :-). > > Rocco > > > > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

