[android-developers] Re: Menu should be on the Image

2009-06-03 Thread Saurav Mukherjee
acc to me its a very simple linear layout with orientation set as vertical, the first child is a bitmap, the next is a list view or a table layout for the menu and the last child is another bitmap... thats the easiest way to implement the view shown in the pic! On Thu, Jun 4, 2009 at 12:20 PM, and

[android-developers] Re: Menu should be on the Image

2009-06-03 Thread Sujay Krishna Suresh
this is very much possible by setting the image as the background & with the help of proper layouts jus use buttons for each menu item... On Thu, Jun 4, 2009 at 12:21 PM, Desu Vinod Kumar wrote: > > Here I'm enclosed the Image > > > > On Thu, Jun 4, 2009 at 12:20 PM, android.vinny wrote: > >> >>

[android-developers] Re: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-03 Thread Sujay Krishna Suresh
i don't think its possible as of now... its handled by the os... so i guess it might not be possible in the future as well... but i hv heard of DONT_KILL_APP somewhere... i think its a flag... try searchin for it On Thu, Jun 4, 2009 at 11:45 AM, sheik wrote: > > Hi... > Is it possible for a

[android-developers] Re: Menu should be on the Image

2009-06-03 Thread Desu Vinod Kumar
Here I'm enclosed the Image On Thu, Jun 4, 2009 at 12:20 PM, android.vinny wrote: > > Hi every one > Can Any body help me how to create this screen which i have attached > as a enclosed as a attachment > > how to cod ethis can any body give the clues for that > any source example regarding thi

[android-developers] Menu should be on the Image

2009-06-03 Thread android.vinny
Hi every one Can Any body help me how to create this screen which i have attached as a enclosed as a attachment how to cod ethis can any body give the clues for that any source example regarding this thanks in advance --~--~-~--~~~---~--~~ You received this me

[android-developers] ISO2022JP->UTF-8(unicode) conversion

2009-06-03 Thread Hiro
HI, "HT-03A" will be release to the market in Japan, I'm lookig forward to it. Then I wonder whether String class support following charset type. String unicode = new String(jis); try { unicode = new String(unicode.getBytes("ISO2022JP"), "ISO2022JP"); } catch (Exception e) { unicode =

[android-developers] Re: how to handle hardware volume controls

2009-06-03 Thread Saurav Mukherjee
hi, try to get the instance of AudioManager by using the code: Context.getSystemService(Context.AUDIO_SERVICE) n then try and use the methods given... i guess that'll work... provide appropriate control buttons/graphical interfaces for the same... visit: http://developer.android.com/reference/and

[android-developers] Re: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-03 Thread sheik
Hi... Is it possible for an activity to avoid destroy mode ... and make activity in pause mode instead... Kindly let me know.. thanks regards sheik On Jun 3, 7:45 pm, Sujay Krishna Suresh wrote: > use onkeylistener check if keycode matches back > start ur service here & finish > the

[android-developers] Force Close on startActivityForResult since 1.5 update on phones but not emulator

2009-06-03 Thread tgustafson
Hello everyone, I have a period tracking program (P & O Tracker) that was working without issues seemingly until the 1.5 update roll out. The code is modified version of the NotePadV2 example code and uses its basic DB functionality and overall structure. I have updated my SDK to 1.5 and update

[android-developers] Adding Turn by Turn directions to google maps

2009-06-03 Thread chrispix
I would really like to incorporate turn-by-turn directions to our application, but it appears to be against the TOS. Is there any way to get permission from Google to allow this for our application? I have what looks like one other app allow this interface. Thanks, Chris. --~--~-~--~~

[android-developers] how to handle hardware volume controls

2009-06-03 Thread Josh
Im using a mediaPlayer to play sounds in my application. I want the user to be able to adjust the volume by using the hardware buttons on the device. I tried putting this in my oncreate (setVolumeControlStream (AudioManager.STREAM_MUSIC);) but it didnt seem to work. Anytime i press the hardware bu

[android-developers] Re: audio recorder

2009-06-03 Thread Hiro
ha! I didnt see the second response until I'd posted mine... RECORD_AUDIO permission solved it!!! Thanks! On Jun 3, 10:53 pm, Hiro wrote: > I seem to be having the same issue I've been playing with > different buffer sizes, but this is where I'm at > >                  recorder = new Aud

[android-developers] Releasing a Demo App from Paid App. Need to fork code? How do accomplish?

