[android-developers] App for Storing Waypoints and Waytracks.......

2009-09-29 Thread ragavendran s
can anybody tel me . App for Storing Waypoints and Waytracks... This application involves the user can track thier waypoints in a compass or an map if anybody knows pls let me know where i can get these details --~--~-~--~~~---~--~~ You

[android-developers] Re: [IME]avoiding softinput in one activity

2009-09-29 Thread Dianne Hackborn
Long press is a back-door for the user to bring up the keyboard outside of the app's control. It isn't really intended to be turned off. On Mon, Sep 28, 2009 at 9:22 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi All, I want to avoid softinput specifically in one activty in

[android-developers] Re: [IME]avoiding softinput in one activity

2009-09-29 Thread Anonymous Anonymous
Hi Dianne, I understand, i have many activities and just for one i need remove it. i was able to remove as well by returning true on KEYCODE_MENU. But i do have an options menu (without long press). :( Thanks On Tue, Sep 29, 2009 at 12:03 PM, Dianne Hackborn hack...@android.comwrote: Long

[android-developers] Re: Take an action when soft keyboard is launched

2009-09-29 Thread AJ
check the following link http://developer.android.com/reference/android/view/View.html#onSizeChanged%28int,%20int,%20int,%20int%29 hope this helps you. Thanks, AJ On Sep 29, 10:34 am, Gulfam gulfa...@gmail.com wrote:  Hi All,    I also want to take some actions on soft keyboard appear and

[android-developers] Re: How to prematurely stop a long-running SQLite query?

2009-09-29 Thread bseib
Ok. Can you describe more about your set of words. Are they all single words? how many distinct words are there? what is the distribution of word lengths? or are they phrases rather than words? Will the size of this list change? -broc On Sep 28, 11:17 pm, mjc147 westmead...@yahoo.co.uk

[android-developers] Re: ProgressDialog with a second thread - Screen Orientation and back button. How to restore progress dialog?

2009-09-29 Thread Kacper86
hi! first of all, i have to admit that i was wrong. when you set Dialog#setCancelable(false), hit home button, rerun your app, then your progress dialog does not always work. so i'm still stuck :/ @Broc Seib: thank you for your response! you said that you terminate your thread when gui thread

[android-developers] Re: [IME]avoiding softinput in one activity

2009-09-29 Thread Dianne Hackborn
Again it's really not intended to be. Consider long press on menu to be the same as the user opening the lid on a device with a hardware keyboard. On Mon, Sep 28, 2009 at 11:48 PM, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi Dianne, I understand, i have many activities and

[android-developers] Re: [IME]avoiding softinput in one activity

2009-09-29 Thread Anonymous Anonymous
:( i dotn want to change the frameworks behavior , can i override someway !! just only for my super nasty activity :D On Tue, Sep 29, 2009 at 12:47 PM, Dianne Hackborn hack...@android.comwrote: Again it's really not intended to be. Consider long press on menu to be the same as the user

[android-developers] Re: change key width runtime

2009-09-29 Thread Long
Sorry, It should have been key height On Sep 29, 12:45 pm, Long long...@gmail.com wrote: Hi,   I want to change the key width in keyboard at runtime.   The constructor of class Keyboard only accepts the layout resource ID.   I tried setHeight method, but it didn't work obviously when I

[android-developers] Re: Application using service in different project

2009-09-29 Thread Evgeny V
Thanks you very much! Evgeny On Mon, Sep 28, 2009 at 11:30 PM, Mark Murphy mmur...@commonsware.comwrote: Evgeny V wrote: Hi! I have some similar question. APK1 (not service) has public class A. How should I write class A or APK container to make it visble and importable from

[android-developers] Re: Can't i call a service function in activity's onStart/onCreate?

2009-09-29 Thread Dianne Hackborn
Yes, ServiceConnection is the callback, and it won't happen until you return to your message loop (which will be after returning from onResume()). 2009/9/28 bear tung beart...@gmail.com Thanks. I want to know when the the service connection is connected. It seems like won't connected before

[android-developers] ApplicationContext.java and Activity.java. Is ApplicationContext not used ?

2009-09-29 Thread amit
hi, I was going through the code for Activity.java and ApplicationContext. Both these classes define many functions of Context Interface. Take for example startActivity.java Activity Class has its own implementation of startActivity ApplicationContext class also has an implemenetaion of

[android-developers] Re: How to save a canvas to disk

2009-09-29 Thread limtc
Thanks! After experiementing, seems to work. I think all I need to do is to do the view.draw(canvas) prior to have the canvas filled with what's drawn on screen. I am still exactly sure what's happening though, as basically I just do everything as it is, and create a new bitmap and a new canvas

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-29 Thread Acchao
cloudList Productivity/Tools http://cloudlist.quarterstaf.com Hello fellow developers, cloudList is our submission to the Android Developers Challenge 2. As the name suggests, it's a list-making app integrated with the concept of cloud computing. The twist is that not only can you access your

[android-developers] Re: Change IMSI on Emulator?

2009-09-29 Thread Jimmy Huang
Any one know this ? On Sep 24, 10:51 am, Jimmy Huang huan...@gmail.com wrote: Dear All, Does anyont know how to changeIMSIon Emulator? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] ListView With Checkbox

2009-09-29 Thread ragavendran s
I m Having ListView With Checkboxes ...but if i Click the Checkbox ther is no response can u tel me what to add to my code. Thanks in advance, Raghav.S Her is My Code: final String[] options1 = new String[] {My Wedding To Do List,Categories,My Wedding Day

[android-developers] Re: Simulating Drag/Slide actions

2009-09-29 Thread Arul Deepak
Thanks. That was useful! And it worked well. But, it does not have the following: -Slide keyboard out -Slide keyboard in I need to find how to simulate these actions. If there is a method to rotate the screen by 90 degrees, I could obtain the same result. On Sep 22, 8:45 am, Brett

[android-developers] Re: ListView With Checkbox

2009-09-29 Thread Saurav
u need to set onItemClickListener for the listview or onClickListeners for the checkboxes (individually). Regards, Saurav Mukherjee. On Tue, Sep 29, 2009 at 2:25 PM, ragavendran s sraghav.ra...@gmail.comwrote: I m Having ListView With Checkboxes ...but if i Click the Checkbox ther is no

[android-developers] Re: Take an action when soft keyboard is launched

2009-09-29 Thread Mark Murphy
Gulfam wrote: I also want to take some actions on soft keyboard appear and disappear. any one can help us how we can get appear and disappear events. There are no such events, short of detecting a window resize (and, off the top of my head, I don't know how to do that). -- Mark Murphy (a

[android-developers] Re: Cannot write SharedPreferences after update!! Help!

2009-09-29 Thread Mark Murphy
Sheado wrote: So if I test by installing and upgrading via the browser only instead of the browser/market combination then things work out ok - I don't get the mismatched uid error: com.my.application.package.path has mismatched uid: 10031 on disk, 10046 in settings; read messages: If

[android-developers] Re: Build APK file from command line...

2009-09-29 Thread Babyboo
Ok Xavier, I want to send the file-unsigned.apk and file-signed.apk to you. But I don't know how to put it here or somewhere else that you can get it (I don't have any repository account). Can I send the apk files to you by email ??? On Sep 29, 12:01 pm, Xavier Ducrohet x...@android.com wrote:

[android-developers] Using custom collection of words to be used as SoftKeyboard candidates

2009-09-29 Thread LambergaR
Hello all! Is there a way to use custom list of words as SoftKeyboard candidates? Not to add them to user dictionary but to specify them specifically for this application. Would appreciate any help! Thanks, Martin --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Take an action when soft keyboard is launched

2009-09-29 Thread AJ
If your class is extending from an Activity then I don't know how to get that event. But if your app has some class which is extending from View, then onSizeChanged() gets the control when ever your view gets shortened. Like:- WebView get in Browser app Thanks, AJ On Sep 29, 2:34 pm, Mark

[android-developers] Extensible Apps with Scripting or Bytecode Downloading

2009-09-29 Thread Miguel Paraz
Hi, I'm looking into a solution that needs apps to be dynamically extensible. One way could be an extension language or scripting engine. I've seen the Android Scripting Environment, but this needs the actual C scripting engine (Python or Lua) running as a separate process. I would like the

[android-developers] Re: ExpatReader: DTD handlers aren't supported.

2009-09-29 Thread Pablo Szyrko
Hi, I'm getting the same error. Could you fix the issue. Thanks, Pablo On 20 sep, 12:47, Maksim mxx...@gmail.com wrote: The same here. I'm trying to read XML from sd card. Did you find a solution so far? On Aug 31, 6:14 pm, synfo...@googlemail.com synfo...@googlemail.com wrote: I seem to

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-29 Thread James Webster
Thanks Lee and Dianne. That works fine, although the vibrate is noticeably lower than that when you type using Hero keyboard. Still, it works fine. I was debating about leaving it in the OnClickListener(), as that sort of seemed more appropriate, it would be a notification that you had clicked

[android-developers] Is it possible to upgrade HTC Magic G2 from 1.5-Cupcake to 1.6-Donut ?

2009-09-29 Thread Kasmoori Bindu
Hi, I am currently using HTC Magic G2 H/W with Android 1.5 Cupcake; I am planning to upgrade it to 1.6 Donut. Is it possible? if so, what is the procedure to upgrade. I need this information urgently. Could anyone please respond. Thanks Regards, Bindu

[android-developers] conference call

2009-09-29 Thread Nemat
Hi, is it possible to add an incoming call with current call to make it as a conference call programmatically? Thanks in advance Nemat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: How to dismiss Spinner's Dialog automatically

2009-09-29 Thread extrapedestrian
same problem here On Aug 30, 12:26 pm, star double doublestar...@gmail.com wrote: Hi , guy you can add below code in your AndroidManifest.xml to ignore the change of orientation .  activity android:name=List                   android:configChanges=orientation                  

[android-developers] Re: How to play music album?

2009-09-29 Thread extrapedestrian
Anyone? On Sep 28, 12:07 pm, extrapedestrian extra.pedestr...@gmail.com wrote: I have album id, how can I start activity to play album? I tried this: Uri album = ContentUris.withAppendedId (MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, id); Intent playalbum = new

[android-developers] Re: Is it possible to upgrade HTC Magic G2 from 1.5-Cupcake to 1.6-Donut ?

2009-09-29 Thread MrChaz
At some point, when 1.6 is finished, the update will be pushed to your phone and it will ask you if you want to update. Otherwise I think you can either flash your phone or apply the update manually. On Sep 29, 1:09 pm, Kasmoori Bindu bindukasmo...@gmail.com wrote: Hi, I am currently using

[android-developers] 1.6 images for the ADP1 from HTC!

2009-09-29 Thread BoD
Maybe it has been announced already and I missed it, but just in case: = http://developer.htc.com/adp.html ! BoD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] help with rawQuery statement

2009-09-29 Thread jerryfan2000
Hi, I have a very simple statement like below return conn.rawQuery(select date, sum(amount) from entries where (date='+start+' and date='+end+') group by date,null); This statement works flawlessly in sqlite3 command line. However, it returns nothing if I use it within rawQuery method. Is it a

[android-developers] set transparent background of an imageview in android

2009-09-29 Thread mudit
hello... i am using a web view in which i am adding a image view..now i want to set the background of this image view transparent.i hv tried setting mImageview.setBackgroundResource(R.color.trans); [where trans = color name=trans# / color ] plz help thanks in advance...

[android-developers] Re: zipalign and Proguard

2009-09-29 Thread Fred Grott(Android Expert)
Thanks On Sep 28, 3:55 pm, Xavier Ducrohet x...@android.com wrote: It's completely different. The only thing that zipalign does is align the location of the uncompressed zip entries on 4 bytes by adding padding before them (using the extra field of a zip entry). The content of the files

[android-developers] Re: zipalign and Eclipse: Does Eclipse do this automatically?

2009-09-29 Thread Streets Of Boston
Sorry, i did not read carefull enough. It's right there in the ADT section. I was scanning for the word 'Eclipse'. On Sep 29, 12:54 am, Xavier Ducrohet x...@android.com wrote: Yes, in ADT 0.9.3. it's all explained here:http://android-developers.blogspot.com/2009/09/zipalign-easy-optimiza...

[android-developers] UI background task

2009-09-29 Thread droidin.net
Here's scenario: 1. Client makes remote call to the service (returns void) and provides a callback object 2. Service executes some long running logic on the background thread and then uses callback object to trigger ether success or failure which (since these manipulate visual elements) execute

[android-developers] Re: 1.6 images for the ADP1 from HTC!

2009-09-29 Thread Keiji Ariyama
Hi I updated my ADP1 using recovery image. The update process was succeeded. But an error message has been displayed when system rebooted. LogCat messages are below. 06-21 09:53:35.347: ERROR/DatabaseUtils(152): java.lang.SecurityException: Permission Denial: writing

[android-developers] Re: Is it possible to upgrade HTC Magic G2 from 1.5-Cupcake to 1.6-Donut ?

2009-09-29 Thread Alex Tang
Of course you can On Sep 29, 8:09 pm, Kasmoori Bindu bindukasmo...@gmail.com wrote: Hi, I am currently using HTC Magic G2 H/W with Android 1.5 Cupcake; I am planning to upgrade it to 1.6 Donut. Is it possible? if so, what is the procedure to upgrade. I need this information urgently. Could

[android-developers] currently running applications

2009-09-29 Thread mboehmer
Is it possible to query, which applications are currently running on a device and especially which application the user is currently using? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Eclipse crashing after update to ADT 0.9.3 and SDK 1.6

2009-09-29 Thread JMichel
Hi, I'm running Eclipse Ganymede on Ubuntu 9.04. I wanted to update to the newest Android SDK 1.6r1 from 1.5r3. The procedure that I followed is: - Run Eclipse - Update every Eclipse components from the update manager (this updated ADT to version 0.9.3) - Restart Eclipse (Everything works fine)

[android-developers] Re: Is it possible to update a widget from an Activity?

2009-09-29 Thread Mafian911
Thank you all, I have gotten this to work. Mark, I apologize, I didn't quite understand what you were saying, but now I do. I was able to get it working easily once I understood this. You can also update the app widget from any class in your application, like so: AppWidgetManager

[android-developers] Re: Now ADC2 judging has begun.

2009-09-29 Thread Flo
On Sep 27, 1:35 pm, dka d...@dka-edv.net wrote: applications to review that just crashed - so what to do about it? I then just skipped it, because I cannot really say, if its specific to me. Other bad ratings will do it and - even if all do think like me, and act the same - latest q-gate

[android-developers] Re: Now ADC2 judging has begun.

2009-09-29 Thread Flo
Good to read this, On Sep 25, 5:27 pm, Sheenmue sheenmu...@gmail.com wrote: Several times I had to go back toADC2app because the app to review wasn't downloading, other times the app was downloaded but wasn't installed and in several occasionsdownloadprogress stopped at 0% and I had

[android-developers] Re: invoking the dialer multiple time

2009-09-29 Thread fritzZz
Anyone has solved? This is a bad limitation... On Jul 31, 11:09 pm, flohier floh...@gmail.com wrote: I was told to suggested to import the ITelephony.aidl file from the kernel and invoke thecall() (or  answerRingingCall() directly - which is not elegant but seems to be an option. The

[android-developers] Inject audio to microphone source during a call

2009-09-29 Thread fritzZz
Is possible to inject audio such as mp3 in the output of microphone streaming? I've found an application : spoofApp that change the voice during a call. How is possible? Please if it is possible paste some piece of code...thank you --~--~-~--~~~---~--~~ You

[android-developers] Re: Extensible Apps with Scripting or Bytecode Downloading

2009-09-29 Thread Jonas Alves
Have you tried jRuby? JRuby 1.2 RC1 Released, Initial support for Android: http://www.infoq.com/news/2009/02/jruby12rc1-android-support On Sep 29, 8:14 am, Miguel Paraz mpa...@gmail.com wrote: Hi, I'm looking into a solution that needs apps to be dynamically extensible. One way could be an

[android-developers] Re: Now ADC2 judging has begun.

2009-09-29 Thread Maps.Huge.Info (Maps API Guru)
Short POLL: Do you face this issue, too [or not?] ? I've got a Google ION (Magic sort of) and so far, 90% have downloaded directly out of the app. Perhaps a little more patience is in order. One thing that may affect my success. I usually do the judging app after business hours, so the market

[android-developers] Re: Now ADC2 judging has begun.

2009-09-29 Thread ander...@phdgaming.com
Short POLL: Do you face this issue, too [or not?] ? I've done about 40 app reviews - never a single problem for me. It does take a few minutes to install though after the download completes. I'm using the stock OS, latest update on my T-mobile G1. Could those with the problem post details about

[android-developers] Re: Now ADC2 judging has begun.

2009-09-29 Thread Dan Sherman
No problem here using Cyanogen with Apps2SD. Done probably 20-30 reviews. - Dan On Tue, Sep 29, 2009 at 12:43 PM, ander...@phdgaming.com ander...@phdgaming.com wrote: Short POLL: Do you face this issue, too [or not?] ? I've done about 40 app reviews - never a single problem for me. It

[android-developers] Re: Inject audio to microphone source during a call

2009-09-29 Thread Chris Stratton
On Sep 29, 12:32 pm, fritzZz franzi...@gmail.com wrote: Is possible to inject audio such as mp3 in the output of microphone streaming? Supposedly no, not even with platform changes, as the call audio doesn't go through the linux part of the system but stays on the radio side of the fence.

[android-developers] Re: Inject audio to microphone source during a call

2009-09-29 Thread Dan Sherman
I'm not 100% here, but pretty sure SpoofApp also allows for callerID Spoofing, which I would guess is VOIP to their hubs, and out from there... - Dan On Tue, Sep 29, 2009 at 12:54 PM, Chris Stratton cs07...@gmail.com wrote: On Sep 29, 12:32 pm, fritzZz franzi...@gmail.com wrote: Is possible

[android-developers] Re: conference call

2009-09-29 Thread Roman ( T-Mobile USA)
I haven't seen any Android SDK APIs which are supporting supplementary services. For being able to support such a functionality APIs like -- hold -- join -- switch have to be available. This functionality is supported on the lower level of the telephony support (look in the Android source

[android-developers] Re: Build APK file from command line...

2009-09-29 Thread Xavier Ducrohet
just send me the unsigned one by email. On Tue, Sep 29, 2009 at 3:12 AM, Babyboo handsomebo...@gmail.com wrote: Ok Xavier, I want to send the file-unsigned.apk and file-signed.apk to you. But I don't know how to put it here or somewhere else that you can get it (I don't have any repository

[android-developers] Re: Eclipse crashing after update to ADT 0.9.3 and SDK 1.6

2009-09-29 Thread Xavier Ducrohet
can you post (or send me) the content of the Eclipse log file? It's located inside your eclipse workspace (.metadata/.log) thanks Xav On Tue, Sep 29, 2009 at 8:48 AM, JMichel jmbouff...@gmail.com wrote: Hi, I'm running Eclipse Ganymede on Ubuntu 9.04. I wanted to update to the newest

[android-developers] Re: How to play music album?

2009-09-29 Thread Marco Nelissen
There is no intent for playing an album On Tue, Sep 29, 2009 at 5:43 AM, extrapedestrian extra.pedestr...@gmail.com wrote: Anyone? On Sep 28, 12:07 pm, extrapedestrian extra.pedestr...@gmail.com wrote: I have album id, how can I start activity to play album? I tried this: Uri album =

[android-developers] taking pictures without seeing the preview on screen

2009-09-29 Thread Yutivich
is it possible? I know that if I won't make the call to camera.StartPreview() it won't work... but is there anyway I can hide the preview? or at least make the phone show a blank screen? an example will be appreciated... Thanks! --~--~-~--~~~---~--~~ You

[android-developers] Re: Soft Keyboard

2009-09-29 Thread Jonas Beckman
On the HTC Hero, long-pressing-menu brings up an app switcher with the last six apps. This works in almost all applications and provides an alternative way to multi-task which is always available and quite convenient. Fragmentation, indeed! Ordinary HTC users would probably consider other

[android-developers] Android kernel

2009-09-29 Thread Cronix
Hi list, I would like to know if we can use the kernel.org kernels to update the android OS kernel for e.G. to 2.6.32-RC1 directly or if i need any custom android kernel patches to get the kernel running for android? Greeetings Cronix --~--~-~--~~~---~--~~ You

[android-developers] How to do some init operation immediately after install

2009-09-29 Thread zhiyazw
There is a big database(15M) in my application, it is too big to download the apk if I publish the source database in myapp.apk. So I encode the db to binary files(300k). But the new problem is I should decode binary files and create the database(with data), this procedure take about several

[android-developers] Re: Soft Keyboard

2009-09-29 Thread Jonas Beckman
On HTC Hero, long-pressing-menu has a completely different default behavior: it brings up an app switcher with the last six apps. This is available in almost all applications and makes multitasking very convenient. I develop on a Hero now and have to remind myself this is a non- standard HTC

[android-developers] Re: Using custom collection of words to be used as SoftKeyboard candidates

2009-09-29 Thread manitoba
Did you consider to use MultiAutoCompleteView or AutoCompleteView ? Regards jim On 29 sep, 12:17, LambergaR martin.s...@gmail.com wrote: Hello all! Is there a way to use custom list of words as SoftKeyboard candidates? Not to add them to user dictionary but to specify them specifically

[android-developers] Mobile Developer Roles in Toronto

2009-09-29 Thread colem...@talgroup.net
Android Developer role available in Downtown Toronto. Description: - Knowledge and experience of Google Android is essential - Knowledge of other contemporary mobile platforms such as Symbian, Windows Mobile (CE), Linux-mobile, BREW, or equivalent are also highly desirable - Very strong

[android-developers] How to display list of images in ListView in android?

2009-09-29 Thread Jitu
Hi All, I am new to android. I want to display the list of images using the ListView. The images which are displayed are decided at runtime according to server response. and also i want to embedd some text on this image(like match scoring chip). the number of images are not fix. Can anybody

[android-developers] download layoutlib.jar

2009-09-29 Thread Safy
Hi, I cannot find IWindowManager class which is used to simulate keyEvent. I searched google which says you need to import layoutlib.jar. I have tried to search the package in windows 1.5 SDK but could not find it. From where can I download the package ? Thanks

[android-developers] Accelerometer: Fixed Sample Rate Requirements

2009-09-29 Thread redehm
Hi there, I require the following in order to get my accelerometer based application to work: 1. a reliable sample rate of ~20Hz (can be faster - I can sub-sample) 2. a guarantee of service even when the phone goes to sleep I have coded up a background service to test the performance of the

[android-developers] htc tattoo

2009-09-29 Thread The-Shadow
How do I get the HTC Tattoo phone? --~--~-~--~~~---~--~~ 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] How to properly use PreferenceActivity.addPreferencesFromIntent(Intent)

2009-09-29 Thread Francesco Vadicamo
Hi all! Does anyone know how to properly use the PreferenceActivity.addPreferencesFromIntent(Intent) method?! Android reference (http://developer.android.com/reference/android/ preference/PreferenceActivity.html) says: To specify an Intent to query Activities that each have preferences, use

[android-developers] Run the same applications that are running J2ME

2009-09-29 Thread Ray da Costa
A helping hand, I have an Android G2 and would like to run the same applications that are running J2ME on my other cell E62. Is it possible? What is the procedure? -- Ray da Costa The best way to predict the future is to invent it. Alan Kay --~--~-~--~~~---~--~~

[android-developers] Launch date/time settings from widget

2009-09-29 Thread Martin
Hi I'm trying to open the date/time settings in responds to a click event in an app widget. My code looks like this: Intent AlarmClockIntent = new Intent (android.provider.Settings.ACTION_DATE_SETTINGS); AlarmClockIntent.addCategory(Intent.CATEGORY_LAUNCHER);

[android-developers] Re: download layoutlib.jar

2009-09-29 Thread Xavier Ducrohet
layoutlib.jar is used by the Eclipse plug-ins and should NOT be used by application developers. Xav On Tue, Sep 29, 2009 at 7:23 AM, Safy sarfarazmad...@gmail.com wrote: Hi,   I cannot find IWindowManager class which is used to simulate keyEvent.  I searched google which says you need to

[android-developers] Re: htc tattoo

2009-09-29 Thread Mark Murphy
The-Shadow wrote: How do I get the HTC Tattoo phone? The HTC Tattoo will be available in Europe first at the beginning of October, and will roll out in markets around the world in the following months. http://www.htc.com/www/press.aspx?id=110136lang=1033 -- Mark Murphy (a Commons Guy)

[android-developers] Re: help with rawQuery statement

2009-09-29 Thread Mark Murphy
jerryfan2000 wrote: Hi, I have a very simple statement like below return conn.rawQuery(select date, sum(amount) from entries where (date='+start+' and date='+end+') group by date,null); This statement works flawlessly in sqlite3 command line. However, it returns nothing if I use it

[android-developers] Re: Extensible Apps with Scripting or Bytecode Downloading

2009-09-29 Thread Mark Murphy
Miguel Paraz wrote: Hi, I'm looking into a solution that needs apps to be dynamically extensible. One way could be an extension language or scripting engine. I've seen the Android Scripting Environment, but this needs the actual C scripting engine (Python or Lua) running as a separate

[android-developers] Re: Soft Keyboard

2009-09-29 Thread Eric Carman
That's very interesting. Its the first I've heard of a feature being tied to the long-press menu on a Hero. I don't have so I can't test it, but no one else had mentioned that it had an alternate behavior - just that it didn't bring up the keyboard. Is it possible that this feature is the result

[android-developers] Re: Soft Keyboard

2009-09-29 Thread James Webster
Jonas, that Hero app switcher comes not from long pressing the menu key, but from long pressing the *Home* key. Long pressing the Menu key does nothing, as others have noted. 2009/9/29 Jonas Beckman jonas.beck...@gmail.com On HTC Hero, long-pressing-menu has a completely different default

[android-developers] Re: ApplicationContext.java and Activity.java. Is ApplicationContext not used ?

2009-09-29 Thread Dianne Hackborn
ApplicationContext is private implementation. Activity takes care of the startActivity implementation for itself, since it wants the starting activity to be associated with the original activity (and ApplicationContext is just the most generic context, which doesn't know that it is an activity).

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-29 Thread Dianne Hackborn
On Tue, Sep 29, 2009 at 4:49 AM, James Webster jpbwebs...@gmail.com wrote: That works fine, although the vibrate is noticeably lower than that when you type using Hero keyboard. Still, it works fine. It is probably using the vibrator API directly with its own vibration pattern. I was

[android-developers] Re: Soft Keyboard

2009-09-29 Thread Eric Carman
As an update to the the code I showed above, I'm currently working with the following code. This seems to be behaving the way I would want it to. On a phone with a physical keyboard: - if keyboard is not hidden don't bring up the soft keyboard. - if the keyboard is hidden, need to do the

[android-developers] More accessibility API questions

2009-09-29 Thread Nolan Darilek
Hi, all. Still a bit confused about some things and am hoping to get a bit of help. As a brief reminder, I'm both new to Android development and totally blind. While it would make sense as a new developer to start simple, if the phone itself isn't accessible then Hello, world is fairly useless.

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-29 Thread James Webster
Got it, thanks Dianne, I will look into that API. 2009/9/30 Dianne Hackborn hack...@android.com If you are not giving feedback for a long press, I would not use it, since that is currently the only kind of feedback it supports. Instead just use the vibration API directly. This is what the

[android-developers] Re: 1.6 images for the ADP1 from HTC!

2009-09-29 Thread Jonas Petersson
Hi - my experinces: Keiji Ariyama wrote: I updated my ADP1 using recovery image. The update process was succeeded. But an error message has been displayed when system rebooted. LogCat messages are below. [...] 06-21 09:53:35.347: ERROR/DatabaseUtils(152): java.lang.SecurityException:

[android-developers] Re: put() in ResponseCache invoked with a wrong URI?

2009-09-29 Thread Guitou
I will give it a try! Thanks Matt On Sep 19, 5:12 am, Matt Kanninen mathias...@gmail.com wrote: To answer the question of how to get the full url, my work around was to use conn.getURL() instead of the passed URI.  So it would be:         public CacheRequest put(URI uri, URLConnection conn)

[android-developers] Re: Run the same applications that are running J2ME

2009-09-29 Thread Streets Of Boston
http://www.netmite.com/android/ I don't know how well this MIDP runner works, but it's worth a try :-) On Sep 29, 1:21 pm, Ray da Costa raydaco...@gmail.com wrote: A helping hand, I have an Android G2 and would like to run the same applications that are running J2ME on my other cell E62. Is

[android-developers] Problem using ksoap2 in Android

2009-09-29 Thread Gareth
I've written a webservice client which uses ksoap2. When I run a test program from outside of Android everything works without a problem, however when I issue the SOAP requests from within Android then every 2nd request seems to fail, throwing the following error (copied from the Dalvik Debug

[android-developers] Re: Android kernel

2009-09-29 Thread Yusuf Saib (T-Mobile USA)
Android 1.6 upgrades the Linux kernel from 2.6.27 to 2.6.29, FWIW. Yusuf Saib Android ·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 USA, Inc. On

[android-developers] Re: Eclipse crashing after update to ADT 0.9.3 and SDK 1.6

2009-09-29 Thread JMichel
Here is the log file content: http://pastebin.ca/1584740 On Sep 29, 1:19 pm, Xavier Ducrohet x...@android.com wrote: can you post (or send me) the content of the Eclipse log file? It's located inside your eclipse workspace (.metadata/.log) thanks Xav On Tue, Sep 29, 2009 at 8:48 AM,

[android-developers] Android on HTC Tattoo and FM receiver

2009-09-29 Thread JMichel
I was looking at the specs of the new Android phone from HTC, the Tattoo, and it seems it will feature an FM radio receiver. I don't believe there is any API in the Android SDK to control and access the audio from such a receiver. Is there a way to develop an application that would use, play or

[android-developers] Re: jsonarray as listview source

2009-09-29 Thread vorcigernix
Ok, I don't get a BaseAdapter logic, I assume because I am not used to java. I found tons of examples on net (mostly for drawing pictures etc) but it make no sense to me. For example, list4 from sdk do something similar, but...where are they binding data? I see where data is set to custom class,

[android-developers] Re: How do I resize my application to a smaller one placing it on top left?

2009-09-29 Thread vorcigernix
Sounds like crazy idea to me. On Sep 29, 6:41 am, Karthik P karthi...@gmail.com wrote: Is there any way for me to resize an app to make it smaller and placing it top left? I understand that there is a theme - Dialog its possible to make the window size smaller but is it possible for me to

[android-developers] filtering items in a view based on a value selected in a spinner

2009-09-29 Thread Mihai
Hi all, I have a quick question: I am trying to change the items in a list view based on a value that gets selected in a spinner that is in the same activity. Is there a quick way to do filtering on the list adapter data based on that value, or should I go the long way of changing my adapter

[android-developers] Re: Update all the contacts belonging to one group

2009-09-29 Thread 6real
Dear Mark, your solution sounds really great but I discovered that it is just ... impossible to make some bulk operation on contacts (at least until release r3). I then optimized my code to update just what has to be updated. Thanks you by the way for your answer. C. On 28 sep, 14:19, Mark

[android-developers] Re: activity is destroyed when press home key

2009-09-29 Thread Dianne Hackborn
Hi, I just replied to the bug, but should say something here as well -- This is intentional behavior, since launching a single task activity means bringing it to the foreground, the stack is cleared so it can always receive the new intent. So for example Browser, which is one of the few single

[android-developers] AudioTrack question

2009-09-29 Thread Tim Newsham
I have some questions about the AudioTrack class that I can't seem to answer by reading the class documentation. Is it possible to use the android.media.AudioTrack class in a non- blocking way? If so, what conditions must be true to ensure that the write() method doesnt block? How do the

[android-developers] Contact Photo in LiveFolder

2009-09-29 Thread nEx.Software
I was hoping to include the photo for each contact in a live folder. I am using People.loadContactPhoto() to get a bitmap and am placing it into the content provider's result column for LiveFolders.ICON_BITMAP but I keep getting a NullPointerException. Any ideas? Should I not be doing this?

[android-developers] TimerTasks getting suspended when the phone is plugged in.

2009-09-29 Thread Richard Schilling
I have an application running TimerTasks. The TimerTask takes a long time to run (up to 20 minutes). If the phone is plugged in or unplugged during that time, the timer task gets suspended for about 10 minutes, or sometimes longer. Has anyone see this, and is this intended behavior on the

[android-developers] Re: Start the CallLog Activity via Intent

2009-09-29 Thread Matt
I am really desperate right now. Does nobody know what I am doing wrong? On 28 Sep., 23:58, Matt reisc...@googlemail.com wrote: So it obviously cannot find an activity that can handle the Intent. Does somebody know why? Wrong URI? Wrong action? On 28 Sep., 02:04, Matt reisc...@googlemail.com

[android-developers] Re: Take an action when soft keyboard is launched

2009-09-29 Thread Thomas
Hi Thanks all for your answers. I put a code in the onSizeChanged(), but when this method is called always when the view resizes. I'd like to know how I can discover using this method if the virtual keyboard is opened or not. I saw the InputMethodManager, but I didn't find how to use this

[android-developers] Re: How to build the aidl tool

2009-09-29 Thread Dianne Hackborn
Follow the regular directions for building the platform, which will also build the tools. Please post any further questions to android-porting. On Tue, Sep 29, 2009 at 4:10 PM, n179911 n179...@gmail.com wrote: Hi, I get the android source. How can I build the aidl too that is part of

[android-developers] ADC2 submissions and Android 1.6 (Donut)

2009-09-29 Thread b2amedina
Hi All, Have a question about ADC2 submissions and Android 1.6 (Donut) We rigorously tested our submission (CubeWorks, http://www.cubeworksmobile.com) with Android 1.5 but it crashes on startup with 1.6 If the rumors are true and Donut does become available next week won't that make judging

  1   2   >