[android-beginners] Re: Using adb on Mac and HTC Magic

2009-06-24 Thread Josh
Could this be the reason? http://code.google.com/p/android/issues/detail?id=3096 On Jun 24, 10:46 pm, Joshua Lim wrote: > Repost : apologies but posting from the web page doesn't seem to go > through-- Forwarded message -- > From: Josh > Date: 2009/6/24 > Subject: Using ad

[android-beginners] Steps for Implementing the SOAP Protocol In Android.

2009-06-24 Thread vinny.s...@gmail.com
Hi Every One Can Any Body explain the Steps for Implementing the SOAP Protocol In Android. I have a two methods to call from the server and to get the data from the server Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subs

[android-beginners] Re: Can the main activity also be the starting activity?

2009-06-24 Thread Balwinder Kaur (T-Mobile)
The choice of which activity should be launched by an application is determined by the application developer. Android does not have any requirements that a setup screen be shown first. That being said, it is really up to the application developer to determine the user experience they want to provi

[android-beginners] Re: G1 vs Emulator

2009-06-24 Thread Roman
I noticed the same on my system. To go around this problem, I switch to DDMS mode in Eclipse and select the device icon to make sure that the G1 is recognized. If this is not the case I unplug the G1 and connect it again. After seeing the G1 as device connected on Eclipse I switch back to Java mod

[android-beginners] Re: startActivity called from non-Activity context - help

2009-06-24 Thread Wayne Wenthin
Not to hijack the thread but ... Mark do you know any books that cover this stuff because it makes my head hurt also and seems to be one of my main stumbling blocks. On Wed, Jun 24, 2009 at 7:00 PM, Mark Murphy wrote: > > Jason Van Anden wrote: > > I > > assumed when the Activity was activated it

[android-beginners] Re: startActivity called from non-Activity context - help

2009-06-24 Thread Mark Murphy
Jason Van Anden wrote: > I > assumed when the Activity was activated it would call onCreate, or > startActivity ... or something else where I could retrieve the extras > from. onResume gets called - but when it gets called, the intent has > changed via LogCat That certainly would not have been m

[android-beginners] Re: startActivity called from non-Activity context - help

2009-06-24 Thread Jason Van Anden
Hi Mark, Thanks Mark ... still stuck tho. The "it" is the pendingIntent that is re-activating/restarting the Activity. Basically, my main Activity starts a Service that continues to run with or without it. The Service occasionally updates the status bar. When the user selects the status bar it

[android-beginners] Re: how to stop sound notification/let it only play once?

2009-06-24 Thread polzifer
of course when copying and pasteing I accidentally erased the "soundNotification();" from the notifyClient method. Just nobody gets confused... Regards, chris! On 25 Jun., 03:11, polzifer wrote: > Hi, > > while my > > notification.sound = uri > > isn't stopping from looping the sound, the vi

[android-beginners] Re: New UI

2009-06-24 Thread johnny
PLEASE DISREGARD THIS POSTING IT'S A DUPLICATE FROM ME...MY BAD!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To un

[android-beginners] how to stop sound notification/let it only play once?

2009-06-24 Thread polzifer
Hi, while my notification.sound = uri isn't stopping from looping the sound, the vibration does only vibrate once. So I assume the i flagged the notification ok? The ringtone for the app is chosen via a ringtone preference dialog: *

[android-beginners] Re: startActivity called from non-Activity context - help

2009-06-24 Thread Mark Murphy
Jason Van Anden wrote: > thing is, > I have no idea what function to read the intent details from. You can get the Intent that started your activity via getIntent(). AFAIK, if you are brought forward off the stack via a Notification, getIntent() will return the Intent from the Notification. > It

[android-beginners] startActivity called from non-Activity context - help

2009-06-24 Thread Jason Van Anden
This message appeared in logcat when selecting a notification ... startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { comp={com.blah.blahs/com.blah.blahs.Blahs} (has extras) } It brings the Activity into focus which is half the battle ... thing is,