2009-06-03 Thread chrispix
We have a paid app in the market place, we would like to release a demo of the paid app. I was hoping we could just recompile w/ the same package name, but apparently that does not work. I have tried manually changing package name etc, but it is a chore, and it seems that several things that auto

[android-developers] Re: audio recorder

2009-06-03 Thread Hiro
I seem to be having the same issue I've been playing with different buffer sizes, but this is where I'm at recorder = new AudioRecord (MediaRecorder.AudioSource.MIC, AUDIO_SAMPLE_FREQ, AudioFormat.CHANNEL_CONFIGURATION_MONO,

[android-developers] Re: Signed APK installed using a2b works / Same APK downloaded from market fails (force close)

2009-06-03 Thread chrispix
Yes copy protection was activated. It was quite strange that it was not working, but non-the-less. It is resolved now. Thanks for the heads up. I did increment versionCode and had the miniSDK set to 3 Chris. On Jun 3, 2:39 pm, "deepdr...@googlemail.com" wrote: > Did you activate copy protection

[android-developers] Re: Advice on debug tool for I/O

2009-06-03 Thread Roman
Hi, If you are using a Linux system you also could use tcpdump with which you can get very fast a dump of your IP traffic. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Saving layout state on configuration change

2009-06-03 Thread bo
I have an application (DroidIn) that changes layout based on orientation. Generally UI consists of outer shell with some buttons that gets changed and then internal body area that stays the same (except width and height). So the question is how to save the state of that internal body when user fli

[android-developers] Re: what is the picture format for Picture.WriteToStream?

2009-06-03 Thread Jerry Fan
bump On Thu, Jun 4, 2009 at 10:09 AM, jerryfan2000 wrote: > > Hi, > What format of picture will I get by using Picture.WriteToStream? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] How to Detect changes to a specific record through a content observer ?

2009-06-03 Thread asara ratnakar
Hello android developers... *Does Android sends the URI that is inserted, modified, or deleted? If it only notifies that the contact CP is modified, then how to find the actual contact that is inserted, deleted or modified ? * I could see this issue was already posted by some one but didn't get an

[android-developers] Re: Help with google uploader application

2009-06-03 Thread Sujay Krishna Suresh
hi jaimin, i cant give u the whole code bec i'm not the owner... wat u could do is send me ur code & i'll make the necessary changes or jus make use of the code posted earlier... jus add i.putExtra(Intent.EXTRA_STREAM, ); to the snippet in onactivityresult... On Thu, Jun 4, 200

[android-developers] Re: Is it possible to start my service automaticaly after phone boots up.

2009-06-03 Thread Saurav Mukherjee
change in the manifest file: insert the category of the activity as android : name="android.intent.category.HOME" visit : http://developer.android.com/reference/android/content/Intent.html#CATEGORY_HOMEfor more information! On Thu, Jun 4, 2009 at 9:03 AM, Gavin wrote: > > hello, > > I want

[android-developers] Re: Help with google uploader application

2009-06-03 Thread jaimin
hi sujay krishna i am new to android and i would also like to devlop applciation which captures the images and save that images for upload so can u plz give me your code for that application because i tried a lot but i sitll can't save that images.so plz its urgent for me to complete that applicat

[android-developers] Is it possible to start my service automaticaly after phone boots up.

2009-06-03 Thread Gavin
hello, I want to write a service in my application. I hope the service can automaticaly access to internet and update database after phone boots up every time. The whole process is background and no any UI for user. Is it possible? there is any demo ? thanks. --~--~-~--~--

[android-developers] Widget developer tired of "Doesn't launch" comments

2009-06-03 Thread Jay
All, About one-fourth of comments for my widget on the market are "Doesn't launch" with 1-star rating. Are you guys having the same problem? I've already included the instructions at the top of app's description but doesn't help. Here are the solutions I'm thinking about but don't know how to imp

[android-developers] Re: Short question: Is HTC Dream multi-touch screen natively? Tks

2009-06-03 Thread Romain Guy
It's not. On Wed, Jun 3, 2009 at 6:58 PM, codeplay wrote: > > Thanks, how about HTC Magic? (Seems not stated in its tech spec) > > On Jun 4, 12:05 am, Romain Guy wrote: >> Short answer: no, it is not. >> >> On Wed, Jun 3, 2009 at 8:59 AM, codeplay wrote: >> >> -- >> Romain Guy >> Android frame

