[android-developers] Animations with transparent background broken on Milestone/Droid?

2010-02-07 Thread Michael Elsdörfer
I'm using the stock android.R.anim.fade_in animation to fade in a textview. Here's the code to reproduce: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Animation fadeInAnim =

[android-developers] Re: How to programmatically install an APK file ?

2010-02-07 Thread Carlo
Is it possible to have the APK installed with forward lock option ? On Jan 27, 7:23 pm, ColletJb collet...@gmail.com wrote: Thank you, I will try this this afternoon. On 27 jan, 10:45, kirti kaul kirti.k...@wipro.com wrote: Hi, Use this:              

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-07 Thread Anthoni
Hi himanshu, The code, along with all other test / demo applications done by the android team, is located on Google under subversion. This link is http://code.google.com/p/apps-for-android/ Regards Anthoni On Feb 7, 5:37 am, himanshu jain himanshu@gmail.com wrote: @frank Can you please

[android-developers] Re: Forcibly using 3G or CDMA network even though wi-fi is available.

2010-02-07 Thread Poqit
I added a request feature: http://code.google.com/p/android/issues/detail?id=6518 On Feb 6, 6:45 pm, Jens dunkingbikk...@gmail.com wrote: Uh yeah, that's why they added that particular crazed hack - an undocumented call to #startUsingNetworkFeature(int, String). On 3 Feb, 09:31, Anonymous

[android-developers] OpenGL lifecycle ends with a crash

2010-02-07 Thread Moritz Post
Hi folks I am having difficulties with the lifecycle of the opengl context. While rendering my scene and the user hits the back button, home button or another application opens in front of my application, my app is still running in the background. So when my application comes to the foreground

RE: [android-developers] Re: DOM, SAX or XMLPullParser ? Any suggestions ?

2010-02-07 Thread Emre A. Yavuz
Thanks for all the responses ... Cheers, Emre Date: Sat, 6 Feb 2010 11:18:44 -0800 Subject: [android-developers] Re: DOM, SAX or XMLPullParser ? Any suggestions ? From: jotobje...@gmail.com To: android-developers@googlegroups.com On Feb 5, 5:45 am, Emre A. Yavuz

[android-developers] Is there a way to measure the time-consumings of all my functions in percent after a game?

2010-02-07 Thread Martin
Hi! I want to optimize my game and remove the stuttering. Is there a way to measure the time-consumings of all my functions in the game without having to change all my functions? Greetings, Martin -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: AppWidget on Homescreen: How to focus ImageView or TextView with trackball?

2010-02-07 Thread Moritzz
Okay I fixed that one ;) On Feb 6, 8:29 pm, Moritzz moritz...@googlemail.com wrote: Hi, I coded an AppWidget the user can add to his homescreen. There are a bunch of images (ImageView) in it that perform different actions like starting Activities on click (realised with PendingIntents). To

Re: [android-developers] Is there a way to measure the time-consumings of all my functions in percent after a game?

2010-02-07 Thread Mark Murphy
I want to optimize my game and remove the stuttering. Is there a way to measure the time-consumings of all my functions in the game without having to change all my functions? Try Traceview: http://developer.android.com/intl/fr/guide/developing/tools/traceview.html -- Mark Murphy (a Commons

[android-developers] Displaying Calendar in month view

2010-02-07 Thread sheik
Hello developers, i just wanna know is it possible to display the Calendar in the month view using the api available. i am searching for while dint find anything to display the calendar in the Month view . kindly help and let me know is this possible using android sdk1.5 or 1.6 or even 2.0. If

Re: [android-developers] Displaying Calendar in month view

2010-02-07 Thread Mark Murphy
i just wanna know is it possible to display the Calendar in the month view using the api available. i am searching for while dint find anything to display the calendar in the Month view . kindly help and let me know is this possible using android sdk1.5 or 1.6 or even 2.0. If not what would

Re: [android-developers] Re: moving the softkeyboard from place

2010-02-07 Thread swapnil kamble
Hi, I am also looking for displaying soft keyboard in my layout programmatically (not full screen but always visible.) Do you guys have any idea about this ? On Sat, Feb 6, 2010 at 11:36 PM, Mark Murphy mmur...@commonsware.comwrote: guich wrote: Thanks. Do you know how to *programatically*

[android-developers] Google Docs

