[android-beginners] Xtify Platform for Push Notifications to Android

2010-06-23 Thread j...@xtify
Hello Android Beginners! We launched Xtify a few months ago – since then, there has been a tremendous response from the mobile development community for our free Push Notifications Platform. We wanted to let you know that Xtify is currently free for developers with 500,000 or fewer users!

Re: [android-beginners] onHandleIntent(Intent) method does not get called

2010-06-23 Thread Mark Murphy
On Wed, Jun 23, 2010 at 1:03 AM, appsgrrl bettyoch...@gmail.com wrote: I'm tryng to get an IntentService to work, and I have extended IntentService, and I implemented a onHandletIntent(Intent) method.  I put some logging in there, but this method never gets called. I must be doing something

[android-beginners] Problem with AppWidget Using a Service

2010-06-23 Thread Jake Colman
I am trying to create a simple AppWidget using a service to initialize the content in the onUpdate() method. The data is not being refreshed and logcat shows me the following warning: AppWidgetService W updateAppWidgetProvider: provider doesn't exist:

Re: [android-beginners] Problem with AppWidget Using a Service

2010-06-23 Thread Kostya Vasilyev
Jake, The error is in the way your code instantiates ComponentName. Instead of: ComponentName thisWidget = new ComponentName(this, ZMUpdateService.class); Do this: ComponentName thisWidget = new ComponentName(this,*ZmanMinderAppWidget*.class); The error message was trying to convey same

[android-beginners] Re: onHandleIntent(Intent) method does not get called

2010-06-23 Thread appsgrrl
Hi -- Thanks for replying. I also have a logging printout in the onStartCommand() method, and that does show as being called. If onStartCommand() is called, doesn't that mean my startService() from my Activity has indeed started my IntentService? Who ultimately calls onHandleIntent()? That's

Re: [android-beginners] Problem with AppWidget Using a Service

2010-06-23 Thread Mark Murphy
On Wed, Jun 23, 2010 at 9:39 AM, Jake Colman col...@ppllc.com wrote: I am trying to create a simple AppWidget using a service to initialize the content in the onUpdate() method.  The data is not being refreshed and logcat shows me the following warning: AppWidgetService  W  

Re: [android-beginners] Re: onHandleIntent(Intent) method does not get called

2010-06-23 Thread Mark Murphy
On Wed, Jun 23, 2010 at 10:37 AM, appsgrrl bettyoch...@gmail.com wrote: Thanks for replying.   I also have a logging printout in the onStartCommand() method, and that does show as being called. If onStartCommand() is called, doesn't that mean my startService() from my Activity has indeed

Re: [android-beginners] Re: onHandleIntent(Intent) method does not get called