[android-developers] ListPreference how to create Multi-Choice?

2009-06-03 Thread Jun
ListPreference default is Single-Choice, how to create Multi-Choice? help! --~--~-~--~~~---~--~~ 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@googleg

[android-developers] Re: Clarification on static variables

2009-06-03 Thread Peter Carpenter
Thanks very much Mark & Streets of Boston. It's taken me a while to get a grasp of the whole application lifecycle - especially once you throw Services into the mix, but I think I'm starting to get it! :) System.exit() definitely gets me out of the hole for now. Which is great - but as you say

[android-developers] Re: Callback to activity after layout has completed?

2009-06-03 Thread Keith Wiley
Ah right, I remembered DisplayMetrics for screen size. I knew I had seen that before. So, I guess I can deduce the status bar height then. Sorry. On Jun 3, 7:05 pm, Keith Wiley wrote: > I want to find the dimensions of the various views in my layout.  My > understanding is this can only be do

[android-developers] what is the picture format for Picture.WriteToStream?

2009-06-03 Thread jerryfan2000
Hi, What format of picture will I get by using Picture.WriteToStream? --~--~-~--~~~---~--~~ 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

[android-developers] Callback to activity after layout has completed?

2009-06-03 Thread Keith Wiley
I want to find the dimensions of the various views in my layout. My understanding is this can only be done after layout is completed since layout is somewhat dynamic. So, after the activity calls setContentView() and then returns control on the main thread to the OS so that layout can occur, how

[android-developers] Re: Short question: Is HTC Dream multi-touch screen natively? Tks

2009-06-03 Thread codeplay
Thanks, how about HTC Magic? (Seems not stated in its tech spec) On Jun 4, 12:05 am, Romain Guy wrote: > Short answer: no, it is not. > > On Wed, Jun 3, 2009 at 8:59 AM, codeplay wrote: > > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private

[android-developers] Re: problem in installing adnroid plugin in eclipse

2009-06-03 Thread biAji
It's depend on other eclipse plugin such like WST , And a broken eclipse update will end with adt acting strange.. On Jun 3, 2:28 pm, Honest wrote: > I read the docs for installing android plugin for eclipse. I did it > according to it and i have downloaded and installed the plugin but > afte

[android-developers] Android Developer Phone Update Problems

2009-06-03 Thread Will
I'm developing on the Android G1 Dev phone and I've recently had a lot of compatibility issues. My firmware version is 1.0, not 1.5. If that's the problem, is there a way to get an update for the G1 Dev phone without having a cellular service (ie. no sim card)? (or should there be no noticeable pr

[android-developers] Re: Themes - Is it possible to apply a style to a specific view ID (that multiple views share) from the Theme?

2009-06-03 Thread Robert Green
Hmm... I guess I'm thinking of the way a class of HTML elements are styled in CSS. That would be really nice. Something where I could say in the theme, "All titles will look like this", and then a UI element would somehow declare, "I am a title." I suppose it would be a next-level thing with th

[android-developers] Re: EditText linkfy?

2009-06-03 Thread quill
Anyone knows? --~--~-~--~~~---~--~~ 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-d

[android-developers] Re: Themes - Is it possible to apply a style to a specific view ID (that multiple views share) from the Theme?

2009-06-03 Thread Jeff Sharkey
You can do this, but in the opposite direction. Each of the TextViews would request a specific "android:style", which you could then define from the theme through attributes. Here's an example where I started doing something like this: http://code.google.com/p/android-sky/source/browse/trunk/Sk

[android-developers] Re: Why does ProgressDialog launched from OnItemClick wait until a subsequent thread's "run" method returns to show itself

2009-06-03 Thread pawpaw17
Awesome, that's it!! Thanks a million. On Jun 3, 6:53 pm, Robert Green wrote: > Because you're not truly creating a thread unless you call Thread.start > ().  Thread.run() will just do the runnable part in your current > thread, which is, with certainty, not what you intended to do :) > > On Jun

[android-developers] Re: How to detect current screen is vertical or horizontal?

2009-06-03 Thread Jeff Sharkey
The easiest way of showing a different layout based on orientation is to build it into your resources folders, and there is no extra code needed. Here's an example of how I use two different layouts depending on portrait or landscape: http://code.google.com/p/connectbot/source/browse/trunk/conne

[android-developers] Re: How to detect current screen is vertical or horizontal?

