[android-developers] Communicating between servlet and activity

2011-08-24 Thread kypriakos
Hi all, I am running a servlet on iJetty that uses startActivity(intent) to start an activity. I can send data to the activity through Bundles but not sure how to send data back from the activity. I cannot use the startActivityForResult since the servet extends the HttpServlet. It has however

[android-developers] Re: Determining audio decoders available

2011-08-24 Thread James
Hi Mark, 1,This is only sample code demonstrate how to do it. As I have notified, it even *may not pass compile*. 2,Do you think any OEM who support some kind of codec, But distribute a device without a built-in corresponding media player ?? One thing more, My sample code could also detect if any

[android-developers] Re: image won't show

2011-08-24 Thread Jeremy Dagorn
Hi, Why you don't do something like that : String imageUrl = file:///android_asset/smiley.png; WebView wv = new WebView(this); // or findViewById in your case wv.loadUrl(imageUrl); On Aug 23, 9:49 pm, bob b...@coolgroups.com wrote:                 Anyone know why this image won't show?

[android-developers] Live video streaming over website

2011-08-24 Thread Ankit Kasliwal
Hello Everyone, Can any one tell me it's possible to do live video streaming from android phone to over web (For ex. i have web site where i put some link like link1, link2 and other on click of any link it open my live cam if i open my phone camera for video receding ) In short I want to show my

[android-developers] Re: Giving licenses as present.

2011-08-24 Thread Zsolt Vasvari
Yes, by refunding them, in effect, you terminate the business relationship with that customer. I've done this to one customer who had given me a bad rating and, even after I helped her and solved her issue (by her own admission), she still refused to revise the comment. So I refunded her and she

Re: [android-developers] Live video streaming over website

2011-08-24 Thread NaveenShrivastva
Yes this is possible easily in Android. On Wed, Aug 24, 2011 at 12:27 PM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Hello Everyone, Can any one tell me it's possible to do live video streaming from android phone to over web (For ex. i have web site where i put some link like link1,

[android-developers] Re: Android 3.2 with WXGA (720x1280) resolution bugs in portrait.

2011-08-24 Thread webmonkey
I think you are forgetting the System Bar at the bottom, it is always there and it is 48 pixels high On Aug 23, 11:14 pm, sblantipodi perini.dav...@dpsoftware.org wrote: Hi... I noticed that if I run my app on android 3.2 sdk with a 720x1280 resolution I have some important bugs. If I run

[android-developers] Socket programming android

2011-08-24 Thread Naveen
What is the best way for send request body to server socket and take response from server socket. -- 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

[android-developers] How to exit application

2011-08-24 Thread GopalaKrishnan D
i tried finish(); and System.exit(0); if i use any one means only current activity closed its not close entire app Which code i want to use close or exit entire app. -- ~* Regards* *GopalaKrishnan D* -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] How to exit application

2011-08-24 Thread NaveenShrivastva
Go to google and type this.i know you will get this question response by someone else but not a way to ask basic question on this developer grp. try to RD on google first. On Wed, Aug 24, 2011 at 12:49 PM, GopalaKrishnan D gopall...@gmail.comwrote: i tried finish(); and System.exit(0); if i

[android-developers] Re: Determining audio decoders available

2011-08-24 Thread b0b
In fact want to determine if MediaPlayer supports playback of WMA. Now that I think of it, the Android background music scanner must have that info somewhere, to index files it can manage. On Aug 24, 8:38 am, James 030440...@163.com wrote: Hi Mark, 1,This is only sample code demonstrate how to

[android-developers] How can I best identify my App?

2011-08-24 Thread Droid
Identification of my apps is proving difficult across developer page, buyers market pages, eclipse project name, phone app name, apk name. 1) My developer page does not give package names and is non- searchable. I have many apps. 2) The app name string for the phone and app name in buyers market

[android-developers] Re: How to exit application

2011-08-24 Thread Droid
System.exit(0) is not recommended because it messes up when a user brings the app back after a short pause. Horrible things can happen to what you've got in memory. Its not a clean or consistent memory wipe IMO. I think you have to work with the idea that activities are held in memory for a time