[android-beginners] Re: G1 vs Emulator

2009-06-24 Thread David Turner
adb -e to talk to the emulator (only works if there is a single emulator instance running) adb -d ...to talk to a real device (only works if there is a single physical device connected) adb -s ... to talk to a specific device (where is either "emulator-5554" or "HT850GZ54711") On We

[android-beginners] Re: Please Help! I Can't get the ADT Plugin to Install

2009-06-24 Thread Jose Ayerdis
try Galileo Realesed. 2009/6/24 Pamplemousse Mk2 > > Hello, > > ADT 0.9.1 worked fine with Eclipse 3.4 until today. Eclipse asks me > for updates. So I accept the updates and now ADT can't open the XML > res files of my current projects. > > Is ADT not compatible with updated Eclipse 3.4.2? > >

[android-beginners] Re: Eclipse plugin vs. conversion to Dalvik

2009-06-24 Thread Raphael
Hi Ben, long time no see :-) That's a frequent error that happens when no classes were properly generated. And yes in this case the JDK matters a lot. R/ On Wed, Jun 24, 2009 at 3:26 PM, Benjamin Herrenschmidt wrote: > > On Wed, 2009-06-24 at 15:24 +1000, Benjamin Herrenschmidt wrote: >> Hi ! >

[android-beginners] Re: Eclipse plugin vs. conversion to Dalvik

2009-06-24 Thread Benjamin Herrenschmidt
On Wed, 2009-06-24 at 15:24 +1000, Benjamin Herrenschmidt wrote: > Hi ! > > I haven't seen this in a FAQ and while Google turned out some mentions > of this problem, I didn't find an actual solution. > > So I'm new to Android, planning to try it out, and did the following > > - Machine is an x

[android-beginners] Re: Basic Layout

2009-06-24 Thread Christian Polzer
Have you tried an Relative Layout yet? I think you can specify the left and right Item in the Xml for that? Regards,, Christian Polzer christian.pol...@googlemail.com On 24.06.2009, at 23:51, Carl wrote: > > thanks. I tried that but unfortunately I then get an > arithmeticException. >

[android-beginners] Re: Basic Layout

2009-06-24 Thread Carl
thanks. I tried that but unfortunately I then get an arithmeticException. It also seems pretty complicated to add Views to it. On Jun 24, 3:36 pm, schwiz wrote: > try using 1 linear layout with a TableLayout tag inside then TableRow > inside of that.  Make sure  your TableLayout has the attribut

[android-beginners] Re: Android on Ubunty 9.04: redux, connecting your G1

2009-06-24 Thread Michael Leung
I can't connect my Kubuntu 9.04 as well. But that is a VM. On Thu, Jun 25, 2009 at 2:47 AM, Neil Hendrick wrote: > THis is what worked for me to get my G1 connected to my Ubuntu 64 Jaunty. > > > > mojote...@kobo:~$ adb devices > List of devices attached > > (note: nothing listed here) > > mojote

[android-beginners] Re: Basic Layout

2009-06-24 Thread Carl
Thanks for all your replies. I was so fed up! Here is the layout xml. I did have the wrong (fill_parent) value in layout_width. That has solved that issue, thanks. Also, the eclipse layout editor is such a great tool. It really helps to see what you are doing before you try it in the emulator, a

[android-beginners] Re: HelloSpinner example runs but gives resource error

2009-06-24 Thread greg
By the way, the emulator correctly displays the string (i.e., planet_prompt) at the top of the spinner selections. Yet, the Problems tab of Eclipse claims that no resource matches the name planet_prompt. Anyone else seeing this error in the HelloSpinner example? - Greg On Jun 24, 2:57 pm, greg

[android-beginners] Re: Garbage Collection of Threads

2009-06-24 Thread fadden
Somebody pointed me at this: http://bugs.sun.com/view_bug.do?bug_id=4410846 Apparently we're not the first. :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, sen

