[android-beginners] Re: Help me in Creating a AVD

2009-08-07 Thread Gibson
I think the easiest way is to use ADT. Do you know the ADT installed in Eclipse. Using it is quite easy and you don't have to remember the so long command parameters. On Aug 6, 11:52 am, AndroidDev wrote: > Hi there... > > I am quiet new to the Android platform. I am unable to create an AVD > (

[android-beginners] Re: showing error while adding editview in linearlayout.

2009-08-07 Thread Gibson
The error is because you defined a TextView inside a ListView. You know ListView first is an AdapterView. You cannot add a view into AdapterView because it is not supported. What you can do is to define an Adapter(such as ArrayAdapter) then set the adapter into the ListView. Hope this can help you

[android-beginners] Re: Help me in Creating a AVD

2009-08-07 Thread Victor Pantoja
Are you sure you added android SDK path do you PATH environment variable? "Optionally, you may want to add the location of the SDK's primary toolsdirectory to your system PATH. The primary tools/ directory is located at the root of the SDK folder. Adding tools to your path lets you run Android Deb

[android-beginners] Re: Share Code

2009-08-07 Thread Mark Murphy
Mitch wrote: > Is it reasonable/possible to directly share user written code? Java/Dalvik bytecode? No. Android Scripting Environment scripts? Probably -- haven't played with it yet. SIMPLE language scripts? Perhaps -- haven't played with it either. Directly using a scripting engine like Beans

[android-beginners] Re: showing error while adding editview in linearlayout.

2009-08-07 Thread Shalin
But here I can access TextView in my code. Its isn't giving any error or exception, But when I am trying to add EdtiText above ListView than it's giving error. My actual XML as under. Declaration of LinearLayout is Missing at very first. http://schemas.android.com/apk/res/ android" andro

[android-beginners] Re: showing error while adding editview in linearlayout.

2009-08-07 Thread Shalin
Here, I am closing that ListView too.But still I am getting problem.In xml file I am writing EditText above ListView, that's showing EditText but when I am trying to setting or getting value in that EditText it's giving nullpointer exception On Aug 7, 3:44 am, Shalin wrote: > But here I can acce

[android-beginners] Re: showing error while adding editview in linearlayout.

2009-08-07 Thread Shalin
Problem resolved. Thanks for replying. On Aug 7, 3:58 am, Shalin wrote: > Here, I am closing that ListView too.But still I am getting problem.In > xml file I am writing EditText above ListView, that's showing EditText > but when I am trying to setting or getting value in that EditText it's > giv

[android-beginners] Re: Encoding for G1 using ffmpeg

2009-08-07 Thread Justin Grammens
WOW. Thanks Mark for the links and explanation. Was wondering why the same movie that I have on the SD card plays fine, but when I put it on a website and accessed over http:// I get "This video can not be played". I'm sorry Android Devs, but this is very disappointing. Playing a video via http://

[android-beginners] Payment for service

2009-08-07 Thread jbrohan
Hello Could someone please point me to a discussion of payment for service in the Android environment. The application is medical, where the user sends a picture to the service (a real human nurse) and gets an opinion in return. The nurse needs to get some money out of the deal. The whole thing i

[android-beginners] Payment for service

2009-08-07 Thread jbrohan
Hello Could someone please point me to a discussion of payment for service in the Android environment. The application is medical, where the user sends a picture to the service (a real human nurse) and gets an opinion in return. The nurse needs to get some money out of the deal. The whole thing i

[android-beginners] Re: api's to display an image file stored in local folder

2009-08-07 Thread Balwinder Kaur (T-Mobile)
Where are you trying to read the image from ? 1. If it is packaged with your apk, you can retrieve it by accessing the Resources. Resources res = mContext.getResources(); Drawable myImage = res.getDrawable(R.drawable.my_image); It can also be done all in XML. There is more info here: http://d

[android-beginners] Re: Launching Settings

