Re: [android-developers] Re: What is the name of this widget?

2011-01-10 Thread Kostya Vasilyev
I believe the screenshot comes from an HTC device. If so, then the widget and the application using it are part of HTC Sense UI (I'm too lazy to go look at my Hero right now to check). They do a lot of custom things in Sense, like scrolling and re-configurable widgets. And while owners of H

[android-developers] Re: What is the name of this widget?

2011-01-10 Thread Pent
> That said, the current standard widget pretty much sucks rocks.  We also > know it sucks rocks, and have desperately wanted to redo it since 1.0.  It > would be nice to fix that as part of a larger UI overhaul.  Not that I am > promising anything. :) If you could also make NumberPicker public du

[android-developers] Re: Change the background of an AppWidget

2011-01-10 Thread mort
I think if you're feeling masochistic, you could create 9 images and do some kind of "manual 9-patch image" with e.g. table or linear layout views. Just like in bad old HTML times... ;) If your "dynamically created" images aren't too complex, you might also use something similar to the XML shape dr

Re: [android-developers] Re: RPC service with notification

2011-01-10 Thread Kostya Vasilyev
Jackie, I already gave you one suggestion, it had to do with "AndroidServiceImpl.class". Here is another: If inner classes are a new thing to you, don't use one, they can be confusing at first. Make a method in your Service class proper, call it from inside AndroidServiceImpl, and then yo

[android-developers] How to monitor android application memory leak? is there tools do it?

2011-01-10 Thread water boiled
I want to find my android application whether has memory leak . and some tool help me do i -- 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 gr

Re: [android-developers] Re: What is the name of this widget?

2011-01-10 Thread MerlinBG
Yes, you are right, it is from HTC Desire. First thought that Sense adds some kind of skin over the NumberPicker, but this seems not to be the case when I duplicated it... or perhaps I miss something, I am still newbie with Android. Well, I guess the general feeling is up to the user, I personal

[android-developers] A Requirement in Browser.

2011-01-10 Thread yogi
Hi All, I have a requirement like open "http://www.google.com/support/accounts/ bin/answer.py?hl=en&answer=55393&from=48601&rd=1" in this page there is "Language Change" option which contains list of language to choose. As an Dialog Box . My requirement is showing this dialog as a Activity screen

[android-developers] Re: What's new in honeycomb?

2011-01-10 Thread mort
I don't know if I get a bit off-topic, but it's still related to Honeycomb and tablets: I've seen several apps in the Honeycomb videos which displayed in one screen what must've been multiple Activities before, like e.g. the mail list and single mail view. Will there be an easy way to support multi

[android-developers] Android Binding Project

2011-01-10 Thread x-a...@gueei.com
This is a one-time post to announce the creation of the Android Binding Framework, an open source Android Programming library that helps implementing MVVM Pattern in Android programs, through the binding of View Model to the XML Layout View file in declarative way. A first demo app is uploaded to t

[android-developers] Custom Attributes - Accessing via Activity

2011-01-10 Thread Adam Goodchild
Hey, Ive been looking into getting Custom Attributes working within an application. I have this working up to the point where I am able to assign the custom attribute via XML to one of my Views (a Background or Image Source for example). What I now want to do is access the Custom Attributes via C

Re: [android-developers] Custom Attributes - Accessing via Activity

2011-01-10 Thread Kostya Vasilyev
Where and how are you setting attribute values? Your call to getStylableAttributes is looking for attribute values in the activity's theme, is that where you've specified your values? -- Kostya 10.01.2011 12:35, Adam Goodchild пишет: Hey, Ive been looking into getting Custom Attributes work

Re: [android-developers] convert web page to pdf

2011-01-10 Thread kavitha b
Thanks for reply MarksMurphy. Please suggest any solution to try upon on this. On Sat, Jan 8, 2011 at 7:01 PM, Mark Murphy wrote: > On Sat, Jan 8, 2011 at 4:12 AM, kavitha b wrote: > > I have requirement in which I need to convert web page to pdf. > > Whoever gives you these requirements despe

[android-developers] filesystem access on emulator

2011-01-10 Thread Ajay Prabandham
Dear All, Does anyone in this comunitys,know now to access the linux filesytem local to the emulator? Ironically, i am using the windows version of the Android SDK API 9. I need to locate the .apk file that one loads onto the emulator to run/debug the project binary. Thanks and