[android-developers] Re: BitmapFactory.decodeStream() blocking

2011-08-24 Thread Doug
Also, don't forget to consumeContent() on the HttpEntity you're reading. The doc suggests that it's required. Doug -- 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: Determining audio decoders available

2011-08-24 Thread Doug
On Aug 23, 11:38 pm, James 030440...@163.com wrote: 2,Do you think any OEM who support some kind of codec, But distribute a device without a built-in corresponding media player ?? One thing more, My sample code could also detect if any 3rd apps installed on the device has implements the codec.

Re: [android-developers] Re: How to exit application

2011-08-24 Thread Yahor Paulavets
Hello, I had same issue, found a solution and post it in the blog: http://softteco.blogspot.com/2011/07/how-to-close-activity-and-all-children.html Do not forget to say thanks in comments if this info is useful! :) Happy coding (: Best regards, Yahor On Wed, Aug 24, 2011 at 11:01 AM, Droid

[android-developers] Re: Determining audio decoders available

2011-08-24 Thread James
Hi b0b,as to decoder capabilities, There's java class in the source code which lists all supported codec. But It's hidden so probably you'd better not use it. If you've got android source code on hand. please view framework/base/ media/java/android/media/DecoderCapabilities.java for detailed info.

Re: [android-developers] Activity remains in focus for some time after calling finish()

2011-08-24 Thread Yahor Paulavets
Hello, Try to use this solution, in our corporate blog: http://softteco.blogspot.com/2011/07/how-to-close-activity-and-all-children.html It helps me to solve issue the issue how to close entire application. Happy coding (: Best regards, Yahor On Wed, Aug 24, 2011 at 8:35 AM, tushar sahni

[android-developers] Re: How to exit application

2011-08-24 Thread James
Very simple. If you are sure you are done, You could just kill yourself using android.os.process.killProcess(android.os.Process.myPid()); It's the same as linux shell command kill. On Aug 24, 3:19 pm, GopalaKrishnan D gopall...@gmail.com wrote: i tried finish(); and System.exit(0); if i use

Re: [android-developers] Re: getOrientation() madness

2011-08-24 Thread Yahor Paulavets
Hello, I had the same issue with determination of orientation for different devices: xoom, samsug galaxy tab, and samsung galaxy tab 10.1 The main trick, is that devices has theirs own 'natural'/'default' orientation. This orientation has index 0. For 10.1 samsung it is LANDSCAPE. For samsung

[android-developers] Re: Determining audio decoders available

2011-08-24 Thread b0b
Yeah I found it and it is what I need. Unfortunately System.loadLibrary(media_jni) fails on UnsatisfiedlinkException, probably because it is a system lib. Maybe this can be workarounded using native code and dlopen() but we're getting into more and more hairy territory. If only google in its

Re: [android-developers] SMS Notifications

2011-08-24 Thread Yahor Paulavets
Hello, I think it is not possible. Because there are could be another applications listen to the sms broadcast. Please update this thread if you find a solution. Best regards, Yahor On Tue, Aug 23, 2011 at 8:46 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: Hi, I developed a

[android-developers] ERROR/FFMpegMediaPlayer(3889): AV_LOG_WARNING: No accelerated colorspace conversion found from %s to %s.

2011-08-24 Thread Naveen
Android is not allowing me to place the large video on surface, it's Android - firmware(Video view) limitation, so resolving this issue need codec interface for place video on surface. i am trying to integrate codec using JAVA JNI. i am using ffmpeg library for video codec interface, that

[android-developers] Re: How to exit application

2011-08-24 Thread Droid
Its not always so simple to use android.os.process.killProcess(android.os.Process.myPid()); to close your app. 1) You cannot detect when the home button has been pressed so when to call killProcess? If you are lucky calling it in onStop() somehow may work but that can get very difficult if you

Re: [android-developers] how to get the view size after orientation changed

2011-08-24 Thread Ralph Bergmann
Hi, Am 23.08.11 19:05, schrieb Dianne Hackborn: You need to participate in the view hierarchy as a layout manager, do get the onSizeChanged() calls and such. Code like this is almost guaranteed to be broken. If you want to do stuff based on view layout, implement a layout manager. thank

