[android-developers] Re: Play Video Files in Android

2009-01-05 Thread rob...@diprotector.com
Sorry, but using this way you will be able to play only audio stream from mp4 file. To have some video displayed on the screen you need to use setDisplay method of Media Player. I can't get it working on emulator. Have anyone any success with this yet? On 4 дек 2008, 07:41, brian

[android-developers] set up a redirection from A:localhost:localPort to B:10.0.2.15:serverPort

2009-01-05 Thread Sanak
I am working on Ubuntu 6.1 with ARM Processor and I am working on TCP/ IP related activities in Open source through emulator. I have created my project in /bin/external/MySampleproject. Now I want to redirect my virtual IP( 10.0.2.15 ) to physical IP. I tried with port rediection with the

[android-developers] Re: Dialog with No Title

2009-01-05 Thread Froilan
Just add: requestWindowFeature(Window.FEATURE_NO_TITLE); Cheers On 7 dic 2008, 17:02, cyntacks kevin.clout...@cyntacks.com wrote: Ha!!! That's too funny. I wish it were as simple as that! This is just one of those things, I am about 30 minutes from deploying and I just can't get myself to

[android-developers] Re: How To Custom Horizontal Scroll?

2009-01-05 Thread Moto
Wow very nice! I'll make sure I try this out later today! See if it helps :) 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] Re: Purchase multiple unlocked G-1s

2009-01-05 Thread mboehmer
Hello Karthik, did you find a solution? At Münster Universtity of Applied Sciences, Germany, we are also interested in teaching a class developing mobile applications based on android. We also search for a solution purchasing multiple android dev phones. Best regards mboehmer On 20 Dez.

[android-developers] How do I create the type of dialog seen here -- Info + Listview

2009-01-05 Thread Pete
Hi all, I saw a neat dialog control that seems to be a mix of a regular info dialog and a listview. A screenshot of the exact type of control is here : http://nofelt.com/android_dialog_control.jpg Is this a default dialog type or a composite that I need to roll myself? Is possible please point

[android-developers] Re: Android Marketplace?

2009-01-05 Thread Al Sutton
Disconnect wrote: You realize they could have simply disabled the third-party-installer option, right? (Or not written one to begin with.) They are far more than an application vendor in this space, and if they really wanted to control the distribution channel for mobile content they

[android-developers] Re: Change screen brightness immediately

2009-01-05 Thread monmonja
try http://almondmendoza.com/2009/01/05/changing-the-screen-brightness-programatically/ Hope it helps Almond http://almondmendoza.com On Dec 11 2008, 1:55 am, junker37 junke...@gmail.com wrote: Does anyone know how to change thebrightnessimmediately? I'm looking for a response

[android-developers] Re: RSSReader with description

2009-01-05 Thread Amir Alagic
It could help if you post your code... it is hard here what you should do without soruce code... --~--~-~--~~~---~--~~ 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] Autocomplete with simpleCursorAdapter or ArrayList

2009-01-05 Thread jphdsn
hi, to use an AutoCompleteTextWiew with an Array of string (mString) we can use for instance contact.addTextChangedListener(this); setAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1, mString)); } It works, but, how

[android-developers] Re: Android Marketplace?

2009-01-05 Thread Disconnect
Owned a commodity (j2me) tmobile phone recently? Non-tmobile-sourced j2me apps (unsigned, for those playing along at home, and tmob holds the keys) are prevented from accessing the net. (Right. No gmail.jad, no gmaps, no im+, nothing more connected than solitare.) Even non-subsidized versions are

[android-developers] Re: Android Marketplace?

2009-01-05 Thread Shane Isbell
On Mon, Jan 5, 2009 at 11:37 AM, Al Sutton a...@funkyandroid.com wrote: Disconnect wrote: You realize they could have simply disabled the third-party-installer option, right? (Or not written one to begin with.) They are far more than an application vendor in this space, and if they

[android-developers] Re: Orientation within orientation

