Re: [android-developers] Audio streaming application

2012-12-22 Thread Talha Qamar
no right now it does not support it.

On Sat, Dec 22, 2012 at 12:03 PM, Asheesh Arya asheesharya...@gmail.comwrote:

 Please find the enclosed attachment containg source code to play live
 audio streaming from server

  --
 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


-- 
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

Re: [android-developers] Audio streaming application

2012-12-22 Thread Asheesh Arya
What? Can You Elaborate?

-- 
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

Re: [android-developers] Re: How to delete app in new console

2012-12-22 Thread Keith Wiley
On Friday, December 21, 2012 6:02:10 PM UTC-8, TreKing wrote:
 

 It's also fantastic because the new app made in the new console doesn't 
 appear in the old console, so you can't delete it that way. Womp womp.


YEP!  I've noticed that too.  It defies rationalization.  Sigh. 

-- 
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

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-22 Thread Jonathan S
onDestroy - The final call you receive before your activity is destroyed. 
This can happen either because the activity is finishing (someone called *
finish()* on it, or because the system is temporarily destroying this 
instance of the activity to save space. You can distinguish between these 
two scenarios with the isFinishing() method.

onStop - Called when the activity is no longer visible to the user, because 
another activity has been resumed and is covering this one. This may happen 
either because a new activity is being started, an existing one is being 
brought in front of this one, or this one is being destroyed. Followed by 
either onRestart() if this activity is coming back to interact with the 
user, or onDestroy() if this activity is going away.

finish() will call onDestroy() but not onStop()

-- 
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

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-22 Thread Mark Murphy
On Sat, Dec 22, 2012 at 1:59 PM, Jonathan S xfsuno...@gmail.com wrote:
 onDestroy - The final call you receive before your activity is destroyed.
 This can happen either because the activity is finishing (someone called
 finish() on it, or because the system is temporarily destroying this
 instance of the activity to save space. You can distinguish between these
 two scenarios with the isFinishing() method.

That is a documentation flaw. Android does not destroy this instance
of the activity to save space, except by terminating the entire
process. isFinishing() will distinguish multiple reasons for onPause()
and onStop() being called (e.g., BACK will cause isFinishing() to
return true, HOME will cause isFinishing() to return false).

 finish() will call onDestroy() but not onStop()

False. What lifecycle methods will be called on an activity when
finish() is called depends on the state of the activity at that time.
If the activity has not yet been paused, onPause() will be called. If
the activity has not yet been stopped, onStop() will be called. Then,
onDestroy() will be called.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.4 Available!

-- 
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


Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-22 Thread Jonathan S
Did you look in 
http://developer.android.com/guide/components/tasks-and-back-stack.html 
when you use singleTop

On Friday, December 21, 2012 2:26:25 AM UTC-5, Amit Dwivedi wrote:

 i also have a similar problem... please have a look on my Detailed 
 Questionhttp://stackoverflow.com/questions/13928591/a-strange-behavior-of-android-activities-fragments-and-intent


-- 
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] How to make image tiles with white text overlays like Flipboard

2012-12-22 Thread pawpaw17
Hi Guys,

Can anyone suggest how do create UI elements like what is there on the 
Flipboard landing page? Not the animation on the flip, but the tiled layout 
itself (the tiles with either a solid color or an image with while text 
that responds to button presses).

Thanks so much in advance for any pointers.

Best,

pawpaw17

-- 
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] Re: android emulator

2012-12-22 Thread jtoolsdev
Do you mean an emulator that does not require someone to download the whole 
SDK just to test or review your app?  A reviewer used the Bluestacks beta 
last year to review one of my apps and I provided him a review copy of the 
app and instructions on how to install it using Bluestacks.

On Tuesday, December 18, 2012 7:18:27 AM UTC-8, bharani wrote:

 Hi,

 For android application testing is there any free open source emulators .

 -- 
 Regards
 B.S.Bharanikumar
 http://php-mysql-jquery.blogspot.com/


-- 
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] setting the opacity of an activity

2012-12-22 Thread dashman
i have an activity and would like to set the alpha of the background.

LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=match_parent
android:layout_height=match_parent
android:background=#20ff
android:orientation=vertical 

i'm setting the above - but i'm not seeing the underlying activity (the one
that started this one).


-- 
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] Re: setting the opacity of an activity

2012-12-22 Thread Nobu Games
Activity views are not stacked on top of each other.

On Saturday, December 22, 2012 6:01:45 PM UTC-6, dashman wrote:

 i have an activity and would like to set the alpha of the background.

 LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
 android:layout_width=match_parent
 android:layout_height=match_parent
 android:background=#20ff
 android:orientation=vertical 

 i'm setting the above - but i'm not seeing the underlying activity (the one
 that started this one).




-- 
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] layout problem

2012-12-22 Thread dashman
I've got 3 View elements that i'd like to display at the center
of the page - centered vertically and horizontally.

for the life of me - i can't get it to work.

i've tried layout_gravity set to center_vertical - but it does only one 
element.

maybe i need to group the 3 elements under another layout and then
do a center_vertical on that???

?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=match_parent
android:layout_height=match_parent
android:orientation=vertical 

ImageView
android:id=@+id/imageView1
android:layout_width=wrap_content
android:layout_height=wrap_content
android:src=@drawable/hint /

TextView
android:id=@+id/editText1
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text= 
/TextView

Button
android:id=@+id/button1
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_gravity=center_vertical|center_horizontal
android:text=Got it! /
 
/LinearLayout


-- 
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

Re: [android-developers] Audio streaming application

2012-12-22 Thread Ali
Thanks Ashish

On Saturday, December 22, 2012 10:03:58 AM UTC+3, asheesh arya wrote:

 Please find the enclosed attachment containg source code to play live 
 audio streaming from server


-- 
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] How to create a Android Launcher ?

2012-12-22 Thread mohammed Nuhail
I want to create launcher in android ? Can any one please help me with it ?

-- 
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] Re: How to create a Android Launcher ?

2012-12-22 Thread skink


mohammed Nuhail wrote:
 I want to create launcher in android ? Can any one please help me with it ?

http://stackoverflow.com/questions/6730982/info-about-action-main-and-category-launcher-in-android-manifest

pskink

-- 
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] Can two applications that run in the same process have different STATIC object values?

2012-12-22 Thread AndroidCompile
 

I created two Android applications that share the same user Id 
(sharedUserId) as well as the same process. In the first app, on startup, I 
set a static int variable to 1 (it's default is 0). In the second app, I 
load (using reflection) the same class from the other app and read the 
static int variable. I read 0.

Since both applications run on the same process, I would expect them to 
share the same static values, no? Can anyone tell me what the mechanism 
underneath does? (are they using, maybe, different apk/dex loaders and that 
causes this behavior?)

-- 
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