[android-developers] com.android.quicksearchbox search history cleaner

2011-08-24 Thread vinaykant
Hi Friends, I want to clean search history of com.android.quicksearchbox programmatically. Did you guys implement it in past? or having any idea to start? My purpose is to make an app which can clean search history oh the quicksearchbox (the common one at home screen). Please help me. thanks

[android-developers] Re: Trouble programmatically setting default value of a Preference

2011-08-24 Thread jamesc
You should do something like: public void onCreate() { addPreferencesFromResource(R.xml.prefs); CheckBoxPreference pref = (CheckBoxPreference) findPreference(blargh); if(pref != null) { pref.setChecked(true); } } On Aug 23, 11:24 pm, b0b pujos.mich...@gmail.com wrote: I have a

Re: [android-developers] How to exit application

2011-08-24 Thread Mark Murphy
http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon/2034238#2034238 On Wed, Aug 24, 2011 at 3:19 AM, GopalaKrishnan D gopall...@gmail.comwrote: i tried finish(); and System.exit(0); if i use any one means only current activity closed its not close

Re: [android-developers] Re: Determining audio decoders available

2011-08-24 Thread Mark Murphy
On Wed, Aug 24, 2011 at 4:39 AM, b0b pujos.mich...@gmail.com wrote: If only google in its immense wisdom had provided MediaPlayer.isMimeTypeSupported()... Yes, it's a stunning omission. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Re: Determining audio decoders available

2011-08-24 Thread b0b
In the meantime the abomination belows works. I know: ...private api...might breakevil...don't do this What's really missing is a public API to enumerate decoders and their capabilities (in particular is decoding supported over HTTP). public Boolean isWMASupported() { try

[android-developers] Is it possible to do android application with Java SWING

2011-08-24 Thread HariRam
Hi Friends, Is it possible to do android application with java swing concept. If it is possible, can anyone give me a example. Most of the comments in web said that there is no possible to integrate java swing in android application. Even i did a sample application using java swing in android,

Re: [android-developers] Is it possible to do android application with Java SWING

2011-08-24 Thread Appaholics
There is no support for SWING in Android, though if you are interested in adding it you are welcome to extend the Android framework. On Wed, Aug 24, 2011 at 4:56 PM, HariRam hariram1...@gmail.com wrote: Hi Friends, Is it possible to do android application with java swing concept. If it is

[android-developers] Re: Is it possible to do android application with Java SWING

2011-08-24 Thread Mr RAM
Thanks, Do you have any reference for android with 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

Re: [android-developers] Re: Is it possible to do android application with Java SWING

2011-08-24 Thread Appaholics
I just stated that Android does not support it. How would I give references for it? On Wed, Aug 24, 2011 at 5:32 PM, Mr RAM hariram1...@gmail.com wrote: Thanks, Do you have any reference for android with swing. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: using MapView to display wallstreet

2011-08-24 Thread guich
I found a good starting point (based on as suggested by TreKing) here: http://groups.google.com/group/android-developers/browse_thread/thread/a41394bdccf43ef8/8a37fbc16fd3d674#8a37fbc16fd3d674 guich -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] what are the best practices for good coding skills and classes, methods, and variables naming +android

2011-08-24 Thread Naveen
what are the best practices for good coding skills and classes, methods, and variables naming +android -- 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

[android-developers] [Force Close]CursorIndexOutOfBoundsException: Index 4 requested, with a size of 4

2011-08-24 Thread Alaeddine Ghribi
Hello, I have some coordinates to show them as markers in map, plus, i want to display an AlertDialog descritpion when i tap on each marker, 3 of 4 markers well shows an AlertDialog but no the correct description, the 4th force closes the application with this logcat error: 08-24 12:28:35.942:

Re: [android-developers] Re: Is it possible to do android application with Java SWING

2011-08-24 Thread Ratheesh Valamchuzhy
Hi All I think these two langse uses diff virtual machines and the compiled class is diff, then it is not possible 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: AsyncTask question

2011-08-24 Thread pedramz
Thanks everyone for the information and suggestion. Regarding IntentService, what would be the advantage of using Intentservice as opposed to AsyncTask? On Aug 17, 6:10 pm, TreKing treking...@gmail.com wrote: On Wed, Aug 17, 2011 at 5:00 AM, pedramz pedra...@gmail.com wrote: What should I

Re: [android-developers] Re: Is it possible to do android application with Java SWING

2011-08-24 Thread Appaholics
The language is Java in both cases, if that is what you meant. I don't know what langse is. The compiled classes will be different because Android uses the Dalvik VM and your computer runs the normal Java VM. However if someone writes the SWING framework for Android you can use it. On Wed, Aug

[android-developers] Re: [Force Close]CursorIndexOutOfBoundsException: Index 4 requested, with a size of 4

2011-08-24 Thread lbendlin
indexes start at 0. If you have four data points they are at index 0, 1, 2 and 3. -- 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

[android-developers] Re: BitmapFactory.decodeStream() blocking

2011-08-24 Thread Streets Of Boston
Yep, especially if keep-alive is on, calling consumeContent() can prevent a lot of trouble :-) However, the trouble I saw when not calling 'consumeContent()', was that the response of a previous request was 'bleeding' into the response of the next request. -- You received this message because