2009-01-05 Thread Sundog
My apologies - I am already doing that; by title bar I meant the notification/status bar. And besides, rethinking the interface is not an option at this late date! Thanks anyway. On Jan 5, 9:29 am, Mark Murphy mmur...@commonsware.com wrote: Sundog wrote: How can I have a main layout with a

[android-developers] Re: Anyone success to build emulator for Windows?

2009-01-05 Thread Tim
Hi HISONA, It works, thx! Btw, step 2 Remark the -lpthread, should be not needed if you installed pthread for mingw as below :) install pthread for mingw 1. download pthreads-w32-2-8-0-release.tar.gz from ftp://sourceware.org/pub/pthreads-win32 2. tar -zxvf

[android-developers] Re: Android Marketplace?

2009-01-05 Thread Shane Isbell
No arguments here. This is not an evil plot, just good, old-fashioned competition, which of course involves a fair amount of jumping up and down, when stomping doesn't agree with one's size. Shane On Mon, Jan 5, 2009 at 11:47 AM, Disconnect dc.disconn...@gmail.com wrote: Owned a commodity

[android-developers] Re: Android Marketplace?

2009-01-05 Thread Disconnect
How many payment accounts would you like the average developer to register for? So far we have announcements/releases from T-mobile (in multiple countries, so multiplied out), and Sprint, but hardware coming from 7 different vendors (including Kogan and HTC, not including moko). So that sounds

[android-developers] Re: Android Marketplace?

2009-01-05 Thread eags
I can't think of any examples of google being rutheless. Effective and aggressive yes, but ruthless to me implies mean and dirty which doesn't really jibe with my take on google's actions in the past. The 800 pound gorilla didn't get huge the way Microsoft did, they got huge by providing

[android-developers] Name of a widget

2009-01-05 Thread Nico
Hello, I am looking for the name of the widget which can slide up. There is one on the desktop, it can be shown be clicking on a button on the bottom. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Android Marketplace?

2009-01-05 Thread eags
I'm curious what the deal is with the Android Marketplace. It seems like: - You can't browse it or download apk files in the marketplace from a desktop computer. Just previews of a few apps. - Marketplace is not installed in the emulator in the sdk - Can't find anything on how to install it -

[android-developers] Re: Any updates on paid apps timeline?

2009-01-05 Thread Amir Alagic
Welcome to the world of Java ME... There are many different devices that support Java ME with different display sizes, different support for API´s but that it not impossible to solve. To earn some money we have to put some effort. Develop for different phones, test on all of them and when we sell

[android-developers] Need help on setDataSource( )

2009-01-05 Thread developer software
Hi, In setDataSource( url), if the url has the multicast address will that performs igmp join and recieves rtp packets? Otherwise do we have any other ways? Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Android Marketplace?

2009-01-05 Thread Shane Isbell
On Mon, Jan 5, 2009 at 12:02 PM, Disconnect dc.disconn...@gmail.com wrote: How many payment accounts would you like the average developer to register for? This could still have one centralized payment to developers. I'm talking about billing the user through carrier systems . So far we have

[android-developers] Re: Listview / Scrollview reach bottom event

2009-01-05 Thread AusR
I'd also like info on this, or at least to know the location of the Market (Vending) source so I can check myself. Upon reaching or getting near the bottom of an application list the Market loads 10 more items. I'd liek to see how this is implemented. Many thanks. On Dec 23 2008, 5:01 pm,

[android-developers] Re: Reporting Exceptions

2009-01-05 Thread kelvin
Thanks Mark. Yea, the actual sending of the data is not a problem for me. The catching of the exception is a different matter. There are several thread entries involved in this operation. I was really hoping there was something built-in, as Google had mentioned in the past. The early dev

[android-developers] Re: when user click back, which function is called

2009-01-05 Thread cindy
Will finish() be called every time? so current activity will be totally destroyed (onDestroy() will be called)? If a application begin with Activity A, A start Activity B, B start C. User click back from C. C will be distroyed? B's onCreate() or B's onStart() will be called? For example, if B

