[android-developers] Re: including jar files with my android application

2009-08-02 Thread Keith Wiley
I'm having the exact same problem. I was able to successfully use jxl with the v1.1 SDK but have never succeeded in using it with the v1.5 SDK, r1 or r2, for the same reason you state. I have no idea what the problem is. I have inquired on this mailing list in the past about Dalvik conversion

[android-developers] Re: RTSP stack implementation

2009-08-02 Thread Harishkumar V
Oh Is there any way to pull from that, might be adb pull /system/app/APPNAME.apk will do. or we have to insert busybox in that, pack the things. Thanks and Regards, HarishKumar.V On Sat, Aug 1, 2009 at 10:53 PM, Vinay vnykm...@gmail.com wrote: It comes by default with HTC mobile. On

[android-developers] Re: TIME_TICK in an AppWidget?

2009-08-02 Thread String
Hi VodkaWine, I'm no kind of expert with AppWidgets; I'm still working on my first one. But I'm happy to share what I have learned along the way. First, your code is structured quite differently than mine. That doesn't mean that either of us is wrong, but it does mean that yours may simply work

[android-developers] Adding a shortcut to Programs (launchers) programmatically

2009-08-02 Thread Ashutosh Sharma
Hi, I'd like to programmatically add shortcuts to Applications (list of launchers) - typically these are added automatically when an application is installed. The shortcuts could be to native executables or to regular application launchers/classes. Is this possible at all? If so, could someone

[android-developers] json serializer / deserializer

2009-08-02 Thread Premier
Hello do you know a library or method to serialize / deserialize java bean to json in android? how i can introspect a javabean and fill its fields? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: json serializer / deserializer

2009-08-02 Thread Mark Murphy
Premier wrote: do you know a library or method to serialize / deserialize java bean to json in android? how i can introspect a javabean and fill its fields? Android has limited support for JavaBeans. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-08-02 Thread Sergio
You need to download framework.jar from: http://github.com/android/platform_frameworks_opt_com.google.android/blob/7e12826d58454d3bade238e3b2c43fe402278f19/framework.jar On Aug 2, 3:37 am, JP joachim.pfeif...@gmail.com wrote: Thanks for all the code - I've been trying to toy around with this

[android-developers] Sending a bitmap as a MMS

2009-08-02 Thread karthikr
Hi Guys, Im trying to send a bitmap through mms by the following code, But what i can see is that the messaging client opens up only with the text and the bitmap not attached. Can you please guide me as what im doing wrong here? Intent sendIntentMMS = new Intent(Intent.ACTION_SEND);

[android-developers] Re: json serializer / deserializer

2009-08-02 Thread Fred Grott(shareme)
I wonder if you coudl use say dependency injection via string ids oh say the library yasdic? On Aug 2, 5:32 am, Mark Murphy mmur...@commonsware.com wrote: Premier wrote: do you know a library or method to serialize / deserialize java bean to json in android? how i can introspect a

[android-developers] Re: How can you prevent somebody from calling in Android ?

2009-08-02 Thread e-satis
Isn't it possible to catch the outgoing_call intent, prevent it from propagating, then shut down the call according to some criterias ? On Jul 31, 2:21 am, Roman roman.baumgaert...@t-mobile.com wrote: If you write your ownphoneapplication you are able to add whatever checks you want. Problem

[android-developers] Re: TextView changing from other thread

2009-08-02 Thread Cao Minh Vu
If your textview in main UI thread, try method : runOnUiThread(action) Another way to share data between thread: + Content Provider + Database (Sqlite) + Using one static class ... -CMV- On Sun, Aug 2, 2009 at 6:55 AM, Illidane illid...@gmail.com wrote: Can you give an example? On 2 авг,

[android-developers] ACTION_GET_CONTENT audio, video

