[android-developers] set notification tone programatically

2012-04-21 Thread Amit Mangal
Hi there, Is there any way to set notification tone programmatically ? i want to set my notification tone. 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

[android-developers] Activity stack.

2012-04-21 Thread Put_tiMe
I have an activity that launches another activity, like let's say facebook's "post to wall" activity. Let's say facebook app was already running, and you were in "what's on your mind" screen. When my app launches the facebook's "post to wall" activity, and in that activity I press 'Back", the

[android-developers] APK Expansion File Download exception

2012-04-21 Thread jb
Hi, I recently impleted the APK Expansion File code, described in http://developer.android.com/guide/market/expansion-files.html, into my app. I updated the manifest, created the Service and Receiver files and update my main activity onCreate() to conform to the instructions in the guide. I creat

[android-developers] GeoCoder.getFromLocationName when using bounding box returns results outside bounding box

2012-04-21 Thread James Black
Hello, I am trying to use a bounding box to limit the locations returned to the users, but I don't see why this isn't working. This is the bounding box, and the center of where I am doing my offset: 35.71699581199971 < 36.0049961 < 36.29299638800029 <== latitude -84.3104074880003 < -84.0224072

Re: [android-developers] how to make real full screen app on android 4.0.3?

2012-04-21 Thread Baodong Chen
在 2012年4月21日星期六UTC+8下午7时32分29秒,Mark Murphy (a Commons Guy)写道: > > You cannot get rid of the system bar on a tablet, if that is what you > are trying to do. > -->yes,i want to do that! but viddo player can do it?how can i? > On Sat, Apr 21, 2012 at 7:15 AM, Baodong Chen > wrote: > > hi,all: >

Re: [android-developers] Re: AsyncTask in Android 4.0

2012-04-21 Thread Romain Guy
> I know the Android team is just trying to provide a > helper functionality, but to change the default behavior like this is > yet another API sin; IMHO FWIW the parallel/serialized behavior was not initially documented, on purpose. The sole role of AsyncTask was to help not block the UI thread,

[android-developers] Re: OpenGL lockups in 2.2

2012-04-21 Thread Robert Green
We just did a big profiling, optimizing and tuning session on our engine and found that we had LOTS of redundant Shader and Geometry binds and unbinds. We found that we never need to unbind from shaders or disable vertex attributes because they are automatically all disabled when switching shaders

[android-developers] Re: How to upload large video files to FTP Server

2012-04-21 Thread Chris Stratton
On Saturday, April 21, 2012 1:28:39 AM UTC-4, ashish wrote: > > Hi guys i am getting a problem on uploading large video files to ftp > server,files are uploading but the data got courrpted and when we > download that file,it is not playable and showing file is > courrpted,could anyone please hel

[android-developers] Re: Opengl ES scaling (zoom out) shows rare square tiles on my textures. How to avoid it?

2012-04-21 Thread Alexander Mikhnin
Change zNear and zFar parameters in GLU.gluPerspective(gl, 45.0f, (float)width / (float)height, 0.1f, 100.0f) to 1 and 1000. If it helps then your square is near far clipping plane. пятница, 20 апреля 2012 г., 19:41:54 UTC+4 пользователь saex написал: > > Hi > > I'm displaying a OPENGL ES 1.X squ

[android-developers] Re: Hidden fragments (and animations) after a rotation

2012-04-21 Thread Nadeem Hasan
3/ In your code you re-add the Fragment to the container even if it was > found. It doesn't do harm, but this is unnecessary because the framework > already does it for you. The FragmentTransaction should be inside the if. > You are right, the fragment needs to be added to the container only

[android-developers] Re: Hidden fragments (and animations) after a rotation

2012-04-21 Thread BoD
Thanks for answering. However, 1/ I test savedInstanceState because when it is null it means the Activity was created for the first time (in which case I instantiate and add the fragment). After a rotation it is not null - I agree it is not clear and I should look for the Fragment with a tag in

[android-developers] silent sms notification programaticaly

2012-04-21 Thread Amit Mangal
Hi there, I want to set sms notification programaticaly silence. is there any way to set sms notification tone programaticaly silent. 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-deve

Re: [android-developers] how to make real full screen app on android 4.0.3?

2012-04-21 Thread Mark Murphy
You cannot get rid of the system bar on a tablet, if that is what you are trying to do. On Sat, Apr 21, 2012 at 7:15 AM, Baodong Chen wrote: > hi,all: > i have an app on android ics for pad,and i want my app to cover the > whole > screen,but > android:theme="@android:style/Theme.Black.NoTitleBar.

[android-developers] how to make real full screen app on android 4.0.3?

2012-04-21 Thread Baodong Chen
hi,all: i have an app on android ics for pad,and i want my app to cover the whole screen,but android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" and setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION); DO NOT work for me...help! -- You receive

Re:: [android-developers] Re: AsyncTask in Android 4.0

2012-04-21 Thread Kostya Vasilyev
Or one could want default serialized execution on 3.0 and prior, in case of issues in third party code. Looking at this more broadly, this is where I consider the framework somewhat lacking. It contains ready to use solutions for a lot of things, and using them is generally very simple and gets t

[android-developers] Re: AsyncTask in Android 4.0

2012-04-21 Thread b0b
On Saturday, 21 April 2012 05:39:30 UTC+2, William Ferguson wrote: > > The real problem that is see with this change is that while you can modify > all of your own uses of AsyncTask to suit you can be entirely hamstrung by > one or more 3rd-party libraries that are also using AsyncTasks. > >> >

Re: [android-developers] How to stream Tv Channels in an android app

2012-04-21 Thread Jim Graham
On Sat, Apr 21, 2012 at 01:57:43AM -0700, Ritesh__M wrote: > Hi i want to live stream some tv channels in my android app like this > app(https://play.google.com/store/apps/details? > id=com.spb.tv.digivive.free&feature=search_result). Ok, whatever. So get started. > can any body give me some ide

[android-developers] How to stream Tv Channels in an android app

2012-04-21 Thread Ritesh__M
Hi i want to live stream some tv channels in my android app like this app(https://play.google.com/store/apps/details? id=com.spb.tv.digivive.free&feature=search_result). can any body give me some idea how to live stream tv channels .i have no problem in coding client side android app.my problem is

[android-developers] How to stream Tv Channels in an android app

2012-04-21 Thread Ritesh__M
Hi i want to live stream some tv channels in my android app like this app(https://play.google.com/store/apps/details? id=com.spb.tv.digivive.free&feature=search_result). can any body give me some idea how to live stream tv channels .i have no problem in coding client side android app.my problem is

[android-developers] How to stream Tv Channels in an android app

2012-04-21 Thread Ritesh__M
Hi i want to live stream some tv channels in my android app like this app(https://play.google.com/store/apps/details? id=com.spb.tv.digivive.free&feature=search_result). can any body give me some idea how to live stream tv channels .i have no problem in coding client side android app.my problem is

Re: [android-developers] Re: How to upload large video files to FTP Server

2012-04-21 Thread asheesh arya
please upload your logcat output and let us know what actually problem you are facing. may be somewhere you missing some permission in your manifest 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] Re: How to upload large video files to FTP Server

2012-04-21 Thread Zsolt Vasvari
Find out what caused the corruption and fix it. On Saturday, April 21, 2012 1:28:39 PM UTC+8, ashish wrote: > > Hi guys i am getting a problem on uploading large video files to ftp > server,files are uploading but the data got courrpted and when we > download that file,it is not playable and sho