[android-developers] ffmpeg jni codec issue

2011-08-24 Thread Naveen
Hello Android Community , I am facing issue for play large video Android is not allowing me to place the large video on surface, it's Android - firmware(Video view) limitation, so resolving this issue need codec interface for place video on surface. i am trying to integrate codec using JAVA

Re: [android-developers] Re: [Force Close]CursorIndexOutOfBoundsException: Index 4 requested, with a size of 4

2011-08-24 Thread Alaeddine Ghribi
So how can i solve it? I maked cur.moveToPosition(index-1); and i have always the same problem. Any other solution please? 2011/8/24 lbendlin l...@bendlin.us indexes start at 0. If you have four data points they are at index 0, 1, 2 and 3. -- You received this message because you are

[android-developers] Xperia™ active pressure sensor

2011-08-24 Thread Johan Abramsson
Hi, this is a news post to make note of this blog post by SonyEricsson Developer team: http://blogs.sonyericsson.com/wp/2011/07/26/get-your-apps-to-work-with-the-xperia%E2%84%A2-active-pressure-sensor/#more-3501 Questions regarding that blog post can be asked in this thread. Kind regards

Re: [android-developers] Re: [Force Close]CursorIndexOutOfBoundsException: Index 4 requested, with a size of 4

2011-08-24 Thread lbendlin
first of all you need to use the same approach for your map annotations. When you define their index, start at 0 as well and make sure they are consecutive. Secondly, rather than using a cursor you should do a raw SQL query using your annotation index as the filter. -- You received this

[android-developers] Re: Sony Ericsson Xperia Active-barometer sensor spec ?

2011-08-24 Thread Johan Abramsson
Hi, Judging from the specs when I read them, the pressure sensor will fulfill your requirements when it comes to measurement frequency and the altitude range. I do however not think that it has the resolution of 10 centimeters in altitude. Kind regards /Johan, Sony Ericsson Developer Program

[android-developers] getFragmentManager undefined

2011-08-24 Thread Wieger Aaron Visser
I need to get the viewpager up and running for a project I'm working on. SDK 2.2, compatibility v4. It's all working, except... getFragmentManager() is undefined. I can't seem to see it explicitly defined anywhere in code examples. Help? Thanks! -- You received this message because you

[android-developers] Emulator Compliance for Product Release?

2011-08-24 Thread ColorTheorist
Just a curious question, if as a developer, you find as a whole that it is necessary to make an application compliant with the emulator. Do some people actually download an app from the market with the intent on using it on their desktop away from their phone? I currently do not do testing on the

[android-developers] Facebook Share Crash in Android application

2011-08-24 Thread rokson
Hi Friends, I have a problem with Facebook publish in my android application. I implemented Facebook android SDK in my android application for publishing the updates.The application was submitted to android market on march 2011 and working fine with all Facebook activities. But from few days

