---------- Forwarded message ---------- From: Aishwarya Deep Shukla <aishwaryashukl...@gmail.com> Date: Tuesday, May 11, 2010 Subject: [blrdroid] someone please help me with these issues. To: blrdroid-l...@meetup.com
1. I am using a Broadcast Receiver which acquires a static WakeLock, then immediately starts an activity which starts a media player instance inside its onCreate, at the last line of OnCreate i have released the static wakelock which i had acquired in the BroadCastReceiver. Everything seems to work fine, except for the fact that the screen does wakeup but is locked and has to be manually unlocked before the user can see my activity, though the media player starts playing normally before itself. I have set lockStatic=mgr.newWakeLock(PowerManager.FULL_WAKE_LOCK| PowerManager.ACQUIRE_CAUSES_WAKEUP, LOCK_NAME_STATIC); still the screen has to be manually unlocked before the user can see the activity. Any workaround? 2. I have used an EditText inside a tablelayout, tablerow and have set the android:height and width to wrap_content, but still when i type on the softkeypad it exceeds the bounds of the EditText Box and overflows the screen too. have tried various properties on the EditText but none of them seems to work. 3. I have an Activity a ListView Activity which populates the List from a db. When the user clicks on an item in a list, i take him to a new Activity from where he can also delete the item he selected. The problem is that the Parent Activity's ListView is not refreshed and continues showing redundant content, when i have finished the child activity. I have tried making the cursor as static and calling cursor.requery() from my child activity before i finish it, but it doesnt seem to fix the issue. 4. I have used an Activity say activityA which sets up alarm using AlarmManager.set to a Receiver say RecA. If i want to cancel this alarm later from an Activity say ActivityB how do i do so? Somone please respond to the above issues soon. I have been trying a few workaounds since past few days, but am not able to fix these issues. Thanks in advance. :) -- Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list (blrdroid-l...@meetup.com) http://www.meetup.com/android-baug/ This message was sent by Aishwarya Deep Shukla (aishwaryashukl...@gmail.com) from The Bangalore Android User Group. To learn more about Aishwarya Deep Shukla, visit his/her member profile: http://www.meetup.com/android-baug/members/11415775/ To unsubscribe or to update your mailing list settings, click here: http://www.meetup.com/android-baug/settings/ Meetup, PO Box 4668 #37895 New York, New York 10163-4668 | supp...@meetup.com -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en