[android-developers] Is there any way to send a email in service in background.

2009-04-20 Thread sunwrt
Hi, Any guy know Is there any way to send a email in service in background. I used K9 email. It seems K9 does not work Thanks in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: java.lang.reflect.InvocationTargetException during calling a function of another application at runtime

2009-04-20 Thread Ask
Can DexClassLoader solve this above problem?? I have not downloaded early look sdk yet.. Will The application which is running on sdk 1.0 run on 1.5 without an problem?? On Apr 19, 3:37 pm, Ask asifk1...@gmail.com wrote: fadden,  but rather why are you getting the NullPointerException.    

[android-developers] ACPI or APM

2009-04-20 Thread tiwana
Does android uses ACPI or APM powe management standard? --~--~-~--~~~---~--~~ 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] Re: Calling method of Listactivity from Activity

2009-04-20 Thread Yogi
Thanks for your quick response. I want to call the method of ListActivity from Activity class. Code is as below: MyActivity.java--- public class MyAcivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) {

[android-developers] How to add text in ImageButton

2009-04-20 Thread guishenl...@gmail.com
Hi all, I want to use an imagebutton in my application, but only a button with image can not indicate its function clearly. If there are some text beside the button, I think everything will be more explicit. But I don't know how to add text in an imagebutton in Android.Can anyone help me

[android-developers] Re: AudioFormat class's workaround

2009-04-20 Thread vinny.s...@gmail.com
WE can't play the dicrectly from the system i think u want to pull the file in SDcard and give the path of the Sd car eG:/sdcard/hai.mp3 create a sdcard using command prompt givint he panth of android /tools as a path eg mksdcard 512M sdcard.iso // media file mksdcard 128M

[android-developers] Re: Question regarding adding a view that can overlap other views in the layout/activity.

2009-04-20 Thread Android Users
Just let me know if i have understood right. U have a layout say having 3 views. Dynamically if u add a view, the layout should get adjusted accordingly and if u keep only one view in the layout then the single view should fill the whole layout. If thats right, the try setting layout weight for

[android-developers] How to use two different icon in two different themes

2009-04-20 Thread havexz
Hi I have a image view and I want to show different images based on the current theme. I want to do this using the XML only. Via code it can be done .but then that is not a elegant solution. On the same lines, can we add our own attributes to the theme (theme that i created)?

[android-developers] Re: How to add text in ImageButton

2009-04-20 Thread Jeff Sharkey
One lightweight way of doing this is to use a Button with android:drawableTop and android:drawablePadding, which will put both the text and image inside the button. There are separate attributes for setting drawables for each side of the text. j On Sun, Apr 19, 2009 at 11:56 PM,

[android-developers] Re: How to use two different icon in two different themes

2009-04-20 Thread Jeff Sharkey
Yep, it's possible. :) You're probably looking to do it through an attribute. Here's a quick example which works when you change android:theme on the activity. == styles.xml == resources style name=ThemeDark parent=@android:style/Theme item name=skyState@style/cloudy/item

[android-developers] Re: How to use two different icon in two different themes

2009-04-20 Thread havexz
Thanks a lot.. I also just figured this out...Again thanks a lot for such a quick response On Apr 20, 2:51 am, Jeff Sharkey jshar...@android.com wrote: Yep, it's possible.  :)  You're probably looking to do it through an attribute.  Here's a quick example which works when you change

[android-developers] Re: java.lang.reflect.InvocationTargetException during calling a function of another application at runtime

2009-04-20 Thread Dianne Hackborn
On Sun, Apr 19, 2009 at 3:37 AM, Ask asifk1...@gmail.com wrote: I am writing the file in the /sdcard using the application programmatically and the same file I am deleting when its work has been done. Same thing I had tried in the /data/app-private file but I could not write the file

[android-developers] Re: Could title bar of activity listen to click event?

2009-04-20 Thread Dianne Hackborn
This probably isn't going to be too useful -- the title bar takes advantage of not being touchable by making itself less tall. Trying to touch that title bar, with the active status bar already right above it, would be not too easy. So if you do want to have a touchable title bar, you probably

[android-developers] How to re-layout the view?

2009-04-20 Thread Kaka
In my code, I only changed the layout params of an image after it is shown. For example, change the height of the layout. I called the invalidate() function after the change, but it does not work. Although the height of the layoutparams changed, but the view does not change. Why? Anyone can

[android-developers] How can i import com.android.internal.phone?

2009-04-20 Thread Nio
Hi there, I'm trying to invoke the functions belong to class phone and PhoneFactory. But when I'm trying to import these packages, it reminds errors: code: import com.android.internal.telephony.Phone import com.android.internal.telephony.PhoneFactory ... PhoneFactory.makeDefaultPhones(this)

[android-developers] what is intent action name to launch the native map appl?

2009-04-20 Thread jj
what is intent action name(e.g. action name android.media.action.IMAGE_CAPTURE for launching camera appl) to launch the native map appl Is there intent available(documented or undocumented since above intent of capturing image is undocumented ) for launching maps appl? I know one for

[android-developers] Re: Could title bar of activity listen to click event?

2009-04-20 Thread milton
Hi Dianne Thanks for your comment. But is there any possible way to hack current title bar to try it ? (Ignoring the title bar height issue) Thanks again. Regards Milton On 4月20日, 下午4時19分, Dianne Hackborn hack...@android.com wrote: This probably isn't going to be too useful -- the title bar

[android-developers] Views, ListViews and Adapters

2009-04-20 Thread Alan Jones
Hi All, Just looking at options for data updating affecting items in a ListView and have hit a few issues/queries. There seems to only be notifyDataSetChanged() and notifyDataSetInvalidated(). While I could use notifyDataSetChanged() I am most likely in my case to have the scenario where

[android-developers] Working with zip file in Android.

2009-04-20 Thread AlexNguyen
Hi, Now, I am working with file, I actually can read and write in file text, xml and I wanna to secure my file. How do I secure my file? I think I can use zip file. Would anyone help me about it? Thanks, --Alex --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Related about progrssbar

2009-04-20 Thread Rahul
Hi Jeffrey Thank You Very much for your Suggesion now its Working.i have one more question. can i change shape and background color of EditText and i want to add image with Edittext . if it is same like ProgressBar then give me file path On Apr 15, 11:55 am, Jeffrey Sharkey

[android-developers] Re: WebView and https post problem

2009-04-20 Thread Chander Pechetty
you need to scroll horizontally to see the entire page, or add zoom controls to your webview. I don't know whats missing from your page, I can see the same page loaded in firefox and emulator. Here's a quick test you can run, while the code may look different, it uses WebView internally and

[android-developers] Re: WebView and https post problem

2009-04-20 Thread Chander Pechetty
You also need the following to start the activity startActivityForResult(Intent.createChooser(sendIntent, title), 0); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: WebView and https post problem

2009-04-20 Thread Chander Pechetty
The observations I made earlier are from running your code, and the not the above 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] Re: WebView and https post problem