2009-08-07 Thread Balwinder Kaur (T-Mobile)
Try this piece of code : ComponentName c = new ComponentName ("com.android.settings","com.android.settings.SecuritySettings"); Intent i = new Intent(Settings.ACTION_SECURITY_SETTINGS); i.addCategory(Intent.CATEGORY_LAUNCHER); i.setComponent(c); i.setFlags(In

[android-beginners] Re: Launching Settings

2009-08-07 Thread Teal
Awesome! Thanks Balwinder, your code works perfectly. A little exploration: I tried to use Intent.ACTION_MAIN instead of Settings.ACTION_SECURITY_SETTINGS for the action because that's what the DDMS seemed to indicate. But the difference is that it first leads me to the Settings, and then to Se

[android-beginners] how can I use dmtracedump?

2009-08-07 Thread wook
Traceview is working fine, but still I have trouble of running dmtracedump. Has anyone successfully generated a graphical call diagram? this is the command I typed into my machine: > dmtracedump -ho -g actually I tried several combinations of the options, but it always output the same error mes

[android-beginners] Emulator memory

2009-08-07 Thread Steeler
Does the emulator accurately mimic the speed and memory of the average Android phone? --~--~-~--~~~---~--~~ 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@g

[android-beginners] How to manually change GSM operator (carrier)

2009-08-07 Thread Andrzej Dobrucki
Does anyone know if there's a way to manually switch from one carrier to another in code? I could get actual operator data with serviceState.getOperatorAlphaLong (); etc, but wasn't able to find a solution to actually switch from one to another. Thanks for help --~--~-~--~~-

[android-beginners] Re: .apk file failed to uploan on emulator

2009-08-07 Thread Guido García Bernardo
Same problem here. Any help could be highly appreciated. BR, guido. On 25 jul, 14:47, Stetze wrote: > Did you find a solution for that problem? > I'm facing the same problem since a long time... > > On Jun 8, 10:45 pm, chinna Durai wrote: > > > Hi, > > I tried to run the JetBoy sample example

[android-beginners] Re: Defaulting to numeric keyboard on EditText without forcing numeric input.

2009-08-07 Thread Marvel
android:number="integer" produces ERROR: no resource identifier found for attribute 'number'... On Aug 6, 4:26 pm, Mike Olson wrote: > I have an EditText that I don't want to force to be a number, but > chances are it almost always will start with a number (The field is > "Quantity", and I'd lik

[android-beginners] Already set up G1 (unlocked) with Gmail account now I want to set it up to use my "Google Apps" custom domain acct

2009-08-07 Thread Andres Monroy-Hernandez
A few questions: 1. I aready set up my G1 with my @gmail.com account but now I want to set it up with my @mydomain.com account that is hosted in Google Apps. 2. How can I set up so that it uses my Google Apps email account (custom domain) for email and my gmail for Google Calendar/Google Voice?

[android-beginners] how to use obexd sendfiles method?

2009-08-07 Thread lm
#include #include #include #include "sms_features.h" static void lose (const char *fmt, ...) G_GNUC_NORETURN G_GNUC_PRINTF (1, 2); static void lose_gerror (const char *prefix, GError *error) G_GNUC_NORETURN; static void release_val(gpointer data) { GValue *val = (GValue *)data;

[android-beginners] Android hardware

2009-08-07 Thread mvdb
Hi everyone, Hope this post does not show up as duplicate but my previous post is not appearing. Anyway I am thinking of getting a HTC Hero for android development. I would like to debug applications from Eclipse on the device. I cannot find anything to indicate this would be a problem but I just

[android-beginners] ImageButton is shriking it's size automatically when virtual keyboard is launched

2009-08-07 Thread Tushar
Hi, I have this strange problem. I'm placing Autocomplete text box and ImageButton in the center of screen. Whenever user starts entering text virtual keyboard is launched. At that time my ImageButton shrinks to half. I tried to set minimum height attribute but no success. Any idea what shoul

[android-beginners]

2009-08-07 Thread seema sharma
hello everyone I am android beginner.I am looking for notification example in android. can u plz send to me Seema Sharma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this grou

[android-beginners] Accelerometer and dpad

2009-08-07 Thread Steeler
I want to include accelerometer support in my app, but the documentation seemed pretty spotty. How many axes of rotation does the accelerometer support, and how do you differentiate between the axes? Also, do *any* current Android phones actually have a dpad? The emulator's not as useful as it co

[android-beginners] Sample Code

2009-08-07 Thread Nathan
I am just getting started with Android development and I would like to go over the sample code that it says is included with the sdk. However, it appears not to be included in the version I downloaded (android-sdk-windows-1.5r3). There isn't a folder at all for sample code. Any one know where I

[android-beginners] debugging using device on development running Virtual PC 2007

2009-08-07 Thread Idriss
I am using Virtual PC 2007 to develop under Android using Eclipse under Windows XP. I am able to debug using the emulator but have not had any luck to ddms to recognize the device. I was able to intall the USB driver under the PC, mount the drive, and then share the drive under virtual PC. has an

[android-beginners] How to share data between the program that launches the thread and the thread itself?

2009-08-07 Thread Android Beginner
Sorry... must be a very easy question... otherwise I would't be a real Android Beginner... :-) How to share the variable pippo between the program that launches the thread and the thread itself? @Override public void onCreate() { super.onCreate(); int pippo = 5; new Timer

[android-beginners]

2009-08-07 Thread jyoti gupta
I need notification example in android plz send to me --~--~-~--~~~---~--~~ 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 unsubscribe fr

[android-beginners]

2009-08-07 Thread seema sharma
I need a service example in android plz send to me --~--~-~--~~~---~--~~ 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 unsubscribe from

[android-beginners] ADC2

2009-08-07 Thread jaaaelpumuki
Hi guys! I'm not sure about how to participe in the contest. So the only thing i need it's to publich my app in the market? or do i have to do a special thing? is there a web site to upload adc2 apps? Thanks! --~--~-~--~~~---~--~~ You received this message becaus

[android-beginners]

2009-08-07 Thread seema sharma
hello I need a notification example in android plz send to me --~--~-~--~~~---~--~~ 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 unsubs

[android-beginners] Re: Thread Problem, invalidate() not recalled

2009-08-07 Thread shal
I think you are not using the handler for the updating of the GUI which is causing problem. Take a look at this tutorial that explains the basics of GUI/View updates. http://www.anddev.org/the_pizza_timer_-_threading-drawing_on_canvas-t126.html Hope it helps... On Jul 28, 5:23 am, Manj

[android-beginners] Cant run HelloAndriod

2009-08-07 Thread Pugnap00
So ive set up eclipse, with android SKD, and im trying to get the test HelloAndroid to run. My AVD is setup correctly, i did it through the command prompt. Whenever i go to run my app i get this error. ERROR: Application does not specify a android.test.InstrumentationTestRunner instrumentation or

[android-beginners] Developer hardware

2009-08-07 Thread mvdb
Hi everyone, I would like to get a HTC Hero for Android development. I could not find anything to indicate this would be a bad idea, i.e. I think I should be able to debug applications from Eclipse? I just wanted to make sure before I go ahead and buy one Any answers much appreciated Martij

[android-beginners] Switching operators

2009-08-07 Thread Andrzej Dobrucki
Hello all, This is my first post in this forum so I'd like to send warm his to everyone here. My question is : is it possible to write a piece of code that switches from one GSM cellular operator to other with or without user's permission. Thanks in advance! Andrzej --~--~-~--~~--

[android-beginners] Sample Code missing

2009-08-07 Thread Nathan
The folder that should contain the sample code for the Android SDK does not exist for me. I've downloaded the SDK two times and neither one contained it. Any idea where I might find the folder and the corresponding sample code so I can start figuring out how to program? Thanks, Nathan --~--~--

[android-beginners] MapView hangs up unable to connect and polluated logs with thousands of stack traces: Connection pool shut down

2009-08-07 Thread Zied Hamdi
Hi Google maps team, Just in case nobody reported the error: Best Regards, Zied Hamdi The Next Street Android Application http://nextstreet.eu 08-07 19:50:30.538: WARN/System.err(12975): java.lang.IllegalStateException: Connection pool shut down. 08-07 19:50:30.568: WARN/System.err(12975):

[android-beginners] Re: Sample Code missing

2009-08-07 Thread Mark Murphy
Nathan wrote: > The folder that should contain the sample code for the Android SDK > does not exist for me. I've downloaded the SDK two times and neither > one contained it. Bear in mind that starting with Android 1.5, the sample code is on a per-platform basis. So, if you want the 1.5 code, the

[android-beginners] Re: debugging using device on development running Virtual PC 2007

2009-08-07 Thread Roman
I am using VMWare player on my Windows Vista environment and don't have any problems with any hardware interface. Also recognizing a connected phone on USB works fine. You might want to give it a try if you don't have any progress with Virtual PC 2007. -- Roman Baumgaertner Sr. SW Engineer-OSDC

[android-beginners] examples for Saurabh sinha, seema sharma, jyoti gupta

2009-08-07 Thread Julie
Saurabh Sinha - is that you? You really need to stop spamming the channel (and the smart regulars!!) begging and demanding for someone to do YOUR work for you - no matter how many names you use and email accounts you can set up! From: seema sharma To: android-beginners@googlegroups.co

[android-beginners] How to Move an Image Using Finger Touch

2009-08-07 Thread Hamed3d
Hi there, I am trying to move an image using finger touch.I tried to find a tutorial or sample code for it but I couldn't find anything. Could anyone please help me out here? Thanks in advanced... --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: Sample Code missing

2009-08-07 Thread Nathan
Ah, thanks, I was overlooking the platform folder. On Aug 7, 12:06 pm, Mark Murphy wrote: > Nathan wrote: > > The folder that should contain the sample code for the Android SDK > > does not exist for me.  I've downloaded the SDK two times and neither > > one contained it. > > Bear in mind that s

[android-beginners] Re: Cant run HelloAndriod

2009-08-07 Thread Lutz Schönemann
Try setting the Android API version you want your app to use. Do this by opening the projects "Properties -> Android -> Project Build Target" The lower you set it the more poeple can use it because not every phone has the same version of Android. The higher you set it the more functionality you c

[android-beginners] Re: Sample Code

2009-08-07 Thread Xavier Ducrohet
Samples are under their respective platform versions. Look into /platforms//samples/ Xav On Fri, Aug 7, 2009 at 9:51 AM, Nathan wrote: > > I am just getting started with Android development and I would like to > go over the sample code that it says is included with the sdk. > However, it appear

[android-beginners] Re: debugging using device on development running Virtual PC 2007

2009-08-07 Thread Idriss
Thanks. I will have to look into that. do yo happen to know if VMWare offers a free product. thanks On Aug 7, 2:10 pm, Roman wrote: > I am using VMWare player on my Windows Vista environment and don't > have any problems with any hardware interface. Also recognizing a > connected phone on USB wo

[android-beginners] Sharing Industry Stats: Android Reeling in iPhone?

2009-08-07 Thread Peter Farago
Hi everyone, Flurry Analytics uses the data collected from now over 200 million montly tracked user sessions to spot trends in the industry. Sharing the latest from our July Smartphone Industry Pulse, which we hope you'll find helpful. http://blog.flurry.com/bid/24465/Smartphone-Industry-Pulse-

[android-beginners] Re: Payment for service

2009-08-07 Thread Yusuf T. Mobile
No, it's not. Have you considered PayPal? 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-Mobile USA, Inc. On Aug 7, 8:36 am, jbrohan

[android-beginners] Re: Sample Code

2009-08-07 Thread Kent Loobey
On Friday 07 August 2009 09:51:01 Nathan wrote: > I am just getting started with Android development and I would like to > go over the sample code that it says is included with the sdk. > However, it appears not to be included in the version I downloaded > (android-sdk-windows-1.5r3). There isn't

[android-beginners] Re: Why XML to define layouts/components?

2009-08-07 Thread Yusuf T. Mobile
If your question is "why even use XML to layout UI?" the answer is "because some people like it better; they find it easier and cleaner; other's prefer to do it in Java". As Teal said, you don't have to use XML if you don't like. I at first found the XML layout method foreign, and the plethora of

[android-beginners] Re: ADC2

2009-08-07 Thread Yusuf T. Mobile
I recommend you look at the rules here: http://code.google.com/android/adc/ And wait for Google to announce when contestants can submit their entries, hopefully soon. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solel

[android-beginners] Re: Why XML to define layouts/components?

2009-08-07 Thread Casper Bang
Exactly my point, it seems like it would be easier to learn Android that way. It wasn't until I found Mark Murphy's "The Busy Coder's Guide to Android Development" that I starting feeling a bit more comfortable with all the XML (lots of examples gradually introduced, unlike the O'Reilly and Mannin

[android-beginners] Re: Why XML to define layouts/components?

2009-08-07 Thread Romain Guy
> Also, Roman Guy replied in another thread, that you can't do the same > with Java as you can with XML (although that seems odd, all other XML > view technologies I know of ultimately translates into a Java > component tree): > http://groups.google.com/group/android-beginners/browse_thread/thread

[android-beginners] Re: Why XML to define layouts/components?

2009-08-07 Thread Mark Murphy
Casper Bang wrote: > It wasn't until I found Mark Murphy's "The Busy Coder's > Guide to Android Development" that I starting feeling a bit more > comfortable with all the XML That is due to the subliminal "angle brackets are your friends" I have in the watermark on the pages. ;-) > Also, Roman

[android-beginners] Debugger doesn't work

2009-08-07 Thread Steeler
I have Eclipse Ganymede and the Android ADT plugin. I'm able to test code in the emulator, and everything's working fine... except that when using breakpoints, the debugger will stop working all of a sudden. Sometimes I can step through a few lines, sometimes it'll do it right away. When it happen

[android-beginners] Re: Why XML to define layouts/components?

2009-08-07 Thread Casper Bang
Thanks guys, I now understand the empathy on XML a little better. :) /Casper On 8 Aug., 00:12, Mark Murphy wrote: > Casper Bang wrote: > > It wasn't until I found Mark Murphy's "The Busy Coder's > > Guide to Android Development" that I starting feeling a bit more > > comfortable with all the XM