2009-06-03 Thread radiolistener
Try This, WindowManager z; z = this.getWindowManager(); Display r = z.getDefaultDisplay(); int rr = r.getOrientation(); HTH, Radio On Jun 3, 5:40 pm, Hiro wrote: > not sure how much help this is, but i'm using it on a canvas i > have > >

[android-developers] Re: Bug? Geo fix and sdk 1.5

2009-06-03 Thread David Turner
this is a known issue that will be fixed in the next 1.5 SDK release.Sorry about that. On Wed, Apr 29, 2009 at 1:10 AM, rob_b...@gmx.net wrote: > > have the same problem! also tried with the r1 version of the new sdk > 1.5. > worked on sdk 1.1. > doesn't matter if I use ddms or telnet. still can

[android-developers] Re: Connect laptop built-in gps receiver to emulator

2009-06-03 Thread David Turner
emulator -help-gps ? On Wed, Jun 3, 2009 at 6:54 PM, Lex wrote: > > Hello, > > my Dell Latitude E6400 has a built-in gps receiver. How can I hook it > up with the emulator? I have enough problems spoofing gps data due to > exisiting Android bugs, so I might as well use real ones? > > Thanks, > >

[android-developers] Re: Why does ProgressDialog launched from OnItemClick wait until a subsequent thread's "run" method returns to show itself

2009-06-03 Thread Robert Green
Because you're not truly creating a thread unless you call Thread.start (). Thread.run() will just do the runnable part in your current thread, which is, with certainty, not what you intended to do :) On Jun 3, 6:50 pm, pawpaw17 wrote: > I have code in my activity's onCreate that sets an onItem

[android-developers] Why does ProgressDialog launched from OnItemClick wait until a subsequent thread's "run" method returns to show itself

2009-06-03 Thread pawpaw17
I have code in my activity's onCreate that sets an onItemClick listener. when it fires I try to show a ProgressDialog that will be up until a subsequent thread "Thread" does it's processing. Strangely to me, the progress dialog never shows until *after* the thread.run() processing is complete. Al

[android-developers] Re: Attempt to include a core VM class in something other...

2009-06-03 Thread markdsievers
Root cause was two android jars on the classpath...Yes it is a silly error, cant help but be a little dissapointed that this problem manifested itself like this On Jun 3, 10:40 pm, Mark Murphy wrote: > markdsievers wrote: > > Just a bump...Same situation, upgrading Android and have ended up with

[android-developers] Re: Eclipse plugin for android

2009-06-03 Thread Xavier Ducrohet
This is because you are attempting to run android.jar which does not contain any code at all (all the methods throw an exception). Also, note that a lot of the implementation of the view and drawing system is done in native and this is not provided with the SDK (nor could it as it's very tied to t

[android-developers] Re: How to detect current screen is vertical or horizontal?

2009-06-03 Thread Hiro
not sure how much help this is, but i'm using it on a canvas i have Integer width = canvas.getWidth(); Integer height = canvas.getHeight(); // Check Orientation so we know which grid to use

[android-developers] Translucent GLSurfaceView issues: emulator white screen and G1 flicker

2009-06-03 Thread George
I ran the Translucent GLSurfaceView sample in the APIDemos that ships with the 1.5 SDK and found the following issues: (1) On the emulator, only a white blank screen turns up. It shows up on the G1 though. Any workarounds for this to work on the emulator? Other openGL apps work fine on the emulat

[android-developers] Themes - Is it possible to apply a style to a specific view ID (that multiple views share) from the Theme?

2009-06-03 Thread Robert Green
Here's my scenario, I have about 6 layouts that all have a TextView with the ID "title". I'm theming my app right now and I'd like to have it so that every instance of title gets a specific style applied. Is this possible? I don't want to use a default text style because normal text will have a

[android-developers] Re: Having problems getting style attribute to work

2009-06-03 Thread Robert Green
Got it. To answer all of my own questions: 1) ADT layout editor doesn't show the result of when you set a style property. 2) http://developer.android.com/reference/android/R.styleable.html is everything that can be an item in a style. 3) http://developer.android.com/reference/android/R.style.

[android-developers] Re: Signed APK installed using a2b works / Same APK downloaded from market fails (force close)

