[android-developers] Re: Understanding animation repeat

2009-02-15 Thread illud...@gmail.com
I too have experienced the same issue that Sundog has described. In my case I configured the animation in xml, but the result was exactly the same. Why does the animation run only once? Thanks On Jan 5, 12:57 pm, Sundog michael_...@tmail.com wrote: Perhaps a more specific question will help

[android-developers] Re: Android Marketplace - No App Icon or Images?

2009-02-15 Thread snctln
Currently the market does not allow for screenshots. The icon that is specified in your manifest xml is shown to the user next to the application name in the market. I always put my website in the app description just in case someone wants to go check it out and see screenshots of the app on my

[android-developers] problems with Gallery and gestures

2009-02-15 Thread gymshoe
Hi all, I am using a Gallery view. This is my goal: I would like to be able to listen for gestures so that I can take specifc action, in addition to allowing the usual action that the Android framework provides. For instance, when the user scrolls the Gallery, I would like to know that the user

[android-developers] SSLv2 not supported?

2009-02-15 Thread Marc
Can anyone confirm that SSLv2 is disabled in Android's SSL library? What I'm seeing is that servers that request SSLv2 generate an exception instantly in the handshake phase, claiming an unsupported protocol...If SSLv2 is disabled, is there any way of enabling it (i.e. a configuration)?

[android-developers] HttpUrlConnection.disconnect doesn't work

2009-02-15 Thread Mattaku Betsujin
I found out that under certain conditions (slow T-Mobile EDGE network), if I have thread A blocked on an HttpUrlConnection.connect(), and I try to call HttpUrlConnection.disconnect() in thread B, thread A still gets blocked and doesn't return. Has anyone seen this problem?

[android-developers] Re: Is it a bad idea to hardcode the memory card location ?

2009-02-15 Thread Jack
Thanks! that works. On Sun, Feb 15, 2009 at 2:51 PM, Marco Nelissen marc...@android.com wrote: On Sun, Feb 15, 2009 at 2:40 PM, j jac...@gmail.com wrote: I don't know of any API that would return the memory card location Environment.getExternalStorageDirectory()

[android-developers] Re: EditText (textbox) to String