[android-beginners] Re: how can I use dmtracedump?

2009-08-07 Thread fadden
On Aug 7, 1:21 am, wook wrote: > actually I tried several combinations of the options, but it always > output the same error message > ERROR: unable to read 216321 bytes from trace file Sounds like your .trace file is truncated or broken somehow. Do you see errors if you simply "dmtracedump -h

[android-beginners] Re: debugging using device on development running Virtual PC 2007

2009-08-07 Thread Roman
VMWare player is for free. Also check out the VirtualBox from sun which is also available for the Windows environment and is also for free. Let me know if you have problems with the setup. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statement

[android-beginners]

2009-08-07 Thread saurabh sinha
this is notification test class and test1 another activity while running notification I get status msg when I click to start another activity activity is not started plz check it your system and tell me where I am going wrong import android.app.Activity; import android.app.Notification; import a

[android-beginners] Re: How to Move an Image Using Finger Touch

2009-08-07 Thread Jack Ha
You can take a look at this tutorial. http://www.anddev.org/viewtopic.php?p=11603 -- Jack Ha Open Source Development Center ・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 repr

[android-beginners] Question Regarding the Background Menu

2009-08-07 Thread Hamed3d
Hi there, I have a GUI question and hope someone can help me out. I am trying to make a GUI where I have 3 buttons ( start, about, exit). What I need is to have a background behind these buttons. For instance Xgalaga game for android. When you start the game there are 3 buttons and behind them i

