[android-developers] Re: Update application from the Android Market

2009-05-05 Thread Mariano Kamp
How do you know that the process is still running? I've never seen this behavior. It's the other way around. The app is updated so cleanly that it forgets scheduled alarms. >From what I know I think that an upgrade is an uninstall (removing the alarms and the running process) and install. So besid

[android-developers] Re: Lost focus on soft keyboard

2009-05-05 Thread Yossi
Anyone has this issue or am I doing something wrong? On May 2, 11:51 am, Yossi wrote: > Hi, > > I implemented a custom preference screen on which I have an EditText > control. The problem I have is when the user clicks on the EditText > control to enter data, thesoftkeyboardpops-up and the EditT

[android-developers] Re: Access my own provider in another app

2009-05-05 Thread quill
No problem, I will find it out! On May 6, 2:41 pm, Dianne Hackborn wrote: > You need to statically link it into your app (sorry I can't help with > exactly how to do this with ADT, I do my work in the platform build system). > > > > > > On Tue, May 5, 2009 at 11:37 PM, quill wrote: > > > Hi Dia

[android-developers] Re: Access my own provider in another app

2009-05-05 Thread Dianne Hackborn
You need to statically link it into your app (sorry I can't help with exactly how to do this with ADT, I do my work in the platform build system). On Tue, May 5, 2009 at 11:37 PM, quill wrote: > > Hi Dianne, > I have try this, just to > import com.example.android.notepad.NotePadProvider; > but e

[android-developers] Re: Android 1.5: How to get the BT state?

2009-05-05 Thread Nick Pelly
There is a simple bug in your code. Try looking in the source for other examples of the use of BLUETOOTH_STATE_CHANGED and you should quickly see what you have done wrong. Sorry not going to spoon feed you for private API's. Nick On Tue, May 5, 2009 at 10:45 PM, so_is wrote: > > Is there new i

[android-developers] Re: Access my own provider in another app

2009-05-05 Thread quill
Hi Dianne, I have try this, just to import com.example.android.notepad.NotePadProvider; but eclipse shows me an error. On May 6, 2:31 pm, Dianne Hackborn wrote: > Link the NotePadProvider class into the second application and just use it > the same way as you would in the original app. > > > >

[android-developers] Re: Access my own provider in another app

2009-05-05 Thread Dianne Hackborn
Link the NotePadProvider class into the second application and just use it the same way as you would in the original app. On Tue, May 5, 2009 at 11:22 PM, quill wrote: > > Hi all, > I hava build a notepad application just like the notepad sample in > sdk.It has a NotePadProvider. > Now in anothe

[android-developers] Dx Tool

2009-05-05 Thread Sergio Ciruela
Hi, I would like to know where i can find a how-to about DX tool. Thanks --~--~-~--~~~---~--~~ 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@googlegroup

[android-developers] Access my own provider in another app

2009-05-05 Thread quill
Hi all, I hava build a notepad application just like the notepad sample in sdk.It has a NotePadProvider. Now in another application I want to insert or delete a record in notepad database, how should I do this? Can I use NotePadProvider? how? I know that how to insert a record in contacts: C

[android-developers] Re: How to show soft keyboard in landscape mode?

2009-05-05 Thread Dianne Hackborn
If you are on a G1, the default behavior of InputMethodService is not to be shown when there is a hardware keyboard available. On Tue, May 5, 2009 at 8:21 PM, Yan Shi wrote: > > I tried a lot of ways with no luck. Could anyone please help me? > > Thanks > > > -- Dianne Hackborn Android framew

[android-developers] Re: How to draw directly on screen without calling invalidate?

2009-05-05 Thread Dianne Hackborn
You can look at the Touch Paint API demo as an example of one approach. On Tue, May 5, 2009 at 9:04 PM, Sukitha Udugamasooriya wrote: > > Thanks. Is there a way to save the Canvas object on re-draw that in > the onDraw()?? > > > -- Dianne Hackborn Android framework engineer hack...@android.com

[android-developers] Re: How to decode large resolution Images

2009-05-05 Thread vishal bhoj
Can Anyone help me on this ? On Tue, May 5, 2009 at 6:31 PM, bhoj wrote: > > Hello All, > > I want to decode high resolution pics something like 8 mega pixel > images and view it. when I try to decode them I get out of memory > exception. Decoding of single 8 mega pixel also fails . From the > Im

[android-developers] Re: Android 1.5: How to get the BT state?

2009-05-05 Thread so_is
Is there new information about that problem? On Apr 25, 9:41 am, scanning_it wrote: > Well after testing the whole thing I recognized that the state is not > delivered via an Intent extra. (although mentioned in the SDK) > > Here is what I tried: > >         Log.e(TAG,"Received Bt change. Change

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-05-05 Thread so_is
Well Mark the problem is that I am using the suggested way to save the settings. I do commit every single edit() like suggested. But a lot of users are still reporting that they lose settings. I don't know why but it happens some times. :( (I have worked with my app for 2 months now and have never

[android-developers] Re: How can we realize so COOL animation like this?Help!

2009-05-05 Thread sharon
Anybody has idea? Thanks. On 5月5日, 下午5时07分, sharon wrote: > Watch the cool animation > below.http://www.fiercemobilecontent.com/story/check-out-some-tats-user-int... > > In the second video 'Glassy',after entering the 'Albums',the covers > of albums scroll like page-turning. > Now I want to ge

[android-developers] Re: SDK 1.5 - MMS Intent does not handle images correctly

2009-05-05 Thread Ty
Anyone? On Apr 28, 12:25 pm, Ty wrote: > After more investigation it appears as though the culprit is the 'exit- > on-sent' Boolean that I set before calling the intent.  If I set that > to false the image will get inserted although it takes much longer > than before.  Also, if, before hitting s

[android-developers] Re: Browser specs

2009-05-05 Thread Disconnect
You googled and couldn't find out if it supported flash? Can I suggest trying harder? On Mon, May 4, 2009 at 4:15 AM, tekinico wrote: > > Hey everyone ! > > I've been trying to collect information about Android web browser > specifications, like html/css versions, security protocols, Java/Flash

[android-developers] Re: App widgets and remote views

2009-05-05 Thread bra...@gmail.com
DOH. AndroidEyes I barely knew thee :) On May 6, 12:25 am, Romain Guy wrote: > This is an unfortunate limitation indeed but given our constraints > this is the only way we could provide *secure* appwidgets in the > platform. > > > > On Tue, May 5, 2009 at 9:21 PM, bra...@gmail.com wrote: > > >

[android-developers] Re: How to draw directly on screen without calling invalidate?

2009-05-05 Thread bra...@gmail.com
Thats how I do it in my apps. On May 5, 4:30 am, Mariano Kamp wrote: > The onDraw() method starts from the scratch every time and so doesn't keep > your drawings from the last invocation. Instead you would need to save all > the previous points yourself and use them in onDraw(). > > On Tue, May

[android-developers] Re: How to send file by socket

2009-05-05 Thread bra...@gmail.com
There are plenty of examples of socket transactions for java around. http://www.rgagnon.com/javadetails/java-0542.html First hit with a google search is pretty good. On May 5, 11:09 pm, "guishenl...@gmail.com" wrote: > Hi all, > I want to send a file from the Android phone to a server by > soc

[android-developers] Re: App widgets and remote views

2009-05-05 Thread Romain Guy
This is an unfortunate limitation indeed but given our constraints this is the only way we could provide *secure* appwidgets in the platform. On Tue, May 5, 2009 at 9:21 PM, bra...@gmail.com wrote: > > That is actually kind if annoying and greatly limits the things we can > do with widgets. Are

[android-developers] Re: App widgets and remote views

2009-05-05 Thread bra...@gmail.com
That is actually kind if annoying and greatly limits the things we can do with widgets. Are there any plans to change this or do I have to kiss my xeyes port goodbye forever. On Apr 21, 3:17 pm, Tom Gibara wrote: > It's an intentional limitation. Only views that are implemented by the > framewor

[android-developers] Re: Overriding home screen search?

2009-05-05 Thread whizziwig
I guess I'll write a widget. Thanks. On May 5, 1:06 am, Romain Guy wrote: > You should really NOT do this.Homesearches are meant to search > contacts, and nothing else. Do not attempt to change the semantics of > this Intent. > > > > On Mon, May 4, 2009 at 9:59 PM, whizziwig wrote: > > > Hey al

[android-developers] Re: How to draw directly on screen without calling invalidate?

2009-05-05 Thread Sukitha Udugamasooriya
Thanks. Is there a way to save the Canvas object on re-draw that in the onDraw()?? --~--~-~--~~~---~--~~ 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@goo

[android-developers] Re: Questions on Tab (TabWidget) Width

2009-05-05 Thread Lewis Z.
Chris, thanks for the reply and idea. My tight schedule won't allow me to create a custom widget. I'll just use what are available in the SDK. It seems to me that the current implemetaion of TabWidget is only good for four tabs, which is too few for any complicated applications. Maybe the widget

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-05-05 Thread havexz
Got a workaround by explicitly setting the background for scrollview. But any ways the Light theme has some other issues also. For example in 1.1, the preferences doesnt work properly with light theme and in 1.5 preferences work fine but if you have a alert dialog with multiple items (check boxes)

[android-developers] How to show soft keyboard in landscape mode?

2009-05-05 Thread Yan Shi
I tried a lot of ways with no luck. Could anyone please help me? Thanks --~--~-~--~~~---~--~~ 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.

[android-developers] Re: How to pass the "Touch" event to application behind the transluent "Input" view?

2009-05-05 Thread gguoling
Hi Dianne Hackborn, I didn't find the flag you said in class "Window". Can you tell me how to pass the touch events ? Thank you. On 5月6日, 上午10时43分, Dianne Hackborn wrote: > Touch processing is all-or-nothing per window. You can set the window flag > to turn off all touch processing, but you can

[android-developers] Re: ScrollView and Programmatically Scrolling

2009-05-05 Thread Kaka
any solution now? I have to implement the same function too. On Apr 20, 2:32 am, Arnaud Weber wrote: > Ok, i've found some kind of weird solution... > > It seems that fullScroll is inversed. As i wanted to go to the top of my > view i need to call > scrollView.fullScroll( > > > > > ScrollView.F

[android-developers] How to send file by socket

2009-05-05 Thread guishenl...@gmail.com
Hi all, I want to send a file from the Android phone to a server by socket.Could anyone give me some example code about how to do it? Thank you in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: How to pass the "Touch" event to application behind the transluent "Input" view?

2009-05-05 Thread gguoling
Thank you Dianne Hackborn, I will try it. On 5月6日, 上午10时43分, Dianne Hackborn wrote: > Touch processing is all-or-nothing per window. You can set the window flag > to turn off all touch processing, but you can selectively catch or pass > touch events. > > On Tue, May 5, 2009 at 7:33 PM, gguoling

[android-developers] Re: distributing an app packaged with just emulator

2009-05-05 Thread tansaku
Hi Brian, Many thanks for your help. I eventually got this approach to work, but I had to upgrade to the latest sdk first. I think my other odd troubles may have been related to that. As it happens I got the app on the emulator via a browser install as suggested here: http://groups.google.com

[android-developers] Re: How to pass the "Touch" event to application behind the transluent "Input" view?

2009-05-05 Thread Dianne Hackborn
Touch processing is all-or-nothing per window. You can set the window flag to turn off all touch processing, but you can selectively catch or pass touch events. On Tue, May 5, 2009 at 7:33 PM, gguoling wrote: > > Hi all, I have a question, How to pass the "Touch" event to the > application behi

[android-developers] Video thumbnail with cupcake/1.5?

2009-05-05 Thread Ty
I hear that there is now a public 'way' of creating a thumbnail from a video? Does anyone know how to do this? Ty --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Re: how to get the first frame of a video file ?

2009-05-05 Thread Ty
Apparently this was added with Cupcake. I cannot find it. Anyone know how to create a video thumbnail? Ty On Apr 5, 8:54 pm, Wei wrote: > Hi Dave, > > Are you meaning I can not use this class in my own application? > But in MediaPlayerPerformance.java(framework folder), it can import > MediaM

[android-developers] How to pass the "Touch" event to application behind the transluent "Input" view?

2009-05-05 Thread gguoling
Hi all, I have a question, How to pass the "Touch" event to the application behind the transluent view? The view is an input view (IMF, implemented by "InputMethodService.setInputView()"). Need help. --~--~-~--~~~---~--~~ You received this message because you are su

[android-developers] Re: sdcard on emulator mounted read only !!

2009-05-05 Thread David Turner
On Tue, May 5, 2009 at 8:50 PM, dan raaka wrote: > I can find that under > ./development/data/etc/vold.conf > that is normal, but is the file copied to /system/etc/vold.conf when you run the emulator ? If not, this explains the empty and read-only /sdcard > > > > > On Mon, May 4, 2009 at 11:51

[android-developers] Re: Anyone who knows the details of operate a service?

2009-05-05 Thread Mark Murphy
iloveblue wrote: > While I am playing the music in background as a service. And then a > phone call happens, what should the service do? Will the OS (android) > pause the service No, there is no "pause" with services. > or will the developer who develop the service write > code to detect things

[android-developers] Re: How to get current date ??

2009-05-05 Thread Daehoon Jeon
Thanks for help, but I already completely done, I think Android is different from Java about get current date. Android site gives source exactly i want. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: AbsoluteLayout deprecated ... a simple example to be complaint with 1.5 SDK ?

2009-05-05 Thread Sheepz
Thanks for the input, I am very new at this UI thing so it makes sense that there are some mistakes there, however, I have tried basing my directions on trial and error and answers I got in this group, for example, the use of framelayout was recommended in this group and that's why I tried it, but

[android-developers] Re: SlidingDrawer issue #1?

2009-05-05 Thread Sheepz
if you mean 1.5, yes i am, i have also updated the editors for eclipse as described in the upgrade sdk page. On May 5, 7:06 pm, dan raaka wrote: > are you using the latest version of SDK ? > > On Tue, May 5, 2009 at 4:04 PM, Sheepz wrote: > > > I took a look at the api > >http://developer.andr

[android-developers] Re: Regarding AbsoluteView being deprecated in 1.5

2009-05-05 Thread Sheepz
Thanks for the input, I am very new at this UI thing so it makes sense that there are some mistakes there, however, I have tried basing my directions on trial and error and answers I got in this group, for example, the use of framelayout was recommended in this group and that's why I tried it, but

[android-developers] Making a snapshot of an application with trasparencies

2009-05-05 Thread Alex Jurgensen
HI, Here is my plan. I want an application (any aplication) to be able to read in from a file on the disk and if the fille existed do the following: 1. Disable all input via the touchscreen. 2. Allow a transparent slider along the left side of the phone and one across the bottom. 3. A tra

[android-developers] Re: AbsoluteLayout deprecated ... a simple example to be complaint with 1.5 SDK ?

2009-05-05 Thread Dianne Hackborn
I'll say again: we are not going to remove AbsoluteLayout from a future release, but we strongly discourage people from using it. If you choose to not believe me, you are welcome to, but I am not responsible for you making that decision. On Mon, May 4, 2009 at 1:00 PM, Mike wrote: > > Dianne, w

[android-developers] Re: SlidingDrawer issue #1?

2009-05-05 Thread dan raaka
are you using the latest version of SDK ? On Tue, May 5, 2009 at 4:04 PM, Sheepz wrote: > > I took a look at the api > http://developer.android.com/reference/android/widget/SlidingDrawer.html > and copied their example to a clean sandbox project > this is the code: > [beginquote] > > > http://s

[android-developers] Re: SlidingDrawer issue #1?

2009-05-05 Thread Sheepz
I took a look at the api http://developer.android.com/reference/android/widget/SlidingDrawer.html and copied their example to a clean sandbox project this is the code: [beginquote] http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_pare

[android-developers] Push Mail answers

2009-05-05 Thread Alex Jurgensen
HI, Try Funamble. Thanks, Alex, --~--~-~--~~~---~--~~ 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,

[android-developers] Re: Location of Gears Local DB

2009-05-05 Thread Evan Ruff
I was afraid of that :-)! In case anyone else is wondering, I was able to troubleshoot my issue using the tools included in the standard gears SDK distro. There's a database.html file in there that will let you run SQL against any target. I used it to double check my DB. E On May 5, 10:59 am, "

[android-developers] Re: Retrieving Draft SMS details

2009-05-05 Thread sermojohn
After quite many hour of searching around for the "canonical_addresses" table, you told me about, I had no luck. I feel sad that I m interested in developing a application on a platform that is supposed to be well documented and supported, but cant do a so simple operation, like retrieving the des

[android-developers] Re: Regarding AbsoluteView being deprecated in 1.5

2009-05-05 Thread Romain Guy
Your blog post is full of misunderstandings. First of all, using margins *does* work for what you want with a FrameLayout. You used a LinearLayout and as a result your views are much bigger than they need to be and it's probably much more expensive that it needs to be. Second of all, you should N

[android-developers] Re: AbsoluteLayout deprecated ... a simple example to be complaint with 1.5 SDK ?

2009-05-05 Thread Romain Guy
Your blog post is full of misunderstandings. First of all, using margins *does* work for what you want with a FrameLayout. You used a LinearLayout and as a result your views are much bigger than they need to be and it's probably much more expensive that it needs to be. Second of all, you should NO

[android-developers] Re: AbsoluteLayout deprecated ... a simple example to be complaint with 1.5 SDK ?

2009-05-05 Thread Sheepz
check out my simple example at http://developreality.blogspot.com/ it's my blog, and i have a post on doing just that... good luck On May 4, 5:34 am, 6real wrote: > Hello, > > could someone give a simple example to replace an AbsoluteLayout with > Frame and Relative Layout ? > > Example : > I ha

[android-developers] Android SDK Content Loader gets stuck....

2009-05-05 Thread Richard Schilling
I am seeing the project refresh in Eclipse get stuck when it runs the Android SDK Content Loader. Does anyone else see this? Any clue on cancelling this task? When I click the red square, the IDE just sits there. Restarting eclipse doesn't help - the IDE just starts this task again when it is

[android-developers] Re: Regarding AbsoluteView being deprecated in 1.5

2009-05-05 Thread Sheepz
I have encountered this issue, and wrote a blog post about it, have a look if you're still stuck: http://developreality.blogspot.com/ Enjoy! On Apr 29, 6:01 pm, Mark Murphy wrote: > karthikr wrote: > > I have just realised that AbsoluteLayout has been deprecated in the > > latest sdk, however I

[android-developers] Smarter Monkey Needed

2009-05-05 Thread Brian Conrad
I was testing my program with Monkey under the 1.5 emulator. It gets hung up on some of the dialogs which a user would just dismiss with the back key and quits with a "not responding" error. The application hasn't quit and dismissing the dialog the program continues to run normally. This w

[android-developers] Re: Launch Activity

2009-05-05 Thread Mark Murphy
danielececil...@gmail.com wrote: > Hi, > > I try to launch an Activity created with : > > public class MyActivity extends Activity { ... } > > from a java method. > > Somebody can help me please startActivity(new Intent(this, MyActivity.class)); -- Mark Murphy (a Commons Guy) http:/

[android-developers] Re: Handling key events in a paused Activity

2009-05-05 Thread Mark Murphy
Taísa Cristina wrote: > In fact I do need to handle key strokes. Find another UI pattern. > It would be easier if I could > handle home key, so that I could prevent the user from going to home > screen. Find another UI pattern. "Prevent the user from going to home screen" is fairly evil and is

[android-developers] Re: android audio

2009-05-05 Thread Yusuf T. Mobile
As you are probably aware, this is not part of the public SDK API, so it's not supported for app developers, it may break with future versions, etc. That being said, dsp_dtmf.c has a function with a decent amount of (entertainingly spelled) comments called "dsp_dtmf_goertzel_decode". Call that wi

[android-developers] reset to paid or completely remove the old free apps from Market?

2009-05-05 Thread jman
I certainly would like to keep using the old name for the paid version of the software but I did not seem to find a way of resetting it to paid or removing the old free version entirely so that I can upload the brand new software. Thanks. --~--~-~--~~~---~--~~ You

[android-developers] Re: Playing shoutcast mp3 stream in background crashes in 1.5

2009-05-05 Thread Marco Nelissen
Sorry, didn't quite read far enough. So you're using a service but it still "crashes". If it really crashes, then the system log should show a stack trace that gives you more information about the crash. Have a look there in that case. If by "crashes" you mean "stops playing", then I'm guessing you

[android-developers] Android Browser 1.5 - Save link broken?

2009-05-05 Thread Alec
Hi In the new version of android the Browser Save Link does not behave as it did in version 1.1 for instance this link http://www.mininova.org/get/1063605 could be saved in version 1.1 but not in 1.5 Could someone explain to me why? and what work around i might be able to use for my applicatio

[android-developers] Re: Playing shoutcast mp3 stream in background crashes in 1.5

2009-05-05 Thread Streets Of Boston
I see you already tried to put it in a service. How do you stop/start this service? If your activity just binds to the service, the service will stop when the activity goes away. To fix this, do a 'Context.startService' as well. This will cause your service to stay running in the background, even

[android-developers] Re: Playing shoutcast mp3 stream in background crashes in 1.5

2009-05-05 Thread Marco Nelissen
If you want to reliably do something in the background, you need to use a service. Having a static reference to some object is not enough. On Mon, May 4, 2009 at 3:16 PM, ogi.andr...@gmail.com wrote: > > I've successfully played shoutcast mp3 streams while the application > is hidden (no activi

[android-developers] HTC Magic

2009-05-05 Thread moa
Anyone got an HTC Magic? http://groups.google.co.uk/group/htc-magic --~--~-~--~~~---~--~~ 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.co

[android-developers] Re: SDK 1.5 and multiple projects in an application

2009-05-05 Thread Rashmi
Hello, I am in a similar situation. I have a project with a service and I am binding to the service from a different application in different package. I got this whole setup working on Android SDK 1.1. However it is not working in Android 1.5, even when I pick out 1.1 to be used. The emulator fa

[android-developers] Re: TCP (XMPP) Keep Alive and T-Mobile

2009-05-05 Thread Guillaume Perrot
28 minutes ??? It's only 3 minutes for us in France, I am doubtful about this value. 2009/5/5 mathiastck > > I found this: > > http://code.google.com/p/android-random/source/browse/trunk/TestKeepAlive/src/org/devtcg/demo/keepalive/KeepAliveService.java > > these guys set their keep alive interva

[android-developers] Re: Testing Upgrades from Market without Publishing

2009-05-05 Thread Moons
If you connect your phone to your computer, you can run your projects on your phone. On May 4, 9:04 pm, d474rpr wrote: > I have an application that is almost ready to be published to the > Market except for one little complication.  I need to be able to test > that the upgrade will work correctl

[android-developers] Re: Widget "proxy drawable"

2009-05-05 Thread Jeff Sharkey
It also works for creating dithered 9-patches: res/drawable/proxy_nine_patch.xml: j On Tue, May 5, 2009 at 11:32 AM, Romain Guy wrote: > > It's just a typo. Here's a proxy example: > > > > Doing so lets you for instance enable or disable dithering using > android:dither. > > On Tue, May 5,

[android-developers] Re: onDraw() help

2009-05-05 Thread Moons
When you call View.invalidate(), your View refresh itself, wich means that all your previous draws are erased. On May 5, 8:41 am, Sukitha Udugamasooriya wrote: > Hi all, > > I'm relatively new to Android. I want to draw strokes on my screen when the > user touches. Next stroke should be drawn fr

[android-developers] Re: TCP (XMPP) Keep Alive and T-Mobile

2009-05-05 Thread mathiastck
I found this: http://code.google.com/p/android-random/source/browse/trunk/TestKeepAlive/src/org/devtcg/demo/keepalive/KeepAliveService.java these guys set their keep alive interval to: private static final long KEEP_ALIVE_INTERVAL = 1000 * 60 * 28; I'm assuming their optmized for the T-Mobile G

[android-developers] Get View width before displaying it

2009-05-05 Thread Al
I'm using a PopupWindow and want to set the width to the exact amount of space my LinearLayout (which is the contentview of the pop up), will need. I tried calling getWidth() but each time it returns 0. How can I find the width of it before displaying it? Thanks. --~--~-~--~~--

[android-developers] Re: sdcard on emulator mounted read only !!

2009-05-05 Thread dan raaka
I can find that under ./development/data/etc/vold.conf On Mon, May 4, 2009 at 11:51 PM, David Turner wrote: > I guess /system/etc/vold.conf is missing from your build. How did you > configure it ? > > > On Mon, May 4, 2009 at 11:51 PM, Marco Nelissen wrote: > >> Well, so what does the system l

[android-developers] Re: How to send mail in HTML format?

2009-05-05 Thread Jonapin
I need the solution help... On 24 abr, 12:19, havexz wrote: > Someone have any idea > > On Mar 30, 1:19 am, havexz wrote: > > > I want to send the Email in HTML format. Currently i am using the > > default text format using the Intent. > > > sendIntent.putExtra(Intent.EXTRA_TEXT, "helleo"); > >

[android-developers] Re: How to send mail in HTML format?

2009-05-05 Thread Jonapin
Do you find the solution?, a need the solution On 24 abr, 12:19, havexz wrote: > Alguien tiene alguna idea > > El 30 de marzo, 1:19 am, havexz escribió: > > > > > > > Quiero enviar el correo electrónico en formato HTML. Actualmente estoy > > usando el > > Por defecto utilizando el formato de te

[android-developers] Re: Anyone who knows the details of operate a service?

2009-05-05 Thread Yusuf T. Mobile
Android won't necessarily kill your service when there is an incoming call. You can read about incoming call detection here: http://d.android.com/reference/android/telephony/PhoneStateListener.html Some nice guy wrote it up here: http://mylifewithandroid.blogspot.com/2008/01/phonecalls.

[android-developers] Decoding High resolution pics

2009-05-05 Thread bhoj
Hello All, I want to decode high resolution pics something like 8 mega pixel images and view it. when I try to decode them I get out of memory exception. Decoding of single 8 mega pixel also fails . From the Imagamanager code and other post I could use BitmapFactory.Options inJustDecodeBounds I

[android-developers] Android online training or training in Bangalore

2009-05-05 Thread vineeth Desai
Hi, Please let me know online android training. and also any training centre in Bangalore. Warm Regards, Sunil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Testing Upgrades from Market without Publishing

2009-05-05 Thread d474rpr
I have an application that is almost ready to be published to the Market except for one little complication. I need to be able to test that the upgrade will work correctly once the application is published. So far I have seen no available way to QA this scenario that will satisfy my test require

[android-developers] Adb shell escape character

2009-05-05 Thread VS
Hi, I'm trying to send this command to create a contact. am start -a android.intent.action.INSERT -d 'content://contacts/ people' -t 'vnd.android.cursor.dir/person' -c 'android.intent.category.DEFAULT' -e 'name' 'Abc Xyz' -e 'phone' '111222' This works fine if I just use one word for name, e

[android-developers] MyLocationOverlay blocks my Activity

2009-05-05 Thread cyril.at...@gmail.com
Dear all, I am facing a strange issu : as soon as I try to instanciate a new MyLocationOverlay, my application is blocked. here is my code snippet mapViewFromXML = (MyMapView) this.findViewById(R.id.my_map); Log.d("MAP", "BEFORE CREATING MY LOCATION OVERLAY"); mylocat

[android-developers] Re: Start Application with SMS

2009-05-05 Thread Hira Sirojudin
that right what AndroidUser said, u just create a function to check received sms in ReceiveSms class or other place which ReceiveSms instance triggering this function. On Tue, May 5, 2009 at 10:57 AM, Android Users wrote: > Hi, > > Every msg tat comes will go to the inbox. you can check for the

[android-developers] Android 1.5 bug with earphone detection

2009-05-05 Thread archinform
On my Google dev phone there is a problem with the new 1.5 version in combination with an official HTC adapter cable YC A300 and 3.5mm earphones. Android doesn't recognize the earphones (it worked on 1.1!). Android still recognizes the HTC earphones with ExtUSB. --~--~-~--~~--

[android-developers] Re: Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted. Error

2009-05-05 Thread atung
Thanks! On May 4, 9:11 am, Raphael wrote: > On Sat, May 2, 2009 at 11:02 AM, Berlin Brown wrote: > > > With Eclipse 3.4, Ubuntu Linux and android 1.5 sdk from the download > > site.  I am getting the following error:  This is just a basic > > project, I haven't added any code yet. > > > "Failed

[android-developers] Update application from the Android Market

2009-05-05 Thread David C
Hi, After different testing, I found an issue with the "update method" when installing an application update. I developped "DilbertDroid", and a lot of people are saying that there is missing some functionnality but the latest version published on the market have this functionnalities. I suppos

[android-developers] How can we realize so COOL animation like this?Help!

2009-05-05 Thread sharon
Watch the cool animation below. http://www.fiercemobilecontent.com/story/check-out-some-tats-user-interface-innovations/2009-04-20 In the second video 'Glassy',after entering the 'Albums',the covers of albums scroll like page-turning. Now I want to get the same effect,but have no idea. Please g

[android-developers] Re: is android:layout_width and android:layout_height manditory attributes

2009-05-05 Thread Hira Sirojudin
or you could modify this source efectively...but the solution is not popular...:) On Mon, May 4, 2009 at 10:40 PM, Romain Guy wrote: > > No, it does not make sense to take the parent's value. > > On Sun, May 3, 2009 at 11:28 PM, Raja Nagendra Kumar > wrote: > > > > ok, > > > > In absence global