[android-developers] Re: Reporting Exceptions

2009-01-05 Thread Mark Murphy
kelvin wrote: Thanks Mark. Yea, the actual sending of the data is not a problem for me. The catching of the exception is a different matter. There are several thread entries involved in this operation. Ah. The early dev phones actually had an Exception Browser where a user could at

[android-developers] Re: How do I create the type of dialog seen here -- Info + Listview

2009-01-05 Thread Pete
Anyone? On Jan 5, 10:26 am, Pete pcnof...@gmail.com wrote: Hi all, I saw a neat dialog control that seems to be a mix of a regular info dialog and a listview. A screenshot of the exact type of control is here : http://nofelt.com/android_dialog_control.jpg Is this a default dialog type

[android-developers] Re: Android Marketplace?

2009-01-05 Thread Shane Isbell
On Mon, Jan 5, 2009 at 12:04 PM, eags eagsala...@gmail.com wrote: I can't think of any examples of google being rutheless. Effective and aggressive yes, but ruthless to me implies mean and dirty which doesn't really jibe with my take on google's actions in the past. Google lowering the rank

[android-developers] RSSReader with description

2009-01-05 Thread koushi
Hai guys, Anyone know about how to display the rssreader with description.. I know only list the headlines. i wnat to list the headlines and description please help me if u know anyone please help me Thanks for ur replying

[android-developers] Re: How do I create the type of dialog seen here -- Info + Listview

2009-01-05 Thread Mark Murphy
Pete wrote: Is this a default dialog type or a composite that I need to roll myself? It is a look you will need to create yourself, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml

[android-developers] Re: Sending Mail Error

