hi i seach a librairy for to make a wms client, do you have suggestion.
From: [email protected] Sent: Monday, September 12, 2011 3:47 PM To: Digest Recipients Subject: [android-developers] Digest for [email protected] - 25 Messages in 22 Topics Today's Topic Summary Group: http://groups.google.com/group/android-developers/topics a.. AndRoid Application [1 Update] b.. Enable android:hardwareAccelerated, but build against a target earlier than 3.0 [1 Update] c.. Idiomatic way of getting count of items in content provider directory [1 Update] d.. HTML table width [2 Updates] e.. Anyone notice app usage trends by month? [1 Update] f.. Help me with adding overlays in google maps [1 Update] g.. How can I center an ImageView and TextView together? [1 Update] h.. 9 patch png [1 Update] i.. how to start a activity using this menu structor [2 Updates] j.. ADB could see Samsung Galaxy Tab 10.1 but now it can't! [1 Update] k.. ADT installation problems: cannot find org.eclipse.wst.sse.core [1 Update] l.. Emulator invalid command-line parameter [2 Updates] m.. how to learn android? [1 Update] n.. Flash Nexus One with Gingerbread, from scratch [1 Update] o.. How do I change Normal app icon in Market? [1 Update] p.. PARTIAL_WAKE_LOCK and thread running in a service [1 Update] q.. PDF Library [1 Update] r.. Change scrollbar width in a ScrollView [1 Update] s.. inflate and draw into bitmap [1 Update] t.. Get views and widgets of activities in a default android applications (Settings, contacts etc) [1 Update] u.. Hide Phone Number in the Dialer [1 Update] v.. How to deal with expensive view height calculation? [1 Update] Topic: AndRoid Application Tom Opgenorth <[email protected]> Sep 12 01:24PM -0600 ^ Checkout Xamarin's Mono for Android: http://android.xamarin.com/ -- http://www.opgenorth.net Topic: Enable android:hardwareAccelerated, but build against a target earlier than 3.0 Tom <[email protected]> Sep 12 12:21PM -0700 ^ I want to enable hardware acceleration for my android app, but I still want to build against Android 2.1 (in order to make sure I don't accidentally rely on APIs introduced in 3.0, for example). Is there anyway to turn on a feature and still build against a version before it was introduced? I know I can use reflection in code to check for say, an API added after my build target, but I'm not sure if I can do something similar for android:hardwareAccelerated. Topic: Idiomatic way of getting count of items in content provider directory goosedroid <[email protected]> Sep 12 12:16PM -0700 ^ For both writing a content provider, and using an existing one, what is the preferred way of getting the number of items in a directory? For example content://foo/bar I would like to know how many items are in bar. I could select all of the rows and then call Cursor.getCount() but that seems terrible. If I am writing my own Content Provider, I suppose I could add a Uri in my content provider like content://foo/bar/count which return a ResultSet containing select(*) from bar, essentially. Thanks Topic: HTML table width bob <[email protected]> Sep 12 11:49AM -0700 ^ Whenever I set the width of a table to 100% using HTML in an Android WebView, Android makes a mess of the page. Anyone know about this? Miguel Morales <[email protected]> Sep 12 11:56AM -0700 ^ I've used tables with width=100% just fine. You're probably doing something wrong. -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx Topic: Anyone notice app usage trends by month? Michael Banzon <[email protected]> Sep 12 08:44PM +0200 ^ Do you mean app downloads/active installations or actual app usage? I have not seen decrease in any of those on any of my apps. I don't know how many apps actively track usage. -- Michael Banzon http://michaelbanzon.com/ Topic: Help me with adding overlays in google maps Logesh rajendren <[email protected]> Sep 12 11:38AM -0700 ^ i found the problem. the problem is actually in manifest file . i didnt include HelloItemizedOverlay activity in the manifest file. Topic: How can I center an ImageView and TextView together? Dan <[email protected]> Sep 12 11:23AM -0700 ^ I need to make a heading with an ImageView and TextView that are centered together, like the following diagram. (please use a monospaced font to see this diagram) -------------------------------- | | | ----------- ---------- | | -ImageView- -TextView- | | ----------- ---------- | | | | -Other Content- | | | The ImageView must be scaled to the height of the TextView and together they must be centered as if they were one widget. Any ideas on how to accomplish this? Topic: 9 patch png Richard Lalancette <[email protected]> Sep 12 11:04AM -0700 ^ Simply use a 9-patch found on my blog to do your test :) Please enjoy free 9-Patch images found on my blog: http://android9patch.blogspot.com/ I also created an android app to browse, test and share 9-Patch Images: http://market.android.com/details?id=com.android9patch.viewer All images are free and can be used in any type of android applications, including commercial projects. Enjoy! Topic: how to start a activity using this menu structor Raziel23x <[email protected]> Sep 12 10:07AM -0700 ^ he method intent(String) is undefined for the type LiquidBackgroundsFreeActivity TreKing <[email protected]> Sep 12 12:50PM -0500 ^ > he method intent(String) is undefined for the > type LiquidBackgroundsFreeActivity It sounds like you need to learn Java before you starting working on your Android App. Find a good book or tutorial and learn at least the basics of Java. Once you know that, fixing your build problem (which has nothing to do with Android) will be easy. Good luck. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices Topic: ADB could see Samsung Galaxy Tab 10.1 but now it can't! RodneyJLambert <[email protected]> Sep 12 10:48AM -0700 ^ mellery451, Thanks but I did try that many times and it makes no difference. FYI today ADB can not see the Tab! For a system that never had a problem see the Tab for three months to suddenly not be able to see it something must have changed and I feel like it is on the Ubuntu side but I don't know how long I have been using Android SDK Platform- tools, revision 6? Topic: ADT installation problems: cannot find org.eclipse.wst.sse.core John Goche <[email protected]> Sep 12 07:01PM +0200 ^ OK, I found a solution. I simply had to do a: Help -> Install New Software... -> http://download.eclipse.org/eclipse/updates/3.7 and then was able to install the ADT. Regards, John Goche Topic: Emulator invalid command-line parameter Peter Phillips <[email protected]> Sep 12 09:57AM -0700 ^ Your emulator is installed in the "Program Files" folder and eclipse is having trouble running it because of the space in the file name: [2011-09-12 04:14:20 - Emulator] invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe To fix it either re-install the SDK in a folder with no spaces in the name or use an "8.3" name for the location of the Android SDK in eclipse (I used C:\PROGRA~1\Android\android-sdk instead of C:\Program Files\Android\android-sdk) Chris <[email protected]> Sep 12 10:00AM -0700 ^ Install your SDK in a path that doesn't have spaces, and update said path in Eclipse. If you need more info try searching Google for help. Topic: how to learn android? Logesh rajendren <[email protected]> Sep 12 09:55AM -0700 ^ android pro development . Topic: Flash Nexus One with Gingerbread, from scratch "Howard M. Harte" <[email protected]> Sep 12 09:48AM -0700 ^ Since Nexus One is a developer phone, I don't mind answering on this forum: Download the GRI40 update.zip from developer.htc.com, Unlock the bootloader with "fastboot own unlock" if you have not done so already. Then "fastboot update update.zip" where update.zip is the name of the GRI40 zip you downloaded previously. -Howard Topic: How do I change Normal app icon in Market? TreKing <[email protected]> Sep 12 11:43AM -0500 ^ > I think it is pulling the icon from my app resources rather than the assets > you add when you submit an app. Is that right? The icon on the main app details page appears to be the High Resolution Icon. Besides that, yes, it's the app's icon specified in the manifest. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices Topic: PARTIAL_WAKE_LOCK and thread running in a service Evelyon <[email protected]> Sep 12 04:56AM -0700 ^ I've discovered few minutes ago that my code is ok. The problem is the implementation of the PowerManager in the Eken M009S tablets, (a chinese tablet). In other devices, like in Samsung's cell phones, the PARTIAL_WAKE_LOCK works perfectly. Topic: PDF Library Matt Powers <[email protected]> Sep 12 07:40AM -0400 ^ Would launching the PDF in a webview meet your requirements Topic: Change scrollbar width in a ScrollView Aitor Mendaza Ormaza <[email protected]> Sep 12 01:39PM +0200 ^ Hello to everyone: My question might be a bit dumb, but I have check on google, and I'm not able to acomplish what I want. I have a ScrollView with a lot of text. The scrollbars I get with the default scrollview are very slim and I will like to have a scrollbar a bit wider, so people can use it to scroll faster up or down, similar to the Contacts application included with default android. you can see the picture here: http://i.stack.imgur.com/UqNMY.jpg to see what I mean. My problem is that I have tryed to put a drawable as a vertical thumb with *android:scrollbarThumbVertical="@+drawable/scrollbar_h"* but it keeps the original width (very small) and I can not use it to scroll down and up. I have the option fastScrollEnabled set to true, but I think this works only for ListViews. My scrollView definition is as follows: *<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" > android:scrollbarThumbVertical="@+drawable/scrollbar_h" > android:fastScrollEnabled="true" > >* Any help will be much appreciated! -- --- http://aitorTheRed.blogspot.com http://www.last.fm/user/aitorTheRed/ Topic: inflate and draw into bitmap Marco Alexander Schmitz <[email protected]> Sep 12 01:33PM +0200 ^ maybe your answer was cut? :) Topic: Get views and widgets of activities in a default android applications (Settings, contacts etc) ajay <[email protected]> Sep 11 11:23PM -0700 ^ Hi.... Thanx for the response. Can I open the main/default activity of the Settings application from the onCreate() event of my Activity? Topic: Hide Phone Number in the Dialer mwllace <[email protected]> Sep 11 11:19PM -0700 ^ Thanks Chris, I will try this method. Topic: How to deal with expensive view height calculation? Adam Ratana <[email protected]> Sep 11 10:45PM -0700 ^ On Friday, September 9, 2011 4:48:51 PM UTC-4, Ted Hopp wrote: > irrational bias against it. > Other people must have faced this same problem. Are there approaches I've > missed? Is there a best approach? (shortened above) Hi Ted, I have experienced the need to know the height/width of the view for the sizing of many components which I draw on the screen that are all relative to the view size. I have found in my experience that using onSizeChanged is what seems to be the best approach. It can be called several times (possibly even initially with 0,0 as values, unless I am mistaken), and each time it is called I update some variables which I then use to size/scale/place components. Previously I had used onMeasure, but this did not seem to work as well or as cleanly. Hopefully others can weigh in as I'm curious what others have done in this regard. This is all done outside of onDraw, though, as you do not want onDraw to do anything unnecessary or intensive. The number of times onDraw is going to be called far exceed that of onMeasure or onSizeChanged, so keep that in mind - remember that it can be called many times per second, so that anything calculation wise or creation wise that can be cached, should be. If you have elements which may involve intense calculations to scale and compose, then using a separate thread is desirable instead of doing it on the main thread. You can perhaps take the strategy of always using values you have "published" and cached in your onDraw call, meanwhile calculating new values in a separate thread, and then publishing them when ready (with some synchronization/locking here - kind of a double buffering/swap effect). Carefully profiling any approach will be key for performance. Adam -- 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