[android-beginners] Re: Garbage Collection of Threads

2009-06-24 Thread fadden
On Jun 23, 8:30 pm, Drifter wrote: > Unfortunately I've altered the code to actually start the TestThread > and it still doesn't hit the breakpoint. Is there any way of > implementing this without leaking TestThreads? I tried your example as a simple class invoked from the shell. It ran the fin

[android-beginners] HelloSpinner example runs but gives resource error

2009-06-24 Thread greg
I think I followed the instructions for the HelloSpinner example (part of HelloViews documentation), and the HelloSpinner application runs within the emulator. However in the Eclipse Problems tab, the following error message is displayed: ERROR Error: No resource found that matches the given nam

[android-beginners] GUI Question

2009-06-24 Thread nbadal
Hi, does anybody know how to achieve a similar look to the unread mail number box on the Mail application's account list? Is it a theme, or just a drawable background? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "A

[android-beginners] Re: Adding Data to a ListView

2009-06-24 Thread nbadal
Never mind, I hadn't realized I posted this to the android-developers group at: http://groups.google.com/group/android-developers/browse_thread/thread/796342d2a30c0c0b# On Jun 24, 9:19 am, nbadal wrote: > Is there any way to add data to a listview, outside of a cursor? In my > application, I h

[android-beginners] Re: Low performance using SurfaceView, touchMode and OptionMenu

2009-06-24 Thread Jason Van Anden
I highly recommend that you watch this: http://www.youtube.com/watch?v=U4Bk5rmIpic Jason Van Anden http://www.smileproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to th

[android-beginners] Re: Launch the listview in a new seprate screen

2009-06-24 Thread Yusuf T. Mobile
Start a ListActivity: http://developer.android.com/reference/android/app/ListActivity.html Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-

[android-beginners] Using adb on Mac and HTC Magic

2009-06-24 Thread Joshua Lim
Repost : apologies but posting from the web page doesn't seem to go through -- Forwarded message -- From: Josh Date: 2009/6/24 Subject: Using adb on Mac and HTC Magic To: Android Beginners Hi, I installed 1.5 SDK and was trying out the tools: adb. However, after connecting

[android-beginners] Re: Sense UI

2009-06-24 Thread Romain Guy
That's question you should ask HTC :) On Wed, Jun 24, 2009 at 9:38 AM, johnny wrote: > > Sorry if this is a duplicate post (can't find my old one). I was > wondering if anyone knew wether or not the new HTC Sense UI would be > made available for developers to run on the developme G1? > > thanks.

[android-beginners] Can the main activity also be the starting activity?

2009-06-24 Thread AndroidGameGuy
I am working on a simple game app that I want to open right to the game screen when the use launches the app. No detours to a EULA, or asking if they want a new game, etc. Just go right to the game screen. It's going to be a simple game so 2D canvas graphics are all I need. No views in XML, jus

[android-beginners] GLSurfaceView Renderer problem

2009-06-24 Thread Ian
I've been working through some of the OpenGL stuff, but I've hit a bit of a snag. I'd like to use the RENDERMODE_WHEN_DIRTY renderMode, but it doesn't seem to recover from an incoming call properly - onSurfaceCreated() and onSurfaceChanged() are not being called. The docs say to call onPause() and

[android-beginners] Using adb on Mac and HTC Magic