[android-developers] Re: Updated to 1.5 and R.java is not regeneratated

2009-05-05 Thread Jinru He
Hi, Xavier, I encounter the same problem. and I am pretty sure that I didnot have the gen folder before updating to ADT 0.9 How can i solve this problem? Thanks! On 4月30日, 下午5时54分, Xavier Ducrohet wrote: > When updating an old project that doesn't have the gen source folder > setup, it first

[android-developers] Is it possible to share one 'Canvas' in multiple custom-views within a single Activity?

2009-05-05 Thread Gerald Logor
Hello. I'm trying to develop an app which mimic the MicrosoftPaint application. My current setup is that I have a single activity which contains multiple custom-view. These views correlate to the different tool that program can do. Example: 'pencilView' to simulate the pencilStrokes, 'rectangleVie

[android-developers] Playing shoutcast mp3 stream in background crashes in 1.5

2009-05-05 Thread ogi.andr...@gmail.com
I've successfully played shoutcast mp3 streams while the application is hidden (no activity showing), simply by keeping a static pointer to the playing thread (http://developer.android.com/guide/appendix/faq/ framework.html#3). After updating to 1.5 it crashes almost instantly after destroying the

[android-developers] Anyone who knows the details of operate a service?

2009-05-05 Thread iloveblue
Hello: I have a question about service, take a music player for example. While I am playing the music in background as a service. And then a phone call happens, what should the service do? Will the OS (android) pause the service, or will the developer who develop the service write code to detect