Re: [android-developers] Re: getOrientation() madness

2011-08-24 Thread Greg Donald
On Wed, Aug 24, 2011 at 3:37 AM, Yahor Paulavets ypaulav...@agilefusion.com wrote: I have investigated and implemented the best way for determination of orientation: http://softteco.blogspot.com/2011/08/universal-way-to-detect-landscape-mode.html That's exactly what I ended up doing, comparing

[android-developers] Re: how to retrieve images from a sql database?

2011-08-24 Thread Abhi
The field type for image column is BLOB. And I have no idea what that means. I am trying to figure out a way to retreive BLOB data into my Android application and display it on the screen. On Aug 23, 9:39 pm, lbendlin l...@bendlin.us wrote: so you have an existing database. Can you look at the

Re: [android-developers] Re: Determining audio decoders available

2011-08-24 Thread Mark Murphy
Are you sure that AUDIO_DECODER_WMA will always be the 0th indexed object in the constants array? I haven't looked at the code, and I haven't tried getting at an enum via reflection. That's the big thing that leaps out at me (besides the private APIs issue you mention). On Wed, Aug 24, 2011 at

Re: [android-developers] getFragmentManager undefined

2011-08-24 Thread Mark Murphy
With the Compatibility Library, you should be using getSupportFragmentManager(). On Wed, Aug 24, 2011 at 9:43 AM, Wieger Aaron Visser aaron.vis...@gmail.com wrote: I need to get the viewpager up and running for a project I'm working on. SDK 2.2, compatibility v4. It's all working, except... 

[android-developers] Re: getFragmentManager undefined

2011-08-24 Thread blake
Yeah, if you are using the compatibility lib, you need to look for getSupportFragmentManager(), not getFragmentManager() -blake On Aug 24, 9:43 am, Wieger Aaron Visser aaron.vis...@gmail.com wrote: I need to get the viewpager up and running for a project I'm working on. SDK 2.2, compatibility

[android-developers] Re: getFragmentManager undefined

2011-08-24 Thread Wieger Aaron Visser
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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] larger layout

2011-08-24 Thread bp1
Hello, I am a newbie to android development. So please be nice. The layout in something like angry birds. Where the layout is bigger than the screen. And you can scroll back and forth. How can this be done? thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-24 Thread Lewisou
I think it is a webview issue. I agree with you, Kris. Lewis On Aug 19, 2:13 am, Kristopher Micinski krismicin...@gmail.com wrote: On Thu, Aug 18, 2011 at 9:53 AM, Raziel23x raziel...@gmail.com wrote: I do not want to hide it i want it to download inside the application itself not have it

[android-developers] Send Binary sms to any device - without SmsManager

2011-08-24 Thread cync
Hi All. Is there a way to send binary sms to any cellphone ? SmsManager - sendDataMessage send binary sms to another Android device in a specific port. I need to send it to any device. Should i try NDK to do this ? Thanks in advance -- You received this message because you are subscribed to

[android-developers] Run Ping on Android

2011-08-24 Thread Luiz Carvalho
Hello Guys I've got a problem. I can't run ping on emulator, even rooted, only in my Galaxy 5. Using this procedure: proc = Runtime.getRuntime (). exec (su); DataProc = new DataOutputStream DataOutputStream (proc.getOutputStream ());

[android-developers] How to communicate flash between android

2011-08-24 Thread YoungnamPark
Hi! I am developing game and education contents written in Flash. I think Flash utility can give all application program without changing a lot. Simple modification of it is very powerful. But 1 problem comes to me. When Flash contents want to be used API function, How can I approach it? Specially

[android-developers] Passing data back from Renderscript......

2011-08-24 Thread svlad
Has anyone found a method for passing data back to the framework from renderscript? It's clear from the documentation that modifications to allocated memory are one-way operations i.e. modifications in the framework can be sync'd to the script, but not vice versa. I have been experimenting with

[android-developers] Android not responding(ANR) is there in which file.