2009-06-24 Thread Josh
Hi, I installed 1.5 SDK and was trying out the tools: adb. However, after connecting the USB cable, and running adb the device cannot be detected anyone can help? [24/06 22:39] j...@beaver:~ ! adb start-server * daemon not running. starting it now * * daemon started successfully * [24/06 22:

[android-beginners] Eclipse plugin vs. conversion to Dalvik

2009-06-24 Thread Benjamin Herrenschmidt
Hi ! I haven't seen this in a FAQ and while Google turned out some mentions of this problem, I didn't find an actual solution. So I'm new to Android, planning to try it out, and did the following - Machine is an x86/32 runnig ubuntu jaunty - JVM is IBM jre1.5 but the problem is identical usi

[android-beginners] PPC based development

2009-06-24 Thread Duder
>From what I understand, the Android Emulator for development testing is Java based, and if I'm doing development with the ADT Eclipse Plugin, that should be Java based as well...so I'm wondering why an Intel processor is required for Android development, unless I were using some x86 based executa

[android-beginners] how to install Android build on a g1

2009-06-24 Thread vale_arna
Hello, I'm new to Android. I need to create a manet with some htc g1 for my thesis work. I've received a g1 from the University with cupcake already built on it. I noticed that ad-hoc mode is disabled by default in cupcake, but i found this patch: https://review.source.android.com/Gerrit#change,

[android-beginners] How to connect external webcam

2009-06-24 Thread Shivanand
Hi, I am beginner to android development. I want know how to connect external usb webcam to android device.. Thanks, Shiv. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this g

[android-beginners] GLSurfaceView.Renderer onSurfaceCreated/onSurfaceChanged not called if RENDERMODE_WHEN_DIRTY

2009-06-24 Thread Dante
Just trying to put together a simple OpenGL app, but I've run into a problem. I'm exceptionally new to OpenGL, so maybe I'm missing something painfully obvious... I've created a GLSurfaceView and a GLSurfaceView.Renderer to draw a simple 2D screen. Everything works as expected unless I call setRe

[android-beginners] Re: IPsec support ?

2009-06-24 Thread Brian Cloutier
A search of the Androids kernel source returns 417 matches for IPsec On Tue, Jun 23, 2009 at 5:42 AM, Ram wrote: > > Hi, > > Is there IPsec support on Android. > Does Android support Application developers to make use of the IPsec ? > > Thank you, > Ram. > > > > --~--~-~--~~

[android-beginners] Launch the listview in a new seprate screen

2009-06-24 Thread rohit
Hello Experts, I have fetched the contacts from the phone and displayed it on the ListView. But now would like to launch the ListView at new screen on a button click. Please help me.. Regards, Rohit Mandiwal --~--~-~--~~~---~--~~ You received this message becaus

[android-beginners] pressing menu key slows down surfaceview

2009-06-24 Thread Gazy
Hi, I have a surfaceview app and it runs at 60fps ordinarily, but sometimes if i press the menu key the fps drop right down to 40fps. This was happening when I moved over to another view for some ordinary GUI stuff (not a surfaceview) and then back again but I got around it by restarting the acti

[android-beginners] Adding Data to a ListView

2009-06-24 Thread nbadal
Is there any way to add data to a listview, outside of a cursor? In my application, I have a SQL database that I use to store data for each list entry, but one of the numbers I need to show is not directly derived from the database, but is instead calculated from a number from the database. (Datab

[android-beginners] Re: Basic Layout

2009-06-24 Thread AndroidGameGuy
Agreed! simple layout is a lot more work (take a look at iPhone's Interface Builder for how easy drag & drop can be) Anyway, the above suggestions make sense. Maybe another idea is to try the "preview" you get in Eclipse, that way you will quickly see your XML changes without having to run your

[android-beginners] Cannot see my HTC Magic via DDMS to take screenshot

2009-06-24 Thread kidhermes
Hello I'm new to Android and will start to develop on. But I can't connect my phone (HTC Magic, branded Swisscom in Switzerland) to my XP Eclipse + SDK 1.5r1. First I will simply take a few screenshot following this process: http://blog.digitaltinder.net/2009/06/how-to-take-android-screenshots/

[android-beginners] Re: Please Help! I Can't get the ADT Plugin to Install

2009-06-24 Thread Pamplemousse Mk2
Hello, ADT 0.9.1 worked fine with Eclipse 3.4 until today. Eclipse asks me for updates. So I accept the updates and now ADT can't open the XML res files of my current projects. Is ADT not compatible with updated Eclipse 3.4.2? On 22 juin, 16:25, Sander wrote: > It did not work for me either wh

[android-beginners] Map problem

2009-06-24 Thread jimmy
Hi i have problem that i cant show the map please help me. i m using sdk1.0, adt0.8.0. this is my .java file package net.learn2develop.GoogleMaps; //import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; //import com.google.android.maps.MapController; import com

[android-beginners] Problem when trying to run the emulator

2009-06-24 Thread ники тончев
when i run the emulator either from the cmd with the emulator command or the exe file it says that i need to create avd but when i try to create one it says C:\Users\D.N.E.A>android create avd --target 2 --name my_avd 'java' is not recognized as an internal or external command, operable program or

[android-beginners] G1 vs Emulator

2009-06-24 Thread Neil Hendrick
Droids, I have managed to set up my G1 so that it is recognized by the system when it is connected: mojote...@kobo:~$ adb devices List of devices attached HT850GZ54711 device emulator-5554 device but when I try to run my application, I do not get the option to run on the device. There is no devi

[android-beginners] adb cannot get devices on Mac

2009-06-24 Thread Josh
Hi I installed the 1.5 SDK and was trying to access a new HTC Magic using adb. The command runs but show no devices attached [24/06 19:19] j...@beaver:~ ! adb start-server * daemon not running. starting it now * * daemon started successfully * [24/06 19:19] j...@beaver:~ ! adb devices List of de

[android-beginners] Sense UI

2009-06-24 Thread johnny
Sorry if this is a duplicate post (can't find my old one). I was wondering if anyone knew wether or not the new HTC Sense UI would be made available for developers to run on the developme G1? thanks. --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: Low performance using SurfaceView, touchMode and OptionMenu

2009-06-24 Thread Gazy
Im having the exact same issue - restarting the activity results in 60fps again but now and again pressing the menu key will result in the surfaceview running at 40fps and staying that way. It seems to be at the same time the app is struggling a little bit with doing many things as I can recreate

[android-beginners] Re: Android on Ubunty 9.04: redux, connecting your G1

2009-06-24 Thread Neil Hendrick
THis is what worked for me to get my G1 connected to my Ubuntu 64 Jaunty. mojote...@kobo:~$ adb devices List of devices attached (note: nothing listed here) mojote...@kobo:~$ sudo touch /etc/udev/rules.d/51-android.rules [sudo] password for mojotexas: mojote...@kobo:~$ sudo vi /etc/udev/rules.

[android-beginners] New UI

2009-06-24 Thread johnny
Does anyone know if the new sense UI will be available for the dev G1 for testing? That would be awesome. Thanks, - Johnny --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this g

[android-beginners] Re: Ringing the phone

2009-06-24 Thread Balwinder Kaur (T-Mobile)
How about this ? Uri defuri = RingtoneManager.getDefaultUri (RingtoneManager.TYPE_RINGTONE); Ringtone r = RingtoneManager.getRingtone(mContext, defuri); //where mContext is your Context object r.play(); Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opin

[android-beginners] Re: Basic Layout

2009-06-24 Thread schwiz
try using 1 linear layout with a TableLayout tag inside then TableRow inside of that. Make sure your TableLayout has the attribute android:stretchColumns="*" this should do it! On Jun 23, 10:16 pm, ayush wrote: > its hard to figure out without looking at your XML content. my guess > is that yo

[android-beginners] User login from mobile app

2009-06-24 Thread MCON Dev
Hello, I am planning to write a android application that logs into a remote user database. Once logged in the user can perform multiple tasks. I need some guidance on the technologies I need to read up to achieve it. I read up OpenLDAP, and Unbound API's for LDAP. Soon I will prototype the LDAP wa

[android-beginners] I found the minus key on the android emulator

2009-06-24 Thread MMC2
I have been battling with the issue of how to enter a negative number into an EditText. I have discovered the answer to the problem and would like to share it. The minus key on the android emulator is the "g" key. This seems to be a surprising place for it to be at first, but with the benefit of h