[android-beginners] Re: How to Move an Image Using Finger Touch

2009-08-07 Thread Hamed3d
Thank you so much. That's exactly what I want On Aug 7, 8:50 pm, Jack Ha wrote: > You can take a look at this tutorial. > >    http://www.anddev.org/viewtopic.php?p=11603 > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > > The views, opinions and statemen

[android-beginners] Re: [android-beginners]

2009-08-07 Thread Naveen Krishna Ch
2009/8/7 seema sharma > hello everyone > > I am android beginner.I am looking for notification example in android. > can u plz send to me > Go through the ApiDemos in the SDK.. There is sample code for it > > Seema Sharma > > > > -- Shine bright, (: Naveen Krishna Ch :) ~~Forgiveness is the e

[android-beginners] Re: [android-beginners]

2009-08-07 Thread Naveen Krishna Ch
2009/8/7 seema sharma > I need a service example in android > plz send to me > ApiDemos in the SDK has a service example for Local service and Remote service.. Basically we need to have an AIDL file for each (Service and client) And thier skeletons(Which are interfaces) should be defined by you..

[android-beginners] Re: Cant run HelloAndriod

2009-08-07 Thread Brett Chabot
It sounds like you're selecting "Run As > Android JUnit Test" when attempting to run your app. This will attempt to execute all the JUnit tests in your project, but your project is not properly configured as a test project. What you probably want instead is to select "Run As > Android Application"

[android-beginners] Re: Android SDK + Eclipse + Ubuntu 9.04 = strange bug

2009-08-07 Thread wmhtet
Try to reload the project. In the package explorer, right click on project and select "refresh F5". On Aug 5, 3:03 pm, sunabozu wrote: > Hi. I'm trying to write a basic application. Everything goes fine and > my project works. But when I'm using IOException in my code, Eclipse > shows me strange

[android-beginners] virtual keyboard

2009-08-07 Thread Liviu Ungureanu
hi!my application have an edittext on main activity and i want as whe my application will open the virtual keyboard to be open.i tried whith requestFocus but doesn't work.you think is posible that?and an other question:is posible tu use the enter key pf virtual keyboard to submit a form or an other