2010-06-23 Thread Kostya Vasilyev
Betty, Make sure your service calls base class methods in onCreate() and onStart(). Intents for processing are queued to a worker thread by IntentService.onStart. The worker thread is set up by onCreate. class BettysService extends IntentService { @Override public void onCreate() { ...

[android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Jake Colman
Kostya, Thanks. That worked like a charm. I noticed in sample AppWidget code that does not use a service, that it iterates the appWidgetIds array so that it updates all instances of the widget. However, in sample code that uses a Service, that iteration is not done. Is that because it is not

Re: [android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Kostya Vasilyev
Jake, onUpdate is passed an explicit list of just the widget ids that need to be updated. Supposedly, there could be widgets that belong to this provider but don't need updating (e.g. on a scrolled-off home screen portion). Pushing a RemoveViews object to a paricular widget is done by

Re: [android-beginners] how to change colours in a .xml defined layout in run time

2010-06-23 Thread TreKing
On Wed, Jun 16, 2010 at 6:55 AM, ckloch htc.kl...@hotmail.com wrote: In theory it seems to be easy, but I would highly appreciate your help on how to do this in Android as I cannot see how I start changing the colours of the individual bar in the screen after initially defining the screen.

[android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Jake Colman
Kostya, That makes perfect sense. It seems like a service-based update is really the right way to go. It avoids any potential timeout issue and is allows updating of all widgets at once. Thanks for your help. ...Jake KV == Kostya Vasilyev kmans...@gmail.com writes: KV Jake, KV

[android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM If it helps, here is a complete app widget example: MM http://github.com/commonsguy/cw-advandroid/tree/master/AppWidget/Microblog/ MM It assumes you have an identi.ca account you can use. Indeed it does and indeed I do. I am

Re: [android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Kostya Vasilyev
Jake, Using a service for a widget that's not doing anything lengthy to prepare updates seems like a bit of an overkill. Certainly it works, but probably not necessary. On the other hand, using a service is definitely the way to go for widgets that fetch data from the Internet or some other

Re: [android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Mark Murphy
On Wed, Jun 23, 2010 at 12:36 PM, Kostya Vasilyev kmans...@gmail.com wrote: On the other hand, using a service is definitely the way to go for widgets that fetch data from the Internet or some other way that can take a long time. There are (at least) three costs to doing work in the app widget

[android-beginners] Application crashing

2010-06-23 Thread Varun Khanduja
Hello, I am trying to make a small To do list application. The application keeps crashing on and saying, the application closed and please try again. The message also has force close option. Here is the code, does anyone has an idea what's wrong? Thanks package com.todolist; import

Re: [android-beginners] Application crashing

2010-06-23 Thread Mark Murphy
On Wed, Jun 23, 2010 at 1:28 PM, Varun Khanduja varunkhand...@gmail.com wrote: I am trying to make a small To do list application. The application keeps crashing on and saying, the application closed and please try again. The message also has force close option. Here is the code, does anyone

Re: [android-beginners] Application crashing

2010-06-23 Thread Simon Platten
Hi, Your onCreate method is not calling the default: super.onCreate( icicle ); Also, I would wrap the body of the code in a try{ } catch( Exception ex ) clause. Hope this helps, Sy Varun Khanduja wrote: Hello, I am trying to make a small To do list application. The application keeps

Re: [android-beginners] Application crashing

2010-06-23 Thread Justin Anderson
One other thing to mention... These groups are not only great for posting questions but also for searching through them to find other posts with the same problem or question that may already have an answer. In particular, your question is one that has been answered many times over and a quick

[android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM If it helps, here is a complete app widget example: MM http://github.com/commonsguy/cw-advandroid/tree/master/AppWidget/Microblog/ MM It assumes you have an identi.ca account you can use. Mark, Although it says Microblog, the

Re: [android-beginners] Android security features -how to protect our applications for client-they wanted to protect it

2010-06-23 Thread TreKing
On Tue, Jun 15, 2010 at 1:38 PM, SaiSriOrl sridhar.rangasw...@gmail.comwrote: the client wants an App to be secured so that no one can illegal downlod.thats our question. You're not getting any response because: 1) your post is a bit difficult to read, though I'm assuming that's because

[android-beginners] [Android Beginners]About adding tabs on each carousel page

2010-06-23 Thread Bo Wang
Hi dear all, I got a question about displaying carousel like contents (pictures, contact info): Eg.: In portrait mode I have a list of contacts on my current screen. When I turn it into landscape mode, the pictures of the ppl in contact list are enlarged in carousel way, by sliding the pic you

[android-beginners] apps

2010-06-23 Thread ravendev
hi my name is josh i am new to the droid world. i have just rooted my motorola droid. any suggestions on apps good for rooted droids. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack

Re: [android-beginners] apps

2010-06-23 Thread Mikey
This is a developers list, try again. On 24 Jun 2010, at 00:31, ravendev wrote: hi my name is josh i am new to the droid world. i have just rooted my motorola droid. any suggestions on apps good for rooted droids. -- You received this message because you are subscribed to the Google

Re: [android-beginners] apps

2010-06-23 Thread Raul Martinez
What would be awesome if somehow make your SD card into virtual memory Raul Martinez Message sent from HTC EVO 4G On Jun 23, 2010 6:31 PM, ravendev jzimm1...@gmail.com wrote: hi my name is josh i am new to the droid world. i have just rooted my motorola droid. any suggestions on apps good for

[android-beginners] Re: LogCat

2010-06-23 Thread DonFrench
Thanks but I really prefer to view LogCat in Eclipse because it is so much easier to find what you want. In Eclipse, for example, user- generated log output is split into individual tabs based on the tags you set. Also, in the main log tab everything is color coded. To find the stack trace

Re: [android-beginners] Re: LogCat

2010-06-23 Thread Xavier Ducrohet
We are well aware of the issues with the logcat panel in DDMS. We hope to get around to see sooner rather than later but we've got a lot of stuff on our plate unfortunately. Xav On Wed, Jun 23, 2010 at 5:06 PM, DonFrench dcfre...@gmail.com wrote: Thanks but I really prefer to view LogCat in

Re: [android-beginners] Re: LogCat

2010-06-23 Thread Mikey
Spoken like a petulant child - fix it yourself if you think you can do better... On 24 Jun 2010, at 01:06, DonFrench wrote: Thanks but I really prefer to view LogCat in Eclipse because it is so much easier to find what you want. In Eclipse, for example, user- generated log output is split

[android-beginners] Re: onHandleIntent(Intent) method does not get called

2010-06-23 Thread appsgrrl
Hi -- You know, that was one of the first things I had thought of, so I put a call to super.onHandleIntent() in my class code. However, I got a NullPointerException from IntentService.onStart(), which is called from IntentService.onStartCommand(), which is from my class's onStartCommand() I

Re: [android-beginners] apps

2010-06-23 Thread Raul Martinez
What would be awesome if somehow make your SD card into virtual memory Raul Martinez Message sent from HTC EVO 4G On Jun 23, 2010 6:31 PM, ravendev jzimm1...@gmail.com wrote: hi my name is josh i am new to the droid world. i have just rooted my motorola droid. any suggestions on apps good for

[android-beginners] Re: Application crashing

2010-06-23 Thread Varun Khanduja
Hello everybody. Thanks for the suggestions. I guess the problem is I am learning Java as well and at the same time I am learning Android. So it's sort of hard for me to follow the conventions and the syntax. But I do try to look into the existing questions related to the topic. I will certainly

[android-beginners] Re: Date picker problem

2010-06-23 Thread Varun Khanduja
It worked now. Thank you very much everyone. :) On Jun 22, 8:37 pm, Temitope Akinwande takinwa...@gmail.com wrote: Looking through your code, I do not see where you are using R.id.display, however I see R.id.dateDisplay If the problem is with R.id.dateDisplay, do you have any layout defined