2011-08-24 Thread Nireesha Yarlagadda
Which file actually contain ANR -- 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] Error in AVD

2011-08-24 Thread hasi era
when i go launch AVD it comes this error [2011-08-19 13:26:09 - Mytest] Android Launch! [2011-08-19 13:26:09 - Mytest] adb is running normally. [2011-08-19 13:26:09 - Mytest] Performing com.hasi.work.mymain activity launch [2011-08-19 13:26:09 - Mytest] Automatic Target Mode: launching new

[android-developers] Is there possibility to compress the audio and video file programmatically?

2011-08-24 Thread Teja Manthena
I am recording the video through intent,it is taking 3mb for 30sec.I want send it to server and retrieve it list to play it is taking more time to send the video file to server and play it.So I think by compressing it we can reduce the size of same video.Then it may take less time.I did not find

[android-developers] [openGL ES 1.1] [Texture compression] etc1 mipmap

2011-08-24 Thread Arm7
When I activate the mipmaping on uncompressed texture, all is working perfectly. When I do it on ETC1 texture, the texture is blank, certainly because the complete set of mipmaps was not given. The code is very simple and works on iPhone (with PVR compression, of course). It doesn't work

[android-developers] File saved from MediaRecorder does not play in VLC

2011-08-24 Thread Octavian Costache
Hi, I'm trying to figure out a way to play back on my Mac the audio file I recorded on Android. Here's the code I'm using mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);

[android-developers] pmem mmap fails second time onwards when it is done multiple times

2011-08-24 Thread Prabhanjan
hi, this is my forst post. If i'm doing anything wrong please correct me. Issue: in cameraservice handlepreview for a specific feature we need to unregister and register buffers(ISurface::BufferHeap) for preview LayerBuffer. i am trying to unregister the buffers for a copule of

[android-developers] Face Feature Detection Nose,Mouth,etc..

2011-08-24 Thread Mike Nelson
So android has this great FaceDetector class which tells you where faces are, but i was wondering if anyone knows of any good code that can tell me where the nose and mouth are? and also the maybe the bounds of the actual head? I've looked around the net a lot and found a lot of math-heavy papers

[android-developers] Repaint MainActivity through Service

2011-08-24 Thread Raimund
Hello, I use my Main Activity to paint Text. Now Ive a Service in Background that listens to a bluetooth device. If a button on the device is pressed I insert values in the local database and want to repaint the correct value in my Main Activity. Everything works fine - just the repaint does not

[android-developers] videoaudio conferencing apps

2011-08-24 Thread Anoop C
hello, I'm beginner in android. Looking for video conferencing apps. 1) More than 7 way video conferencing 2) More than 10 way audio conferencing. Is it available please sent the links or else help me to start the coding. I'm stuck with my project -- You received this

[android-developers] Error while compiling apk through ant, Settings.System.putInt

2011-08-24 Thread matrixyb
Heey how is everybody?? i'm a beginner in android world, i saw some lessons how to make you own app but i got some errors, hope that you can help me to fix them here is my .java file package com.KR.MySettings; import android.app.Activity; import android.os.Bundle; import android.view.View;

[android-developers] TextToSpeech / OnUtteranceCompletedListener not working

2011-08-24 Thread Ralph Grove
I'm having a problem with the OnUtteranceCompletedListener in TextToSpeech. In execution of the code below, the listener is registered successfully, but OnUtteranceCompleted is never executed. I tried this with both the Eclipse emulator (2.3) and an HTC phone (2.2). I saw some earlier reports of

Re: [android-developers] Re: HTTPGet synchronous or asynchronous call???

2011-08-24 Thread wu kunting
start a thread to do 2011/8/19 William Ferguson william.ferguson...@gmail.com Wrap the call in a Runnable that you hand off to another Thread. Or any of dozens of other ways of executing async. On Aug 19, 3:44 pm, Atik atik0...@gmail.com wrote: Hi Kumar, Thanks for the useful answer

[android-developers] Accessing Home Screen

2011-08-24 Thread Abdulla Al Chalati
Hi, I am wondering if i can switch between Home Screens to the right and left programmatically through a service for example. If not, would it be possible if i created my own Home Screen?!?! Thanks -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] navigate to anotherapp activity