2010-02-07 Thread DAVIDT
Hi All How to read the info from spreadsheets from GoogleDoc. I need read the info from cells and save to database. Thanks David -- 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: Is there a way to measure the time-consumings of all my functions in percent after a game?

2010-02-07 Thread theSmith
Traceview is the way to go. Just remember that your game will play even slower while you have method tracing turned on, but the results you get from it are still very helpful. They are just in relative time and not absolute time. Here are some videos from Google I/O 09 Writing Real-Time Games

[android-developers] How to use RTP in Android?

2010-02-07 Thread satish bhoyar
Hi all, I wish to use RTP in android. I am learning RTP, wish to use the RTP for some apps can anyone tell me how to use it... any doc or links will also be helpfull for me. thanks, satish -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Error parsing XML (using DOM/DocumentBuilder) from URI

2010-02-07 Thread Pedro Machado Santa
Hi all, Before I detail my error/problem, let me thank all the help from the community in advance. I'm trying to parse a XML from a page/URI the DocumentBuilder method parse(String uri) - reference here http://developer.android.com/reference/javax/xml/parsers/DocumentBuilder.html - but on

[android-developers] Re: How to stop a service, when all activities are finished?

2010-02-07 Thread Martin
I found the problem of the stuttering of the MediaPlayer. It was, because I was using an mp3-file. Now I am using an ogg-file and I have completely NO stuttering! So for everybody: NEVER USE MP3's!!! USE OGG ;-) Greetings, Martin On 30 Jan., 09:12, Martin google-gro...@digle.de wrote: Thank

[android-developers] Re: moving the softkeyboard from place

