[android-developers] Uses cases and code example for SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN and SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION?

2013-01-16 Thread Agus
SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION flushes the content to top behind status bar and flushes the content to bottom behind softkeybar, I expect that SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION only flushes the content to the bottom not to the top. -Agus. -- You received this message because you are subscribed to the Google Groups

[android-developers] SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN broken?

2013-01-15 Thread Agus
. Is this an expected behavior ? -Agus -- 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+unsubscr

[android-developers] SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION broken?

2013-01-15 Thread Agus
inset is flushed to the bottom edge of the screen. Is this a bug or expected ? -Agus. -- 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

[android-developers] onLayout is getting called multiple times during orientation

2012-07-22 Thread Agus
Hi all, I am getting onLayout called twice during orientation with different dimension values, is this an expected behavior ? -Agus. -- 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

Re: [android-developers] Usage of DisplayMetrics

2012-07-21 Thread Agus
You missed something which is that : use cases are different than how to use. On Sat, Jul 21, 2012 at 8:02 PM, Jim Graham spooky1...@gmail.com wrote: On Sat, Jul 21, 2012 at 09:57:34AM -0700, Dianne Hackborn wrote: Not sure what you are answering...? That is not a use case, that is just

[android-developers] Usage of DisplayMetrics

2012-07-19 Thread Agus
What are the uses cases in which width and height values of DisplayMetrics used ? Is it just for games ? -- 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

[android-developers] Can you send parcelable across processes without aidl ?

2012-07-09 Thread Agus
Can you send parcelable across processes without aidl ? -- 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] Calling setSystemUiVisibility will cause another call to onMeasure on all views?

2012-05-16 Thread Agus
Hi all, Calling setSystemUiVisibility will cause another invocation of onMeasure to all views? If that's the case, how do i prevent that? -Agus. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] How many times do onMeasure get called?

2012-05-16 Thread Agus
Hi all, How many times do onMeasure method get called? Is there a lifecycle for this method? -Agus. -- 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

[android-developers] MessageQueue thread safe?

2012-05-11 Thread Agus
Are MessageQueue operations thread safe? -regards, Ag. -- 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] Bluetooth obtain custom info from discovery