2009-08-02 Thread Christine
I was wondering, when you do an intent with ACTION_GET_CONTENT and type video/* you get just the media browser showing you stored video's from which you can pick one, while with type audio/*, you first get a chooser which lets you choose between recording audio or selecting from the media

[android-developers] Re: json serializer / deserializer

2009-08-02 Thread Christine
On Aug 2, 12:26 pm, Premier a.grum...@gmail.com wrote: Hello do you know a library or method to serialize / deserialize java bean to json in android? You can use XStream for serializing from/to xml, I'm not sure if XStream works well for json on android. how i can introspect a javabean and

[android-developers] Re: TextView changing from other thread

2009-08-02 Thread Christine
Only one activity with one view is active at any time. If you want to update the score in real time from both the logic view and the game view, the only way to do that is to put both in one activity and one view. Otherwise, afaik the view in the background would only update soon as it becomes the

[android-developers] Re: How can you prevent somebody from calling in Android ?

2009-08-02 Thread Christine
I tell my kids what they can and can't do. If that doesn't work, their phone bill is the least of your problems. On Jul 30, 9:17 am, e-satis info.ksam...@googlemail.com wrote: I want to write a software to allow the parents to set a limit to their children phone calls. I need to lock some

[android-developers] Re: How can you prevent somebody from calling in Android ?

2009-08-02 Thread Christine
I tell my kids what they can and can't do. If that doesn't work, their phone bill is the least of your problems. On Jul 30, 9:17 am, e-satis info.ksam...@googlemail.com wrote: I want to write a software to allow the parents to set a limit to their children phone calls. I need to lock some

[android-developers] Canvas.drawText() xor option in Paint argument?

2009-08-02 Thread greg
I've extended a TextView in a ListView to allow some added drawing. I'd like the added drawing to be clearly readable whether the ListView item's background is black (default) or yellow/orange (selected). The TextView.onDraw() apparently changes the color of its drawn text based upon the

[android-developers] Re: Canvas.drawText() xor option in Paint argument?

2009-08-02 Thread Mark Murphy
greg wrote: I've extended a TextView in a ListView to allow some added drawing. I'd like the added drawing to be clearly readable whether the ListView item's background is black (default) or yellow/orange (selected). The TextView.onDraw() apparently changes the color of its drawn text based

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-08-02 Thread JP
Thanks Sergio - I did some more poking around and there seems to be a new version, here: http://github.com/android/platform_frameworks_opt_com.google.android/tree/master It's got quite a yikes-factor however - from far it appears a candidate for breakage when a new version of Android is coming

[android-developers] Re: IME - Main Dictionary

2009-08-02 Thread Spiros
Hi, Very useful information, thanks! Got everything to work nicely, one quick question: I use Eclipse, not GNU make. I noticed Android.mk for LatinIME specifies a -0 .dict aapt flag (I'm guessing store uncompressed). Is there some way to do the same while using the Eclipse builder? Right now

[android-developers] Cursor position in EditText?

2009-08-02 Thread Mark Wyszomierski
Hi, I'm trying to get the start and end position of a selection in an EditText, using: getSelectionStart() getSelectionEnd() but the results are not what I expected when the user has selected only a portion of the text. For example, if the text in the field is ABCDEFG, and the user selects

[android-developers] Re: BadTokenException from the ZoomButtonsController

2009-08-02 Thread Peter Jeffe
Submitted http://code.google.com/p/android/issues/detail?id=3440. --~--~-~--~~~---~--~~ 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

[android-developers] APPS not running in the device due to network

2009-08-02 Thread Harishkumar V
Hi, I have some apps running in the android emulator from 1.5r2 sdk. But the same apps not running in my device, I have a internet network, i can browse use android browser. If i run the app, it shows Network is not connected and Network is not ready. The only difference i can find between

[android-developers] Rotate TextView to an angle... What's wrong with this code?

2009-08-02 Thread Moto
Hello, I got this code from another post and modified it to work for me as a TextView. I tried using the code below but no transformation is happening? Can someone help me out see what's wrong? I trying to draw the canvas of the TextView with the given Matrix transformation. Thanks! Moto!

[android-developers] Re: what's wrong in this code

2009-08-02 Thread riz
yes widgets are not thread safe. thanks dude for the link On Jul 31, 9:50 am, gopu gopuraj...@gmail.com wrote: http://android-developers.blogspot.com/2009/05/painless-threading.html On Jul 31, 9:08 am, Marco Nelissen marc...@android.com wrote: Can you be more specific than it's not

[android-developers] Serious dx error. Desperately need expert advice.

2009-08-02 Thread Keith Wiley
For months now, I have been having problems in which dx by SDK 1.5 (r1 or r2) fails to convert with error 2 on a set of .class files that dx by SDK 1.1 succeeds in converting. It has been pointed out that the Dalvik converter shouldn't be any different between the 1.1 and 1.5 SDKs.

[android-developers] 1.5_r3 backward compatibility

2009-08-02 Thread Peter Jeffe
Sorry if I missed this in the release notes, but if I build against the 1.5_r3 SDK are there any compatibility issues with running it on devices that are at previous levels of 1.5? I would certainly hope not, but I've learned not to make such assumptions. :-) -- Peter

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Mark Murphy
For months now, I have been having problems in which dx by SDK 1.5 (r1 or r2) fails to convert with error 2 on a set of .class files that dx by SDK 1.1 succeeds in converting. It has been pointed out that the Dalvik converter shouldn't be any different between the 1.1 and 1.5 SDKs.

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Keith Wiley
On Aug 2, 11:02 am, Mark Murphy mmur...@commonsware.com wrote: Try adding --debug to your command line. If you add --debug, dx should dump the exception that caused the failure message to DxConsole.err, which I hope in your case is stderr, so you see it on your console. Excellent. That did

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Mark Murphy
but what else can be gleaned from the debug output? A headache, most likely. That sort of stuff strikes me as something definitely needing input from a Xav or a fadden or somebody else on the core Android team. Stepping back from there a moment, while I'm guessing you've tried all of these,

[android-developers] Re: Get Device Name

2009-08-02 Thread dan raaka
try reading it from system properties .. you can see them as you do adb shell getprop -Dan On Sat, Aug 1, 2009 at 1:38 AM, fala70 fal...@gmail.com wrote: Is there somebody that know I get infos about the device name Magice, Dream... and the OS version ? thanks On 31 Lug, 18:20, fala70

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Keith Wiley
On Aug 2, 11:51 am, Mark Murphy mmur...@commonsware.com wrote: -- What javac generated the .class files? If it's not the latest for that particular generation (e.g., the latest 1.5, the latest 1.6), can you try moving to the latest one and see if your results improve? If it's not the Sun

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Mark Murphy
Keith Wiley wrote: Not easily. I already tried to narrow it down by removing .java files from the build compilation to .class files. The JXL library has hundreds of files and they are relatively tightly coupled. There aren't many .java files in it that can be removed such that the

[android-developers] Emulator not working properly

2009-08-02 Thread Jay
Hi all. My little apps used to run fine in eclipse and on the android emulator. Then for some reason they stopped working. Now, no new apps or changes will appear on the phone. I have followed the instructions on the FAQ but it doesn't change. Now also if I want to change some code and then

[android-developers] Quick Dev Phone Question

2009-08-02 Thread Nakedsteve
Hey everyone, I'm thinking about buying an Android dev phone, since I just switched to ATT. It looks great, but I can't afford the data plan from ATT, so I was wondering if there's a way for me to disable data on cellular, but still allow it while on wifi. Is this possible? Thanks in advance.

[android-developers] Re: Got InflateException in my MapView xml file

2009-08-02 Thread Nicolai
Make sure to extend MapActivity and not merely Activity in the class that uses the XML layout as its content view: public class MyActivity extends MapActivity { ... } On Jul 10, 4:31 am, Mark Murphy mmur...@commonsware.com wrote: Victor Lin wrote: ?xml version=1.0 encoding=utf-8?

[android-developers] Re: Publishing to Android market - question

2009-08-02 Thread happydroid
No, you need to publish just once for Android Market. You can choose to not publish to some countries, but that's all you can choose. Some carriers may have their own stores, but I used none. As for portability, if you develop with the SDK and without making any assumptions regarding the

[android-developers] crt0.o

2009-08-02 Thread Bebes
Hi, I've been trying to compile the Voidroid project (PJSIP client for Android). I can't copy with one problem that constantly occurs while building the PJSIP part: After running the command: ./configure -- host=arm-eabi in my PJPROJECT directory, I get the following error: aconfigure: WARNING:

[android-developers] Re: Clickable ListView element?

2009-08-02 Thread jan
On Jul 9, 4:28 pm, eags eagsala...@gmail.com wrote: I did what you said and it worked.  This is actually exactly what the Alarm Clock application does since when you click on an alarm it doesn't select the entireListViewelementbut just the clock and message.  However I still have a couple

[android-developers] Accelerometer shake side-to-side detection issue

2009-08-02 Thread Alex Corbi
Hi everybody, I'm developing an app and i need to detect when the user shakes the phone from side to side , that means just along one axis (in this case X) . That for i'm reading the values from the accelerometer, a bit of code: private final double THRESHOLD = 0.2; @Override public

[android-developers] Re: Toast or AlertDialog problem

2009-08-02 Thread Mike Mazur
Hi, On Sat, Aug 1, 2009 at 06:35, Stefanebay-dah...@web.de wrote: But can I include Buttons in a Toast?? AFAIK toasts don't receive any input as they never receive focus as described at the top of the docs: http://developer.android.com/reference/android/widget/Toast.html I'd love to be

[android-developers] Re: WST 3.1 does not allow editing of Android manifest

2009-08-02 Thread Amir
I had the same problem. I solved it by reverting to a previous configuration: 1. Help - Software Updates 2. Click on Revert Configuration 3. My current (broken) configuration had Eclipse XML editors and tools version 3.1 4. Find the configuration that has Eclipse XML editors... version

[android-developers] listview onlistitemclick not getting

2009-08-02 Thread bhas
Hi all, I am beginer to the anroid ,i am using the below code for displaying listview and i am not able to getting the onlistitemclick events for further ui's. pleas help me. package com.List; import android.app.Activity; import android.app.AlertDialog; import android.app.ListActivity;

[android-developers] AsyncTask calling onProgressUpdate()

2009-08-02 Thread dougx
I have a very simple task, which I can't seem to do... The application runs a background thread to process some files. As it goes, I thought it'd be nice to just show the progress as it happens. My first thought was to have a Thread, and call append() on a TextView from the activity as each

[android-developers] Re: App not visible in Android Market of Samsung Galaxy

2009-08-02 Thread tylerstyle
I'm a Galaxy user myself and bought it here in Germany from O2. All the apps, you mentioned above are accessible to me. Nothing gets excluded. Has to have something to do with the country, or most likely the Carrier you're using... On Jul 31, 9:30 am, Muzu umbertoga...@gmail.com wrote: Hi, I

[android-developers] Canvas + Bitmap + ColorMatrixFilter is great. How to SAVE the bitmap?

2009-08-02 Thread Shane M. (Pop Crowd)
So I have a Canvas which uses a bitmap to store the draw calls on. I have applied a ColorMatrixFilter to the underlying bitmap of the canvas. It looks awesome when on the phone and during the OnDraw calls. The ColorMatrixFilter is making the bitmap look exactly like I want it when the Canvas

[android-developers] Handle network while using HTTP

2009-08-02 Thread Kausik Das
Hi! I am absolutely new in the Android field. I have managed to create some classes for accessing HTTP. The code is published through http://kausikdas.webs.com/apps/blog/show/1489440-http-in-android. But I am concerned about different network problems. Can anyone please guide me on handling

[android-developers] Android Webkit compatibility with GWT

2009-08-02 Thread pognibene
Hi all, Trying to make a GWT app working equally on a desktop web browser and on Android browser, I have found that the rich text GWT widget does not work on Android. More specifically, the text area is displayed, but can't get the focus when clicked, so it can't be edited. This can be

[android-developers] Re: json serializer / deserializer

2009-08-02 Thread Mike Mazur
Hi, On Sun, Aug 2, 2009 at 18:26, Premiera.grum...@gmail.com wrote: Hello do you know a library or method to serialize / deserialize java bean to json in android? Not sure about Java beans, but Android comes with org.json[1]. Mike [1]

[android-developers] Re: App not visible in Android Market of Samsung Galaxy

2009-08-02 Thread Jay
Hi, could it be because Bouygues Telecom aren't part of the OHA thus blocking their access to copy protected apps? Regards Jay On Jul 22, 8:19 pm, dnamra1 armand.dossan...@gmail.com wrote: Hi,      Does someone know what could be the reason why my application is not visible in the Android

[android-developers] submit html form

2009-08-02 Thread chl
I am writing an application where i want to show data which i gather from normal web requests. Normally i use htmlunit for that. But that does not work on android. Is there an other way for android to do that. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: App not visible in Android Market of Samsung Galaxy

2009-08-02 Thread Jay
Hi, Could it be due to Bouygues Telecom not being a member of the OHA thus blocking visibility of all copy-protected apps (free or paid?) Regards, Jay On Jul 22, 8:19 pm, dnamra1 armand.dossan...@gmail.com wrote: Hi,      Does someone know what could be the reason why my application is not

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

2009-08-02 Thread joylite
Got a solution in here: http://osdir.com/ml/AndroidDevelopers/2009-04/msg03384.html it works for me. hope it works for u. On Jun 20, 1:38 am, SPD sdickey2...@gmail.com wrote: newbie here, but I'm getting this error and I still don't have a solution.  This snippy little note from Google is NOT

[android-developers] Text Invalide question

2009-08-02 Thread Arun
I've a button on my screen, that triggers a backend process that takes 15 secs. I would like to tell the user to wait for 15 secs when they click, and update the status after the processing is done. In order to achieve this, in my button OnClick method, I am doing the following: TextView tv =

[android-developers] Draw a Circle when the user touches the screen

2009-08-02 Thread patrick91
Hi, I've this code: Java: (http://nopaste.me/4449 ) package com.patrick.games.whackgroundhog; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Bundle; import

[android-developers] Emulator won't refresh

2009-08-02 Thread Jay
Hi. When i run my app, eclipse says ERROR: Emulator already in use etc.. It used to refresh and it would be fine. There seems to be no link between my code and the emulator. Even when it first loads, the app is not displayed on the phone. Anyone had this problem? Also, I have read and tried

[android-developers] Re: Clickable ListView element?

2009-08-02 Thread jan
More people are having problems with this. Please take a look at this enhancement request: http://code.google.com/p/android/issues/detail?id=3414 On Jul 9, 4:28 pm, eags eagsala...@gmail.com wrote: I did what you said and it worked.  This is actually exactly what the Alarm Clock application

[android-developers] Dynamic Image loading from Resources in ImageView

2009-08-02 Thread DroidDude
Hi, I am very new to Android Development and I have a doubt regarding Image Loading in ImageView from R.drawable. Just to brief What I am trying to accomplish is :Showing a ListView with ImageView and TextView using ViewWrapper pattern. I get the Text Value for TextView from one http service

[android-developers] Apparent Eclipse/SDK error

2009-08-02 Thread SChaser
I created an android project in eclipse that had a custom MySurfaceView object that was a subclass of SurfaceView and was declared in the layout. I refactored this project several times. When I tried to run it, it blew up immediately. I used adb.exe logcat to look at the logs and it was having

[android-developers] HTTP and some extra

2009-08-02 Thread Kausik Das
Hi all, I am just a beginner in the Android and was experimenting with HTTP. I have published the result of my experimentation through the followinf link http://kausikdas.webs.com/apps/blog/show/1489440-http-in-android. I am yet to get a device but working with the Simulator. I need

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Mark Murphy
Mark Murphy wrote: Since your short-term goal is a compile, versus a run, try commenting out some of the stuff that seems strange, to see if you this file past the problem. Wow. And I haven't even had the step #3 beer. That should be: Since your short-term goal is a compile, versus a run,

[android-developers] Re: AsyncTask calling onProgressUpdate()

2009-08-02 Thread Mark Murphy
dougx wrote: Help? Anyone got a working example of onProgressUpdate()? Visit: http://commonsware.com/Android/ Download the source code, and look in the ZIP file for the Threads/Asyncer project. It uses publishProgress(). I would strongly suggest, when using AsyncTask, to qualify the types

[android-developers] Canvas + Bitmap + ColorMatrixFilter is great. How to SAVE the bitmap?

2009-08-02 Thread Shane
So I have a Canvas which uses a bitmap to store the draw calls on. I have applied a ColorMatrixFilter to the underlying bitmap of the canvas. It looks awesome when on the phone and during the OnDraw calls. The ColorMatrixFilter is making the bitmap look exactly like I want it when the Canvas

[android-developers] Re: Rotate TextView to an angle... What's wrong with this code?

2009-08-02 Thread Jeff Sharkey
Don't restore the Canvas until /after/ you super.dispatchDraw(). j On Sun, Aug 2, 2009 at 10:32 AM, Motomedicalsou...@gmail.com wrote: Hello, I got this code from another post and modified it to work for me as a TextView.  I tried using the code below but no transformation is happening?  

[android-developers] Re: Show notification dialog during incoming call.

2009-08-02 Thread Ronald Pompa
It seems like there is a problem with the context object perhaps. I'm using the context from the service running on the device. When the phonelistener see a state change, it should display a dialog. I've tried the postDelay in a new thread but it still crashes. Anyone got a working example of a

[android-developers] Re: Emulator not working properly

2009-08-02 Thread Roman
You might want to check whether you have an old emulator running in the background. Try to kill this old emulator process (on Linux use kill -9, on Windows use the process manager). Of course restarting your system also cleans up old process (which should be the last step ...) -- Roman

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-08-02 Thread Sergio
Absolutely, however I hope the next version will have some kind of public API... On Aug 3, 3:59 am, JP joachim.pfeif...@gmail.com wrote: Thanks Sergio - I did some more poking around and there seems to be a new version,

[android-developers] Re: Dynamic Image loading from Resources in ImageView

2009-08-02 Thread Alexey Krasnoriadtsev
you can place your images directly under assets directory, and then use getResources().getAssets().open(path to file); On Jul 31, 1:55 pm, DroidDude bhavy...@gmail.com wrote: Hi, I am very new to Android Development and I have a doubt regarding Image Loading in ImageView from R.drawable.

[android-developers] Re: How can you prevent somebody from calling in Android ?

2009-08-02 Thread Roman
Of course you can prevent the outgoing_call intents, but as I said you would have to change the framework for doing this. The phone application is part of the framework. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are

[android-developers] Re: Accelerometer shake side-to-side detection issue

2009-08-02 Thread doubleslash
The shaking corresponds to a big jump in the 2nd derivative of the acceleration along the direction of interest. I don't know if onSensorChanged is called frequently enough to let you detect that blip though. On Jul 31, 12:44 pm, Alex Corbi a.co...@gmail.com wrote: Hi everybody, I'm

[android-developers] Re: Intercept home button?

2009-08-02 Thread Wah
Hi: Thanks for the suggestion. It turned out even when sliding out the keyboard, the onStop() function is also called. Is there a way to tell the difference between onStop() from sliding keyboard versus the home button? Wah On Jul 31, 12:02 am, Saurav Mukherjee to.saurav.mukher...@gmail.com

[android-developers] Re: Draw a Circle when the user touches the screen

2009-08-02 Thread Jack Ha
Please take a look at the FingerPaint example in ApiDemos. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile

[android-developers] Re: Text Invalide question

2009-08-02 Thread Jack Ha
This link might help solve your problem: http://android-developers.blogspot.com/2009/05/painless-threading.html -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: Intercept home button?

2009-08-02 Thread Romain Guy
No there is no way to know. Also onStop() can happen in other cases (for instance if the user switches to another app, not necessarily by going back Home.) On Sun, Aug 2, 2009 at 4:21 PM, Wahmobic...@gmail.com wrote: Hi: Thanks for the suggestion. It turned out even when sliding out the

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Keith Wiley
On Aug 2, 1:22 pm, Mark Murphy mmur...@commonsware.com wrote: Since your short-term goal is a compile, versus a run, try commenting out some of the stuff that seems strange, to see if you this file past the problem. The biggest thing in the affected method that leaps out at me is:       //

[android-developers] Re: including jar files with my android application

2009-08-02 Thread Keith Wiley
I finally solved this problem. In file androidjxlsrc.jxl.write.biff.NumberFormatRecord, method trimInvalidChars, change the following two lines from: firstHash = firstHash == -1?firstHash = Integer.MAX_VALUE:firstHash; firstZero = firstZero == -1?firstZero =

[android-developers] Re: 1.5_r3 backward compatibility

2009-08-02 Thread Fred Grott(shareme)
Peter all devices were updated to 1.5r3 by mobile operators so what devices are u targeting that have 1.5r2 or 1.5r1? Yes, they should explain this somewhere.. Fred Grott http://mobilebytes.wordpress.com On Aug 2, 12:59 pm, Peter Jeffe pje...@gmail.com wrote: Sorry if I missed this in the

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-08-02 Thread JP
Looks our needs are ahead of what's available. I also checked Open Authentication but there isn't much at this point either. On Aug 2, 3:04 pm, Sergio cur...@gmail.com wrote: Absolutely, however I hope the next version will have some kind of public API... On Aug 3, 3:59 am, JP

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Mark Murphy
Keith Wiley wrote: Oh gosh! No kidding. I didn't notice that. The first part that is relatively ugly, although not strictly illegal, is the unnecessary absence of parentheses. More to the point, there is a completely redundant assignment in the middle of the ternary assignment. I

[android-developers] Re: Intercept home button?

2009-08-02 Thread JP
Actually I found a method a year ago or so. It's buried in one of the posts on this list if you bother to look for it... but really you shouldn't as it's generally not advisable to grab the HOME and BACK buttons as it breaks reset of and access to the back stack that users expect through the

[android-developers] Re: Launching a Service at the startup

2009-08-02 Thread R Ravichandran
This is definitely a viable approach for my application architecture, but still strugglng to make this work. Here are some details, and I am hoping that someone will point out what is going wrong here. 1. I have a class MyServiceInitiator that is hooked up to the BOOT_COMPLETED action. public

[android-developers] Re: Cursor position in EditText?

2009-08-02 Thread Jack Ha
It could be related. If possible, can you please post your code here? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of

[android-developers] large sqlite db file

2009-08-02 Thread Andrei
Sorry if this question repeats. If my app has large sqlite db file, where does it go during installation. Does it go to sd card? Should i care? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Can We make canvas trancluent ?

2009-08-02 Thread android.vinny
HI How can we make canvas translucent background to play images in the activity... plz give me some suggestions regarding this thanks a lot ina dvance... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android