Would you please any body help me weather forecast 2011/8/16, [email protected] <[email protected]>: > ============================================================================= > Today's Topic Summary > ============================================================================= > > Group: [email protected] > Url: http://groups.google.com/group/android-developers/topics > > - recommended icon size. [1 Update] > http://groups.google.com/group/android-developers/t/f8f792d6495ed58b > - Clickable ImageView [1 Update] > http://groups.google.com/group/android-developers/t/ca82c1c43700fb55 > - getting stuck in database [2 Updates] > http://groups.google.com/group/android-developers/t/aafbc6a00f96f824 > - Market license error for a handful of users [2 Updates] > http://groups.google.com/group/android-developers/t/c60eab8acaead576 > - How to show a map (maps are still images of each floor of a building) [1 > Update] > http://groups.google.com/group/android-developers/t/f72d7990ad923036 > - Activity Start Performance Improvement - how to dealt with loading the > data while the UI continues to be displayed [2 Updates] > http://groups.google.com/group/android-developers/t/ce9a8d852374acd > - Custom contextual menu options don't appear [1 Update] > http://groups.google.com/group/android-developers/t/f11be94efeb64849 > - Software Keyboard [1 Update] > http://groups.google.com/group/android-developers/t/fd86890f649128be > - New SDK can't handle the rotation properly. [2 Updates] > http://groups.google.com/group/android-developers/t/9abadaaeb399cc0d > - Adapting ImageDownloader enhancements to my app [1 Update] > http://groups.google.com/group/android-developers/t/bf72c43403584a01 > - back & home key in api [3 Updates] > http://groups.google.com/group/android-developers/t/8e39b6956f9312e6 > - FM sporting [1 Update] > http://groups.google.com/group/android-developers/t/d65e526617546790 > - how to detect an invalid pin was given by the user when connecting to > bluetooth [1 Update] > http://groups.google.com/group/android-developers/t/30e104a512c13ddc > - Tricky layout [2 Updates] > http://groups.google.com/group/android-developers/t/c88ce28e24e1f019 > - Can I use drawable-small, large, xlarge instead of hdpi, mdpi, ldpi? [1 > Update] > http://groups.google.com/group/android-developers/t/fea76fc34a1f8899 > - Video recording not saving if i don't call finish [1 Update] > http://groups.google.com/group/android-developers/t/48f80d3aad2e5708 > - Searching for a String Within a ListView [1 Update] > http://groups.google.com/group/android-developers/t/46af20a7575534c9 > - How to set Animation on Display Settings menu programmatically? [1 > Update] > http://groups.google.com/group/android-developers/t/d953ad9a0521c99b > > > ============================================================================= > Topic: recommended icon size. > Url: http://groups.google.com/group/android-developers/t/f8f792d6495ed58b > ============================================================================= > > ---------- 1 of 1 ---------- > From: Matt Clark <[email protected]> > Date: Aug 15 06:47PM -0700 > Url: http://groups.google.com/group/android-developers/msg/61b0d6cb4432ef15 > > The phone will only load that icon on an HDPI device. In your Res: folder > there are 3 folders. drawable-ldpi drawable-mdpi drawable-hdpi, each with > their own icon.png file. This is where the icons will be taken from > depending on the screen resolution. > > > > ============================================================================= > Topic: Clickable ImageView > Url: http://groups.google.com/group/android-developers/t/ca82c1c43700fb55 > ============================================================================= > > ---------- 1 of 1 ---------- > From: Matt Clark <[email protected]> > Date: Aug 15 06:46PM -0700 > Url: http://groups.google.com/group/android-developers/msg/39a56c3140aaa0ee > > I have an application which implements a clickable image view, however, when > i add the following code: > > team_background = (ImageView) findViewById(R.id.home_background); > > team_background.setClickable(true); > > team_background.setOnClickListener(new View.OnClickListener() { > > @Override > public void onClick(View v) { > // TODO Auto-generated method stub > } > }); > > <xml> > > <ImageView > android:id="@+id/team_background" > android:layout_width="fill_parent" > android:layout_height="fill_parent"/> > > The program crashes. Only on the setOnClickListener, which works fine for my > text views and buttons etc... Can someone help to identify the problem here? > Thanks ~Matt > > > > ============================================================================= > Topic: getting stuck in database > Url: http://groups.google.com/group/android-developers/t/aafbc6a00f96f824 > ============================================================================= > > ---------- 1 of 2 ---------- > From: Vance Turnewitsch <[email protected]> > Date: Aug 15 05:28PM -0700 > Url: http://groups.google.com/group/android-developers/msg/ea6b8aaee1c7952d > > Your question is rather vauge. > Post some code showing how you read data and set the UI to clear > things up, or maybe take a look at LogCat to see if you're getting > errors. > > Vance > > > > ---------- 2 of 2 ---------- > From: TreKing <[email protected]> > Date: Aug 15 08:28PM -0500 > Url: http://groups.google.com/group/android-developers/msg/5eda26aa5cd7e803 > > >> please give the procedure how to do it.. > > Your question was answered the first time you asked: > http://groups.google.com/group/android-developers/browse_thread/thread/d71e9da4d4fe15f6/aa8213a3b8f89242?show_docid=aa8213a3b8f89242 > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > > > ============================================================================= > Topic: Market license error for a handful of users > Url: http://groups.google.com/group/android-developers/t/c60eab8acaead576 > ============================================================================= > > ---------- 1 of 2 ---------- > From: Cody Snyder <[email protected]> > Date: Aug 15 05:46PM -0700 > Url: http://groups.google.com/group/android-developers/msg/16dc16b76c647366 > > Is anyone else getting this? We get license-invalid but only for a > handful of users so it doesn't appear to be on our side, anyone know > how to get more info on why it failed (no log as it's on the market) > or who can help. Were tempted to stop using the license stuff because > of this, just curios if developers r using this as it seems to have > issues, it should atleast track why the license was invalid for the > developers sober know what's going on > > Thanks > Cody > > > ---------- 2 of 2 ---------- > From: Zsolt Vasvari <[email protected]> > Date: Aug 15 06:25PM -0700 > Url: http://groups.google.com/group/android-developers/msg/3260254fdc64badb > > I had a report from a user that he updated his phone to 2.3.4 and now > getting LVL errors. > > > > > ============================================================================= > Topic: How to show a map (maps are still images of each floor of a building) > Url: http://groups.google.com/group/android-developers/t/f72d7990ad923036 > ============================================================================= > > ---------- 1 of 1 ---------- > From: gml <[email protected]> > Date: Aug 15 06:22PM -0700 > Url: http://groups.google.com/group/android-developers/msg/2942f8552c4e0e7 > > I am trying to create a prototype that could guide a person to his > destination place. > > * place is a wide building with several floors. > * i can obtain/retrieve the maps (still images). e.g. current:1F > destination:5F; so I can get the still images of 1st,2nd...5th floors > (5 image files). > > Scenario: > > 1. start the application > 2. input the current location (or may automatically set using > current location) & destination > 3. click the search route button to search the maps to use (still > images) & mark the current location & destination > 4. update the current location upon moving/going to destination > > I just need to display 1 image file (each floor) at a time then move > to other floor by using scroll bar. But.. don't know how to display > it. > > Any guidance on the right direction is appreciated. > > > > ============================================================================= > Topic: Activity Start Performance Improvement - how to dealt with loading > the data while the UI continues to be displayed > Url: http://groups.google.com/group/android-developers/t/ce9a8d852374acd > ============================================================================= > > ---------- 1 of 2 ---------- > From: gml <[email protected]> > Date: Aug 15 06:15PM -0700 > Url: http://groups.google.com/group/android-developers/msg/dbae67786bf21f51 > > I forgot to mention that I am using AsyncTask. > Thanks > > > > ---------- 2 of 2 ---------- > From: gml <[email protected]> > Date: Aug 15 06:18PM -0700 > Url: http://groups.google.com/group/android-developers/msg/54e166e8685194b4 > > I'm calling AsyncTask.execute() inside onStart(). > Your case is very interesting. May I view the source code? > And let me to pattern my sample app to yours. > > On Aug 15, 2:24 am, Vance Turnewitsch <[email protected]> > wrote: > > > > ============================================================================= > Topic: Custom contextual menu options don't appear > Url: http://groups.google.com/group/android-developers/t/f11be94efeb64849 > ============================================================================= > > ---------- 1 of 1 ---------- > From: Keith Wiley <[email protected]> > Date: Aug 15 06:15PM -0700 > Url: http://groups.google.com/group/android-developers/msg/6ee4a17c5dfc0b2c > > I see the other thread now. I'll pick it up from there. Thanks. > > > > ============================================================================= > Topic: Software Keyboard > Url: http://groups.google.com/group/android-developers/t/fd86890f649128be > ============================================================================= > > ---------- 1 of 1 ---------- > From: ali abd elrahim <[email protected]> > Date: Aug 16 04:33AM +0400 > Url: http://groups.google.com/group/android-developers/msg/12f3df940136a210 > > Hi; > I am new to Android, I started with softkeyboard example in > documentation, but it gave me runtime error. here is error in logcat: > > > 08-16 04:27:39.736: ERROR/dalvikvm(228): Unable to open stack trace > file '/data/anr/traces.txt': Permission denied > 08-16 04:28:19.367: ERROR/ActivityThread(52): Failed to find provider > info for android.server.checkin > 08-16 04:28:24.756: ERROR/AndroidRuntime(234): Uncaught handler: > thread main exiting due to uncaught exception > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): > android.view.InflateException: Binary XML file line #3: Error > inflating class ali.programs.android.softKeyBoard.LatinKeyboradView > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:576) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.view.LayoutInflater.inflate(LayoutInflater.java:385) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.view.LayoutInflater.inflate(LayoutInflater.java:320) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.view.LayoutInflater.inflate(LayoutInflater.java:276) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > ali.programs.android.softKeyBoard.SoftKeyboard.onCreateInputView(SoftKeyboard.java:92) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.inputmethodservice.InputMethodService.updateInputViewShown(InputMethodService.java:950) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1303) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1278) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:388) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:148) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:45) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.os.Handler.dispatchMessage(Handler.java:99) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.os.Looper.loop(Looper.java:123) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.app.ActivityThread.main(ActivityThread.java:4363) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > java.lang.reflect.Method.invokeNative(Native Method) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > java.lang.reflect.Method.invoke(Method.java:521) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > dalvik.system.NativeStart.main(Native Method) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): Caused by: > java.lang.ClassNotFoundException: > ali.programs.android.softKeyBoard.LatinKeyboradView in loader > dalvik.system.PathClassLoader@44e8cb30 > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > java.lang.ClassLoader.loadClass(ClassLoader.java:573) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > java.lang.ClassLoader.loadClass(ClassLoader.java:532) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.view.LayoutInflater.createView(LayoutInflater.java:466) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): at > android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565) > 08-16 04:28:24.766: ERROR/AndroidRuntime(234): ... 18 more > 08-16 04:28:24.786: ERROR/dalvikvm(234): Unable to open stack trace > file '/data/anr/traces.txt': Permission denied > > > and here is code for class .LatinKeyboradView: > > package ali.programs.android.softKeyBoard; > > import android.content.Context; > import android.inputmethodservice.Keyboard; > import android.inputmethodservice.KeyboardView; > import android.inputmethodservice.Keyboard.Key; > import android.util.AttributeSet; > > > public class LatinKeyboardView extends KeyboardView { > > static final int KEYCODE_OPTIONS = -100; > > public LatinKeyboardView(Context context, AttributeSet attrs) { > super(context, attrs); > } > > public LatinKeyboardView(Context context, AttributeSet attrs, int > defStyle) { > super(context, attrs, defStyle); > } > > @Override > protected boolean onLongPress(Key key) { > if (key.codes[0] == Keyboard.KEYCODE_CANCEL) { > getOnKeyboardActionListener().onKey(KEYCODE_OPTIONS, null); > return true; > } else { > return super.onLongPress(key); > } > } > } > > > Thanks for your help .. > > > > ============================================================================= > Topic: New SDK can't handle the rotation properly. > Url: http://groups.google.com/group/android-developers/t/9abadaaeb399cc0d > ============================================================================= > > ---------- 1 of 2 ---------- > From: sblantipodi <[email protected]> > Date: Aug 15 03:01PM -0700 > Url: http://groups.google.com/group/android-developers/msg/467e82bc8adaf545 > > Hi, > I noticed that android 2.3.3 emulator has some problem with screen > orientation. > > Start an app, or also the browser and rotate the screen with CTRL+F12, > the screen rotates ok, now rotate again, it remain in landscape mode, > there is no way to return to portrait mode also by repeating the > rotation. > > Is this a known bug? > > > ---------- 2 of 2 ---------- > From: TreKing <[email protected]> > Date: Aug 15 06:59PM -0500 > Url: http://groups.google.com/group/android-developers/msg/e9946f469eba8fa2 > > On Mon, Aug 15, 2011 at 5:01 PM, sblantipodi > >> Is this a known bug? > > > That is answered by searching the issues list. Not exactly the same, but > similar to what you described: > > http://code.google.com/p/android/issues/detail?id=13189&q=emulator%20rotation&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > > > ============================================================================= > Topic: Adapting ImageDownloader enhancements to my app > Url: http://groups.google.com/group/android-developers/t/bf72c43403584a01 > ============================================================================= > > ---------- 1 of 1 ---------- > From: Diego Tori <[email protected]> > Date: Aug 15 04:21PM -0700 > Url: http://groups.google.com/group/android-developers/msg/61f4e12b713d1ed0 > > Right now, I'm trying to modify ImageDownloader (http:// > code.google.com/p/android-imagedownloader/source/browse/trunk/src/com/ > example/android/imagedownloader/ImageDownloader.java) so I can > implement a couple of enhancements particular to my app: > > First, I am going to adapt the code to utilize hard and soft HashMaps > for a few different types of bitmaps for different aspects of my app > called from my singleton cache object. In other words, I will add a > constructor that will specify the type of image that I want to cache > (defined by a pre-determined State ID), that way, my cache object only > saves to and loads from those particular HashMaps for that type of > Bitmap I want to download. I am wondering whether I should just create > pairs of hard and soft hashmaps like the class for every type of > Bitmap I need to cache separately, or whether I should just create one > soft hashmap that the other hard ones dump their old images into? > > Second, since I want to incorporate caching to either cache or SD card > (via flag from constructor), would it make sense that it be the last > check it performs in getBitmapFromCache, and if it does recover the > image from SD, do I have to add it back to the hard cache? > > > > ============================================================================= > Topic: back & home key in api > Url: http://groups.google.com/group/android-developers/t/8e39b6956f9312e6 > ============================================================================= > > ---------- 1 of 3 ---------- > From: Mark Ayers <[email protected]> > Date: Aug 15 06:02AM -0700 > Url: http://groups.google.com/group/android-developers/msg/69938a3333783898 > > To add another Mark to this conversation, I think he's asking for a way to > make something happen when the home button is pressed. I don't believe this > is possible. > > > > ---------- 2 of 3 ---------- > From: Appaholics <[email protected]> > Date: Aug 15 06:36PM +0530 > Url: http://groups.google.com/group/android-developers/msg/72aacb95794aa42f > > It is if the user makes your app the default homescreen. Then when the home > button is pressed your app will be displayed. However this is not a good > solution for whatever he is trying to do. > > > -- > -------------------- > Raghav Sood > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles > required to have complete control) > http://www.raghavsood.com/ > https://market.android.com/developer?pub=Appaholics > http://www.appaholics.in/ > > > ---------- 3 of 3 ---------- > From: Mark Ayers <[email protected]> > Date: Aug 15 07:04AM -0700 > Url: http://groups.google.com/group/android-developers/msg/dba2b39f322fac9e > > That was what I meant, it sounded like he wanted to use that for navigation > within an app. >> It is if the user makes your app the default homescreen. Then when the > home >> solution for whatever he is trying to do. > >> On Mon, Aug 15, 2011 at 6:32 PM, Mark Ayers <[email protected]> wrote: > >>> To add another Mark to this conversation, I think he's asking for a way > to >>> make something happen when the home button is pressed. I don't believe > this > > > > ============================================================================= > Topic: FM sporting > Url: http://groups.google.com/group/android-developers/t/d65e526617546790 > ============================================================================= > > ---------- 1 of 1 ---------- > From: Chris <[email protected]> > Date: Aug 15 07:02AM -0700 > Url: http://groups.google.com/group/android-developers/msg/95be3fff797878b2 > > Which MTK6516 device is it? Not all of them have FM radio support. > > > > ============================================================================= > Topic: how to detect an invalid pin was given by the user when connecting to > bluetooth > Url: http://groups.google.com/group/android-developers/t/30e104a512c13ddc > ============================================================================= > > ---------- 1 of 1 ---------- > From: guich <[email protected]> > Date: Aug 15 07:00AM -0700 > Url: http://groups.google.com/group/android-developers/msg/2dacdaf527d798b3 > > seems that the bluetooth api is still in early development stage... > or, at least, not well documented. > > guich > > > > ============================================================================= > Topic: Tricky layout > Url: http://groups.google.com/group/android-developers/t/c88ce28e24e1f019 > ============================================================================= > > ---------- 1 of 2 ---------- > From: darrinps <[email protected]> > Date: Aug 15 06:47AM -0700 > Url: http://groups.google.com/group/android-developers/msg/ada5cd51a2f6e46d > > Thanks. This app is going to be used on a lot of devices of varying > sizes and in both landscape and portrait orientation so I need > something "automatic" and cannot really calculate exact X/Y > coordinates. > > > > ---------- 2 of 2 ---------- > From: darrinps <[email protected]> > Date: Aug 15 06:58AM -0700 > Url: http://groups.google.com/group/android-developers/msg/f6c34f36abdcbc98 > > Got it! > > I started thinking about using the FrameLayout as Matt mentioned but > as a wrapper to the table and just using it to house the backgroung, > then I added padding on the uppermost area that held the background I > wanted and voila! That did it. > > > > > ============================================================================= > Topic: Can I use drawable-small, large, xlarge instead of hdpi, mdpi, ldpi? > Url: http://groups.google.com/group/android-developers/t/fea76fc34a1f8899 > ============================================================================= > > ---------- 1 of 1 ---------- > From: Mark Ayers <[email protected]> > Date: Aug 15 06:00AM -0700 > Url: http://groups.google.com/group/android-developers/msg/7583bad96a2add86 > > There are ways to convince a computer that you have such a screen, I imagine > it'd look pretty funny though. > > > > > > ============================================================================= > Topic: Video recording not saving if i don't call finish > Url: http://groups.google.com/group/android-developers/t/48f80d3aad2e5708 > ============================================================================= > > ---------- 1 of 1 ---------- > From: Amit Mangal <[email protected]> > Date: Aug 15 06:23PM +0530 > Url: http://groups.google.com/group/android-developers/msg/4ec82a7fa7b7294 > > Hi Everyone, > I am creating app for video recording. i press a button to start video. when > i press the button to stop the recording it stops. > problem is after stopping if i play video immediately it plays recorded > video but when i check video file in sd card i see its size is 0KB. > when i call finish(); then it saves video but finish ends my activity . > any body having idea how to save video with out calling finish(); > > thanks > > > > ============================================================================= > Topic: Searching for a String Within a ListView > Url: http://groups.google.com/group/android-developers/t/46af20a7575534c9 > ============================================================================= > > ---------- 1 of 1 ---------- > From: usafrmajor <[email protected]> > Date: Aug 15 05:48AM -0700 > Url: http://groups.google.com/group/android-developers/msg/6a3b9fef299942fc > > I currently have an EdittText box and this code for filtering a listview: > > et.addTextChangedListener(new TextWatcher() > { > public void afterTextChanged(Editable s) { } > public void beforeTextChanged(CharSequence s, int start, int count, > int after) {} > public void onTextChanged(CharSequence s, int start, int before, > int count) > { lv_movie_array.getFilter().filter(s); } > }); > > Is there an equally simple way to search for a string within the list view > items, not just from the first position like the filtering appears to do? > thanks > > > > ============================================================================= > Topic: How to set Animation on Display Settings menu programmatically? > Url: http://groups.google.com/group/android-developers/t/d953ad9a0521c99b > ============================================================================= > > ---------- 1 of 1 ---------- > From: Setiawan Dharmaputera <[email protected]> > Date: Aug 15 03:33PM +0700 > Url: http://groups.google.com/group/android-developers/msg/54c546c52107280d > > Owh, I see. So it's a one way then. that's too bad. But, thanks for the > reply. > > Thanks and Regards, > Setiawan > > > > > -- > 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