2010-02-07 Thread guich
public static void setSIP(int sipOption) { InputMethodManager imm = (InputMethodManager) instance.getContext().getSystemService(Context.INPUT_METHOD_SERVICE); switch (sipOption) { case SIP_HIDE: imm.hideSoftInputFromWindow(instance.getWindowToken(), 0);

[android-developers] Video streaming, omx problem

2010-02-07 Thread Faboom
Hello, I want to stream video via sdp. The stream url is set to a MediaPlayer as described in the api sample. Most of the times it is working fine. Sometimes, however, i get a black or green screen and the log says: E/QCOmxcore( 51): OMX.qcom.video.decoder.avc Instance already exists, return

[android-developers] Re: debugging with a different keystore

2010-02-07 Thread guich
Hi, In Eclipse, I pointed custom keystore to the keystore in the project workspace. And how you did that? thx guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: debugging with a different keystore

2010-02-07 Thread Frank Weiss
It's pretty easy to figure out. Here are the detailed steps: In Eclipse, choose Window / Preferences. Navigate to Android / Build. Note the location of the Default debug keystore file. Copy the defualt keystore file to someplace where it can be shared among developers, such as the the code

Re: [android-developers] Error parsing XML (using DOM/DocumentBuilder) from URI

2010-02-07 Thread Frank Weiss
Does new URL(url).getConnection().getInputStream() work instead? You'd think that DocumentBuilder.parse(String) is just a convenience method. BTW, are you sure you want to use a DOM parser instead of a SAX push or pull parser? -- You received this message because you are subscribed to the

[android-developers] Re: OpenGL lifecycle ends with a crash

2010-02-07 Thread Robert Green
My first guess would be that you are passing a null buffer to a gl array method. What you want to do is: Activity.onPause() - pause your logic thread and call GLSurfaceView.onPause() Activity.onResume() - resume your logic thread and call GLSurfaceView.onResume() GLSurfaceView.onSurfaceChanged()

[android-developers] Re: How to use RTP in Android?

2010-02-07 Thread jarnaud
Hi Satish, you might want to check the SIPDROID project... Really nice implementation of SIP/RTP -- Jay (a href=http://android.voxisland.com;Complete Android Tutorials on http://android.voxisland.com/a) On Feb 7, 12:29 pm, satish bhoyar getsatonl...@gmail.com wrote: Hi all, I wish to use RTP

[android-developers] Setting up dummy streams for the Ringtone Picker..??

2010-02-07 Thread Tydiz
I was just wondering if it is actually possible to create a stream, similar to the Default stream, and have it recognized as a ringtone by any of the ringtone pickers on the phone. Currently I am using the Default streams for calls and for texts and it works just fine, but there is some major

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-07 Thread himanshu jain
Thanks Anthoni and Frank @Anthoni and @Frank I checked this code , actually i had already implemented in this way instead of on BOOT i used Alarm Manager that repeatedly wake up the phone after 5 minutes and then i start my service. But the problem is background service works fine for 15

Re: [android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-07 Thread Frank Weiss
Is the service completely crashing due to the exception or does the service continue to get the exception subsequently? Are you perhaps wrongly assuming that the phone is connected to the internet whenever you want it to be? -- You received this message because you are subscribed to the Google

[android-developers] Re: Forcibly using 3G or CDMA network even though wi-fi is available.

2010-02-07 Thread Dongjoon Lee
Oh, that's nice:) On 2월7일, 오후6시37분, Poqit poq...@gmail.com wrote: I added a request feature:http://code.google.com/p/android/issues/detail?id=6518 On Feb 6, 6:45 pm, Jens dunkingbikk...@gmail.com wrote: Uh yeah, that's why they added that particular crazed hack - an undocumented call

[android-developers] KeyStore causing EOFException

2010-02-07 Thread Reado
I have some code for my app that creates a keystore in android, creates some default keys then saves the keystore. Later on the code tries to reload the keystore, on the emulator this runs fine however when run on a phone I get an EOFException. Any advice on where I'm going wrong? An out take

[android-developers] Letting user save as ringtone or Notification... Please help

2010-02-07 Thread SteelJ0ker
I've got a soundboard application created, but i want to allow the users to be able to long press on one of the sounds and they can select to save the tone as a ringtone or notification. I've tried finding good solid examples i could learn from but i just can't seem to figure it out any help

[android-developers] Re: Searching Mulitple Developers in Market

2010-02-07 Thread SteelJ0ker
Ya I tried that one it didnt want to work. On Feb 3, 3:37 pm, TreKing treking...@gmail.com wrote: On Wed, Feb 3, 2010 at 1:13 PM, SteelJ0ker cbateso...@gmail.com wrote: I know how to have the search point to one developer, i.e. pub:developer name, but does anyone know of a way to have it

[android-developers] Re: How to create executable file with linking static library?

2010-02-07 Thread bluestar
Dear Dole: Do you tell me your suggestion or solution? Thanks!!! BR, Alan On 2月4日, 下午8時17分, Sachin Dole sachin.d...@gmail.com wrote: On Feb 4, 2010 4:09 AM, bluestar bluestar8...@gmail.com wrote: Dear Sir:     I have a static library: libhello.a and I want to create a

[android-developers] How to send motion Event down to another activity

2010-02-07 Thread sheng wang
Hi, My Activity using transparent Theme in AndroidManifest.xml *android:theme=@android:style/Theme.Translucent* * * Which works fine. When it's started from the Home screen, we can see both the content of my activity and the home screen below it. It gives the feeling of floating .

[android-developers] What's his name?

2010-02-07 Thread tora
Hello, I have a simple question. What's his name? http://www.android.com/intl/ja/media/android_vector.jpg According to this site, his name is [ android robot ] http://www.android.com/branding.html And according to this site, his name is [ Droid ]

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-07 Thread himanshu jain
@frank Service does not crash completely , it consistently throwing Socket.net Exception Netwrok unreachable after five minutes. If phone is not always connected to network then what is the way of implementing , i dont get this point . Yeah i am assuming phone is connected with network and i

[android-developers] How to decide widget size in a configure Activity?

2010-02-07 Thread Urakagi
Hi, in HTC Sense, we can choose widgets of different size after tapping a single entry in the widget list. Is this also possible in pure Android Framework? I have tried to modify the widget's size in the configure Activity, but failed. -- You received this message because you are subscribed to

Re: [android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-07 Thread Frank Weiss
The network unreachable error is always a networking problem. Could be the local network interfaces (wifi and phone) are turned off or temporarily disabled, a bad network mask setting, or some router is unable to route an IP address. It may also be an ipv6 config error. It may be occuring while

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-07 Thread prunicki
I tried something similar back in Android 1.0/1.1 using only wifi. What I found is that once the wifi connection was lost, the only way to get it back was to fully wakeup the phone. I think it may be different with the later versions of the SDK, but in case it's not... -- You received this

Re: [android-developers] How to get: Angle of View of Camera

2010-02-07 Thread 李務誠
Now there is no API to query AOV. We are working on supporting the AOV API in the future release. Wu-cheng On Fri, Feb 5, 2010 at 7:19 AM, Ralf Schneider li...@gestaltgeber.comwrote: Hello, is there a possibility to query the hardware specs of the camera. I'm especially interested in the

[android-developers] Re: How to send motion Event down to another activity

2010-02-07 Thread Guobin
1. Whether the event can be send down to any thing behind the current activity. No, you can't. On the Android platform, you define an Activity's UI using a hierarchy of View and ViewGroup nodes. Home your activity are different activity, they have their own view hierarchy. Key events are always

[android-developers] Shared Heap concept in Android..

2010-02-07 Thread Swapnil Dalal
HI All, Does DVM supports Shared HEAP concept in android? Thanks n Regards, Swapnil Dalal. -- 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

[android-developers] Downloading App from store

2010-02-07 Thread Swapnil Dalal
Hi All, What is the procedure of installing application downloaded from any app store? Which module takes care of it from android. Thanks n regards, Swapnil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-07 Thread himanshu jain
@frank I already tried in different network at home and at office , I have been trying this on G1 at home i try on WIFI and at office at tried when WIFI is OFF and i am using ip address not host name. I am using Alarm manager which call service repeatedly after 5 minutes so once it throws

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-07 Thread himanshu jain
@prunicki You application was connecting with internet repeatedly?? if yes did you face this same issue and how did you work out that ? On Feb 7, 8:43 pm, himanshu jain himanshu@gmail.com wrote: @frank I already tried in different network at home and at office , I have been trying this

Re: [android-developers] Re: How to send motion Event down to another activity

2010-02-07 Thread sheng wang
Hi GuoBin, I understand what u mean below. I think that's the standard way the android deal with the event. Event goes through a current path within the activity. No event will go out of the current activity. As a surround way, is there any method that can let the current activity find out who

Re: [android-developers] Re: How to use RTP in Android?

2010-02-07 Thread satish bhoyar
Hi jarnaud, Thanks for the reply, Shall i google for it or is there any specific link which will have that info? thanks, satish On Mon, Feb 8, 2010 at 3:35 AM, jarnaud jark...@gmail.com wrote: Hi Satish, you might want to check the SIPDROID project... Really nice implementation of SIP/RTP

[android-developers] UI Testing

2010-02-07 Thread andrew_prunicki
Is there anything to test the UI of an Android app like Jemmy for Swing? -- 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: How to send motion Event down to another activity

2010-02-07 Thread Guobin
1. Possibly there are ways to find the activity behind the current one. Precondition: All activity are fullscreen. If your activity is the root activity, then Home is in behind. Otherwise find the previous activity in the task stack. 2. You could send the touch event to other activity, but it's

[android-developers] Re: UI Testing

2010-02-07 Thread andrew_prunicki
Of course right after I wrote this, I noticed the classes in android.test, including TouchUtils, which seems to have numerous methods for UI interaction. On Feb 7, 11:10 pm, andrew_prunicki andrew.pruni...@gmail.com wrote: Is there anything to test the UI of an Android app like Jemmy for Swing?

[android-developers] android-developers+subscr...@googlegroups.com

2010-02-07 Thread Peng Songbai
-- Thanks Best Regards, Peng Songbai -- 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] How can I scroll ListView by pixel?

2010-02-07 Thread NoraBora
I have a ListView which has many TextViews. Each TextView has different texts. They are usually 2 or more pages. How can I scroll this ListView by pixel? At first I thought scrollBy works but then it doesn't show the next item. Later I implemented with a few of dispatchTouchEvent(). but then

[android-developers] Map With Marker Intimation

2010-02-07 Thread Sasikumar.S
Hi, In my program i showed a Map. I'm having 5 latitude 5 longitude Points. By using that points i need to set the Marker in map. When the Marker is clicked a intimation should be showed. When i click the intimation it should go to another page.. My expectation is same like below link image

[android-developers] Re: Signing in to Google for Google Document access

2010-02-07 Thread Hugo Visser
There's no ClientLogin class in the android public api, but you can easy implement it with the instructions that are posted here: http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html. If you are targetting android 2.0 up only, you should use the built in AccountManager to get the

[android-developers] Need help:Any Opencore APi to get the decoded frame of a video into a buffer??

2010-02-07 Thread Latha Shivanna
Hi All Is it possible to get the decoded frame of a video in a buffer using Opencore Apis? Or is it like, the Opencore Media APis would directly update these frames on screen display? Any reply is greatly appreciated. Please do advise. thanks Latha -- You received this message because you are