2011-08-24 Thread rambabu mareedu
ThankQ Appahollcs On Fri, Aug 19, 2011 at 11:49 PM, Appaholics raghavs...@appaholics.inwrote: http://tinyurl.com/4xgevk8 This is the last link I am sending you. Use Google unless you get an error or have some not so common problem. Thanks On Fri, Aug 19, 2011 at 11:45 PM, rambabu

[android-developers] SoapFault - faultcode: 'a:DeserializationFailed' faultstring: 'The formatter threw an exception while trying to deserialize the message: There was an error while trying to deseria

2011-08-24 Thread Navneet Jain
Hi, I am facing problem in calling my webservice InsertUserInformation operation: My webservice can be accessed using below URL: https://www.enmapps.com/Services/MobileCloudService.svc?wsdl MY MainActivity Class code is as follows: package com.test.android; import org.ksoap2.SoapEnvelope;

[android-developers] Larger screen

2011-08-24 Thread bp1
Hello, I am new to android development. I would like to have a screen that is similar to angry birds. Where the screen is larger than the view-able area. and the user can move a viewable section around a bigger area. I don't really want 2 layouts. where a swipe moves between the 2. (Not

[android-developers] In-App Billing Question

2011-08-24 Thread Scott Allender
I am attempting to integrate in app billing in an application. My billing service binds to Google's service fine, but when I send the CHECK_BILLING_SUPPORTED request, I always receive a RESULT_BILLING_UNAVAILABLE. My phone's main account is set up as a test account, and I have uploaded the APK

[android-developers] how to change the media volume and keep the notification in bar even when music is paused in mediaplayer service?

2011-08-24 Thread Kev Liu
Hi everyone, I am kind of new to programming. I want to develop a music player app with a service that plays music in the background. Is there a way to keep the notification in bar and change the media volume even when the music in paused? Thanks! -- You received this message because you are

[android-developers] Re: Simulate GPS Failure

2011-08-24 Thread Lew Bloch
Parking garages have worked very well to block GPS and other signals in my experience. Nathan: How do you do a mock location provider? -- Lew On Tuesday, August 23, 2011 6:12:05 PM UTC-7, davemac wrote: You might try holding it inside your kitchen oven (oven not turned on of course). -

Re: [android-developers] Re: [Force Close]CursorIndexOutOfBoundsException: Index 4 requested, with a size of 4