2009-06-03 Thread deepdr...@googlemail.com
Did you activate copy protection on your app in the market? There have been force close issues reported when doing so. I do not know whether these have been resolved in the meantime or not. Did you increment the android:versionCode integer attribute in the manifest with you new version? (you shoul

[android-developers] Re: How to run the android application on G1

2009-06-03 Thread snctln
maybe try updating your sdk and eclipse plugin? http://developer.android.com/sdk/1.5_r2/index.html On Jun 3, 12:45 pm, cindy wrote: > After upgrade to 1.5, I can run the application from eclipse using > emulator, but I could not run it on my g1 phone which is upgraded to > 1.5 by tmobile. > > H

[android-developers] Re: Having problems getting style attribute to work

2009-06-03 Thread Robert Green
Also, When I say that, "nothing happens" when I do the above example, I'm saying that nothing happens in the ADT editor. I haven't tried running it like that, I've just tried to see it work in the preview. Should a style setting show up in the ADT layout editor? On Jun 3, 2:09 pm, Robert Green

[android-developers] Re: Having problems getting style attribute to work

2009-06-03 Thread Robert Green
Ok I think I may understand the problem but leads me down a very frustrating path. I think that if I were to set a style on a view, that style would need to inherit the default style and then override the values that I want to have custom. That's fine and all, but I have no idea where this magic

[android-developers] Re: How to run the android application on G1

2009-06-03 Thread cindy
After upgrade to 1.5, I can run the application from eclipse using emulator, but I could not run it on my g1 phone which is upgraded to 1.5 by tmobile. Help needed!!! On Jun 2, 9:56 pm, cindy wrote: > After I upgrade to 1.5, how can I run my application on gphone from > eclipse? > > Thanks! > >

[android-developers] Detecting hardware capabilities

2009-06-03 Thread Brian Smith
There are return values and such that allow handling if SensorManager sensors and location providers aren't available, but what about the camera and microphone for audio recording? Is there a way to detect those in software, or are we just to assume that every device running Android (even the rum

[android-developers] Re: Advice on debug tool for I/O

2009-06-03 Thread mathiastck
I run the emulator on my desktop, and use Wireshark filtered for http requests. http://en.wikipedia.org/wiki/Wireshark On Jun 3, 3:43 am, "mobilek...@googlemail.com" wrote: > Hi, > On a number of cases I have experienced problems with server / client > communication where the server responses w

[android-developers] Re: ListView OnItemClickListener no callback

2009-06-03 Thread Romain Guy
You can't, it's one or the other. If you put a focusable widget in a list item, that's what happens. If you need checkboxes, use ListView's choice mode instead. On Wed, Jun 3, 2009 at 10:25 AM, Tom wrote: > > Hi, > One of my ListView's has a CheckBox on every item's RelativeLayout. > > I just fo

[android-developers] Re: is upgrade to 1.5 safe???

2009-06-03 Thread Jason Van Anden
Now that I have been using it this AM - I must say ... sweet! The interface adjustments are great. j On Wed, Jun 3, 2009 at 11:39 AM, Mike Garcia wrote: > Yes.  I have had the OTA update now for over a week and it is working as I > would expect.  If you are developing in the Eclipse IDE and ha

[android-developers] ListView OnItemClickListener no callback

2009-06-03 Thread Tom
Hi, One of my ListView's has a CheckBox on every item's RelativeLayout. I just found that clicking on any item of the ListView does not callback its OnItemClick(). If I remove the CheckBox from item layout, callback is ok then. My app needs to get both callbacks from the CheckBox as well as fro

[android-developers] Having problems getting style attribute to work

2009-06-03 Thread Robert Green
I finally decided to use styles and themes instead of tediously setting attributes for each individual view. I was able to get the style to work when I set it on android:textAppearance, but when I try to just set it right on the style attribute like below, it no longer applies. This is happening

[android-developers] Re: Audio record and ply the recorded audio..

2009-06-03 Thread intbt
This may help as well http://www.benmccann.com/dev-blog/android-audio-recording-tutorial/ I am having difficulties in using audio record - trying to save the codec byte output in an array/buffer. Any help? On Jun 3, 4:26 am, guna wrote: > http://android.git.kernel.org/?p=platform/packages/ap

[android-developers] Re: Signed APK installed using a2b works / Same APK downloaded from market fails (force close)

2009-06-03 Thread chrispix
To update this thread. It appeared that there were some indeed valid force close issues, but even debugging on one phone did not cause it to fail until I did a factory reset on the phone. Then i was able to cause the force close. Any thoughts? Chris On Jun 3, 10:05 am, chrispix wrote: > We jus

[android-developers] Re: media player does not display video, only audio coming, the screen turns black

2009-06-03 Thread Brian Conrad
I've tried a bunch of files with the mediaplayer demo on the emulator. Most show about the first frame or two of video and just play the audio. I'm wondering if a really fast computer CPU is required for the mediaplayer to work? More documentation is also needed for both the mediaplayer and

[android-developers] Connect laptop built-in gps receiver to emulator

2009-06-03 Thread Lex
Hello, my Dell Latitude E6400 has a built-in gps receiver. How can I hook it up with the emulator? I have enough problems spoofing gps data due to exisiting Android bugs, so I might as well use real ones? Thanks, Lex --~--~-~--~~~---~--~~ You received this messag

[android-developers] Object encapsulating multiple views

2009-06-03 Thread Max Salley
I have a layout that has three views (situated in one vertical linearlayout and one horizontal) in it which I would like to wrap into a single object. Is there any easy way to do this? Right now I have a flurry of foo.setBlahBlah(bar) calls to link them all which I have to call after setContentV

[android-developers] Re: BlurMaskFilter not blurring entire bitmap

2009-06-03 Thread Marco Nelissen
Are you setting the right blur style? On Wed, Jun 3, 2009 at 9:30 AM, Todd wrote: > > +bump > > On Jun 2, 11:11 am, todd wrote: > > I can't seem to get the BlurMaskFilter to work the way I want. When I > > set a BlurMaskFilter as part of my Paint object and then draw a bitmap > > only the edg

[android-developers] Eclipse plugin for android

2009-06-03 Thread Paul Turchenko
HI. I'm trying to develop plugin for eclipse that should draw my custom view inflated from XML. Everything works fine until eclipse tries to instantiate any class from android.jar library. It fails with Runtime exception without any other helpful information (stub!). Any ideas why is it so? --~--~

[android-developers] Re: Bug? Geo fix and sdk 1.5

2009-06-03 Thread Lex
Brett, how does one use the test provider you mentioned in the bug report? I have locationManager.addTestProvider("mockgps", false, true, false, false, false, false, false, 0, 100); locationManager.setTestProviderEnabled("mockgps", true); locationManager.requestLocationUpdates("mockgps", 0, 0, l

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread strazzere
The serial key doesn't really make sense unless you want to make your users jump through hoops to get it working. A good serial key should be using an unique indentifier on the device such as android_id or a phone number to prevent spread of one key. There would be practically no performance hit

[android-developers] Re: BlurMaskFilter not blurring entire bitmap

2009-06-03 Thread Todd
+bump On Jun 2, 11:11 am, todd wrote: > I can't seem to get the BlurMaskFilter to work the way I want. When I > set a BlurMaskFilter as part of my Paint object and then draw a bitmap > only the edges of the bitmap are blurred. Is there some secret way of > blurring the entire bitmap? > > I notic

[android-developers] Re: How can I listen for WebView page load completed event

2009-06-03 Thread Lucius Fox
On Fri, May 8, 2009 at 10:35 AM, Mark Murphy wrote: > > Lucius Fox wrote: >> Hi, >> >> Is it possible to listen for WebView page load completed event (the >> whole page is loaded including images, js files, css files and the >> page is completely rendered. > > Create a WebViewClient object, overr

[android-developers] Re: How can I listen for WebView page load completed event

2009-06-03 Thread Lucius Fox
On Wed, Jun 3, 2009 at 9:16 AM, Lucius Fox wrote: > On Fri, May 8, 2009 at 10:35 AM, Mark Murphy wrote: >> >> Lucius Fox wrote: >>> Hi, >>> >>> Is it possible to listen for WebView page load completed event (the >>> whole page is loaded including images, js files, css files and the >>> page is c

[android-developers] Re: Short question: Is HTC Dream multi-touch screen natively? Tks

2009-06-03 Thread Romain Guy
Short answer: no, it is not. On Wed, Jun 3, 2009 at 8:59 AM, codeplay wrote: > > > > > -- Romain Guy Android framework engineer romain...@android.com 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 pub

[android-developers] click on a gone view

2009-06-03 Thread Guian
Why is this possible ? code : private OnClickListener _Listener = new OnClickListener() { public void onClick(View v) { if(v== myView){ if(myView.getVisibility()==View.GONE) Log.d("on

[android-developers] Short question: Is HTC Dream multi-touch screen natively? Tks

2009-06-03 Thread codeplay
--~--~-~--~~~---~--~~ 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-uns

[android-developers] Eclipse & Visual SourceSafe Problem

2009-06-03 Thread Adem KARAKOLLU
Is there any one who are using Eclipse and Visual Sourcesafe...Android Resource manager try to parse all file in */res/values* and */res/layout * *directories... VisualSourceSafe puts the vssver2.scc file to these directories. * *Android Resource Manager can not parse scc files and gives error. * *

[android-developers] Re: is upgrade to 1.5 safe???

2009-06-03 Thread Mike Garcia
Yes. I have had the OTA update now for over a week and it is working as I would expect. If you are developing in the Eclipse IDE and have the 1.5SDK installed, I'd strongly recommend updating your phone ASAP! On Wed, Jun 3, 2009 at 4:00 AM, Saurav Mukherjee < to.saurav.mukher...@gmail.com> wrote

[android-developers] Re: wait till layout is shown

2009-06-03 Thread Marco Nelissen
On Wed, Jun 3, 2009 at 5:00 AM, guruk wrote: > > Hi, i have a main activity that needs quit a lot to load > so i thought about a trick: > > i call a intropage that shows a pic and from directly it calls by > intent the > long loading page. > > Finaly I thought I would see the pic and in the backg

[android-developers] Re: is upgrade to 1.5 safe???

2009-06-03 Thread Jason Van Anden
Just updated to it. So far so good. Jason Van Anden http://www.bubblebeats.com On Wed, Jun 3, 2009 at 11:29 AM, Mike Wolfson wrote: > > You will need to recompile your applications (make sure to switch the > project properties to target 1.5 release) before redeploying them to > an updated devi

[android-developers] Re: Justify a TextView?

2009-06-03 Thread Mike Garcia
If you are in the eclipse ide with the android plugin, select the text view (open the xml file) and go to the properties tab. There should be an option called gravity. Set gravity to "vertical-center|horizontal-center" and that should do the trick. On Wed, Jun 3, 2009 at 10:33 AM, Anna PS wrote:

[android-developers] Justify a TextView?

2009-06-03 Thread Anna PS
Hi all, I can see this question has been asked a couple of times before, but with no answer. How do I set the text in a TextView to be justified? That is, I would like it to look like the left-hand example here: http://en.wikipedia.org/wiki/Justification_(typesetting) Thanks, Anna --~--~--

[android-developers] Re: is upgrade to 1.5 safe???

2009-06-03 Thread Mike Wolfson
You will need to recompile your applications (make sure to switch the project properties to target 1.5 release) before redeploying them to an updated device. As far as other applications (ie. ones you downloaded, or didn't custom code) they will work for the most part. There are some subtle chan

[android-developers] Re: audio codec

2009-06-03 Thread intbt
I am having a problem retrieving codec output and listing the bytes. Following the Breno/Sparks thread I was able to get past the errors with initializing Audio Record and my code seems to run but I get all 0's as output. I assume I am missing something in AudioRecord.read? I am trying to look at

[android-developers] Signed APK installed using a2b works / Same APK downloaded from market fails (force close)

2009-06-03 Thread chrispix
We just released an update, and spent a considerable amount of time trying to test. Once we released to the market, people started complaining about it force closing. The only way we were able to make it force close was by installing our app by the market. (why would that change our app?) vs. ins

[android-developers] Slow animation using SurfaceView

2009-06-03 Thread khose
Hi all! I want to do an animation using a drawable and a surface view. I've tried with a View, but actually it runs really slow, so i tested with surface view, but i can see no changes (as slow as using a view). What i do is: set a PolyToPoly matrix concat that matrix draw a bitmap and repeat t

[android-developers] Re: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-03 Thread Sujay Krishna Suresh
use onkeylistener check if keycode matches back start ur service here & finish the rest i'm not sure on how to do... n u shd wait till u get a reply.. On Wed, Jun 3, 2009 at 8:10 PM, sheik wrote: > > > > Hello android developers.. > > i am not much familiar with service's and use of aid

[android-developers] Re: center picture in layout?

2009-06-03 Thread guruk
yeah, but can not put it in the same layout as the mainactivity even it just appears when the calculation in the background is done .. the idea was to start a pre activity and call the mainactivity because the pre always stays so long till the mainactivity is ready. anyhow i will look for the vie

[android-developers] Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-03 Thread sheik
Hello android developers.. i am not much familiar with service's and use of aidl...here is the scenario i look to put fwd Kindly help on it...Working on android sdk 1.1 1) Activity is launched and location updates are taken and they are print on the activity using textview.. 2)On click of BAC

[android-developers] Re: setText for EditText is not working in 1.5

2009-06-03 Thread Streets Of Boston
Great! But this tells me that Mark's hunch was correct. On Jun 3, 12:20 am, cindy wrote: >  After I switch the sequence of 2 lines, it is working. > > mEditText = (EditText)findViewById(R.id.text_edit); > mEditText.setText("123456"); > mEditText.addTextChangedListener(new TextContentWatcher());

[android-developers] Re: Problem with getChildCount method???

2009-06-03 Thread Streets Of Boston
You have to do this through your BaseAdapter. Make sure that your BaseAdapter's individual elements/items have a variable that can determine if one is checked or not. If you want to check-mark all your list-item item's, run through every element in your BaseAdapter. Set every element to 'isChecke

[android-developers] Re: Clarification on static variables

2009-06-03 Thread Mark Murphy
Streets Of Boston wrote: > If you still need static access to these variable from other classes, > you can have just one static variable: The currently active instance > of your activity/service. Be sure to set this one to null when > onDestroy is called. I agree with Mr. Boston (pssst...can I ca

[android-developers] Re: Clarification on static variables

2009-06-03 Thread Streets Of Boston
I completely agree with Mark: "Better yet, get rid of the static variables. " Peter, if possible, it may be 'easier' to change all your non-constant static variable to member variables of your activity/service by refactoring. When you activity/service is destroyed, these variables will go too

[android-developers] Drawing a dotted line

2009-06-03 Thread Salentinux
What's the best way to draw a dotted line? tnks --~--~-~--~~~---~--~~ 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 t

[android-developers] Re: center picture in layout?

2009-06-03 Thread Mark Murphy
guruk wrote: > Hi Mark just to get a profi tip > > I like to show a intro page and when the intro pic is shown > it should call the main activity > > 80% it works, but sometimes it just show my centered pic on > the LEFT Side and jump to the mainactivity > HOW, can i be sure the Intropic is show

[android-developers] Re: center picture in layout?

2009-06-03 Thread guruk
Hi Mark just to get a profi tip I like to show a intro page and when the intro pic is shown it should call the main activity 80% it works, but sometimes it just show my centered pic on the LEFT Side and jump to the mainactivity HOW, can i be sure the Intropic is shown correctly and just than cal

[android-developers] Re: items can't be selected (or highlighted)

2009-06-03 Thread Tom
Ok first in my row.xml I had : - a TextView with the attribute "android:telephone" When I remove this attribute, the item can be selected with the mouse. - a CheckBox : When I remove this CheckBox, items are selectable and clickable. I'm looking for what is blocking. Best regards Tom On

[android-developers] Help with google account SDK 1.5

2009-06-03 Thread Sujay Krishna Suresh
Hi everyone, how can one get the google account associated with the phone?? i'm workin on SDK 1.5r2... i tried using the framework.jar from google but ended up in an error 06-03 18:54:50.527: ERROR/AndroidRuntime(1911): java.lang.IllegalAccessError: cross-loader access from pre

[android-developers] Re: Getting handle of running mp3 file

2009-06-03 Thread Mark Murphy
Asif k wrote: > Hi all, > > I am playing the .mp3 which is opened using intent.ACTION_VIEW . So > it opened with android's internal mediaplayer and thus I dont have > handle of it. > >I had tried to get the handle using , > > MediaPlayer mp = (MediaPlayer) getSystemService > (mContext.WIN

[android-developers] Getting handle of running mp3 file

2009-06-03 Thread Asif k
Hi all, I am playing the .mp3 which is opened using intent.ACTION_VIEW . So it opened with android's internal mediaplayer and thus I dont have handle of it. I had tried to get the handle using , MediaPlayer mp = (MediaPlayer) getSystemService (mContext.WINDOW_SERVICE); but it gives ClassC

[android-developers] Re: Android Workflow

2009-06-03 Thread Mark Murphy
Markus wrote: > All examples are using one Activity and add some small functions. But > how is it if I need a lot of more functions and views. http://developer.android.com/guide/tutorials/notepad/index.html http://code.google.com/p/apps-for-android/ http://code.google.com/p/shelves/ > Accounts

  1   2   >