[android-developers] Launch via URL issue

2011-05-27 Thread abhay mulye
Hi All,

I have an application which gets launched on the URL click.

Now if i get an SMS or in Calendar event i have a URL and i click on the
link to launch the application it works fine; i see splash screen followed
by login screen.
Then If i long home and go back to the SMS or Calendar it displays the
splash screen( which the launcher and reads the Intent ) of my application;
which is not expected.

Is there any way to handle this case; the Messaging app or Calendar app
should not display the application which they have launched.

I tried using the android:taskAffinity and android:allowTaskReparenting
flags in AndroidManifest file; but it did not help.

Any suggestions on this...?

Thanks and Regards;
Abhay

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Render a number of bitmaps very quickly

2010-09-30 Thread abhay mulye
Hi all,
I am developing the application, where i want to display the images coming
from the server, very quickly on to the device screen.
Its like server will send the updated image around every second & app should
render that images.
What is the best solution for this.
Which control to be used for this purpose : SurfaceView, ImageView,
GLSurfaceView, SurfaceFlingeror Canvas???

Need help on this issue as i could not find any solution till now on any
forum yet. :(.


Regards,
Abhay

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] SurfaceHolder changed : Stops Video playback

2010-09-17 Thread abhay mulye
Hi all,  i am developing the application which displays Video on the
SurfaceHolder.
When i run my video it plays well. But if i switch my application using
"Home key", & go to some other application.
Now if i come back by long Home key press to my application, my video does
not get displayed but audio continues.

This happens because, onPause() is called for Activity when Application is
switched. Thus the "SurfaceHolder" is destroyed, & next time no video is
displayed.

Anybody having a solution for this. Is this a common issue? .


Regards,
Abhay

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] BindException: Bad file number

2010-08-31 Thread abhay mulye
Hi All,

I am working with Android 2.2.
My aim is to Download a file from the server, for that i am using the
"HttpURLConnection".
For the first 'Go', its working fine & i am able to download the file
successfully.
But somehow the same code does not work second time (or more precisely after
some period of time).
I am getting the following log:

java.net.BindException: Bad file number
 at
org.apache.harmony.luni.platform.OSNetworkSystem.socketBindImpl(Native
Method)
 at
org.apache.harmony.luni.platform.OSNetworkSystem.bind(OSNetworkSystem.java:107)
 at
org.apache.harmony.luni.net.PlainSocketImpl.bind(PlainSocketImpl.java:184)
 at java.net.Socket.connect(Socket.java:1051)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.(HttpConnection.java:62)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionPool.get(HttpConnectionPool.java:88)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getHTTPConnection(HttpURLConnectionImpl.java:927)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:909)

java.net.SocketTimeoutException
 at
org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:564)
 at
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:61)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.readln(HttpURLConnectionImpl.java:1279)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.readHeaders(HttpURLConnectionImpl.java:1404)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.readServerResponse(HttpURLConnectionImpl.java:1355)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.sendRequest(HttpURLConnectionImpl.java:1339)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.doRequestInternal(HttpURLConnectionImpl.java:1656)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.doRequest(HttpURLConnectionImpl.java:1649)
 at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:1153)






So can anybody guide me to solve this issue..


Regards,
Abhay.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Retrieving Contact Information (Name, Number, and Email) from the Phone book

2010-06-09 Thread abhay mulye
Hi,

I am working on Android SDK 1.5, I need to read the person name, phone
number & Email ID from the phone book.
I searched on forums - net & got some  guidelines to read the contacts & the
phone number of a person.
But could not find any way to retrieve the email-id from phone book. So,
please help me for the same.

thanks,
Abhay.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en