Thursday, March 31, 2011

[android-developers] onWindowFocusChanged() happens more than once when resuming the application from the homescreen or app drawer

Scenario 1 - NORMAL
###################### application activity started ###########################
03-31 17:52:18.413: INFO/System.out(589): onCreate()
03-31 17:52:18.974: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:true
03-31 17:52:18.974: INFO/System.out(589): mySoundPlaybackMethods()
########## back button pressed to remove activity from the task ###############
03-31 17:54:54.113: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:false
03-31 17:54:54.514: INFO/System.out(589): onDestroy()
###################### application activity finished ##########################


Scenario 3 - ABNORMAL
######################## application activity started ##########################
03-31 18:16:55.823: INFO/System.out(589): onCreate()
03-31 18:16:56.124: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:true
03-31 18:16:56.139: INFO/System.out(589): mySoundPlaybackMethods()
############################# HOME button pressed ##############################
03-31 18:17:03.244: INFO/System.out(589): onSaveInstanceState() -> state saved
03-31 18:17:03.424: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:false
####################### Landed onto homescreen launcher ##########################
########### Pressed on the application button to go back to the task #############
03-31 18:18:51.544: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:true
03-31 18:18:51.593: INFO/System.out(589): mySoundPlaybackMethods()
---------------------------------------------------------------------------------------------------------------
?????? in the following output, why should the same steps of windowFocusChanged false->true and soundPlayback happen ONCE AGAIN ??????
---------------------------------------------------------------------------------------------------------------
03-31 18:18:52.404: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:false
03-31 18:18:52.424: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:true
03-31 18:18:52.484: INFO/System.out(589): mySoundPlaybackMethods()
############## back button pressed to remove activity from the task ################
03-31 18:20:00.204: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:false
03-31 18:20:00.344: INFO/System.out(589): onDestroy()
######################### application activity finished ############################

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] destruction and creation of android activity happens TWICE upon changing the screen orientation

Scenario 1 - NORMAL
###################### application activity started ###########################
03-31 17:52:18.413: INFO/System.out(589): onCreate()
03-31 17:52:18.974: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:true
03-31 17:52:18.974: INFO/System.out(589): mySoundPlaybackMethods()
########## back button pressed to remove activity from the task ###############
03-31 17:54:54.113: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:false
03-31 17:54:54.514: INFO/System.out(589): onDestroy()
###################### application activity finished ##########################


Scenario 2 - ABNORMAL
######################## application activity started ##########################
03-31 17:52:18.413: INFO/System.out(589): onCreate()
03-31 17:52:18.974: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:true
03-31 17:52:18.974: INFO/System.out(589): mySoundPlaybackMethods()
########################### screen orientation changed #########################
03-31 17:52:38.393: INFO/System.out(589): onSaveInstanceState() -> state saved
03-31 17:52:38.403: INFO/System.out(589): onDestroy()
03-31 17:52:38.514: INFO/System.out(589): onCreate()
03-31 17:52:39.464: INFO/System.out(589): onRestoreInstanceState() -> state restored from old bundle
---------------------------------------------------------------------------------------------------------------
?????? in the following output, why should the same steps of destruction/creation of activity happen ONCE AGAIN ??????
---------------------------------------------------------------------------------------------------------------
03-31 17:52:39.504: INFO/System.out(589): onSaveInstanceState() -> state saved
03-31 17:52:39.504: INFO/System.out(589): onDestroy()
03-31 17:52:39.524: INFO/System.out(589): onCreate()
03-31 17:52:40.024: INFO/System.out(589): onRestoreInstanceState -> state restored from old bundle
03-31 17:52:40.104: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:true
---------------------------------------------------------------------------------------------------------------
???? the last call to onWindowFocusChanged() occured with hasFocus=TRUE; 
???? this call to to onWindowFocusChanged() also occured with hasFocus=TRUE;
???? when did the windowFocus even change to FALSE?
---------------------------------------------------------------------------------------------------------------
03-31 17:52:40.104: INFO/System.out(589): mySoundPlaybackMethods()
############## back button pressed to remove activity from the task ################
03-31 17:54:54.113: INFO/System.out(589): onWindowFocusChanged() -> hasFocus:false
03-31 17:54:54.514: INFO/System.out(589): onDestroy()
######################### application activity finished ############################

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [id-android] WTA: Flash Gingerbread ke SGS Gagal ?

Kudunya mah straight forward aja kok. Tick reformat, select 512 pit lalu select those 3 files.

From: Irawan Sulaiman <iraonesss@gmail.com>
Sender: id-android@googlegroups.com
Date: Thu, 31 Mar 2011 14:36:30 +0700
To: <id-android@googlegroups.com>
ReplyTo: id-android@googlegroups.com
Subject: [id-android] WTA: Flash Gingerbread ke SGS Gagal ?

 
Guys,
Ada yg punya pengalaman flashing Gingerbread 2.3.3 XXJVK ke SGS ?
Coba beberapa kali gagal pake odin...
Biasa cuma ngeflash pake 1 file, sekarang coba pake 3 file + pit, apa ada kudu diperhatikan...
Mohon infonya, sorry kalo pertanyaannya ada yg salah soalnya newbie.
 
Thanks
Irawans
 

--
===============
Indonesian Android Community, join: http://forum.android.or.id
 