[android-developers] how to add class path to build.xml file generated by android tool

2009-05-05 Thread hlu
I have an old project and I just update it with android tool from SDK1.5. It replaced my old build.xml with a new one. The new one does not pick up my old classpath setting. How to add class path to build.xml file generated by android tool? Thanks, Hong --~--~-~--~~~-

[android-developers] Playing shoutcast mp3 stream in background crashes in 1.5

2009-05-05 Thread ogi.andr...@gmail.com
I have an application for playing shoutcast streams that worked on SDK 1.1, but after upgrade to 1.5 it crashes every time the activity is destroyed. The trouble is in AudioTrack::obtainBuffer(), it loops forever since the change in code. I've tried to put the play thread in a Service to avoid my

[android-developers] Re: Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted. Error

2009-05-05 Thread atung
Thanks! On May 4, 9:11 am, Raphael wrote: > On Sat, May 2, 2009 at 11:02 AM, Berlin Brown wrote: > > > With Eclipse 3.4, Ubuntu Linux and android 1.5 sdk from the download > > site.  I am getting the following error:  This is just a basic > > project, I haven't added any code yet. > > > "Failed

[android-developers] catching points with the Gps

2009-05-05 Thread fbesoain
hi everybody, I am writing an application for catching points with the Gps, so I am using : I defined my location manager, therefore: locationManager.getLastKnownLocation(provider); updateWithNewLocation(location); locationManager.requestLocationUpdates(provider, 2000, 10, locationListener); W