2012-05-04 Thread Agus
Hi, I'm working with Bluetooth on an Android project, an I'm trying to obtain a list of visible bluetooth devices to show the user. My objective is, obtain the list, check if the user discovered has the same application opened, and then, add him to the list. Is it possible add custom info (a

[android-developers] HIDE_NAVIGATION does not cause Configuration change?

2012-05-04 Thread Agus
Hi all, Why HIDE_NAVIGATION does not cause Configuration change? also, when the nav bar is hidden, the dimension reported by the Display.getMetrics should also change right? -Agus. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Is showing dialog from a dialog possible?

2012-05-01 Thread Agus
() function with the ID of the dialog where you are handling the events of the dialog.. On Tue, May 1, 2012 at 6:46 AM, TreKing treking...@gmail.com wrote: On Mon, Apr 30, 2012 at 7:27 PM, Agus agus.sant...@gmail.com wrote: Is showing dialog from a dialog possible? (Not an activity that gets

[android-developers] Is showing dialog from a dialog possible?

2012-04-30 Thread Agus
Is showing dialog from a dialog possible? (Not an activity that gets styled as a dialog.) -Agus. -- 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

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-27 Thread Agus
Hi Dianne, Why is the systemUiVisibility for the activity window not get reset when the dialog get dismissed? -Agus. On Fri, Apr 27, 2012 at 11:12 AM, Dianne Hackborn hack...@android.comwrote: It's more complicated than that. Each window can make a request fot the system UI visibility

[android-developers] systemUiVisibility is a global flag across apps?

2012-04-26 Thread Agus
Hi, I am wondering if systemUiVisibility flag set via setSystemUiVisibility is a global flag across apps? -Agus. -- 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

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-26 Thread Agus
Thanks Mark, As soon as I throw a dialog within activity that has setSystemUiVisibility set to HIDE_NAVIGATION, that flag got cleared. Is that the expected behavior? -Agus. On Thu, Apr 26, 2012 at 5:14 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, Apr 26, 2012 at 8:07 PM, Agus

Re: [android-developers] Re: Saving layout file is very slow with Eclipse / ADT

2011-02-20 Thread Agus
Another solution is to setup ant build and build manually. run this command on your project's base directory: android update project --path . it will create ant build.xml script to build, run: ant release On Sun, Feb 20, 2011 at 10:26 AM, Zsolt Vasvari zvasv...@gmail.com wrote: How many

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Agus
Try disabling automatic build. On Sat, Feb 19, 2011 at 6:08 PM, Tom thomas.bruye...@gmail.com wrote: No it happen even with one single layout file. --Tom -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] NFC Reader / Transmitter

2011-01-24 Thread Agus
use RFID tag On Mon, Jan 24, 2011 at 9:16 PM, mduffy215 mduffy...@gmail.com wrote: I am planning ahead for the next release of Android. Does anyone know of a product that is an NFC reader and also a transmitter (i.e., can it send information to and NFC phone and read information from and NFC

Re: [android-developers] exit strategy

2011-01-14 Thread Agus
if you block the home/back buttons then they will be stuck in the game, if not then they can use app manager to force close, or go to android settings screen. On Thu, Jan 13, 2011 at 12:35 PM, bob b...@coolgroups.com wrote: I made a slot machine game for Android a few weeks ago, and I forgot to

Re: [android-developers] Re: Making a file world writeable

2011-01-14 Thread Agus
hi Mark, so we should not use MODE_WORLD_READABLE in a content provider implementation? can you provide a link to the outline you mentioned. On Fri, Jan 14, 2011 at 7:16 AM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jan 13, 2011 at 10:05 PM, John Lussmyer johnlussm...@gmail.com

Re: [android-developers] AsyncTask why not must be created in UI thread?

2010-12-28 Thread Agus
asynctask runs in a separate thread, it has a pool of thread On Tue, Dec 28, 2010 at 5:08 AM, water boiled boiledwater4...@gmail.com wrote: Asynctask why not must created in ui thread? thanks -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Android - InputStream SQLiteDatabase - How to read more than one xml file

2010-12-24 Thread Agus
use transactions, it will be much faster On Fri, Dec 24, 2010 at 5:39 AM, giuseppe giuma...@gmail.com wrote: I'have this code public class DatabaseHelper extends SQLiteOpenHelper {        public static final String DATABASE_NAME = prova;        protected Context context;        public

[android-developers] How to get the SharedPreferences name managed by PreferenceActivity outside of the PreferenceActivity class?

2010-10-20 Thread Agus
Within the PreferenceActivity class, I can obtain the sharedpreference name by calling: getPreferenceManager().getSharedPreferencesName(); How to get the SharedPreferences name managed by PreferenceActivity outside of the PreferenceActivity class? -- You received this message because you are

[android-developers] Re: How to get the SharedPreferences name managed by PreferenceActivity outside of the PreferenceActivity class?

2010-10-20 Thread Agus
= ctx.getResources(); String entryName = res.getResourceEntryName(prefResId); return packageName+_+entryName; } On Wed, Oct 20, 2010 at 2:32 AM, Agus agus.sant...@gmail.com wrote: Within the PreferenceActivity class, I can obtain the sharedpreference name by calling

Re: [android-developers] Re: How to get the SharedPreferences name managed by PreferenceActivity outside of the PreferenceActivity class?

2010-10-20 Thread Agus
You are right, should be this: String packageName = ctx.getPackageName(); On Wed, Oct 20, 2010 at 8:40 AM, TreKing treking...@gmail.com wrote: On Wed, Oct 20, 2010 at 4:46 AM, Agus agus.sant...@gmail.com wrote: ctx.getApplicationContext() This is completely redundant. Also, why do you

Re: [android-developers] How can my service change values of variables and UI textfields of my activities?

2010-10-20 Thread Agus
you send an intent from the service and have a broadcastreceiver in the activities On Wed, Oct 20, 2010 at 5:56 AM, saex elpablos...@gmail.com wrote: Hi I have an application that get/send data from/to a remote DB on internet. I need to get my application working in background mode, then i

Re: [android-developers] How can i take EditText box data when user clicks on the soft keyboard Enter key

2010-10-15 Thread Agus
read the android sdk On Fri, Oct 15, 2010 at 3:48 AM, rokson kiranrepa...@gmail.com wrote: Hi Friends, I want to get EditText data when user clicks on the soft keyboard Enter key. How can i do it. Please help me.. Thanks and Regards, Kiran. -- You received this message because you

Re: [android-developers] android design considerations: AsynchTask vs Service (IntentService?)

2010-10-02 Thread Agus
item #5 seems not user friendly to me. assuming that user can open other applications on the phone and since that the sync takes 10-20 minutes i suggest initiating an asynctask in a service. If you use a service, android will try hard not kill your application process. On Tue, Sep 28, 2010 at

Re: [android-developers] Run service in different intervals

2010-09-28 Thread Agus
use AlarmManager. On Tue, Sep 28, 2010 at 11:15 AM, Bhavya Siddappa bhavs...@gmail.com wrote: Hi, Is their way to start a service at a particular timestamp for a specific interval then start it again in the next timestamp? Scenario: Start the service at 6.00 am IST till 7.00 am IST and

Re: [android-developers] http post and get request for updating map

2010-09-27 Thread Agus
Take a look at the HttpGet and HttpPost method in the API. On Mon, Sep 27, 2010 at 10:48 AM, dadada ytbr...@gmail.com wrote: hello, i want to post data onto google map. since there's no gdata for android, i reckon that i have to do it through http post and get which i am not good at. is

Re: [android-developers] Looper.prepare() question

2010-09-27 Thread Agus
Try this: create handler as member variable of your activity; private Handler h = new Handler(); and then in the onCreate method: h.post( new Runnable(){ your code here } ); On Mon, Sep 27, 2010 at 9:38 AM, Kakyoin lgmc...@gmail.com wrote: Hi. I'm trying to initialize OpenFeint in my

Re: [android-developers] Looper.prepare() question

2010-09-27 Thread Agus
Sorry last solution sent you is wrong since the handler was instantiated in the UI thread, here's the correct one: create a subclass MyThread like this: class MyThread extends Thread{ public Handler h; private

Re: [android-developers] Looper.prepare() question

2010-09-27 Thread Agus
class MyThread extends Thread{ public Handler h; private CountDownLatch wait = new CountDownLatch(1); @Override public void run() { Looper.prepare();

Re: [android-developers] retrive values from database?

2010-09-27 Thread Agus
Use the SQLiteOpenHelper, and SQLiteDatabase classes. To get your database file path: context.getDatabasePath(DB_NAME) On Mon, Sep 27, 2010 at 12:02 PM, Gold thangadura...@gmail.com wrote: Hi..All,                  I create database using sqlite in command prompt.                   In my

Re: [android-developers] How to modify the .apk file name during compilation

2010-09-27 Thread Agus
use ant On Sun, Sep 26, 2010 at 11:38 PM, mahesh patil mahesh.patil.1...@gmail.com wrote: Hi all, I want to change my apk file name on every compilation of my build. For example, I have my build name currently, android.apk Now I want it to be on every compilation as, android_v0_0_1.apk

Re: [android-developers] Newbiew question: authoroties

2010-09-27 Thread Agus
Check your authority attribute of your ContentProvider component in the manifest file. On Mon, Sep 27, 2010 at 8:10 AM, Pedro Teixeira pedroteixeir...@gmail.com wrote: Anyone has a clue about this? Please... I have to applications... one has a provider tag in the manifest, the other doesn't

Re: [android-developers] Newbiew question: authoroties

2010-09-27 Thread Agus
correction: it is the android:authorities attribute On Mon, Sep 27, 2010 at 12:47 PM, Agus agus.sant...@gmail.com wrote: Check your authority attribute of your ContentProvider component in the manifest file. On Mon, Sep 27, 2010 at 8:10 AM, Pedro Teixeira pedroteixeir...@gmail.com wrote

Re: [android-developers] Service gets instantiated multiple times

2010-09-27 Thread Agus
Calling bindService will start the service if it has not been started, so you dont have to call both methods. On Mon, Sep 27, 2010 at 6:15 AM, Olivier Guilyardi l...@samalyse.com wrote: Hi, IIUC, there should only be one instance of a given service, it is a singleton. However, my (audio

Re: [android-developers] Debugger suddenly can't see my device

2010-09-27 Thread Agus
adb kill-server adb start-server On Mon, Sep 27, 2010 at 1:44 PM, Bret Foreman bret.fore...@gmail.com wrote: I was debugging away and moved my phone a bit and the debugger lost contact. I figured it was just a loose USB so I reseated the cable and attempted to restart the debugger. Now the

[android-developers] Sending 2 sticky intents will override the previous one?

2010-09-23 Thread Agus
Does sending 2 sticky intents override the previously sent sticky intent? Can any clarify this? -- 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

Re: [android-developers] Sending 2 sticky intents will override the previous one?

2010-09-23 Thread Agus
...@android.com wrote: Yes, that is the point of them. On Thu, Sep 23, 2010 at 6:45 PM, Agus agus.sant...@gmail.com wrote: Does sending 2 sticky intents override the previously sent sticky intent? Can any clarify this? -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: On using themes?!

2010-09-22 Thread Agus
try using this attr name=myColor format=reference / On Wed, Sep 22, 2010 at 9:26 AM, Mariano Kamp mariano.k...@gmail.com wrote: As it wasn't possible to submit a new post to the existing/old conversation using the web interface I am copying the message here with Danilo's permission: Hi

Re: [android-developers] Re: How much money do you make?

2010-09-21 Thread Agus
@JonFHancock Is that amount generated from ads or paid? If from ads i want to know the average #impressions and %clickthroughrate per month if you don't mind ? On Tue, Sep 21, 2010 at 11:50 AM, JonFHancock jonfhanc...@gmail.com wrote: On an average day, I make $70 to $100 on one paid app.  If I

Re: [android-developers] Re: How much money do you make?

2010-09-17 Thread Agus
Just go for paid apps if you want to make fast money, ads generate VERY little revenue unless you have 1.000.000 ads impressions/day On Fri, Sep 17, 2010 at 7:40 AM, TreKing treking...@gmail.com wrote: On Thu, Sep 16, 2010 at 5:22 PM, William Ferguson william.ferguson...@gmail.com wrote: Very

Re: [android-developers]

2010-09-17 Thread Agus
good answer! On Fri, Sep 17, 2010 at 12:07 PM, TreKing treking...@gmail.com wrote: On Fri, Sep 17, 2010 at 12:45 PM, xc s sxchao2...@gmail.com wrote: how to use the gprs in android ?? http://www.catb.org/esr/faqs/smart-questions.html

[android-developers] Are Sticky Intents visible to other applications by default? if so how to limit this visibility?

2010-09-17 Thread Agus
Are Sticky Intents visible to other applications by default? if so how to limit this visibility? -- 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

[android-developers] Do static variables of an ApplicationContext subclass left untouched when the process is killed?

2010-09-07 Thread Agus
Do static variables of an ApplicationContext subclass left untouched when the process is killed? -- 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

Re: [android-developers] How to check if a user defined service is already running

2010-09-07 Thread Agus
returns START_STICKY in your onStartCommand method of your service. On Mon, Sep 6, 2010 at 8:51 PM, sunny menon1...@gmail.com wrote: Dear Folks, I have a service that is running within the context of my application. It gets invoked at the start of the activity and then gets update when new

Re: [android-developers] Do static variables of an ApplicationContext subclass left untouched when the process is killed?

2010-09-07 Thread Agus
onTerminate() method? On Tue, Sep 7, 2010 at 7:49 AM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Sep 7, 2010 at 10:37 AM, Agus agus.sant...@gmail.com wrote: Do static variables of an ApplicationContext subclass left untouched when the process is killed? When the process is killed, the Dalvik

Re: [android-developers] Use of Service component?

2010-08-31 Thread Agus
A thread hosted by the ApplicationContext will get killed by the System if necessary but not when hosted by a Service? On Tue, Aug 31, 2010 at 9:22 AM, Kostya Vasilyev kmans...@gmail.com wrote:  The difference is that Activity lifecycle is managed by the user, and Service lifecycle is managed

[android-developers] What is the class name of media scanner service?

2010-08-31 Thread Agus
What is the class name of media scanner service? -- 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

Re: [android-developers] Stopping fling in Gallery

2010-08-27 Thread Agus
Hi, You can abort fling effect by extending the Gallery class and overriding the onFling method, Inside the method, dont call the super method, just return true; On Tue, Jul 28, 2009 at 4:20 PM, Brady brady.kro...@gmail.com wrote: Hi everyone, I'd like to handle a fling gesture in Gallery

Re: [android-developers] Protobuf on Android

2010-08-24 Thread Agus
yes, check out the android source repo for a particular .git that contains protobuf. On Tue, Aug 24, 2010 at 11:35 AM, JoeSchmoe rthompson.dtisoft@gmail.com wrote: Is there a package somewhere of protobufs?  If not, should I build my own and if so, would I build a Java Package, Android App,

Re: [android-developers] need clarification on Services

2010-08-16 Thread Agus
Yes, create your service in the android.intent.action.BOOT_COMPLETED intent receiver. On Mon, Aug 16, 2010 at 10:28 AM, Arjun arjunf...@gmail.com wrote: Greetings, Can a services exists as a stand alone with out any activities/ default. Is it possible to create services with out any

Re: [android-developers] AsyncTask, back button and cancel(boolean)

2010-08-15 Thread Agus
You might want to try using BroadcastReceivers for that scenario. AsyncTask fires off an intent signaling that operation has been completed with the information on how to obtain the data or include the data in the intent. And have each tab activity register a common receiver to handle the intent.

[android-developers] How to change the icon in the default search dialog?

2010-08-14 Thread Agus
How to change the icon in the default search dialog? -- 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] How to determine if the phone is powered by battery or by charger?

2010-07-28 Thread Agus
How to determine if the phone is powered by battery or by charger? -- 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

Re: [android-developers] Link for Android beginners

2010-07-27 Thread Agus
Please RTFM. On Tue, Jul 27, 2010 at 12:41 PM, TreKing treking...@gmail.com wrote: On Mon, Jul 26, 2010 at 1:15 PM, Yasotharai Ponnusamy pm.yaso...@gmail.com wrote: Can anyone send me the link for learn about Android. No offense, but it seriously blows my mind how people can find this

Re: [android-developers] pass handler to another activity

2010-07-27 Thread Agus
try using broadcastReceivers on both activities. create a thread in the application context, and when it's done processing the socket broadcast an intent. On Mon, Jul 26, 2010 at 3:38 AM, zj h hez...@gmail.com wrote: Assume that there activity A and B, A has a handler, now B is activate by A,

Re: [android-developers] Best practice to pass persistent objects from an activity to another activity

2010-07-27 Thread Agus
The best way is to use Parcelable. If you have one or two variables to pass around you can use XTRAS mechanism. But if you have an object with 5-10 member fields, using Parcelable makes it elegant and clean. Yes you can use static member to pass data around but this will most often cause memory

Re: [android-developers] [urgent]Quick Contact Tack Implementation

2010-07-27 Thread Agus
which git does this class reside in ? On Thu, Jan 28, 2010 at 12:07 PM, elephantbug elephant...@gmail.com wrote: Hi, I would like to implement the similar widget as QuickContactBadge from which I can launch some internal activities. I checked out the source code for QuickContactBadge,

Re: [android-developers] Problem: Long running AsyncTask with reference to Activity

2010-07-24 Thread Agus
you can use the application context On Sat, Jul 24, 2010 at 5:28 AM, sasq jonas.minnb...@gmail.com wrote: I have an AsyncTask that scans the file system and publishes progress through Notifications. To do this I need a reference to the current Activity in the AsyncTask. I also don't want to

Re: [android-developers] Re: Problem: Long running AsyncTask with reference to Activity

2010-07-24 Thread Agus
Don't use WeakReference, use SoftReference. On Sat, Jul 24, 2010 at 7:48 AM, RichardC richard.crit...@googlemail.com wrote: Would using a WeakReference from your AsyncTask back to your activity help in any way? See discussion:

Re: [android-developers] Re: What is a WeakReference?

2010-07-24 Thread Agus
GC can reclaim WeakReference even memory is still plenty, but SoftReferences will only be cleared when the system is just about to starve out of memory.. On Sat, Jul 24, 2010 at 2:25 PM, Joseph Earl joseph.w.e...@gmail.com wrote: I did say '(although I would use SoftReference for the purpose

Re: [android-developers] Re: OutOfMemoryError with Bitmap

2010-07-24 Thread Agus
Sorry for going slightly off-topic, how do I determine the dimension of the picked gallery image without reading it first using DecodeBitmap.decodeStream(InputStream) method ? I am decoding the original image which causes OutOfMemory error frequently. On Sat, Jul 24, 2010 at 3:47 PM, DanH

Re: [android-developers] Re: OutOfMemoryError with Bitmap

2010-07-24 Thread Agus
Is it possible to scale the outputted bitmap while decoding the stream in one step? I don't go with a two-step process. On Sat, Jul 24, 2010 at 8:02 PM, DanH danhi...@ieee.org wrote: inJustDecodeBounds in BitmapFactory.Options. On Jul 24, 9:37 pm, Agus agus.sant...@gmail.com wrote: Sorry

Re: [android-developers] Android to iPhone

2010-07-24 Thread Agus
Do you mean automatic conversion? I have never seen a tool that can do that yet. On Sat, Jul 24, 2010 at 8:32 PM, Siva G sivarama...@gmail.com wrote: Has anyone tried to convert an android app to iPhone iOS? Is that even possible? -- You received this message because you are subscribed to

Re: [android-developers] Re: broadcast receiver issue

2010-07-23 Thread Agus
no, just declare your receiver in the manifest. On Fri, Jul 23, 2010 at 12:40 AM, Kumar Bibek coomar@gmail.com wrote: You have to register the receivers in each of the activities. -Kumar Bibek http://tech-droid.blogspot.com On Jul 23, 11:12 am, Sandeep sandeep.phanse...@gmail.com wrote:

Re: [android-developers] How to set priorities for multiple BroadcastReceivers when dealing with ordered intent broadcast?

2010-07-23 Thread Agus
Thanks for the help. I'll RTFM more often. On Fri, Jul 23, 2010 at 9:56 AM, Dianne Hackborn hack...@android.com wrote: It is definitely enforced for receives in the manifest...  I'd need to check for ones from registerReceiver(), but if it isn't it should be. :) On Thu, Jul 22, 2010 at 3:58

Re: [android-developers] Eclipse/Android environment issues

2010-07-23 Thread Agus
Try this : on the top menu, open up the menu Project-Clean On Fri, Jul 23, 2010 at 11:33 AM, jack.n cti1...@gmail.com wrote: I can't seem to get rid of the following run/build error, but the Eclipse/Android environment won't give a clue how to fix it. Your project contains error(s), please fix

[android-developers] How to set priorities for multiple BroadcastReceivers when dealing with ordered intent broadcast?

2010-07-22 Thread Agus
Hi all, How to set a priority for multiple BroadcastReceivers when dealing with ordered intent broadcast? -- 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

Re: [android-developers] How to set priorities for multiple BroadcastReceivers when dealing with ordered intent broadcast?

2010-07-22 Thread Agus
How do you set priority # for dynamically instantiated broadcast receivers? On Thu, Jul 22, 2010 at 3:58 PM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jul 22, 2010 at 5:59 PM, Dianne Hackborn hack...@android.com wrote: Set the priority integer in the IntentFilter you instantiate, or

[android-developers] Issue with starting two instances of an activity with flag Intent.FLAG_ACTIVITY_REORDER_TO_FRONT and a new extra information in the Intent does not override the original Intent.

2010-07-18 Thread Agus
Hi all, When starting two activities of the same class within the same instance using the flag REORDER_TO_FRONT, the new extra information of the second call does not override the first starting activity. Is this the desired behavior? How do retrieve the new extras? For example: In the

Re: [android-developers] Nexus One Testing

2010-07-18 Thread Agus
works fine on my Nexus One 2.2 On Sun, Jul 18, 2010 at 2:05 PM, Shane Isbell shane.isb...@gmail.com wrote: Can someone with a Nexus One download AppFriend from android market (qr code - http://www.zappmarket.com/catalog/27) and give me a stack trace of the error message? I've got reports

[android-developers] Where is source code (or git file) for ContactsContract.QuickContact

2010-07-15 Thread Agus
Hi all, What is the .git file corresponding to ContactsContract.QuickContact class? Agus. -- 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

Re: [android-developers] Re: Smooth Image Rotation with Gesture Control?

2010-06-18 Thread Agus Hamonangan
Salam, Agus Hamonangan -Original Message- From: ocdtrekkie jtn...@gmail.com Sender: android-developers@googlegroups.com Date: Thu, 17 Jun 2010 22:01:30 To: Android Developersandroid-developers@googlegroups.com Reply-To: android-developers@googlegroups.com Subject: [android

Re: [android-developers] Permanent Positions :: Android Developer :: Herndon, VA

2010-05-24 Thread Agus
Do you provide N-Visa for non-American citizen? On Fri, May 21, 2010 at 12:44 PM, Anuj Garg a...@mystrasolutions.comwrote: Hello, Greetings!! Hope you are doing very well. One of our clients based out of Herndon, VA has 3 positions for Android Developers. Below mentioned is the Job

Re: [android-developers] Looking for interns as Android Developers

2010-05-24 Thread Agus
What are the requirements for the position? On Tue, May 25, 2010 at 12:46 AM, Phil Montgomery phil.montgom...@majura.com wrote: Hi all I know I've left my run a bit late for this summer, but if there are any students looking for intern roles over the summer who want to get involved in an

[android-developers] BitmapFactory.decodeStream thread safe ?

2010-05-07 Thread Agus
Is the BitmapFactory.decodeStream method thread safe? -- 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] Is there a way to view app memory usage in Nexus One while in authoring mode?

2010-05-02 Thread Agus
Dear all, Is there a way to view app memory usage, threads on Nexus One while in authoring mode? Is it even supported since I am not sure Nexus One is a dev phone or not. Agus. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Do Services *really* run in the Background?

2010-04-09 Thread Agus
Have you tried launching a thread inside your Service and have your Service binded/started in the Application context? On Fri, Apr 9, 2010 at 5:23 AM, Jason LeBlanc jasonalebl...@gmail.comwrote: I have a scenario where I start a Service from a splash screen. If I intentionally cause problems

Re: [android-developers] List View Item Strange Behavior

2010-04-09 Thread Agus
You are using convertView object which is a recycled view. On Thu, Apr 8, 2010 at 2:42 AM, Binesy ross.bi...@gmail.com wrote: Hi, I have been having some strange behavior when refreshing a listview from a button in a list item. Say you have a list of 4 items, indexes 0-3 and you click on

Re: [android-developers] How to parse JSON in Java?

2010-04-07 Thread Agus
new JSONObject(YOUR_JSON_TEXT); On Wed, Apr 7, 2010 at 2:05 AM, Maxood maqs...@salsoft.net wrote: I have the following JSON text that i need to parse to get pageName, pagePic, post_id, etc. What is the required code? pageInfo: { pageName: abc pagePic:

[android-developers] The auto-generated R.java generation is invalid. Can't compile a new APK.

2010-03-18 Thread Agus
: public static final int =0x7f0b0027; I am clueless, i need to get compile a new APK and I am stuck with this tiny issue. Agus. -- 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

Re: [android-developers] Re: The auto-generated R.java generation is invalid. Can't compile a new APK.

2010-03-18 Thread Agus
I did. I generates the same R.java with errors. On Thu, Mar 18, 2010 at 12:48 AM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Try deleting the R.java source file. That usually clears this problem. -John Coryat -- You received this message because you are subscribed to the

Re: [android-developers] Re: The auto-generated R.java generation is invalid. Can't compile a new APK.

2010-03-18 Thread Agus
Interestingly, if i delete the bin folder, the Android plugin generates the apk automatically just fine. but the R.java is still invalid. On Thu, Mar 18, 2010 at 12:48 AM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Try deleting the R.java source file. That usually clears this

[android-developers] Google Checkout Finally Arrives in Canada?

2010-03-16 Thread Agus
Based on todays' news Canadians can buy paid apps from the Market. Can anyone (from Google) confirm if Google Checkout finally work for Canadian users? -- 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] How to check available RAM storage inside an application?

2009-12-25 Thread Agus
How to check available RAM storage inside an application? -- 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] Is there a built-in view class to implement the view flipping behavior similar to the Android home screen?

2009-12-24 Thread Agus
Is there a built-in view class to implement the view flipping behavior similar to the Android home screen? (Other than the gallery view) 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] Which one is more efficient, ImageView.setImageBitmap(bitmap) or ImageView.setImageDrawable(drawable)?

2009-12-24 Thread Agus
Which one these two ImageView methods is more efficient, ImageView.setImageBitmap(bitmap) or ImageView.setImageDrawable(drawable)? -- 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] ListView methods invalidate() versus invalidateViews()

2009-12-23 Thread Agus
Hi all, What's the functional difference between these listview methods: invalidate() and invalidateViews() ? Which one is faster to refresh a listview? Thanks, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] A question regarding AsyncTasks

2009-12-21 Thread Agus
No you don't wait for the 1st to finish, just create another instance of AsyncTask. The implementation of AsyncTask uses pooled threads On Mon, Dec 21, 2009 at 2:23 AM, Android Development indodr...@gmail.comwrote: Hello, In the documentation, I read that it is not possible for executing 2

[android-developers] What is the maximum number of threads allowed per application?

2009-12-20 Thread Agus
What is the maximum number of threads allowed per application? -- 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] Example of formatted text as an XML resource?

2009-12-20 Thread Agus
Example of formatted text as an XML resource? -- 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

Re: [android-developers] parsing a *string* of XML with SAX.

2009-12-18 Thread Agus
use xmlpullparser much easier On Fri, Dec 18, 2009 at 5:50 PM, redders redders6...@googlemail.com wrote: Okay, so I know that the parse() method takes an inputsource, and normally it'd be better to parse the xml at the source (where it's a stream), but in this case I want to be parsing it on

[android-developers] In what folder do you put a bitmap xml resource in your Android project?

2009-12-17 Thread Agus
Hi all, Quick question since I can't get this info from the official Android developer site: In what folder do you put a bitmap xml resource? 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] Help! How to create tiled drawable from xml? (Poor documentation of this on the official developer site)

2009-12-17 Thread Agus
Hi all, I need to create a tiled drawable using BitmapDrawable but I need to create it from xml resource rather than code. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] SQLiteDatabaseCorruptException

2009-12-17 Thread Agus
bump On Fri, Oct 16, 2009 at 1:39 AM, Lazarus 101 lazarus...@gmail.com wrote: Just got this exception on 1.6 emulator. Everything in my database was lost, the db file was still there but the tables were gone. Did anyone else experienced this? What might have caused this? I hope this is just

  1   2   >