Re: [android-developers] Re: can _ever_ the intent received by a BroadcastReceiver onReceive() method be null?

2013-07-10 Thread Piren
No point of being sure here... even if the current code is structured in a way that it shouldn't be null, nothing says it will stay like that in all future code revisions. Ever since i started getting null exceptions from android (not NullPointerException... a Null instead of an exception) i lea

Re: [android-developers] Record phonecall over Bluetooth

2013-07-10 Thread Piren
He probably didn't notice he's recording the sound of the speaker... On Wednesday, July 10, 2013 9:12:03 PM UTC+3, Kristopher Micinski wrote: > > How do you record a phone call normally when no headsets are > connected? You shouldn't be able to do this, ... > > Kris > > On Wed, Jul 10, 2013 a

Re: [android-developers] How can I get the reference to the top (or second top, or any one in the task) activity object

2013-07-10 Thread Linda Li
On Tuesday, July 9, 2013 11:30:37 PM UTC-5, TreKing wrote: > > > I already provided you a direct link to an Activity flag whose description > seems to match exactly what you want. What's the problem with that? > The link you posted is not what I want. It clear the activities when we relaunch th

Re: [android-developers] How can I get the reference to the top (or second top, or any one in the task) activity object

2013-07-10 Thread Linda Li
I do not think using default Gallery is not secure. I also use default camera intent in the app. I only need the picture. The picture is not secure: it is in the storage. So this would not be a problem. On Tuesday, July 9, 2013 1:39:59 PM UTC-5, Kristopher Micinski wrote: > > I guess my point is

Re: [android-developers] Re: can _ever_ the intent received by a BroadcastReceiver onReceive() method be null?

2013-07-10 Thread Palmer Eldritch
I suspect it can't be null *by construction* - I just can't pin it down in code (or in docs) It's nice to be sure Can somebody point to the relevant code parts ? I mean what paths lead to the onReceive being triggered ? Can we have a null intent in any of them ? On Thursday, July 11, 2013 4:1

Re: [android-developers] Re: can _ever_ the intent received by a BroadcastReceiver onReceive() method be null?

2013-07-10 Thread TreKing
On Wed, Jul 10, 2013 at 4:14 PM, Palmer Eldritch wrote: > I mean nobody knows ?? > > Do you ever check the intent for being null and if not why ? > Here's what you do. Assume it will not be null, then use ACRA or some other bug-reporting tool to handle uncaught exceptions. If you get a null poin

Re: [android-developers] How can I identify permanently certain builds of my app (for tracking)?

2013-07-10 Thread Steve Gabrilowitz
To my way of thinking, a preinstalled app can not be removed unless the device is rooted. If your app is preinstalled in this way then perhaps you can also arrange to have a special shared preferences xml file that serves only as an indicator of the preinstalled status. You say that the preferen

Re: [android-developers] How can I identify permanently certain builds of my app (for tracking)?

2013-07-10 Thread TreKing
On Tue, Jul 9, 2013 at 3:38 PM, user123 wrote: > I need to identify certain builds of my app permanently. > > I don't want to create a new app for this - the app has to be the same as > the "normal" one, which can be downloaded from Google Play. > These two statements are contradictory - if you w

[android-developers] Re: Modifying an String of Android Resource File (*.arsc)

2013-07-10 Thread giles ian
Hi Illyoung Choi, * * *Is it possible for you to share the code for the entire thing. i.e. * * * *1.Parsing* *2. Modifying * On Tuesday, June 21, 2011 8:09:12 PM UTC-7, Illyoung Choi wrote: > > Hi All. > > Last day, I made a simple application for parsing an Android Resource > File (*.arsc) and m

[android-developers] Re: Modifying an String of Android Resource File (*.arsc)

2013-07-10 Thread giles ian
Thanks Illyoung Choi for sharing your findings, great help... and dont bother narrow minded people like Zsolt Vasvari On Tuesday, June 21, 2011 8:09:12 PM UTC-7, Illyoung Choi wrote: > > Hi All. > > Last day, I made a simple application for parsing an Android Resource > File (*.arsc) and modify

[android-developers] Re: can _ever_ the intent received by a BroadcastReceiver onReceive() method be null?

2013-07-10 Thread Palmer Eldritch
I mean nobody knows ?? Do you ever check the intent for being null and if not why ? On Tuesday, July 9, 2013 3:46:41 PM UTC+3, Palmer Eldritch wrote: > > In other words : > > @Override > public void onReceive(Context context, Intent intent) { > final String action = intent.getActi

Re: [android-developers] How i can programatically downlaod our emails from gmail account ?

2013-07-10 Thread Ashish Sharma
Hi, java mail api is working fine for gmail account. can you please guide, how to use it for exchange server? On Saturday, July 6, 2013 10:27:20 PM UTC-8, Yaron Reinharts wrote: > > http://code.google.com/p/javamail-android/ > On 07/04/2013 12:20 PM, Ashish Sharma wrote: > > Hi, > > I want

Re: [android-developers] Record phonecall over Bluetooth

2013-07-10 Thread Kristopher Micinski
How do you record a phone call normally when no headsets are connected? You shouldn't be able to do this, ... Kris On Wed, Jul 10, 2013 at 1:48 PM, wrote: > I want to record a phone call on Android when a Bluetooth headset is > connected. I'm able to record a Phone call normally when no headse

[android-developers] Record phonecall over Bluetooth

2013-07-10 Thread amey523
I want to record a phone call on Android when a Bluetooth headset is connected. I'm able to record a Phone call normally when no headsets are connected. When I connect a Bluetooth headset the API records the phone call but there is no audio. Do I need to route the call via Bluetooth and if yes

[android-developers] How to use forefround in other no FrameLayout viewgroups

2013-07-10 Thread m3n0R
Hi everybody, I'm trying to mimic the holo blue effect on the Google Play and Google Music list rows. Till now, I've used selectable background, but this is a different effect over the row background. Si suppose they are using a nine patch image with 1dp grey border. I posted on StackOverflow

[android-developers] Re: Large amount of orders "not complete" over this weekend

2013-07-10 Thread fibercode
> > Seems like the issue is fixed now. It caught up with the charges from the > previous days. -- -- 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 fr

[android-developers] Setting height of a custom-view

2013-07-10 Thread dashman
I've got a custom view that's a child of a LinearLayout that's a child of a ScrollView. In layout xml file, the height of the custom view and LinearLayout is set as WRAP_CONTENT. I'd like to set the height of the custom view dynamically. @Override protected void onMeasure(int widthMeas