[android-developers] Decoding High resolution pics

2009-05-05 Thread vishal bhoj
Hello All, I want to decode high resolution pics something like 8 mega pixel images and view it. when I try to decode them I get out of memory exception. Decoding of single 8 mega pixel also fails . From the Imagamanager code and other post I could use BitmapFactory.Options inJustDecodeBounds I co

[android-developers] Re: Questions on Tab (TabWidget) Width

2009-05-05 Thread Chris @ Froogloid
I have no idea if there is a workaround for this sizing issue but I can say we've had create our own tab mock-ups do to shortcomings with the tab widget. Mock up = look like tabs, act like tabs...but are really buttons. On May 5, 8:50 am, "Lewis Z." wrote: > Any comments please? > > On May 2, 8

[android-developers] طلب انتماء

2009-05-05 Thread oozaa
hi --~--~-~--~~~---~--~~ 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-

[android-developers] catching points with the Gps

2009-05-05 Thread Felipe Andres Besoain Pino
hi everyone, I am trying to write a code about catch lat. and long. points with the GPS, actually I am using the shell with the commands "geo fix" because the DDMS doesn't work in linux apparently, I am using this scripts: getBestProvider(criteria, true); getLastKnownLocation(provider); reques

[android-developers] How to decode large resolution Images

2009-05-05 Thread bhoj
Hello All, I want to decode high resolution pics something like 8 mega pixel images and view it. when I try to decode them I get out of memory exception. Decoding of single 8 mega pixel also fails . From the Imagamanager code and other post I could use BitmapFactory.Options inJustDecodeBounds I c

[android-developers] Re: getting location name from lat, lon

2009-05-05 Thread mf-team
Hi jj, GeoLocation API is currently available as part of Google Gears but, as far as i know, still not included in the Android platform. The only solution is to call an external service in order to get the information you need. In my opinion an external web service call will also be the solution

  1   2   3   >