2009-02-15 Thread Faber Fedor
On Sat, Feb 14, 2009 at 1:01 AM, Noam noam.ha...@gmail.com wrote: Whenever I run this code, it gives me NullPointerException. I know that this line is the problem: trackname = (String) tracknametext.getText().toString(); That is the correct way (although I think the cast is

[android-developers] Trouble with OnClickListener on Mac OSX

2009-02-15 Thread Timothy DeWees
Has anyone had trouble getting android projects to work on Mac OSX? I took a project that I run on a Windows Vista system and checked out the project on my Mac OSX box and it can't recognize OnClickListener. I did the same thing on my Ubuntu dev box and it works no problem. Same version of

[android-developers] Re: Trouble with OnClickListener on Mac OSX

2009-02-15 Thread Faber Fedor
No problems over here on a MB running Leopard, a Dell running CentOS 5 and a VM running Ubuntu 8.x. On Sun, Feb 15, 2009 at 8:51 PM, Timothy DeWees whtdrgn...@gmail.comwrote: Has anyone had trouble getting android projects to work on Mac OSX? I took a project that I run on a Windows Vista

[android-developers] Re: Problem with sound on Notifications on Emulator

2009-02-15 Thread pperotti
Thanks for your reply ! I guess that the scenario is different. In my case, I want to reproduce a sound located in my /res/raw directory. The default sound works as expected. My problem is that I couldn't get to work an external sound, for instance, the sound /res/raw/beback.mp3. What would be

[android-developers] Re: How to prevent my application being closed on clicking the back button on emulator

2009-02-15 Thread Komal
Hi Immy Thnx for replying. I want to use the back button for going back, i dont want to prevent it. Close with finish() for that activity when you are done. and if i am calling finish(),,then it is not showing the employee detail, it just go to the next activity(employee activity page) call

[android-developers] Re: SSLv2 not supported?

2009-02-15 Thread Marc
Please ignore; this isn't really the problem, it appears... Marc On Feb 15, 4:51 pm, Marc gram...@gmail.com wrote: Can anyone confirm that SSLv2 is disabled in Android's SSL library? What I'm seeing is that servers that request SSLv2 generate an exception instantly in the handshake phase,

[android-developers] Error with Linear Layout

2009-02-15 Thread Markiv
Hi Everyone, Eclipse doesn't seem to like the constant VERTICAL in the LinearLayout. Can you tell me what the problem might be. Here is a snippet of the code I have. I am using the latest Android SDK. Thanks, Vikram import android.widget.LinearLayout; public class HelloViews extends

[android-developers] Re: how can I check if an Activity is visible or not?

2009-02-15 Thread pperotti
Well ... maybe to clarify what Im trying to get done. I want just to launch a notification to the user only if he is not in one of the screens (Activities) of my application. If the user find himself using the application I just want to move him to the next screen. Basically ... if ( the user is

[android-developers] Re: Problem in going in back/previous activity

2009-02-15 Thread Komal
Hi, Thnx for replying. Its calling onPause() method of second activity but its not calling onResume() of first activity. why it is so?? This is my code for calling next activity protected void onListItemClick(ListView l, View v, int position, long id) {

[android-developers] how to distinguish Button and EditTex -------about EditorInfo in IMF

2009-02-15 Thread 冰咖啡不加糖
how can i distinguish Button and EditText, using these EditorInfo in a inputmethod application. EditorInfo.inputType always is 1, whatever the component is Button, or EditText. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: No applications can perform this action. error.

2009-02-15 Thread Noam
Anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: SSLv2 not supported?

2009-02-15 Thread Shane Isbell
I have seen some funny things within Android support for SSL. The server/client go through a proper FIN ACK close of the socket, but Android still thinks the connection is open and tries to reuse the closed connection. But if the RST packet is sent, Android does recognize the close and will reopen

[android-developers] Re: Error with Linear Layout

2009-02-15 Thread Romain Guy
You have to write LinearLayout.VERTICAL. On Sun, Feb 15, 2009 at 6:38 PM, Markiv vikramshe...@gmail.com wrote: Hi Everyone, Eclipse doesn't seem to like the constant VERTICAL in the LinearLayout. Can you tell me what the problem might be. Here is a snippet of the code I have. I am using

[android-developers] Re: creating a canvas based on OpenGL

2009-02-15 Thread Romain Guy
Please note that this feature is experimental, with bugs, limitations and no support currently. On Sun, Feb 15, 2009 at 10:01 AM, johnburkert.babar...@gmail.com johnburkert.babar...@gmail.com wrote: i am interested in this also, but haven't spent any time on it. just some thoughts... are you

[android-developers] Re: post moderated ?

2009-02-15 Thread Romain Guy
I doubt it was moderated. What was your original message? On Sun, Feb 15, 2009 at 8:58 AM, Arnaud Bourdier contactez.arn...@gmail.com wrote: Hi, I posted a new discussion at about 00h10 : 15 Fev 2009. It talk about paintImmediately under Android. I don't see my post. Do you moderated it or

[android-developers] Re: paintImmediately under Android

2009-02-15 Thread Romain Guy
There is no paintImmediately() equivalent in Android. On Sat, Feb 14, 2009 at 3:00 PM, Chaton contactez.arn...@gmail.com wrote: Hi, In standard Java, you use repaint() to force the paint() method. paint() method starts after the end of the current method. I explain : public void

[android-developers] Re: No applications can perform this action. error.

2009-02-15 Thread Marco Nelissen
Try not setting the mimetype. On Sun, Feb 15, 2009 at 12:34 PM, Noam noam.ha...@gmail.com wrote: Hello everyone, I am using this code to send an email (with no errors in eclipse), but when I run it in the emulator, I get the No applications can perform this action. error. String[]

[android-developers] Storing images (but not in /sdcard/dcim)

2009-02-15 Thread Eric Sun
I'm writing an app that needs to manage its own images. That is, it should only be able to pick, send, delete etc. the images that it generated. Reading through the Dev Guide, it seems that using the MediaStore.Images.Media.insertImage call is the way that I should be inserting images. I tried

[android-developers] How does Market portect my Android applications

2009-02-15 Thread soccercheng
Market pay system has been launched it provides region filtering copy protection, does anyone know how these filtering protection are done? 1. the filtering is done only @ server side ? what if an device wants to install a application for different region through web or adb?? 2. How does

[android-developers] Sending and receiving data messages via a BroadcastReceiver

2009-02-15 Thread thesquib
Is there already functionality similar to the push registry or wireless messaging API in J2ME implemented in Android? Or at least plans to do so? I have been looking at this issue for a while, because in a corporate environment it is essential to be able to push information out, or trigger

[android-developers] Re: how can I check if an Activity is visible or not?

2009-02-15 Thread Marco Nelissen
Since you're going to do this from your service, why don't you have your Activity register with the service when it is started or resumed, unregister when it is paused or stopped, and then just have the service keep track of whether the activity is active that way? On Sun, Feb 15, 2009 at 6:44

[android-developers] Regarding passing array strings from one activity to another activity

2009-02-15 Thread Naina K
Hi, I have two activities. I want to pass array strings from one activity to another. I am using putStringArray and getStringArray functions. But still its not working. Could you please let me know how can I do it? Is there any other way to do it? Thanks in advance,

[android-developers] Re: Regarding passing array strings from one activity to another activity

2009-02-15 Thread Marco Nelissen
Posting your code would help us help you. On Sun, Feb 15, 2009 at 8:05 PM, Naina K kna...@gmail.com wrote: Hi, I have two activities. I want to pass array strings from one activity to another. I am using putStringArray and getStringArray functions. But still its not working. Could you

[android-developers] playing video from browser in sdk1.1

2009-02-15 Thread Harishkumar V
Dear All, I have downloaded android source from android git tree and built it, loaded the new images into emulator. but when i opened up the browser and browse through http://youtube.com, only the blank white screen appears. i am able to browse other websites. http://m.youtube.com works fine,

[android-developers] Re: Regarding passing array strings from one activity to another activity

2009-02-15 Thread plusminus
It works if you do it right. ;) I think what you are doing wrong is that you try to receive the String [] from the parameter in onCreate(Bundle savedInstanceState) but you should get it from getIntent().getExtras().get... Regards, plusminus On 15 Feb., 23:05, Naina K kna...@gmail.com wrote:

[android-developers] Re: Alarm Manager forgets repeating alarms?

2009-02-15 Thread Craig
The documentation states that alarms are not persisted across reboots, so that's something that has to be dealt with by your app. But here's the gotcha that I can't find documented anywhere... It seems that uninstalling the app also clears all set alarms for the package being uninstalled. This

[android-developers] Re: Can I bind to the MediaPlaybackService?

2009-02-15 Thread Craig
I successfully bound to the service. I simply copied the aidl from the Music app into my app, and used the component package/name strings to perform the bind. As Marco points out, it's not a public api so use at your own risk. On Feb 15, 8:08 am, Marco Nelissen marc...@android.com wrote: On

[android-developers] Re: run app after installation using PACKAGE_ADDED or other mechanism?

2009-02-15 Thread Craig
I agree; this is an unnecessary limitation in the api IMO. It is fair enough to require user input to start any code *the very first time they install*, but what about during upgrades? With the way things work now, it's possible for an app to stop working after an upgrade due to the user not

[android-developers] Re: fill_parent issue with ListView cells

2009-02-15 Thread kamenjar
On Feb 12, 8:36 pm, Romain Guy romain...@google.com wrote: You cannot use a height of fill_parent with listview items, nor can you span across multiple lines. Would you recommend a workaround? I need to have up to 2 lines of text and have fixed size of the ListView cell. It seems that it would

[android-developers] Re: No applications can perform this action. error.

2009-02-15 Thread Noam
Thanks Marco, but it still doesn't work. Does anyone know why? --~--~-~--~~~---~--~~ 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: Alarm Clock Broadcasts?

2009-02-15 Thread Craig
The best way to find out is to look through the Alarm Clock source code. On Feb 11, 11:37 pm, bklik brenton.k...@gmail.com wrote: Does the Alarm Clock broadcast any intents?  I would like to be able to have my application automatically launch after a person's alarm clock goes off, and they

[android-developers] Re: Android Market broken? Can't see the new release of my app in the Android Market?!

2009-02-15 Thread Jon Colverson
On Feb 15, 8:10 pm, Mariano Kamp mariano.k...@gmail.com wrote: And it's back to the old version of the description and the new version of the SW (1.3.0). Not sure what to do I just checked one of my app descriptions that I updated yesterday (nanoTweeter), and it's back to the old version,

[android-developers] Re: Android Market broken? Can't see the new release of my app in the Android Market?!

2009-02-15 Thread snctln
I too am having the exact same problem... been happening since Friday. I posted on it over in android Discuss but no one has said anything over there http://groups.google.com/group/android-discuss/browse_thread/thread/b9b6a6f4a3d3423d Hopefully this problem gets worked out soon, I would really

[android-developers] SyncML in android

2009-02-15 Thread Gulfam
Hi all, I want to Sync my contacts and calendar. Is there any API available in android? If available then where i can found it? please let me know any useful link or any other source for it. Thanks, Gulfam --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Comments/Ratings need to expire!

2009-02-15 Thread Joe LaPenna
Actually, I think a good way around this issue -- retaining user ratings and comments but allowing them to de-value in accurate comments would be if each comment could be commented on by the app author. Some ability to offer a round trip communication between the author and the commenter would go

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-15 Thread gjs
Hi David, OK done, see http://code.google.com/p/android/issues/detail?id=2022 Many thanks ! regards On Feb 14, 4:01 am, Dave Sparks davidspa...@android.com wrote: Some good suggestions. Please write up a feature request in the bug tracker. Otherwise I'll probably never remember how to

[android-developers] Can we call R.java acreoss the packages?

2009-02-15 Thread Munish
Hi All I have two packages(Pack1 and Pack2) in same project(Proj) When i created the project (Proj) that time Pack1 was created and R.java was there bydefault. Now i created Pack2 in same project(Proj) and want to acess some XML files there, but cant access as when i write R.layout.xxx that

[android-developers] Re: Android Market broken? Can't see the new release of my app in the Android Market?!

2009-02-15 Thread Mariano Kamp
On the other hand it's good that I know now that I am not dreaming ;-) The weekend is over, so I guess the Google support stuff will have a look at it now or at least later today. On Mon, Feb 16, 2009 at 5:43 AM, Jon Colverson jjc1...@gmail.com wrote: On Feb 15, 8:10 pm, Mariano Kamp

[android-developers] Re: A safer way of using SoundPool?

2009-02-15 Thread Marco Nelissen
Why do you say it's not a public API? On Sun, Feb 15, 2009 at 10:09 PM, Jon Colverson jjc1...@gmail.com wrote: The presence of SoundPool in the SDK causes a bit of a dilemma for those of us developing games. On the one hand, it's not a public API and it might go away or change in future

[android-developers] Re: Can we call R.java acreoss the packages?

2009-02-15 Thread Greg Krimer
The R class is created in the package that is associated with your application, Pack1 I am assuming. To access it from another package you do the same thing that you would do with any other public class that you wish to access outside of the package in which it resides: either fully-qualify it

[android-developers] BUG of IMF

2009-02-15 Thread 冰咖啡不加糖
Although the IMF has provided EditorInfo to get the attributes of components with focus. However, the attributes is not fully. First of all, we could not distinguish between Button and EditText components, they have the same InputType value EditorInfo.TYPE_CLASS_TEXT Secondly,after the

[android-developers] Re: fill_parent issue with ListView cells

2009-02-15 Thread Romain Guy
Just set the list item to wrap_content and its width to fill parent. TextView will do the rest for you. On Sun, Feb 15, 2009 at 8:31 PM, kamenjar nikol...@gmail.com wrote: On Feb 12, 8:36 pm, Romain Guy romain...@google.com wrote: You cannot use a height of fill_parent with listview items,

[android-developers] Re: EditText (textbox) to String

2009-02-15 Thread Gulfam
Hi, public void onClick(View view) { nametext = (EditText) findViewById(R.id.nametextxml); name = (String) nametext.getText().toString(); try your code like this hopefully it will work.call findViewById with the dialog refrence as under. nametext =

[android-developers] Paid App Question

2009-02-15 Thread joshbeck
If a Person Purchase my app through the store, and I push out an update, I would assume they will be eligible for the update free of charge. Can anyone confirm this? Also I'm interested in seeing how the end user will see the price and be prompted whether or not to purchase. Thanks, Josh Beck

[android-developers] How get horizontal and vertical events in android

2009-02-15 Thread Gulfam
Hi all, I have two splash screens for my android app one for horizontal and second for vertical and also have two xml layout file like h_splash.xml and second is v_splash. and i want to show these file like this in my code if(horizontal or event which for horizontal ) {

[android-developers] Re: Can we call R.java acreoss the packages?

2009-02-15 Thread Munish
Hey thanx I did the same way but i was including R.java importingandroid.R rather than importing R.java from Pack1 On Feb 16, 11:38 am, Greg Krimer gkri...@gmail.com wrote: The R class is created in the package that is associated with your application, Pack1 I am assuming. To access it from

[android-developers] Re: How get horizontal and vertical events in android

2009-02-15 Thread Romain Guy
Hi, There's no need to do this. Instead, use two files: res/layout-port/splash.xml splash for portrait mode res/layout-land/splash.xml splash for landscape mode Then in your code just call setContentView(R.layout.splash). Android will take care of the rest :) On Sun, Feb 15, 2009 at 11:15

[android-developers] Re: How get horizontal and vertical events in android

2009-02-15 Thread 冰咖啡不加糖
put the different xml files to different directory: layout or layout-land or this.getResource().getConfiguration.orientation== On Feb 16, 3:15 pm, Gulfam gulfa...@gmail.com wrote: Hi all,     I have two splash screens for my android app one for horizontal and second for vertical and

[android-developers] Question on WebView

2009-02-15 Thread for android
I am using a WebView in a LinearLayout.Whats the best way to know whether the web page has been fully loaded or not? i am aware of the method getProgress,but what i am looking for is a listener which lets me know when the web view is fully loaded. Thanks

[android-developers] Re: How get horizontal and vertical events in android

2009-02-15 Thread Dilli
Hi Gulfam, In your application no need to catch events for Landscape to portarite mode In your application under res section create 2 folders 1) layout-land 2) layout-port and place your layout.h_splash in layout-land and place layout.v_splash in layout-port folders (

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-15 Thread Sunil . Maharana
After i set the build path it is compiled fine no more erros. Bu the moment i wanna to call the Interfaces like registerCallback, its giving few errors as below: 02-16 10:31:15.413: ERROR/JavaBinder(278): *** Uncaught remote exception! (Exceptions are not yet supported across processes.) 02-16

[android-developers] Re: Problem in going in back/previous activity

2009-02-15 Thread Greg Krimer
Transitioning to a previous activity via the Back hard-key should be handled by Android for you (unless you are capturing the Back key event yourself, which does not sound like what you are doing because onPause() of your second activity is getting called). The only way I have screwed this up is

[android-developers] Re: Share component as APK file

2009-02-15 Thread kevin
Mark, Thanks for the information. Kevin On Feb 14, 4:42 am, Mark Murphy mmur...@commonsware.com wrote: kevin wrote: I am working on couple android applications whichsharea common component. Thecomponenthas Activities, Service and own AndroidManifest.xml. After research, it seems there is

<    1   2