HTC Android Phone with HTC Sense and HTCsense.com
http://www.htc.com/DesireHD/
---------------------
Unlimited Data XL Mobile Broadband
http://www.xl.co.id/XLInternet/BroadbandInternet
--------------------
i-gadget Store - BEC Bandung
E-mail: ary@i-gadgetstore.com Ph. 0812-21111191
--------------------
Toko Gila Original Surabaya
Email: info@gilaoriginal.com Ph. (031) 91555898
--------------------
Toko EceranShop - BEC Bandung
E-mail: willy@eceranshop.com Ph. 0815-56599888
--------------------
 
Aturan Jual/Kloteran ID-Android http://goo.gl/azW7

[android-developers] OSS Software Using Widgets?

Can anyone recommend some OSS software that I can download that makes
good use of widgets? I'd like to study some techniques.

Thanks.

--
Jake Colman -- Android Tinkerer

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [id-android] wta: setelah DX naik kelasnya yg cocok apa ya?

Petuah suhu sa : HTC EVO 3D

my gingerX

On Mar 31, 2011 5:22 PM, "rafael estevez" <droidworlds@gmail.com> wrote:
> lagi mikir2 .. kalo mau naik kelas (upgrade) dr DX bagusnay , pake apa ya ?
> biar gagk nyesel gituw :P
>
>
> *lgngaco nehh
>
> rafael ...
>
> --
> ===============
> Indonesian Android Community, join: http://forum.android.or.id
>
> HTC Android Phone with HTC Sense and HTCsense.com
> http://www.htc.com/DesireHD/
> ---------------------
> Unlimited Data XL Mobile Broadband
> http://www.xl.co.id/XLInternet/BroadbandInternet
> --------------------
> i-gadget Store - BEC Bandung
> E-mail: ary@i-gadgetstore.com Ph. 0812-21111191
> --------------------
> Toko Gila Original Surabaya
> Email: info@gilaoriginal.com Ph. (031) 91555898
> --------------------
> Toko EceranShop - BEC Bandung
> E-mail: willy@eceranshop.com Ph. 0815-56599888
> --------------------
>
> Aturan Jual/Kloteran ID-Android http://goo.gl/azW7

--
===============
Indonesian Android Community, join: http://forum.android.or.id
 
HTC Android Phone with HTC Sense and HTCsense.com
http://www.htc.com/DesireHD/
---------------------
Unlimited Data XL Mobile Broadband
http://www.xl.co.id/XLInternet/BroadbandInternet
--------------------
i-gadget Store - BEC Bandung
E-mail: ary@i-gadgetstore.com Ph. 0812-21111191
--------------------
Toko Gila Original Surabaya
Email: info@gilaoriginal.com Ph. (031) 91555898
--------------------
Toko EceranShop - BEC Bandung
E-mail: willy@eceranshop.com Ph. 0815-56599888
--------------------
 
Aturan Jual/Kloteran ID-Android http://goo.gl/azW7

[android-developers] Re: Need Help to Develope my first Android Project.

That will be a horrible collage (http://www.google.com/search?q=define
%3Acollage
)

Read this whole guide: http://developer.android.com/intl/de/guide/index.html
If that is too hard, then consider buying a book.

PS: Java programming language knowledge is mandatory!

On 30 мар, 11:44, Kirti Joshi <joshikirti...@gmail.com> wrote:
> Hi! everyone,
>
> i need help to develop my first android project.
>
> i have just 1 month of expriance in android,   but i want to develop
> this project for my collage submition.
> ==========================
> ------------------------------
> Defination of Project
> ------------------------------
> Project Name :   Personal Mobile Assistant
>
> Description :
>
>                         Design and develop software that can provide
> facility to user to plan the timetable and schedule for a day, week
> and month.  It should maintain the different appointments like
> personal meeting, discussions, get-together, official meeting,
> cultural event, celebration, functions, etc...,  This personal
> assistant can be integrated with the mobile number and through
> internet can provide reminder SMS service about the task, with, a
> message and some musical tones. Give the facility to the user to set
> different priority levels, according to the priority levels different
> reminder messages and tones should appear.
>
> ==============================================================
>
> Anybudy help me to develop this above defined application with android.
> please guide me,  how to start it to develop ?
>
> Help me please......
>
> Thanks in advance.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[id-android] WTAsk: NEW myTouch 4G Recovery (nge-charge dalam keadaan OFF enabled)

Haloo RR, terutama pengguna HTC T-Mobile myTouch 4G
ane sebelumnya ga bisa ngecharge hh dalam keadaan hape mati..

ane sebelumnya pake Custom ROM Orange-Glacier 2.2.1 dgn Recovery
ClockWorkMod 3.0.0.5
nah, setiap hh sy matiin, trus colok AC outlet, tiba2 si mt4g nyala
lagi & lsg masuk recovery...

nah sekarang sudah ada CWM 3.0.0.6 yg enabled "charge while powered
down"
ini linknya (http://forum.xda-developers.com/showthread.php?t=1014554)
buat yg mau mencoba silahkan...
working buat gw
- maap kalo repost -

--
===============
Indonesian Android Community, join: http://forum.android.or.id

HTC Android Phone with HTC Sense and HTCsense.com
http://www.htc.com/DesireHD/
---------------------
Unlimited Data XL Mobile Broadband
http://www.xl.co.id/XLInternet/BroadbandInternet
--------------------
i-gadget Store - BEC Bandung
E-mail: ary@i-gadgetstore.com Ph. 0812-21111191
--------------------
Toko Gila Original Surabaya
Email: info@gilaoriginal.com Ph. (031) 91555898
--------------------
Toko EceranShop - BEC Bandung
E-mail: willy@eceranshop.com Ph. 0815-56599888
--------------------

Aturan Jual/Kloteran ID-Android http://goo.gl/azW7