[android-developers] launcher has no focus

2013-10-08 Thread Hilda Chen
Hi All: I create a launcher app(), and the app must check update in loading view, if there is a update version, it will display a dialog, but the dialog has no focus and I set OnShowListener on the dialog and ouput the result of getCurrentFocus() , the result is null. if I make the button of the

[android-developers] Re: Problem with "getScanResults()"

2013-10-08 Thread BearTi
Hmm, I don´t think the problem is caused because of my device what can you see in this bug-report? 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 unsu

Re: [android-developers] Re: Problem with "getScanResults()"

2013-10-08 Thread Robert Greenwalt
adb bugreport > mybug and send me the resulting "mybug" file On Tue, Oct 8, 2013 at 1:08 PM, BearTi wrote: > How? What do u need? > > > > Am Dienstag, 8. Oktober 2013 21:14:55 UTC+2 schrieb BearTi: > >> Hi, >> >> I´ve a big problem with the "getScanResults()" function. I always get "0" >> as r

[android-developers] Re: Problem with "getScanResults()"

2013-10-08 Thread BearTi
How? What do u need? Am Dienstag, 8. Oktober 2013 21:14:55 UTC+2 schrieb BearTi: > > Hi, > > I´ve a big problem with the "getScanResults()" function. I always get "0" > as result. > > Here is my Code (it´s a service): > > public void onCreate() { >> super.onCreate(); >> >>

Re: [android-developers] Problem with "getScanResults()"

2013-10-08 Thread Robert Greenwalt
Looks reasonable. Can you take a bugreport? On Tue, Oct 8, 2013 at 12:14 PM, BearTi wrote: > Hi, > > I´ve a big problem with the "getScanResults()" function. I always get "0" > as result. > > Here is my Code (it´s a service): > > public void onCreate() { >> super.onCreate(); >> >>

[android-developers] Problem with "getScanResults()"

2013-10-08 Thread BearTi
Hi, I´ve a big problem with the "getScanResults()" function. I always get "0" as result. Here is my Code (it´s a service): public void onCreate() { > super.onCreate(); > > wifiMgr = (WifiManager)getSystemService(Context.WIFI_SERVICE); > sharedPreferences =

[android-developers] Switching Fragments intermittently causes views to get corrupted

2013-10-08 Thread DoubleCheese
We have a MainActivity with a Layout that is switched to a Fragment using a sliding menu. We do the switch using the following code: FragmentTransaction tx = FragmentManager.beginTransaction(); tx.replace(R.id.MainContent, mContent, MAIN_CONTENT_FRAGMENT_KEY); tx.addToBackStack(null); tx.commit()

Re: [android-developers] lifecycle through onConfigurationChanged()

2013-10-08 Thread TreKing
On Tue, Oct 8, 2013 at 8:04 AM, Hiko wrote: > >Why "before rotating screen"? > Because I need to store how much scrolled is the page in pixel before > rotating to compare with before and after. > Try onSaveInstanceState. > >You should clarify what you're trying to do to get the best advice. >

Re: [android-developers] 'Donate' button w/ in-app billing - Google policies

2013-10-08 Thread TreKing
On Tue, Oct 8, 2013 at 8:31 AM, FReDD wrote: > I wanted to know if the Google Play policies allowed including a 'Donate' > button or page in one's app ? 1 - Read the policies. 2 - Answer this question. 2.5 - When in doubt, consult a lawyer. -

Re: [android-developers] Re: Calendar API

2013-10-08 Thread TreKing
On Tue, Oct 8, 2013 at 7:34 AM, galsen wrote: > Any Help? Please wait more than two hours before bumping your post. Especially when you're posting in the very early morning hours for people in the U.S.

Re: [android-developers] 'Donate' button w/ in-app billing - Google policies

2013-10-08 Thread Steve Gabrilowitz
I'm not really sure about that but I would guess that there in the absence of any mention of that practice it should be OK. Another idea I have seen other developers use is to build a special paid "donate" app that does nothing but display a thank you screen, and of course the lack of any other fu

[android-developers] 'Donate' button w/ in-app billing - Google policies

2013-10-08 Thread FReDD
Hi all, I wanted to know if the Google Play policies allowed including a 'Donate' button or page in one's app ? Given, of course, that the button uses in-app billing and not Paypal or some other external site. Thanks -- You received this message because you are subscribed to the Google Group

Re: [android-developers] lifecycle through onConfigurationChanged()

2013-10-08 Thread Hiko
Hello, TreKing. >Why "before rotating screen"? Because I need to store how much scrolled is the page in pixel before rotating to compare with before and after. >You should clarify what you're trying to do to get the best advice. Sorry, I have to keep the secret in details because of the business

[android-developers] Re: Calendar API

2013-10-08 Thread galsen
Any Help? I wan"t to add the contact list to the form create events in agenda app Le mardi 8 octobre 2013 10:02:56 UTC, galsen a écrit : > > Hello Geeks > > In this code > > Intent intent = new Intent(Intent.ACTION_INSERT); > intent.setType("vnd.android.cursor.item/event"); > intent.putExtra(Event

Re: [android-developers] Re: What is difference between the Android App downloaded using Google Play store and the one directly installed?

2013-10-08 Thread Kristopher Micinski
I have some severe doubts that unpackaging would include rewriting on the device side in standard AOSP, simply because it's open source and that unpackaging code is publicly available and people can easily snoop it to see what's happening. Instead, the typical use case for this is rewriting at the

[android-developers] Example code using ScriptIntrinsic3DLUT

2013-10-08 Thread grADE
Example code using ScriptIntrinsic3DLUT Hi, Are their any available source code examples of integrating ScriptIntrinsic3DLut out there. Ideally Id like an example reference input LUT as well. I have been trying to do this in GLSL but there seems no support of TEXTURE_3D in GLES2.0 on Android. T

[android-developers] Is there any way to add syslog in android image?

2013-10-08 Thread mayank yadav
In android there is no syslog daemon present. I didn't find syslog.d or rsyslog.d in android /etc path.Is there any procedure to add syslog functionality to android image during android image build. -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Calendar API

2013-10-08 Thread galsen
Hello Geeks In this code Intent intent = new Intent(Intent.ACTION_INSERT); intent.setType("vnd.android.cursor.item/event"); intent.putExtra(Events.TITLE, "Learn Android"); intent.putExtra(Events.EVENT_LOCATION, "Home suit home"); intent.putExtra(Attendees.ATTENDEE_NAME, Contacts.CONTENT_URI); int