2011-08-24 Thread Alaeddine Ghribi
You mean that i add a List of String in the class that extends ItemizedOverlay(like the list of geopoints)? Then make a raw query and pass the index as parameter on the ontap(index) function? public class ItemizedOverlayPerso extends ItemizedOverlayOverlayItem { private ListGeoPoint points

Re: [android-developers] Android not responding(ANR) is there in which file.

2011-08-24 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse. IIRC, there should be a stack trace that will indicate where the ANR occurred. If not (it has been a very long time since I got an ANR and did not know what caused it), you may have to sprinkle Log statements or breakpoints in your code to

[android-developers] android volume change listener

2011-08-24 Thread Kev Liu
Hello Is there any way to listen for volume changes with an android service and react to that? Btw how do the google music app allow the user to control the media volume even when the music is playing in the background? Thanks! -- You received this message because you are subscribed to the

[android-developers] Problem displaying Google Latitude location badge in Android WebView

2011-08-24 Thread Leigh Walker
I'm having trouble getting a Google Latitude location badge to display correctly in an Android WebView. I am expecting something like this: http://dl.dropbox.com/u/4234644/Capture.JPG with a map image/photo. But I am getting this: http://dl.dropbox.com/u/4234644/device-2011-08-16-203442.jpg

[android-developers] camera preview - android

2011-08-24 Thread Spoo
I am implementing a simple camera app and I see this in developer site: After taking a picture, preview display will have stopped. To take more photos, call startPreview() again first I am calling: camera.stopPreview(); camera.release(); in surfaceDestroyed() which is called after

[android-developers] How to pass object as soap request in Android

2011-08-24 Thread christus valerian
How to pass Soap request for this kind of webservice WEBSERVICE CODE: Imports System.Web.Services Imports System.Web.Services.Protocols Imports System.ComponentModel ' To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. '

[android-developers] Adding Timestamp in Monkey Testing logs

2011-08-24 Thread Mr. Test
Hi guys, Does anyone knows how to add timestamp in monkey logs just we add in logcats with attribute -v time. Ofcourse we are getting time in monkey logs but that time is total elapsed time. So can we get time of each event that when this or that event happened (for ex: 08-20 01:36:16.750 )

[android-developers] ActivityInstrumentationTestCase2 issues - test hangs because of invalidate() call in the code I'm writing a test for

2011-08-24 Thread Akos Cz
I'm implementing a test for some code I've written which I have distilled down into a sample project pasted below. The problem I am having is that the test hangs the test runner and none of the test in my test case run. I have tracked the problem down to a call to invalidate() in

[android-developers] Gallery sets position after TextView.setText()

2011-08-24 Thread Matthew Patience
I've got a fairly complicated layout going on that consists of 2 galleries which hold layouts themselves as the children, and also an additional timer counting down to an event. My issue is that I'm updating the countdown using a Handler that runs every 1000ms that calculates time until the event

[android-developers] Large numbers for getCid and getLac

2011-08-24 Thread Benjamin
Hello all, I know that someone already asked this question before :http:// groups.google.com/group/android-developers/browse_thread/thread/ b8ae536a3ae444f3# but I still don't understand fully. I hope someone can explain this to me. I retrieve the Cell Id and the location area code with : ...

[android-developers] how to append existing file in android

2011-08-24 Thread Piyush Angre
hi i want to add data in xml file which i already have file on sd card. so how to append data in that file??? -- 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] Use the content observer to detect changes in the ringer volume and log it?

2011-08-24 Thread Kev Liu
Can someone give me a piece of code which can use the content observer to detect changes in the ringer volume and log it please?? 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] how much time android market to appear app after publishing

2011-08-24 Thread C++ Narayanan
This is narayanan. This morning i published my application filled all the requirements details and uploaded the signed application in developer console. and the Developers console home page shows application is published but android market not showing my application till now! Dont know wats going

[android-developers] dead LCD... I need to mount the phone as an external drive

2011-08-24 Thread anadashmaria
I have not installed any sort of emulator or client software, or backup assistant on the original motorola droid. the LCD is unresponsive so I cannot enable USB mode. I am running Windows but able to get LINUX installed if need be. I need to know how to remotely mount the phone as an external USB

[android-developers] print current time date on activity

2011-08-24 Thread dixit patel
i want to make an application in which print current time date of the phone on the activity. -- 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] Automatic date tagging feature on capture of snap

2011-08-24 Thread sagar
hi, I m new in Android developer world. I want to tag a date to snap by which is capture by my camera automatically. so plz help me out frm this problem nd give explanation abt dat probelm so i can understand it better way thank u!!! -- You received this message because you are subscribed

[android-developers] Re: Vector

2011-08-24 Thread blake
Chris is right, that gets rid of the error, but I bet it is not what bob is trying to accomplish. Chris' solution will create a Java array of 9 Vectors. I have a couple of suggestions, here: 1) Don't ever use Vectors. They are historical cruft. Use List and ArrayList 2) Don't mix generics and

Re: [android-developers] Accessing Home Screen

2011-08-24 Thread Mark Murphy
On Fri, Aug 19, 2011 at 8:33 AM, Abdulla Al Chalati abou...@gmail.com wrote: I am wondering if i can switch between Home Screens to the right and left programmatically through a service for example. Not in general. If not, would it be possible if i created my own Home Screen?!?! Most

[android-developers] scrolling div makes true page flicker

2011-08-24 Thread rmahnovetsky
If I create a scrolling div then the next time I click a link the page flickers. How can I stop the page from flickering. I can stop the page from flickering if I make the content of the div hidden or I set hardware accelerated to false. This also happens in the android honeycomb browser. Here

  1   2   3   >