Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Kostya Vasilyev
Abduaziz, Does your Windows home directory have non-English characters? (C:\Users\your name)? I found that in this case (mine has Russian characters), the emulator has various problems. I use the command line to create the emulator in some other directory that has only English characters

Re: [android-beginners] Unable to release partial wake lock in service

2010-07-25 Thread Nick Richardson
If i'm understanding you correctly, you want the service to close/stop when you tell it to? If that is the case, try calling stopSelf() after you release your wake lock... This should cause the service to self terminate and close. On Sat, Jul 24, 2010 at 10:15 AM, Bret Foreman

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Abduaziz Hasan
Hi Kostya Actually, my whole OS is in English so this will eliminate the possibility. BTW, can this be related to Windows 7? I mean is there anyone who is using Windows 7 and not having the problem? Regards, On Sun, Jul 25, 2010 at 10:36 AM, Kostya Vasilyev kmans...@gmail.comwrote:

[android-beginners] Re: How to open a new Activity in a new window (calling a new activity)?

2010-07-25 Thread poojan9118
Intent intent = new intent(this,class_name.class); startActivity(intent); finish(); try this!! On Jul 23, 4:09 am, Victoria Busse victoriasarabu...@gmail.com wrote: Alright, thanks, I'll try that now :) On Thu, Jul 22, 2010 at 11:09 PM, Justin Anderson janderson@gmail.comwrote: Yes...

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Kostya Vasilyev
25.07.2010 13:01, Abduaziz Hasan пишет: BTW, can this be related to Windows 7? I mean is there anyone who is using Windows 7 and not having the problem? Yes, I don't any problems with the emulator on Windows 7. Maybe there are others :) -- Kostya Vasilev -- WiFi Manager + pretty widget --