2009-01-05 Thread Mark Murphy
Rahul wrote: hi i am trying to send mail programatically by Using Android. i write following code by Using Intent but it shows Error Noapplication can perform this action. plz tel me any Extra setting are required or wt is the problem My Code is protected void sendEmail() {

[android-developers] Re: Very slow startup of app on first run

2009-01-05 Thread Matt Hall
Thanks very much, this is exactly what I needed. Using traceview I found an old custom method that I forgot about that was easily replaced with a call to much faster API methods. Now the startup is very fast. Thanks again, Matt On Jan 4, 12:50 pm, Al alcapw...@googlemail.com wrote: Have you

[android-developers] Re: Strange error for signed .apk

2009-01-05 Thread focuser
Thanks Mark, The only thing I did in addition to the default build.xml created by activityCreator is replacing an xml file that has the release map key. But the string id remains the same, just the actual keys are different. But this does sound like a suspicious spot to look at. On Jan 5,

[android-developers] AlarmManager.ELAPSED_REALTIME keeps running even when screen is asleep

2009-01-05 Thread ArtJin
Hello everybody. For some reason the AlarmManager keeps running even when the phone is asleep. Here is the code that I use: PendingIntent mAlarmSender = PendingIntent.getService(Main.this, 0, new Intent(Main.this, mService.class), 0); AlarmManager am =

[android-developers] Re: Are apk contents already compressed?

2009-01-05 Thread fadden
On Jan 4, 9:43 am, inder inder...@gmail.com wrote: This are the Apk files as generated by eclipse (in the development mode). What could be happening? Use a zip utility (unzip -v under Linux, WinZip under Windows, etc) to see the sizes of the various files in the .apk and whether or not they

[android-developers] Re: Attaching the Eclipse debugger to actual device

2009-01-05 Thread fadden
On Jan 1, 6:27 pm, Quartz william.qua...@gmail.com wrote: But basically, I have to start the adb deamon a certain way, as follows: kill server if running, then sudo adb devices. Running adb as root is necessary if you don't get the USB permissions set up right. For example: % lsusb [...] Bus

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-01-05 Thread fadden
On Jan 3, 12:18 am, EboMike ebom...@gmail.com wrote: I take that back... I looked a lot more into the issue, and it seems that the leak only occurs when a debugger is attached. The interaction between GCs and debuggers is a little weird on a good day. The current implementation of Dalvik

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-01-05 Thread EboMike
Thanks! (Romain just posted the same thing on the now-closed 6418 change). This problem seems to be particularly prevalent with exceptions - I wrote a test app that throws an exception every 10ms and it OOMs very quickly (and you can see the memory pile up), but also with files (which was what

[android-developers] Re: How to turn on stdout/stderr log messages?

2009-01-05 Thread fadden
On Jan 1, 8:23 pm, lucky wjj...@gmail.com wrote: I have tried below steps to turn on stdout/stderr log message but it seems only stderr log message works fine, stdout message still not output from logcat. Make sure you disable buffering with something like: setvbuf(stdout, NULL, _IONBF,

[android-developers] Re: Album Art

2009-01-05 Thread Michael
Does anyone have a working Example of ALBUM_ART, I have tried every example out there and cannot find any that actually retreive the art. I'm doing this in an unreleased application. I made an account over at Amazon.com, and make a simple HTTP request to their server, retrieve the XML

[android-developers] Re: Album Art

2009-01-05 Thread rktb
MediaScanner retrieves ALBUM_ART. You may check that service. -Ravi On Dec 27 2008, 1:02 pm, Protocol-X shawn.bur...@gmail.com wrote: Does anyone have a working Example of ALBUM_ART,  I have tried every example out there and cannot find any that actually retreive the art. the Lack of support

[android-developers] Re: Any updates on paid apps timeline?

2009-01-05 Thread Sena Gbeckor-Kove
There are loads of them. Companies made Simple www.companiesmadesimple.com are good (no I'm not affiliated in any way, I have been a customer though. S On 5 Jan 2009, at 13:44, Amir Alagic wrote: Welcome to the world of Java ME... There are many different devices that support Java ME

[android-developers] Re: future app distribution on android

2009-01-05 Thread Michael
This is already supported via the uses-sdk tag in the manifest: http://code.google.com/android/reference/android/R.styleable.html#And... Ooh, slick. Would the value of this be set to the actual SDK version, like '1.0_r2' then? --~--~-~--~~~---~--~~ You

[android-developers] Re: future app distribution on android

2009-01-05 Thread Dianne Hackborn
On Mon, Jan 5, 2009 at 2:45 PM, Michael michael573...@gmail.com wrote: Ooh, slick. Would the value of this be set to the actual SDK version, like '1.0_r2' then? It is a completely different number, currently the only SDK version is 1. -- Dianne Hackborn Android framework engineer

[android-developers] Re: future app distribution on android

2009-01-05 Thread Dianne Hackborn
Yes, it is there. There is only one platform SDK, the 1.0 version at which our first stable API was created. This is SDK #1, and we are still at that since there have been no updates yet with platform SDK changes. Note that the recent SDK updates have not been platform SDK changes, just changes

[android-developers] Re: How do I set proper date and time on emulator?

2009-01-05 Thread Sarath Kamisetty
Hi, I am using Eclipse IDE and run my application from the IDE itself. Under Run-Run Configurations there is tab called Target where we can specify CLI Options. There I specified -timezone America/New_York just to see if it works, but I don't see any change in behavior. I looked at adb logcat

[android-developers] Performance of local variable vs. class field

2009-01-05 Thread Dave Kong
In the Notepad Exercise 2, there is a section about perf (see excerpt) *Note:* We assign the mNotesCursor field to a local variable at the start of the method. This is done as an optimization of the Android code. Accessing a local variable is much more efficient than accessing a field in the

[android-developers] Re: Any updates on paid apps timeline?

2009-01-05 Thread Dianne Hackborn
On Sun, Jan 4, 2009 at 1:49 PM, Raymond Rodgers raym...@badlucksoft.comwrote: Now, as for screen resolution, I presume that there's probably a part of the API that will tell you exactly what the resolution of the device is. I *presume* this because OpenGL drawing often depends on a view port

[android-developers] Re: How to do an animated pie chart?

2009-01-05 Thread melody
I wasn't able to do this with the standard animation classes, but I did manage to do it. First I used the use of the ArcShape class to generate the slice of the pie. In order to acheive the animation, I set up a worker thread to repeatedly change the sweepAngle and call invalidate() on the

[android-developers] Re: AlertDialogs reused ?

2009-01-05 Thread Sarath Kamisetty
Hi, Please see inline ... On Sun, Jan 4, 2009 at 9:20 PM, RAJENDIRAN SUNDARRAJAN-CPB738 cpb...@motorola.com wrote: Hi, SetMessage() will effect only when you do OnCreateDialog(). Instead you can try the below options, 1. Have two dialogs with separate Id's ERROR_DIALOG_ID_TEXT1 and

[android-developers] Market Statistics

2009-01-05 Thread ChoboMuffin
Does anyone know if its possible to get statistics on how many unique downloads there are in the market? This should identify how people are visiting the market place and downloading applications/games. This would be useful as most people (if not everyone) who has an Android Handset would have

[android-developers] Would you like to let me know how to display a static text description for each Geopoint in OverlayItem?

2009-01-05 Thread honglian...@gmail.com
hi all I want to add a static text discription to each marker OverlayItem in ItemizedOverlay. I tried to Override draw procedure of class ItemizedOverlay, but nothing can show up on the mapview. Would you like to help me out? Thank you very much.

[android-developers] Android OS Chinese Community

2009-01-05 Thread SinFrancis
Android OS Chinese Community , a community for Android software Chinese Version Development, the reader CoolReader had released! UR hope more people join us! Site:http://androidos.cc Community site: http://androidos.cc/bbs --~--~-~--~~~---~--~~ You received this

[android-developers] Re: How To Custom Horizontal Scroll?

2009-01-05 Thread Moto
I tried using your code but I'm not sure if I can listen for event on my LinearLayout...? I say this because I've been trying to get a touch event and it just doesn't happen. Any pointers? Thanks! Here is my XML layout LinearLayout android:id=@+id/MenuBarLayout

[android-developers] Is there a calendar service on Android ?

2009-01-05 Thread Sarath Kamisetty
Hi, I am wondering if there is a calendar application on Android where I can add tasks/to do items (both manually and programatically). I don't see one in emulator. I was hoping to add tasks to this service, if exists, through my application so that user can later open the calendar and

[android-developers] Re: AlertDialogs reused ?

2009-01-05 Thread Emmanuel
Can't try it here, but I think I had some success but calling 'dismiss' ( or was dismissDialog... or rather removeDialog ??? ) on the dialog in the onClick method. That way, the dialog will really be closed, and a new one will be created on the next ShowDialog. But it's strange that the

[android-developers] Re: Is there a calendar service on Android ?

2009-01-05 Thread Mark Murphy
Sarath Kamisetty wrote: I am wondering if there is a calendar application on Android where I can add tasks/to do items (both manually and programatically). I don't see one in emulator. I was hoping to add tasks to this service, if exists, through my application so that user can later open the

[android-developers] Re: AlarmManager.ELAPSED_REALTIME keeps running even when screen is asleep

2009-01-05 Thread Dianne Hackborn
The screen being off does not mean the device is asleep. Often the screen will be off but the CPU will still be running to background work, in which case this alarm will go off. On Mon, Jan 5, 2009 at 1:32 PM, ArtJin ajin...@gmail.com wrote: Hello everybody. For some reason the AlarmManager

[android-developers] Re: XML Schemas for Android namespaces?

2009-01-05 Thread Dianne Hackborn
There isn't a schema for that. The http://schemas.android.com/apk/resnamespace is a prefix for the symbols defined for any possible .apk, to ensure they are not ambiguous with other XML namespaces. You could possible extend aapt to be able to generate some kind of schema when building a set og

[android-developers] Re: How could I know a Service is already started?

2009-01-05 Thread yukinoba
Ummm... does anyone know? have any ideas? On 1月5日, 下午12時05分, yukinoba ckmagic...@gmail.com wrote: To dear all Android developers, Is there a way to check whether a service is already started or not? This issue has been discussed ealier (and much earlier) in April, in the last year, on this

[android-developers] add listener to listview in dialog

2009-01-05 Thread zcj0429
Hi: I'm now create a listview in a dialog. But I don't know how to detected if an item is clicked. Then background activity is PreferenceActivity, and the onListItemClick method seems not work. Here is the relevant code:

[android-developers] Re: Error in native method Picture.nativeCreateFromStream()

2009-01-05 Thread nickthecook
As you say, it should not crash quite like that, but I see that I was using it incorrectly now. BitmapFactory does the job. Thank you! On Jan 5, 12:39 pm, Mike Reed r...@google.com wrote: That method should not crash (I will fix that), but it is only intended to re-create a picture that was

[android-developers] Re: Sending Mail Error

2009-01-05 Thread Rahul
Thank for Reply but i have already installed K9 but it not run can you tel me any other way On Jan 5, 5:21 pm, Mark Murphy mmur...@commonsware.com wrote: Rahulwrote: hi i am trying to send mail programatically by Using Android. i write following code by Using Intent but it shows Error

[android-developers] Need help for creating submenu

2009-01-05 Thread siva
Hi All, I am new to Android development. I want to add submenu to menu item , I mean when i select menu item there should be submenu for that menu item. Is anybody have sample for this. Thanks in Advance. regards sivaram --~--~-~--~~~---~--~~ You

[android-developers] Unique problem only for the EXPERTS.

2009-01-05 Thread ipeg . student
Hi! am Suman. I have a code by which i can access all the sms from inbox. The code is written below. import android.app.ListActivity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import

[android-developers] Re: Target window when launching a new web browser activity?

2009-01-05 Thread Dan Dumont
Any ideas? On Thu, Jan 1, 2009 at 6:57 PM, ddum...@gmail.com ddum...@gmail.com wrote: It seems that when I send off an intent to open a web browser window, when i press the back button to go back to my launching activity, the window that was created in the browser app stays open. If

[android-developers] Can't get out of TouchMode

2009-01-05 Thread gymshoe
This is my problem: I have an activity which displays a gallery which is initially visible. When the user clicks on the gallery, the gallery visibility is changed to gone and a datapage is displayed (i.e. becomes visible). When the datapage is clicked, the process reverses and the gallery

[android-developers] Re: Deployment of native C library

2009-01-05 Thread shimo...@gmail.com
Hi, Do you have an ADP1 device (developer phone) ? I read somewhere something like this su is there on the device, but ro.secure is set to 1, so you can not do adb remount Thanks. On Jan 5, 11:53 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: adb remount then try again On

[android-developers] Re: Unique problem only for the EXPERTS.

2009-01-05 Thread Ninad
Hi.. All you need is simple SQL.. Modify the Cursor as: Cursor c= getContentResolver().query(uri, null, body like '%hello%', null,null); Since the query takes the following argument: public final Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,

[android-developers] Re: How do I set proper date and time on emulator?

2009-01-05 Thread Naina K
Hi, If u want to set the time and date on the emulator, Click on Menu button and select Settings and then click on Date Time to set the time zone, time and date. Thanks, Naina On 1/5/09, Sarath Kamisetty sarath.kamise...@gmail.com wrote: Hi, I see that the date and time on my emulator

[android-developers] Re: button response is slow on GPhone

2009-01-05 Thread cindy
Hi Mark, I have problem with other applications. For example, if my application has null point, android will popup an force close dialog, sometime I couldn't click on force click button. I have to use track ball to select the button. But I don't have problem with Contact application which is a

[android-developers] Re: How could I know a Service is already started?

2009-01-05 Thread yukinoba
Hi all, I have already found out how to get this done. Please refer to the following code: /** * Indicates whether the specified service is already started. This * method queries the activity manager for launched services that can * respond to an binding with an specific

[android-developers] Re: AlertDialogs reused ?

2009-01-05 Thread hazmatzak
The problem appears to be that if the message is null when then dialog is first created, it will set the visibility of the TextView that contains the message to GONE, with no way of coming back. (That's why you saw practically nothing.) So when you're using the Builder, set the message to

[android-developers] opencore RTSP redirection support or not

2009-01-05 Thread wyjday
Hi, Does anyone know if opencore RTSP can support below functionality: 1). RTSP redirection. 2). RTSP x-wap-profile support. 3) mp3 streaming support. or any plan to support such functionality. BRs wyjday 2009/01.06 --~--~-~--~~~---~--~~ You received this

[android-developers] Re: How do I set proper date and time on emulator?

2009-01-05 Thread Sarath Kamisetty
Hmm ... When I select Settings I see an error message that says That action is not currently supported. On Mon, Jan 5, 2009 at 9:48 PM, Naina K kna...@gmail.com wrote: Hi, If u want to set the time and date on the emulator, Click on Menu button and select Settings and then click on Date

[android-developers] Re: the text font size in pixel != the actual pixels each character occupies?

2009-01-05 Thread 心蓝
U can use TextPaint class ,and the method in this class is measureText, then get one char width! Any question u can post topic in http://androidos.cc/bbs, 、 你可以使用 TextPaint 类中的 measureText方法来测量单个字符的宽度! 如果有问题,可以在http://androidos.cc/bbs上发帖,我将第一时间回复你! 2009/1/6 Xiongzh zx.zhangxi...@gmail.com

[android-developers] Re: How do I set proper date and time on emulator?

2009-01-05 Thread Naina K
Hi, No, its working fine in my emulator. I did not get any error message. I could select Settings and set the time and date. I guess there is some problem with the emulator. May be u can try two things, one is Close the emulator and start it. If it does not work then I guess u need to uninstall

[android-developers] Re: Unique problem only for the EXPERTS.

2009-01-05 Thread IPEG Student
Hi, Thanks a lot for the problem, but I'm still unfortunately at square one. Here is what I need: Read an SMS into a string variable, then do some string operations. For example, how can I find the first character of an SMS? Thanks in advance for helping me out.

[android-developers] Re: Performance of local variable vs. class field

2009-01-05 Thread Dianne Hackborn
If you are going to access a variable a few or more times in a method, this is a very good technique to get in the habit of. I'm not sure I see how it impacts readability and maintainability that match -- on the contrary, I think it can help, since you are documenting that the variable will serve

[android-developers] Re: Unique problem only for the EXPERTS.

2009-01-05 Thread freepine
So you need some support like parsing strings for regular expressions matching? Take a look at java.util.regex.Matcher http://code.google.com/intl/zh-CN/android/reference/java/util/regex/Matcher.html Maybe it's helpful to you. On Tue, Jan 6, 2009 at 3:33 PM, IPEG Student ipeg.stud...@gmail.com

[android-developers] Re: How to do an animated pie chart?

2009-01-05 Thread Dianne Hackborn
You shouldn't need to use a worker thread. If you want to run up to the screen refresh rate, just do invalidate() in onDraw(). Otherwise, you can use Handler in the main thread to post delayed messages to achieve whatever update rate you want. On Mon, Jan 5, 2009 at 4:04 PM, melody

[android-developers] Re: What happens to the database when app is upgraded

2009-01-05 Thread Dianne Hackborn
Yes it is your own private number. On Mon, Jan 5, 2009 at 11:06 AM, Noonien Soong nooniensoong2...@gmail.comwrote: Is the database version number a private number that the developer of each application comes up with? If so, I don't think is is terribly understandable from the documentation.

[android-developers] Re: file system change notification

2009-01-05 Thread Dianne Hackborn
Use android.os.FileObserver. On Mon, Jan 5, 2009 at 5:19 AM, pradeep pradeep...@gmail.com wrote: how to get notifications if i make any change in file system like i add a file or delete a file. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send

<    1   2