[android-developers] Re: Custom Attributes - Accessing via Activity

2011-01-10 Thread Adam Goodchild
Ok, I have the following files: attrs.xml, styles.xml, themes.xml Here is my attrs.xml file: Here is my themes.xml file: @drawable/splash Here is my styles.xml file:

[android-developers] How to build static lib

2011-01-10 Thread hen
Hi dear, I succeeded to built NDK r5 samples "test-libstdc++" to executable and shared lib, but if I try to build if for static lib, the make message always just output: make: Entering directory `/cygdrive/d/cygwin/path/android-ndk-r5/ samples/test-libstdc++' make: Leaving directory `/cygdrive/d/

[android-developers] Re: filesystem access on emulator

2011-01-10 Thread Sarwar Erfan
No need to access emulator filesystem for this. You can find that in the bin directory of your project directory in your PC. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] Display admob in full screen

2011-01-10 Thread kavitha b
Hi All, How to show admob in full screen in android instead of wrap_content? The examples what I see will be shown as a strip of ads. Please help me. Thanks, Kavitha -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] Native heap size

2011-01-10 Thread pedr0
Hi at all, I am a little bit confused about the native heap on android, I would like know the native heap max size, there is a way to know it? Like getRuntime().maxMemory() which I use for know the maximum limit of VM heap. Another question is relative at how the native heap memory is released,

Re: [android-developers] update app without deleting DB

2011-01-10 Thread kavitha b
I hope you can use OnUpgrade method of DB when upgrading the app On Sun, Jan 9, 2011 at 9:15 PM, Mark Murphy wrote: > On Sun, Jan 9, 2011 at 10:37 AM, Alex wrote: > > Simple question : > > I published an app (2months ago). It uses a DB to retrieve > > information, and the user saves some parame

[android-developers] Re: How to Build Modofied launcher source code

2011-01-10 Thread Sunil
sri gmail.com> writes: > > Hi, > > As per my requirement i have to modify the Launcher source code. > > I have imported the launcher code in to Eclipse IDE and i could see > many import errors and variable not found errors. > > Can any body tell me how to build the launcher source code as wee

Re: [android-developers] Re: Custom Attributes - Accessing via Activity

