[android-developers] Re: How does Manifest recognize the particular activity as a main or first activity in android?

2014-02-19 Thread Jose_GD
Have you tried to run a project with this manifest? Which activity shows first? El miércoles, 19 de febrero de 2014 02:26:26 UTC-3, Meena Rengarajan escribió: Hi all, I am having muliple activities named as first, second, third and fourth activity. I have to launch third activity (ie

[android-developers] Questions about copied code.

2014-02-19 Thread Tobiah
I'm using the code below to read data from a bluetooth scanner. I basically copied it off of the net, so I have some questions about the code. 1) There is a check for bytesAvailable that will usually fail, so the code will just spin, I assume, wasting CPU and battery. Would it be better

[android-developers] Re: SharedPreferences not Thread Safe

2014-02-19 Thread MrMrs D
Is this still the case ? Anyone went through ? There is some confusion on this floating around: http://stackoverflow.com/questions/4693387/sharedpreferences-and-thread-safety On Tuesday, February 24, 2009 5:39:17 AM UTC, rod wrote: It appears to me that the SharedPreferences implementation is

[android-developers] How to query a string from a specific library project?

2014-02-19 Thread sushant sharma
I have an android project A which imports another android project B. B is a library project and has some strings. I intentionally keep a different string with the same name in the resources of project A. So, in short, I have 2 different strings (one in A, one in B) withe same name. The problem

[android-developers] Re: Android 4.4 WebView cannot load content:// urls in html page

2014-02-19 Thread Henrik Lindqvist
This is a app breaking change. Android's content sharing is built around content:// uri's, this make that impossible. Every one please star: https://code.google.com/p/android/issues/detail?id=63033 On Friday, January 10, 2014 8:30:05 PM UTC+1, ankur wrote: We found some behavior changes on

Re: [android-developers] Re: Android 4.4 WebView cannot load content:// urls in html page

2014-02-19 Thread Kostya Vasilyev
Oh, if that was the only WebView breakage in 4.4 :) -- K 2014-02-20 0:42 GMT+04:00 Henrik Lindqvist henrik.lindqv...@gmail.com: This is a app breaking change. Android's content sharing is built around content:// uri's, this make that impossible. Every one please star:

Re: [android-developers] How to query a string from a specific library project?

2014-02-19 Thread TreKing
On Wed, Feb 19, 2014 at 2:32 PM, sushant sharma sushant...@gmail.comwrote: Is there a way I can achieve what I desire? I want to get different strings. Can you just define two different strings? -

[android-developers] Spinner in tabwidget

2014-02-19 Thread Rahul Kaushik
Hello I want to create a tab widget in which have a previous button ,a spinner then again a next button When user expand the spinner and click on any options it should work like regular button in tab widget and click on next button it should show me the next tab data and when i click on prevois

[android-developers] Re: SharedPreferences not Thread Safe

2014-02-19 Thread gjs
Hi, See also - http://developer.android.com/reference/android/content/Context.html#MODE_MULTI_PROCESS http://developer.android.com/reference/android/content/Context.html#getSharedPreferences(java.lang.String, int) This flag helps for single process, but I find that it is still NOT multi

Re: [android-developers] Spinner in tabwidget

2014-02-19 Thread TreKing
On Thu, Feb 20, 2014 at 12:19 AM, Rahul Kaushik rahulkaushi...@gmail.comwrote: I want to create a tab widget in which have a previous button ,a spinner then again a next button When user expand the spinner and click on any options it should work like regular button in tab widget and click

[android-developers] Re: SharedPreferences not Thread Safe

2014-02-19 Thread Andrew Mackenzie
Also the Javadoc describes how the value maybe cached in memory and shared between clients is SP and the different behavior of commit() vs. apply() of Editor. And that depends on API level. http://developer.android.com/reference/android/content/SharedPreferences.Editor.html -- You received