2009-04-20 Thread Evgeny V
Yes I changed the code to use BasicResponseHandler or loadUrl. On Mon, Apr 20, 2009 at 1:25 PM, Chander Pechetty cspeche...@gmail.comwrote: The observations I made earlier are from running your code, and the not the above code. --~--~-~--~~~---~--~~ You

[android-developers] Parsing special code types with SAX Parser.

2009-04-20 Thread Gavin
Hello, I have XML file with gb2312 code type, when I use SAX parser, it have error info: not well-formated (invalid token). How should I do ?Thanks. some lines of xml file: ?xml version=1.0 encoding=gb2312? rss version=2.0 channel title![CDATA[hello

[android-developers] Re: Access the remote Image

2009-04-20 Thread Mark Murphy
Can any one tell me how can i access the remote images through android Emulator? That depends. What do you think a remote image is? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

[android-developers] Need help on BroadcastReceiver::

2009-04-20 Thread Manjunatha M
Hi Folks, I do not know whats wrong in my code. here is the code snippet.. In the below code, I am broadcasting the intent. This is a class derived from Service. private ContentObserver mMyFavesDbObserver = new ContentObserver( new Handler()) { @Override public boolean

[android-developers] Re: what is intent action name to launch the native map appl?

2009-04-20 Thread Mark Murphy
what is intent action name(e.g. action name android.media.action.IMAGE_CAPTURE for launching camera appl) to launch the native map appl Use the geo: URL: http://developer.android.com/guide/appendix/g-app-intents.html -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's

[android-developers] Re: attributes for multiple resources in attrs.xml

2009-04-20 Thread Vlemmix
Thanks! On Apr 17, 6:56 pm, Dianne Hackborn hack...@android.com wrote: Just don't re-declare the format in the second one.  Also, if this is a color, don't you want the format to be color?  As it is now, when you write a color of the form 0xfff you will not get the right integer value for an

[android-developers] Re: Access the remote Image

2009-04-20 Thread Mark Murphy
Means My emulator act as client... and another System act as a server... What kind of server? A Web server? An FTP server? A POP3 mail server? An IMAP mail server? An XMPP server? Something else? In server i had images... What kind of images? PNG images? System disk images?

[android-developers] send intent only when activity is on top running

2009-04-20 Thread Cyrill Helg
Hi I have an activity that uses a service. While the service is running (it sends some stuff in background) I display a progress bar and disable the send button. Now I created an Intent to update the interface after the send service has finished. How can I do this only if the activity is

[android-developers] Re: send intent only when activity is on top running

2009-04-20 Thread Mark Murphy
I have an activity that uses a service. While the service is running (it sends some stuff in background) I display a progress bar and disable the send button. Now I created an Intent to update the interface after the send service has finished. How can I do this only if the activity is

[android-developers] Re: Building different versions of an app -- best practice?

2009-04-20 Thread Mariano Kamp
But isn't the real problem that you would need a totally different package name to upload it to the Android Market? On Mon, Apr 20, 2009 at 2:04 PM, MrSnowflake mrsnowfl...@gmail.com wrote: You can use if-else constructs, as the compiler will leave out any never reached peaces of code.

[android-developers] Re: adb is not detecting my android phone

2009-04-20 Thread swarup
did you try this: http://developer.android.com/guide/appendix/faq/troubleshooting.html#nodevice On Apr 19, 9:25 pm, Tushar tusharpatu...@gmail.com wrote: Hi, First time when I connected my android phone with windows XP SP3 system everything went smoothly. And after installing usb drivers

[android-developers] Re: Uninstall / Signature problem on G1 device

2009-04-20 Thread swarup
check below if it helps you: http://groups.google.com/group/android-developers/browse_thread/thread/3f084d78a15f6d3d/efd21e8cc2579fc0?lnk=raot On Apr 19, 7:22 pm, Huebi konrad.hueb...@googlemail.com wrote: Hi, I installed a development version of an app on my G1 with 1.1 firmware build

[android-developers] Re: How to add text in ImageButton

2009-04-20 Thread fluxa
Hi Jeff, can you please explain a bit more this workaround? It can be done by XML? thanks in advance. fluxà On Apr 20, 3:36 pm, Jeff Sharkey jshar...@android.com wrote: One lightweight way of doing this is to use a Button with android:drawableTop and android:drawablePadding, which will put

[android-developers] Re: Running Android SDK 1.1 R1 on Linux 64 bit Fedora 11 RawHide

2009-04-20 Thread Perty
Are you sure you are running the 64 bit version of Fedora? Or maybe you have installed all the 32 bit libraries before (dependencies of other packages?) the emulator and other binaries need the 32 bit libraries. I can't se how you got it to work otherwise. /Per Jonsson On 16 Apr, 04:17,

[android-developers] Interested in making core revision to IM for Groupwise Messenger support (got permission from novell)

2009-04-20 Thread Colin
I'm planning to introduce protocol support for Groupwise Messenger to android IM through a core revision. I have permission to use the protocol from Novell (GPL compliant) and needed to confirm with google devs that this would be ok, and I also had a few questions regarding how to use the IM

[android-developers] Re: Building different versions of an app -- best practice?

2009-04-20 Thread jarkman
We actually maintain two separate codebases for our pro and light products, and take care to port common changes across from one to the other. They need different package names in the manifest file, in the layout xml when we refer to custom controls, in the package declaration at the top of each

[android-developers] How to make a video of the emulator ?

2009-04-20 Thread Nanard
Hi, I am using Linux (Mandriva). How can I make a video (with sound) of the emulator ? 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: Passing keyevents to the next activity in the stack

2009-04-20 Thread marmor
Hi, As I've said before I used superDispatchKeyEvent to get around the not responding issue I was getting when setting my app to NOT_FOCUSABLE. But I still wonder how can I set an app to be NOT_FOCUSABLE (using setFlags) but not get a not responding window whenever I press some key and wait for

[android-developers] android.provider.Sync - is this off limits?

2009-04-20 Thread Hans
I'm on the 1.1 r1 SDK and I don't see it in the documentation; however, I can't find any other way to try and manage sync settings, and I only found this by searching throught the Google source. Presuming that this area is unprotected and liable to unnotified deprecation, is there a 'safe' way

[android-developers] Re: How to make a video of the emulator ?

2009-04-20 Thread Nanard
Thanks On 20 avr, 16:21, Mark Murphy mmur...@commonsware.com wrote: I am using Linux (Mandriva).  How can I make a video (with sound) of the emulator ? You could try using Linux screencast software. Search on the following in your favorite search engine: linux screencast You will get

[android-developers] Re: How to make a video of the emulator ?

2009-04-20 Thread Mark Murphy
I am using Linux (Mandriva). How can I make a video (with sound) of the emulator ? You could try using Linux screencast software. Search on the following in your favorite search engine: linux screencast You will get many hits, talking about Istanbul, recordmydesktop, and many others. Some,

[android-developers] Getting Resource.NotFoundException

2009-04-20 Thread Lutz Schönemann
Hi everyone, my current problem is that I have two application. The first one defines a new permission and is already installed. The second uses the permission defined by app 1. When I try to install it by downloading it with the browser the PackageInstaller crashes. Looking at the logs

[android-developers] Re: How can i import com.android.internal.phone?

2009-04-20 Thread Romain Guy
Don't. The package name says internal because it's a private API. Do NOT use it. On Mon, Apr 20, 2009 at 1:55 AM, Nio luodali...@gmail.com wrote: Hi there, I'm trying to invoke the functions belong to class phone and PhoneFactory. But when I'm trying to import these packages, it reminds

[android-developers] Re: How to re-layout the view?

2009-04-20 Thread Romain Guy
Use requestLayout(), invalidate() is to redraw the view. On Mon, Apr 20, 2009 at 1:44 AM, Kaka clipse.z...@gmail.com wrote: In my code, I only changed the layout params of an image after it is shown. For example,  change the height of the layout. I called the invalidate() function after the

[android-developers] Re: Views, ListViews and Adapters

2009-04-20 Thread Romain Guy
Use notifyDatasetChanged(), ListVIew *needs* it. It's also optimized for cases in which the current set of Views hasn't changed. Just remember to reuse the convertView in the getView() method and you'll be fine. Market does that. On Mon, Apr 20, 2009 at 2:19 AM, Alan Jones skyp...@gmail.com

[android-developers] How to add more languages in the select locale of the emulator Options ???

2009-04-20 Thread Vikram Android
Hi, How to add more languages in the settings/languages and Text/selction Locale of the emulator. Right now , there are only 3 languages (german, en-UK, en-US) are there. I want to add swedish and danish as well in the select locale. I tried using the following command in the ADB shell as

[android-developers] modifying the resource.arsc file in the android APK package Options ???

2009-04-20 Thread Vikram Android
Hi, I would like to edit the resource.arsc file with the android APK package. Modification of the string values or adding a new language set to the apk. Br, Vikram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Accelerometer power tied to display backlight power

2009-04-20 Thread Jordan Frank
Known but not resolved. Even in the bug report that is mentioned in the thread that you quoted, the only response has been things might have changed in cupcake. Of course determining what has changed, or if this specific problem has been fixed requires wiping the phone and installing cupcake*,

[android-developers] Re: Screen lock turns of the accelerometer.

2009-04-20 Thread Jordan Frank
Best I can do is say that quite a few people have been trying to do this, and haven't found a way to. Beyond that, don't hold your breath waiting for a response from someone at google. Jordan On Apr 16, 8:11 pm, Mark maxi...@gmail.com wrote: What I'm looking for:  ** A way to read the

[android-developers] As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
Google applications do it, and apparently it used to be part of the public API (via android.os.SystemProperties.) How are we supposed to enable/disable sync on the phone? Disabling/enabling roaming is easy, but I'm beating my head against the wall trying to find a non-hack method for disabling

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Romain Guy
ro stands for read only and even members of the Android team cannot write applications that change these properties. You can read the value of the ro.* properties but not change them. On Mon, Apr 20, 2009 at 7:58 AM, Hans hkess...@gmail.com wrote: Google applications do it, and apparently it

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Jean-Baptiste Queru
The proper way would be to start the relevant activity. I don't know whether the specific Intent to start that activity is documented as part of the public API, though. JBQ On Mon, Apr 20, 2009 at 7:58 AM, Hans hkess...@gmail.com wrote: Google applications do it, and apparently it used to be

[android-developers] Re: How can i import com.android.internal.phone?

2009-04-20 Thread Daliang Luo
Thanks Romain, then may be i can use telephonymanager to talk with the interfaces? 2009/4/20 Romain Guy romain...@google.com Don't. The package name says internal because it's a private API. Do NOT use it. On Mon, Apr 20, 2009 at 1:55 AM, Nio luodali...@gmail.com wrote: Hi there, I'm

[android-developers] OpenGL|ES: eglMakeCurrent issues

2009-04-20 Thread bonfo
Hi all, I have serious issues using the eglMakeCurrent() method of the EGL10 class. 1) After a successful call ot the eglMakeCurrent method with an eglSurface an eglContext, if i request the current context and the current surface (eglGetCurrentContext() eglGetCurrentSurface (EGL10.EGL_DRAW))

[android-developers] BACK key during view change

2009-04-20 Thread bleucalme
Hi, I have 2 independent surface views (no ViewGroup) andI want to handle the BACK key in my application.The BACK key works fine in both views. Unfortunately, if I press BACK during the view transition, the OS handles the key so the application exits. I moved the keys callbacks from the

[android-developers] Re: send intent only when activity is on top running

2009-04-20 Thread Cyrill Helg
Am Monday 20 April 2009 schrieb Mark Murphy: But this gives me a null pointer on last line... What could I do? If the service is a local service (in the same application as the activity), then do not use an Intent. Have the activity register a callback or listener object with the

[android-developers] Re: send intent only when activity is on top running

2009-04-20 Thread Mark Murphy
But can the activity handle that even when its not running? That depends on the definition of handle that and its not running, along with whether or not your service is local or remote. In which method will it handle the answer of the service, or how do I get the answer? If you use a

[android-developers] android:launchMode?

2009-04-20 Thread Mariano Kamp
Hi, I just re-read the documentation [1] on launchMode and still don't get it. Let's say I have the fictional activities Show Albums and Show Picture List. Show Albums is a top level view that can be used to drill down to the Pictures List by firing the intent that is associated with the

[android-developers] Rings Extended obsoleted by new builds?

2009-04-20 Thread Rob Franz
Hi all (hoping Ms Hackborn might see this post as well) I know this might seem off-topic but it does have to do with development of an application. There is a lot of info here so I apologize for the long-winded post... here goes. My application utilizes a ringtone picker and what I'm finding

[android-developers] Re: How can i import com.android.internal.phone?

2009-04-20 Thread Daliang Luo
But Romain, what should I do if I am trying to call the function invokeOemRilRequestStrings()? I am trying to send AT commands via this interface. 2009/4/20 Daliang Luo luodali...@gmail.com Thanks Romain, then may be i can use telephonymanager to talk with the interfaces? 2009/4/20 Romain

[android-developers] Re: How do i save a (large) edited JPEG with full 24bit colordepth without getting OutOfMemoryErrors?

2009-04-20 Thread Streets Of Boston
Bump again... sorry for that, but i don't know any other place to ask this question. On Apr 13, 8:46 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Hi everyone, I managed to handle a full size image (2048x1536) (moving around, zooming, some colorfilters, etc). However, i can only load

[android-developers] Re: How can i import com.android.internal.phone?

2009-04-20 Thread Mark Murphy
You are cross-posting to multiple lists. Please stop that. But Romain, what should I do if I am trying to call the function invokeOemRilRequestStrings()? I am trying to send AT commands via this interface. If you are writing applications to the SDK, to be deployed on existing devices, you

[android-developers] Re: How can i import com.android.internal.phone?

2009-04-20 Thread Marco Nelissen
You shouldn't be sending AT commands, as they would very likely interfere with AT commands sent by the system itself, possibly leaving the radio in an inconsistent state. Also, this list is about developing using the SDK, which by definition excludes all the internal APIs. On Mon, Apr 20, 2009

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
On Apr 20, 11:02 am, Romain Guy romain...@google.com wrote: ro stands for read only and even members of the Android team cannot write applications that change these properties. You can read the value of the ro.* properties but not change them. Thanks for the info :). Presumably, from

[android-developers] Re: 1.5 SDK: android list target failed

2009-04-20 Thread j
Thank you both. Everything just works after I reboot XP. On Apr 17, 6:43 pm, Brian Conrad br...@jyotishtools.com wrote: He will probably want  --target 2 to use the 1.5 SDK if not the --target 3 which includes 1.5 SDK and Google SDK for things like MapView etc.   Just went  through this

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
On Apr 20, 11:03 am, Jean-Baptiste Queru j...@android.com wrote: The proper way would be to start the relevant activity. I don't know whether the specific Intent to start that activity is documented as part of the public API, though. JBQ Doesn't it seem like enormous overkill

[android-developers] Re: How can i import com.android.internal.phone?

2009-04-20 Thread Daliang Luo
Thanks all above. I mean I just want to add a AT command in the ril reference.c. And could this disturb all the other commands working? And sorry for I'm not posting in the right place. :-( 2009/4/20 Marco Nelissen marc...@android.com You shouldn't be sending AT commands, as they would very

[android-developers] how can i store each user in array for auto complete next time?

2009-04-20 Thread zeeshan
Hi Experts, i have a shared prefrences which stores the user each time it login, i simply replace the existing user in shared prefrences when 2nd user login. here is a peace of my code : int mode = Activity.MODE_PRIVATE; SharedPreferences mySharedPreferences =

[android-developers] Re: android:launchMode?

2009-04-20 Thread ellipsoidmob...@googlemail.com
Hi See http://groups.google.com/group/android-developers/browse_thread/thread/e29bd82a7fec43c6/44835d74b0af3f5f?lnk=gstq=ellipsoidmobile#44835d74b0af3f5f I think you'll find that the standard behaviour (without specifying the launchMode in your manifest) will do what you want (assuming that you

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Jean-Baptiste Queru
Well, that's not the kind of setting that you should change in the user's back. Launching an activity allows the user to make a conscious decision about the way they manage their phone. JBQ On Mon, Apr 20, 2009 at 8:55 AM, Hans hkess...@gmail.com wrote: On Apr 20, 11:03 am, Jean-Baptiste

[android-developers] Re: how can i store each user in array for auto complete next time?

2009-04-20 Thread Mark Murphy
i have a shared prefrences which stores the user each time it login, i simply replace the existing user in shared prefrences when 2nd user login. snip Question: i need to make a list of login users to have autocomplete funtionality at next login, please advise me how can i do this.

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
On Apr 20, 12:11 pm, Jean-Baptiste Queru j...@android.com wrote: Well, that's not the kind of setting that you should change in the user's back. Launching an activity allows the user to make a conscious decision about the way they manage their phone. JBQ Who said I'm doing it behind their

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Disconnect
On Mon, Apr 20, 2009 at 12:19 PM, Hans hkess...@gmail.com wrote: Who said I'm doing it behind their back? I'm writing a notification scheme for a vendor who wants their users to know, in an clear and obvious fashion, when they enter/leave a roaming service state. Part of that notification

[android-developers] AppWidget issues

2009-04-20 Thread Tom Gibara
I'm taking a swing at quickly producing a fully fledged AppWidget that will augment my forthcoming Daisy Chase game. I've encountered a couple of issues. There's one definite bug: AppWidgetProvider fails to handle ACTION_APPWIDGET_DELETED actions properly. Browsing the source I can see that

[android-developers] Re: android system make. error 45

2009-04-20 Thread murray
I think this must be a conspiracy of some sort, as I too have had the same issue for many weeks now... I have not been able to get an answer from this forum or any other.. google dev is not talking... why?...who really shot Kennedy? I'll take either answer..thanks On Apr 16, 4:20 am,

[android-developers] Re: Could title bar of activity listen to click event?

2009-04-20 Thread Dianne Hackborn
You can put an on click listener on a text view (this is a basic feature of view), but please don't go digging through the view hierarchy for the title bar text view; this is an implementation detail of the window decorations. If you want a special title bar, I would recommend just doing your own

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Dianne Hackborn
The data roaming thing is fixed in Cupcake. If you are doing this for a vendor, you can have your app signed with the platform certificate for the vendor, and do many of these things. What you are asking is not within the scope of the third party SDK, and is most likely something we don't want

[android-developers] Re: android:launchMode?

2009-04-20 Thread Dianne Hackborn
On Mon, Apr 20, 2009 at 9:09 AM, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: The system will decide when to kill your app, so there is no guarantee that they will be returned to your picture list, but if the system hasn't killed your app (e.g. for memory reasons) then

[android-developers] Re: Rings Extended obsoleted by new builds?

2009-04-20 Thread Dianne Hackborn
No, Rings Extended is not obsolete (though the music picker activity it had is now part of the platform), and it doesn't so anything different than the built-in ringtone picker -- it just returns the URI to the caller. On Mon, Apr 20, 2009 at 8:40 AM, Rob Franz rob.fr...@gmail.com wrote: Hi

[android-developers] Re: android:launchMode?

2009-04-20 Thread Mariano Kamp
Thanks very much. I tried that and it works great, except when I am on the Pictures List Activity (Sub), press Home, press the App icon I'll get back to the Show Albums Activity (Sub). So far so good, but when I press Back I'll get back to the previous Pictures List Activity (Sub). I would have

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-20 Thread Joe LaPenna
Android-discuss or your preferred non-android-developers list please. On Apr 17, 2009 7:25 AM, JP joachim.pfeif...@gmail.com wrote: On Apr 17, 7:07 am, JP joachim.pfeif...@gmail.com wrote: On Apr 16, 11:21 pm, Mariano Kamp m... in a VM environment. VM as in virtual machine not virtual mem.

[android-developers] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-20 Thread Joe LaPenna
You've set you button not clickable. On Apr 18, 2009 2:39 AM, kevin kevin_x...@yahoo.com wrote: I programmed the layout instead of layout.xml (for our own reason). Following is the code: LinearLayout mainPanel = new LinearLayout(ctx); mainPanel.setLayoutParams(new

[android-developers] Intent filter for mimetype doesn't modify browser HTTP accept header

2009-04-20 Thread unclej
It seems that the browser (webkit) doesn't modify it's behavior based on the set of application intent data mimetypes installed. I tried with a new intent mimetype in an application and the browser accept header didn't change from: Accept: text/xml,application/xml,application/xhtml+xml,text/

[android-developers] How to finalize cursor

2009-04-20 Thread akshi
I am getting following exception : Ljava/lang/IllegalStateException;: Finalizing cursor android.database.sqlite.sqlitecur...@433d8320 on usage_count that has not been deactivated or closed and when I am using if (!cursor.isClosed()) { cursor.deactivate();

[android-developers] GetJar networking event in San Mateo, CA. April 22nd

2009-04-20 Thread gojuryu
Hi Google Developers Group! GetJar.com and Device Anywhere are throwing a little networking event at GetJar’s offices as a kind of “office warming” to kick off the opening of GetJar’s new US office. There will food and drinks for everyone along with a little challenge to make things

[android-developers] Re: Android Functional Testing (testing multiple activities)

2009-04-20 Thread Richard Cook
So I've learned a bit more about the Instrumentation, but now I am at a point where it HANGS if I have more than one test case running. I'm running a cross-activity functional test case using InstrumentationTestCase. I have to run handles for the ActivityGroup, currentActivity, and the

[android-developers] Android TDD Instrumentation Hangs

2009-04-20 Thread Rick
As soon as I leave the embedded activity and proceed to a single activity that runs a form, save the form, and return the previous activity, the instrumentation hangs in console for my test. The only way around this is to call getInstrumentation().finish() - but then it no longer aggregates the

[android-developers] MediaPlayer server died!

2009-04-20 Thread john
Hi I was just tracing the audio path in Android cupcake. With some curiosity I began by making changes in AudioFlinger.cpp and AudioMixer.cpp. I made some changes to the mixing process and also the audio buffer being sent to the hadware. I created only one instance of MediaPlayer in my app and

[android-developers] Flashing Production Firmware on Development Phone

2009-04-20 Thread goks...@gmail.com
How can I flash Production Software onto my Development Android for testing Applications and recover Phone back to Development software mode. Is it possible? thanks for any help regards Gokul --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] How can I get active apn name?

2009-04-20 Thread biAji
Hi guys, Is there any method in the SDK can get current active apn name ? Any comment is welcome~ --~--~-~--~~~---~--~~ 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: Error installing ADT 0.9

2009-04-20 Thread jrukman
I'm having this same problem. However, I'm on mac. I'm going to try building the ADT from the latest cupcake source instead. On Apr 16, 10:07 pm, Mathieu Plourde mat.plou...@gmail.com wrote: I'm using Win XP and I'm trying to installADT0.9for Eclipse (In order to try SDK 1.5). I downloaded

[android-developers] Re: How to config G1 to make both browser and MMS work?

2009-04-20 Thread kilroy238
Which one of the 3 China mobile SIMS do you have? On Mar 18, 3:38 pm, FayGU gqm...@gmail.com wrote: I have a G1 phone and use it in mainland China. But I can't config it to work with browser and MMS at the same time. However with different APN, the browser and MMS can work seperately. For

[android-developers] EditText Tabhost problem

2009-04-20 Thread cvance383
The problem I am having is I have a framelayout with a tabhost ( widget tabcontent) then I have another layout over top of the tabs that looks like a form. It has two editTexts but when I type in the them, the tabs steal focus and put what i typed in the edittext i have within the tabcontent. If

[android-developers] Re: Problem installation Android Development Tools

2009-04-20 Thread Chaz
I am also suffering from this problem. I'm running Windows Vista x64, Eclipse 3.4.2 x86_64 Classic (installed Java development tools). I also get this error if I try to reinstall it. Any help on this would be great, I just got my Android Dev Phone today and I was hoping to use it on my x64 bit

[android-developers] Re: Touch Sensitivity With HTC Dream 1 Device Lacking

2009-04-20 Thread Mike
Thanks for the feedback, Dianne. I guess the lesson is, like with any other software project I've been a part of, you take the good with the bad. Even though sometimes the bad is not under your control. I agree that this particular user most likely is frustrated with more than just my

[android-developers] Why does this EditText appear small in my app but large in Eclipse? (Screenshots)

2009-04-20 Thread Neil
Why does the EditText in the XML below appear as a single-line EditText in my application but appear as a multiple-line EditText in the Eclipse layout preview? Please see screenshots. I would like for the EditText to take up three-fourths of the dialog I am trying to create. Screenshot of XML

[android-developers] How to display contact numbers only if they exist

2009-04-20 Thread avrono
Hi, I am writting an Application that gets messages SMS/Email etc, I have a listActivity and want to only display the contact name if it is known in the address book. I keep getting an exception : 04-17 23:47:49.090: ERROR/AndroidRuntime(949): java.lang.RuntimeException: Unable to start

  1   2   3   >