[android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread DanH
Could be a problem with blanks in the path. Lots of tools have trouble with that, especially cross-platform tools. On Jul 25, 4:01 am, Abduaziz Hasan affa...@gmail.com wrote: Hi Kostya Actually, my whole OS is in English so this will eliminate the possibility. BTW, can this be related to

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Abduaziz Hasan
My path doesn't even have blank in it: c:\users\{username}\.android\avd\my_avd.avd I am trying to do manual deploy of my app. If it works fine then I will write an ant tool that will automate the process of deploying. Regards, On Sun, Jul 25, 2010 at 4:42 PM, DanH danhi...@ieee.org wrote:

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Abduaziz Hasan
One note: I am trying to deploy the app using the adb install command but I noticed that the adb didn't find the avd device that I created using eclipse. I tried to list the devices registered using adb devices but no device was found although I have one my_avd. Might this be the cause of the

[android-beginners] Large jars in Android

2010-07-25 Thread kypriakos
Hi all, I looked for any info on this but could not find much. Originally I had a number of 3rd jars that I was importing into the Android project. The general concensus I got was that I needed to find the source for them and compile them in Android - well I kicked my behind and did all that

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Kostya Vasilyev
Maybe... Why don't you try creating a new AVD using the command line, and make sure there are no spaces or non-english characters in its pathname? Also, do you run an antivirus? I use NOD32 and don't have any issues with it. Just for test purposes, you could try disabling yours. -- Kostya

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Abduaziz Hasan
I did create an AVD using the command line and specifying the target path under c:/avd but with no use. As for the anti-virus I use avast and really doubt it has anything to do with it. I tried to disable the firewall since it might be a potential problem, still the problem not solved. It

[android-beginners] Re: Large jars in Android

2010-07-25 Thread Paul Turchenko
Just increase JVM's heap size. For eclipse I use willowing eclipse.ini: -framework plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar -vm C:/Program Files/Java/jre6/bin/client/jvm.dll -vmargs -Xms256m -Xmx768m -startup file:/C:/Program%20Files/eclipse/plugins/

[android-beginners] Re: Unable to release partial wake lock in service

2010-07-25 Thread Bret Foreman
Well, my understanding from the docs is that once a service has the wake lock cleared and no other services or activities are bound to it then it should be destroyed in a short time. But it's only a small change to my application logic to explicitly have the service call its stopSelf when the main

[android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Rodney Lendore
Hi, I was trying to create a scrolling list view for an android home screen widget with the following layout ?xml version=1.0 encoding=utf-8? !-- res/layout/bday_widget.xml -- !-- The initial layout of the widget as it would appear on the home screen -- RelativeLayout

Re: [android-beginners] Re: Unable to release partial wake lock in service

2010-07-25 Thread Kostya Vasilyev
Wake locks have to do with CPU state, not with service lifecycle. If you don't need the service at some point, call stopself or stopservice. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 25.07.2010 19:52 пользователь Bret Foreman bret.fore...@gmail.com написал: Well, my understanding from

[android-beginners] Re: Unable to release partial wake lock in service

2010-07-25 Thread Bret Foreman
Calling the service's stopSelf from the onDestroy method of the parent activity worked fine. It's fixed. -- 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

Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Justin Anderson
That is correct... Only specific views can be used in a RemoteView. The documentation specifies which views can be used. On Jul 25, 2010 10:06 AM, Rodney Lendore rodney.lend...@gmail.com wrote: Hi, I was trying to create a scrolling list view for an android home screen widget with the following

Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Rodney Lendore
So is there another way to create a scrollable List in a widget ? I thinking along the lines of the HTC Calender widget in which you can scroll through all your events for the month etc. Thanks On Sun, Jul 25, 2010 at 6:23 PM, Justin Anderson janderson@gmail.comwrote: That is correct...

Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Kostya Vasilyev
Sure. Add one or more (repeating) views, make a couple buttons for scrolling to previous/next positions, and update data item views when these buttons are clicked. Press and drag is reserved for home screen switching, anyway. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 25.07.2010 22:30

Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread YuviDroid
Only home replacements apps are supporting scrollable widgets...you can take a look here: http://groups.google.com/group/android-appwidget-extensions On Sun, Jul 25, 2010 at 8:30 PM, Rodney Lendore rodney.lend...@gmail.comwrote: So is there another way to create a scrollable List in a widget ?

Re: [android-beginners] Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Sam Hobbs
I am using Windows 7 64-bit. I am a beginner and sometimes I think there is a problem with the automatic deployment, but the problems are likely my fault. I have definitely had success with applications deploying automatically. I don't know how much I can help but I am willing to try to help.

[android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread DanH
Very good point. I find that most extra antivirus features must be turned off for most device emulators to function (and even some simple compile setups). Seems like AV software often suspects any code it's never seen before as being a virus, and obviously all the code you write falls into that

Re: [android-beginners] Re: Unable to deploy apps to AVD using Eclipse

2010-07-25 Thread Kostya Vasilyev
No problems with NOD32 here either. Running Windows 7 64bit. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 26.07.2010 1:10 пользователь Sam Hobbs s...@samhobbs.org написал: Many people have had problems with Norton. It was pre-installed in my system but I cleared it out of my system and

[android-beginners] Using google map

2010-07-25 Thread NBS
Hi all, I am trying to make some map base application. I just want to know whether I can use inbuild google map on my application?? I mean to say is there are many functions on google map application and I want to use them on my application. So instead of creating a new MapActivity, I will like

[android-beginners] internet connection on android emulator

2010-07-25 Thread androidreamer
Is anyone here has successfully run internet on 2.2 froyo(on windows) if yes please tell me how. thanks in advance -- 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

Re: [android-beginners] Using google map

2010-07-25 Thread TreKing
On Sun, Jul 25, 2010 at 8:05 PM, NBS and...@gmail.com wrote: I just want to know whether I can use inbuild google map on my application?? Depends on what you want to do with it. And you can't assume that it will always be inbuild, as it may very well not be on every device. I mean to say