2011-01-10 Thread Kostya Vasilyev
Adam, I am not sure about the extra indirection level you have in your code (the "?attr" stuff), but this should work: @drawable/splash With this in the manifest: And then: TypedArray a = this.obtainStyledAttributes(R.styleable.MainSpl

Re: [android-developers] Re: How to exit the application..?

2011-01-10 Thread 20plus10 30
Use this: This will stop the proccess: android.os.Process.killProcess(android.os.Process.myPid()); /Maali 2011/1/10 dilu > Even I tried with System.exit(0). > But its not working .So question is that how to completly exit the > application if we want to do . > > On Dec 29 2010, 11:10 am, Dia

Re: [android-developers] Re: How to exit the application..?

2011-01-10 Thread Kostya Vasilyev
And then if you have a Service component, be prepared for it to stop working after a period of time. 10.01.2011 14:04, 20plus10 30 пишет: Use this: This will stop the proccess: android.os.Process.killProcess(android.os.Process.myPid()); /Maali 2011/1/10 dilu

[android-developers] WebView image source

2011-01-10 Thread Neilz
Hi all. I have a WebView where I embed an image in the HTML: pageContent += ""; However I already have the image cached in memory, which can be called via a static method to return a Bitmap. Is there a way I can call the cached Bitmap to go in the 'src' tag? The method getImage currently return

Re: [android-developers] Re: How to exit the application..?

2011-01-10 Thread 20plus10 30
It wil stop the application ttally. It kills its own proccess. 2011/1/10 Kostya Vasilyev > And then if you have a Service component, be prepared for it to stop > working after a period of time. > > 10.01.2011 14:04, 20plus10 30 пишет: > > Use this: > > This will stop the proccess: > > android.o

Re: [android-developers] Layout problem on Galaxy tab emulator

2011-01-10 Thread Shashidhar
Any Success on this. I am also having the same issue. Thanks, Shashidhar On Mon, Dec 20, 2010 at 1:21 PM, Bape wrote: > I want to develop a application on Samsung Galaxy. > The resolution is 1024 * 600 > My mainlayout should look like this: > > http://office.techniconsulting.be/~peeters/eclipse

[android-developers] call .aspx page from Android..

2011-01-10 Thread peria abirami
i need to call .aspx page from android code... Can any one help on this issue -- 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

Re: [android-developers] call .aspx page from Android..

2011-01-10 Thread Mark Murphy
Use HttpClient. On Mon, Jan 10, 2011 at 7:06 AM, peria abirami wrote: > i need to call .aspx page from android code... > Can any one help on this issue > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, sen

Re: [android-developers] Layout problem on Galaxy tab emulator

2011-01-10 Thread Kostya Vasilyev
This has been resolved. Set minSdk to 4 or above: http://developer.android.com/guide/topics/manifest/uses-sdk-element.html -- Kostya 10.01.2011 15:02, Shashidhar ?: Any Success on this. I am also having the same issue. Thanks, Shashidhar On Mon, Dec 20, 2010 at 1:21 PM, Bape

[android-developers] Re: TextView and ellipsize

2011-01-10 Thread Neilz
I found other people asking this on StackOverflow, it appears there is a bug here with no fix. There's a link to a potential solution: is it just me or is there nothing there? http://code.google.com/p/android-textview-multiline-ellipse/ On Jan 7, 12:04 am, D K wrote: > On Thu, Jan 6, 2011 at 4:

[android-developers] Help with Content Providers / Content Resolvers

2011-01-10 Thread Pedro Duque
Hi, I'm developing an editor for my application data. This application has a free and a premium version, so each one has it's own content provider with different authorities to avoid clashes. The editor also have a local content provider so it can work standalone. What I want to do is to check fo

[android-developers] Re: Picture orientation from gallery or camera intent

2011-01-10 Thread Juhani Lehtim?ki
This is turning out to be very difficult problem. I found a solution to one part of my problem by reading Android's gallery app's source. When I get the picture from gallery it works. This is a code snippet from my onActivityResult() final Uri imageUri =

Re: [android-developers] Re: TextView and ellipsize

2011-01-10 Thread Kostya Vasilyev
10.01.2011 15:37, Neilz пишет: I found other people asking this on StackOverflow, it appears there is a bug here with no fix. There's a link to a potential solution: is it just me or is there nothing there? http://code.google.com/p/android-textview-multiline-ellipse/source/browse/#svn%2Ftrunk

Re: [android-developers] Help with Content Providers / Content Resolvers

2011-01-10 Thread Kostya Vasilyev
The mime type mapping works in the other direction: once you have a ContentProvider (or more specifically, a URI for a data query) it can be used to get the mime type. For your task, take a look at: http://developer.android.com/reference/android/content/pm/PackageManager.html#queryContentProvi

[android-developers] Re: TextView and ellipsize

2011-01-10 Thread Neilz
Ah... thanks! On Jan 10, 12:52 pm, Kostya Vasilyev wrote: > 10.01.2011 15:37, Neilz пишет: > > > I found other people asking this on StackOverflow, it appears there is > > a bug here with no fix. > > > There's a link to a potential solution: is it just me or is there > > nothing there? > > http:/

[android-developers] does a handler prevents memory leaks???

2011-01-10 Thread Shawn Brown
Hi, Android docs(1) suggest using threads and a handler to send messages (to avoid ANR). Fine. I've always done that but then porting some code to Android noticed that it's not necessary. Passing the Activity (i.e. Context) works fine. public class WorkerThread extends Thread { private Ac

[android-developers] Re: update app without deleting DB

2011-01-10 Thread Alex
Thanks for your answers! I'll try this. On Jan 10, 5:26 am, kavitha b wrote: > I hope you can use OnUpgrade method of DB when upgrading the app > > On Sun, Jan 9, 2011 at 9:15 PM, Mark Murphy wrote: > > On Sun, Jan 9, 2011 at 10:37 AM, Alex wrote: > > > Simple question : > > > I published an ap

[android-developers] google analytics jar does not seem to work now

2011-01-10 Thread David Liebman
HI, I have google analytics incorporated in my android app. When I first added the code, and then updated my app on android market I got lots of hits. Now I get none. I know people might just be not using my app, but I started up the gingerbread emulator and did everything that was necessary for m

Re: [android-developers] Help with Content Providers / Content Resolvers

2011-01-10 Thread Pedro Duque
Thank you Kostya, that's exactly what I was looking for! On 10 January 2011 13:02, Kostya Vasilyev wrote: > The mime type mapping works in the other direction: once you have a > ContentProvider (or more specifically, a URI for a data query) it can be > used to get the mime type. > > For your tas

[android-developers] Re: XML Signature

2011-01-10 Thread Miguel Paraz
On Jan 4, 5:46 am, spock wrote: > How is it possible to generate XML signature on Android. In pure JAVA > I would probably follow this tutorial: > > http://java.sun.com/developer/technicalArticles/xml/dig_signature_api/ > > but I cannot find following packages on android: > > javax.xml.crypto > ja

[android-developers] View HTML in Android browser

2011-01-10 Thread perumal316
Hi All, I want to open saved HTML pages in default Android browser. But currently when I open the HTML, it is only showing me the option to either open in HTML viewer not the browser. How do I make it to open in Android browser? Thanks and Regards, Perumal -- You received this message because

[android-developers] Changing the height of ContextMenu at runtime

2011-01-10 Thread yogi
Hi All, I have a requirement in which i have to adjust the height of the contextMenu at run time.The List already have enough element to make scroll in the context menu (11-12 items). so that I can shrink and expand the contextual menu. Thanks in Advance.. Regards Yogi -- You received this me

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Leon Moreyn-Android Development
Sony Ericsson X10a as sold by AT&T does not meet this standard I believe. On Jan 8, 3:25 pm, Dianne Hackborn wrote: > On Sat, Jan 8, 2011 at 8:34 AM, JP wrote: > > On Jan 8, 7:57 am, Mark Murphy wrote: > > > "Dev phones" are for people devising alternative firmware. They are > > > not necessary

Re: [android-developers] Layout problem on Galaxy tab emulator

2011-01-10 Thread Shashidhar
@Kostya: Thanks a lot. I Was struggling all the day for this. On Mon, Jan 10, 2011 at 5:43 PM, Kostya Vasilyev wrote: > This has been resolved. > > Set minSdk to 4 or above: > > http://developer.android.com/guide/topics/manifest/uses-sdk-element.html > > -- Kostya > > 10.01.2011 15:02, Shashidh

Re: [android-developers] Changing the height of ContextMenu at runtime

2011-01-10 Thread Kostya Vasilyev
Just don't add so many items, perhaps choosing which ones to add based on what the user is doing, and what UI element triggered the menu. -- Kostya 10.01.2011 17:25, yogi пишет: Hi All, I have a requirement in which i have to adjust the height of the contextMenu at run time.The List already

[android-developers] Re: Rotating an Android VideoView

2011-01-10 Thread Justin Buser
So if I am correct you are saying that you want the video to be landscape and the player controls to be portrait while the phone is portrait oriented? On Jan 7, 12:41 am, Darshan wrote: > My app's requirement is that it should display the Video in Landscape > mode only even when the device's orie

[android-developers] Re: How to exit the application..?

2011-01-10 Thread dilu
Thanks to everyone who all shared their idea. I used Abhilash'c link i.e. http://androidsnips.blogspot.com/2010/08/finish-application.html Its working perfectly for me. Regards Dileep On Jan 10, 4:27 pm, 20plus10 30 <20plu...@gmail.com> wrote: > It wil stop the application ttally. > It kills its

[android-developers] Questions about Custom (Compound) control

2011-01-10 Thread Ale
Hi, I've developed a custom (compound) control with a count-down progress bar that I want to embed in some my activities. Now I have the following questions: 1 - I want, when the count down stops, to let the activity that contains the control that the count down has stopped. How to do that? 2 -

Re: [android-developers] Questions about Custom (Compound) control

2011-01-10 Thread Kostya Vasilyev
Ale, 1 - You can model your notification on the type of interface callback mechanism used by Android views and widgets: http://developer.android.com/reference/android/view/View.html#setOnClickListener(android.view.View.OnClickListener) In your case, you'd define your own interface with a noti

[android-developers] Animation on slide drawer

2011-01-10 Thread nikki
Hi Group I created a slide drawer for my application but it doesn't open smoothly as it get close. Is there any way i can add animation effect on opening of my slide drawer..?? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Create a subset of Bitmap without make a copy

2011-01-10 Thread pedr0
Hi at all, I have this problem, when I try to make a new bitmap for another one, like this: first_data = Bitmap.createBitmap(data, 0, 0, data.getWidth() / 2,data.getHeight()); second_data = Bitmap.createBitmap(data, data.getWidth() / 2, 0, data.getWidth() / 2, data.getHeight() );

Re: [android-developers] A Requirement in Browser.

2011-01-10 Thread TreKing
Your question is not very clear. - TreKing - Chicago transit tracking app for Android-powered devices -- You received this message because you are

Re: [android-developers] How to build static lib

2011-01-10 Thread TreKing
On Mon, Jan 10, 2011 at 4:09 AM, hen wrote: > I succeeded to built NDK You probably want to try asking on another group focused on the NDK. - TreKing

Re: [android-developers] Display admob in full screen

2011-01-10 Thread TreKing
On Mon, Jan 10, 2011 at 4:13 AM, kavitha b wrote: > How to show admob in full screen in android instead of wrap_content? Don't use wrap_content? - TreKing

Re: [android-developers] Carousel View Animation..?

2011-01-10 Thread TreKing
On Mon, Jan 10, 2011 at 8:01 AM, Abhilash baddam < abhilash.androiddevelo...@gmail.com> wrote: > How can i oscillate the image like a pendulum. > Can any one give me the guidance to achieve this one. > Can anyone give suggestions or related code snippets. > Try a (customized) Gallery and some ma

[android-developers] Re: RTSP streaming with mediaplayer

2011-01-10 Thread Indicator Veritatis
At this point in time, given your post, the best help we can offer is to refer you to http://www.catb.org/~esr/faqs/smart-questions.html On Jan 9, 9:43 pm, mayank bisht wrote: > I am playing the media player on  rtsp url its playing fine but it is > not pausing and playing again and again.while i

[android-developers] JDK 5 problem

2011-01-10 Thread peeyush varshney
Dear All, sun-java5-jdk is not getting installed in ubuntu 10.04. how to make it possible. -- Thank & Regards Peeyush Varshney -- 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@google

Re: [android-developers] JDK 5 problem

2011-01-10 Thread Kumar Bibek
Whats the error? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Jan 10, 2011 at 11:04 PM, peeyush varshney < varshney.peey...@gmail.com> wrote: > Dear All, > > sun-java5-jdk is not getting installed in ubuntu 10.04. how to make it > possible. > > -- > Thank & Regards >

Re: [android-developers] JDK 5 problem

2011-01-10 Thread peeyush varshney
package is not there... On Mon, Jan 10, 2011 at 11:05 PM, Kumar Bibek wrote: > Whats the error? > > Kumar Bibek > http://techdroid.kbeanie.com > http://www.kbeanie.com > > > > On Mon, Jan 10, 2011 at 11:04 PM, peeyush varshney < > varshney.peey...@gmail.com> wrote: > >> Dear All, >> >> sun-java5

[android-developers] Re: onBufferingUpdate What is the progress argument

2011-01-10 Thread DebUggEr
That is a good guess. I will experiment 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 android-developers+unsubscr..

[android-developers] Installation error: INSTALL_PARSE_FAILED_NO_CERTIFICATES

2011-01-10 Thread MobileVisuals
My project has worked before on a Windows 7 PC. I then installed the Android developement tools on a Vista PC. I tried to run my project, but got: Installation error: INSTALL_PARSE_FAILED_NO_CERTIFICATES Please check logcat output for more details Why does this happen and how can I resolve it? Th

[android-developers] repo intialization

2011-01-10 Thread peeyush varshney
Dear All, i wanted to initialize the repo in specific folder. whenever i initialized the repo . it initialize in home folder only even i make the directory and run the command. my concerned is to keep the froyo and gingerbeard code in separate folder, but it will replace previous one. -- Than

Re: [android-developers] JDK 5 problem

2011-01-10 Thread TreKing
On Mon, Jan 10, 2011 at 12:02 PM, peeyush varshney < varshney.peey...@gmail.com> wrote: > package is not there... You're really going to have to provide more information if you expect to get help. Try googling the EXACT error you're getting, for starters. --

[android-developers] Re: View HTML in Android browser

2011-01-10 Thread DanH
I'm guessing you'd say myIntent.setDataAndType(myUri, "text/plain"); On Jan 10, 8:18 am, perumal316 wrote: > Hi All, > > I want to open saved HTML pages in default Android browser. But > currently when I open the HTML, it is only showing me the option to > either open in HTML viewer not the brows

[android-developers] Re: MediaPlayer StreamVideo question.

2011-01-10 Thread Scott Deutsch
Mark, I will take a look at that and try out the progressbar thingy. Now for my other issue with streaming the video (it is laggy...cause it catches up to real time then it needs to buffer more), what would be the best solution group? I would like to check how much buffered then play it at a cert

[android-developers] Code analysis, anyone?

2011-01-10 Thread paladin
Has anyone any experience with Klocwork code analysis for their Android apps? Is it any good? Or is there some other form of analysis that anyone has done? -- 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] Re: Does Market support installing multiple apks

2011-01-10 Thread Leon Moreyn-Android Development
What are these other APKs you are trying to DL? Are you taking about something like a speech engine? Or completely independent applications? On Jan 9, 11:41 pm, xeagle wrote: > Hi, > My application contains several apks. I'd like upload my app to > android Market. If user download my app, can all

[android-developers] Simple compass functionality

2011-01-10 Thread Phil Endecott
Dear Experts, I'm trying to understand how to get simple compass functionality working, i.e. I have a map that I want to add a "facing this way" arrow to. I don't need other orientation angles i.e. it's not Augmented Reality, but I do need it to work correctly as the display orientation changes.

[android-developers] Activity / Live Wallpaper communication in Android

2011-01-10 Thread Josh
I've got a live wallpaper that I'd like to communicate with from an Activity in the same package. I've never done any work with services. Would I be able to use the Local Service pattern, or am I restricted because my service is a live wallpaper, and need to use Intents or AIDL? I think the flow w

[android-developers] Re: IsolatedContext and AndroidTestCase.getContext()

2011-01-10 Thread A. Elk
AndroidTestCase.getContext() returns a normal Context object. It's the Context of the test case, not the component under test. IsolatedContext returns a "mock" Context. I put "mock" in quotes because its not a mock in the normal sense of that term (for testing). Instead, it's a template Context th

Re: [android-developers] Re: How to exit the application..?

2011-01-10 Thread Dianne Hackborn
On Mon, Jan 10, 2011 at 3:27 AM, 20plus10 30 <20plu...@gmail.com> wrote: > It wil stop the application ttally. > It kills its own proccess. > It does kill the process, but that does not stop the application totally. Don't use this. -- Dianne Hackborn Android framework engineer hack...@android.

Re: [android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Dianne Hackborn
On Mon, Jan 10, 2011 at 6:27 AM, Leon Moreyn-Android Development < lmor...@earthcam.com> wrote: > Sony Ericsson X10a as sold by AT&T does not meet this standard I > believe. > The AT&T devices don't have side-loading through the UI enabled. They still allow development (including installing) thr

Re: [android-developers] Re: What's new in honeycomb?

2011-01-10 Thread Dianne Hackborn
On Mon, Jan 10, 2011 at 12:43 AM, mort wrote: > I've seen several apps in the Honeycomb videos which displayed in one > screen what must've been multiple Activities before, like e.g. the > mail list and single mail view. > Will there be an easy way to support multiple visible "Activities", or > i

[android-developers] Re: WebView image source

2011-01-10 Thread Neilz
Perhaps I need to save the Bitmap somewhere on the device prior to calling my img src in the webview? I wouldn't want to use the SD card though, it would need to be internal to the app... and how would I refer to it from the src tag? -- You received this message because you are subscribed to the

Re: [android-developers] JDK 5 problem

2011-01-10 Thread peeyush varshney
i am using ubunu 10.04. It does not have jdk 5 related package. If i download the binary from oracle link n try to install. It shows some .so dependency. Thanks On 11-Jan-2011 12:03 AM, "TreKing" wrote: > On Mon, Jan 10, 2011 at 12:02 PM, peeyush varshney < > varshney.peey...@gmail.com> wrote: >

[android-developers] Focusing a video camera

2011-01-10 Thread elik
I developed a small video camera application. It is based on code from the android sources. It all works fine except focus. First, I was surprised to see that the sample video camera code don't have autofocus (or focus). I understand I need to call camera.autofocus, but I don't really know where is

[android-developers] Re: IsolatedContext and AndroidTestCase.getContext()

2011-01-10 Thread Mattias Svala
I have just started out developing Android applications, so the only reason for me using AndroidTestCase is me being clueless about the other test case classes. The test I'm writing in this case is for testing some sqlite code. I could not find any test case class during my initial investigati

Re: [android-developers] Re: Change the background of an AppWidget

2011-01-10 Thread YuviDroid
> > Maybe it works likewise if you create > a Drawable object like GradientDrawable dynamically? Unfortunately there is no RemoteViews.setImageViewDrawable() :((( On Mon, Jan 10, 2011 at 9:28 AM, mort wrote: > I think if you're feeling masochistic, you could create 9 images and > do s

Re: [android-developers] Re: WebView image source

2011-01-10 Thread Stephen Jungels
If the image is cached in a format that is understood by the browser (ie JPEG, PNG), you should be able to create a content provider that will feed the image to the browser via a custom scheme. On the other hand this could end up wasting a lot of memory so is there a need to cache the image, rathe

[android-developers] Looking up a View inside a ViewGroup via coordinates

2011-01-10 Thread Abdull
I have a ViewGroup (for instance, a RelativeLayout). This ViewGroup is populated with several Views (for instance, a few Buttons). Given a Point relative to the ViewGroup's coordinate system, I would like to look up the View which is located at this Point. That is, I'm looking for a public method w

[android-developers] Re: WebView image source

2011-01-10 Thread Neilz
Well the reason I'm looking for a way around this is: The WebView loads the textual content, then a second or so later the image loads from the given URL. But when the image loads into the WebView, it screws up the text that is already on display. For some reason it makes it all garbled and unread

Re: [android-developers] Looking up a View inside a ViewGroup via coordinates

2011-01-10 Thread Kostya Vasilyev
Abdull, Take a look at the source for ViewGroup.dispatchTouchEvent. http://www.netmite.com/android/mydroid/frameworks/base/core/java/android/view/ViewGroup.java It has code to hit-test children, and it's only a few lines of code. ( provided you can't set click listeners on individual views, wh

Re: [android-developers] Re: WebView image source

2011-01-10 Thread Kostya Vasilyev
10.01.2011 23:52, Neilz пишет: But when the image loads into the WebView, it screws up the text that is already on display. For some reason it makes it all garbled and unreadable. I would try to fix this first (instead of trying to manage load order). -- Kostya Vasilyev -- WiFi Manager + prett

[android-developers] Re: does a handler prevents memory leaks???

2011-01-10 Thread Kumar Bibek
Well, if you don't handle that, it will leak. Preferably, you should be passing the application's context and not the activity's context. Since, Activity's context depends on the state of the particular activity, and the context you are probably interested in inside the Worker thread is most of the

[android-developers] Re: NoClassDefFoundError when starting an AIDL service

2011-01-10 Thread Kumar Bibek
Just a doubt. Is your second project (which is used by the first) a library project? In that case, it should work. On Jan 9, 10:08 pm, Lazarus 101 wrote: > I have two projects, the first one has the aidl files and other > classes that will be shared with the client aps, and the second one > has t

[android-developers] Re: What is the name of this widget?

2011-01-10 Thread Kumar Bibek
The reason why a NumberPicker is not public or a part of the SDK is perhaps because it's not a widely used widget. If it were, it would have been a part of the SDK, and the widget would have been public. IMO. There might be other reasons as well, but this seems to be the most obvious reason. Remem

[android-developers] Re: Code Assist still Slow

2011-01-10 Thread Kumar Bibek
I guess you should stop using Helios. I came across a bunchful of issues with the current release for Android development. On Jan 8, 4:31 am, Dan wrote: > After upgrading to ADT 8.0.1 with Eclipse Helios (3.6.1) I am still > getting freezes with code assist. Does anyone have any ideas to fix or >

[android-developers] Re: writing an Authenticator to use with AccountManager

2011-01-10 Thread Kumar Bibek
Which example are you following, and what are your exact problems? On Jan 7, 11:05 pm, John Lussmyer wrote: > Is there a tutorial on how to write an Account Authenticator? > I'm working from the one example I've found, SampleSyncAdapter, and having a > lot of trouble understanding what the actual

[android-developers] Re: change color of DatePickerDialog widget

2011-01-10 Thread Kumar Bibek
>From the documentation, I couldn't find an easy way to do this. The theme, will only change things, that it declares. So, to change the colors, you might have to dig deep into the DatePickerDialog source code. But, I think, an easier way to do this is to create your own DatePickerDialog by extend

[android-developers] Re: ADT plugin for Eclipse under Rational Application Developer 8.0

2011-01-10 Thread Kumar Bibek
There might be conflicts between the packages and/or classnames. The documentation doesn't say that it's compatible with any other IDE other than some variations of eclipse. (Even the helios is not fully supported). So, instead of banging your head, please use the correct IDE and it will work like

[android-developers] Re: Import source code into Eclipse

2011-01-10 Thread Kumar Bibek
Google on how to use HG plugin in eclipse. You will get step by step instructions on how to do that. On Jan 6, 3:37 am, gab1972 wrote: > I'm trying to import the source code provided here: (http:// > code.google.com/p/foursquared/) into Eclipse.  There are instructions > that say, "Get a local co

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Leon Moreyn-Android Development
Can you provide more details about CDD or confirm that the X10A as sold by AT&T meets the CDD standard and is fully available for developer use with all features running. On Jan 10, 2:18 pm, Dianne Hackborn wrote: > On Mon, Jan 10, 2011 at 6:27 AM, Leon Moreyn-Android Development < > > lmor...@ea

Re: [android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Kumar Bibek
CDD Details here http://source.android.com/compatibility/overview.html I believe it should be. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Jan 11, 2011 at 3:06 AM, Leon Moreyn-Android Development < lmor...@earthcam.com> wrote: > Can you provide more details about C

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Leon Moreyn-Android Development
Ok. So here is what I am trying to understand. I have an X10A from AT&T. I can not develop on the phone because it doesn't allow me to install third party none market applications. If I try to root the phone it will remove the 3G and WIFI from functionality from the phone. At this point I am consid

Re: [android-developers] does a handler prevents memory leaks???

2011-01-10 Thread Dianne Hackborn
Toasts must be shown from a thread that is running a handler, and by doing so you are causing that thread to be a UI a thread for the duration of a toast with the corresponding constraints (it will not execute its work if you block it with your own stuff). You are only living on luck if you touch

[android-developers] Re: MediaPlayer StreamVideo question.

2011-01-10 Thread Scott Deutsch
Mark, so the ProgressBar going on top of the SurfaceView worked. Actually all I had to do was: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent"> So, now I just need help to fix the lagging streaming video. Thanks group. -

[android-developers] Solution for P2P messaging on Wifi LAN

2011-01-10 Thread Nathan
I've seen some older posts on here about P2P messaging. Apparently there is nothing built in, but there are some libraries that people were hoping would be ported to Android. I'm looking for a solution for messaging on a wifi local area network. No server. No internet. No phone service. I'd like

[android-developers] Re: MediaPlayer StreamVideo question.

2011-01-10 Thread Doug
Any reason why you couldn't post your videos to YouTube and let the (often built-in) YouTube app or its mobile HTML5 web site figure out what to do with them? The bonus is that you do no extra coding, your app stays smaller, and people have the option to view them in higher quality on their deskto

[android-developers] Re: MediaPlayer StreamVideo question.

2011-01-10 Thread Scott Deutsch
Well, I wanted to control the vids on my own domain,,,but if it comes to thati might do that. But, for now I am trying to get it to stream on my android using MediaPlayerI mean it does, but really choppy. Any ideas? Thanks. -- You received this message because you are subscribed to t

Re: [android-developers] JDK 5 problem

2011-01-10 Thread Marcin Orlowski
On 10 January 2011 21:19, peeyush varshney wrote: > i am using ubunu 10.04. It does not have jdk 5 related package. And Google is broken too? http://www.clickonf5.org/linux/how-install-sun-java-ubuntu-1004-lts/ > download the binary from oracle link n try to install. You should not as in mo

  1   2   >