[android-beginners] how to put button in list activity?

2010-01-21 Thread umar
hi, can any one guide me how can i put Text Button in list activity??? any help would be appriciated. -- 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] how to put button in list activity?

2010-01-21 Thread Antti Karhu
HI. Just like with other views, put it in the layout xml: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent Button

[android-beginners] Re: how to put button in list activity?

2010-01-21 Thread umar
actually i am new to android.. on button click i want to go to text detail and button should be dispalyed beside that text.. could you please explain it?? do you have any example of that On Jan 21, 2:49 pm, Antti Karhu antti.iisa...@gmail.com wrote: HI. Just like with other views, put it in

[android-beginners] Re: problems with emulator

2010-01-21 Thread jj
Finally, I found the problem, and I am posting it here, in case it can be of any help to anyone... The emulator seems to crash when the operative system is NOT english... was anyone aware of this? I had my windows xp sp3 in spanish, and no matter how many times I installed and reinstalled

[android-beginners] How to change emulator's default wallpaper?

2010-01-21 Thread Sourabh Pandit
Hi, m new to android. Please tell me how to change the default wallpaper in android emulator. I don't want to use SD card. Following thing I have tried: 1) Tweak with .apk file. I have pulled .apk file and added new wallpaper images and tried to install. But couldn't install as i got

[android-beginners] How can I deploy Android app to google App engine cloud ?

2010-01-21 Thread QterMgnus
I have made small android application I want to deploy it to Google App engine in my personal cloud ? -- 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

[android-beginners] Cell information like on old phones?

2010-01-21 Thread Kiripolszky Károly
Hi all! My old SE phone was able to show additional cell information like city/ district name, train stations, events, etc. depending on the currently used GSM station. As my operator supports this, I'd really love to have the same information on my G1, but I can't seem to find support for the

[android-beginners] how can I launch my own activity from Home screen?

2010-01-21 Thread satish bhoyar
hi all, I m trying to launch my own activity from Home Screen. I gave the button for the same to do it . I then build the code wen i click the button i get error saying the application is not installed on the phone.. please help. thanks sat -- You received this message because you are

[android-beginners] UPnP

2010-01-21 Thread Abhi
Hi, Need help understanding how to build a UPnP stack in Android? Anyone? Abhi -- 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 http://stackoverflow.com/questions/tagged/android

Re: [android-beginners] how can I launch my own activity from Home screen?

2010-01-21 Thread Justin Anderson
You have got to be a little more specific... * I m trying to launch my own activity from Home Screen* Ok, install your app as normal and create a shortcut as you would any other app... * I gave the button for the same to do it* What? * I then build the code wen i click the button i get error

[android-beginners] Re: how can I launch my own activity from Home screen?

2010-01-21 Thread KitzyKitt
Are you trying to run it through the Emulator? Or did you get it to work on the emulator and now you are trying to get it to work on your phone? This extra information will be helpful in solving your issue. Sincerly, -Kitzy On Jan 21, 6:19 am, satish bhoyar getsatonl...@gmail.com wrote: hi

Re: [android-beginners] how can I launch my own activity from Home screen?

2010-01-21 Thread Sean Hodges
On Thu, Jan 21, 2010 at 1:19 PM, satish bhoyar getsatonl...@gmail.com wrote: hi all, I m trying to launch my own activity from Home Screen. I gave the button for the same to do it . I then build the code wen i click the button i get error saying the application is not installed on the phone..

Re: [android-beginners] how can I launch my own activity from Home screen?

2010-01-21 Thread satish bhoyar
yes I am editing the android code. I put the button in the launcher.xml then build the android code , then flash the phone I want to launch my activity on the click event of the button. but the problem is coming.. thanks, satish On Thu, Jan 21, 2010 at 9:17 PM, Sean Hodges

[android-beginners] Phone temperature

2010-01-21 Thread Steeler
I just finally got an ADP1 (used for ~175!) and I'm really happily surprised at the performance of my app... it was running pretty badly in the emulator, but apparently the emulator's just really slow. One thing though... running my app (a 2D game that draws a fair amount of sprites and has

Re: [android-beginners] how can I launch my own activity from Home screen?

2010-01-21 Thread Justin Anderson
This is not an appropriate question for this group... You would get better help from the android developers group. -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] حقيقه مش خيال إكس ب لاب توب مجانى مقدم من شركة EZLapTop

2010-01-21 Thread alagmy
حقيقه مش خيال إكسب لاب توب مجانى مقدم من شركة EZLapTop هل تريد الحصول على أحد هذين الكمبيوترين مجانا ؟ حقيقه مش خيال ما عليك إلا جمع النقاط 195 نقطة للحصول على الكمبيوتر التالي الاسم : Sony المواصفات : 2.2Ghz انتل كور 2 ديوو مع 4GB ذاكرة الوصول العشوائي ، ويندوز 7 64 بت 295 نقطة للحصول على

[android-beginners] Centering ImageButtons within TableRow

2010-01-21 Thread MobDev
Hi, I am trying to create a grid-like UI implementing ImageButtons. For that purpose I have selected the TableLayout, implementing several TableRows which in turn include a couple of ImageButtons. I'd like the two TableRows to cover the whole Table's width (so the width should be divided in two

Re: [android-beginners] problems with emulator

2010-01-21 Thread Adrian Vintu
try android-sdk_r04-windows.zip at http://developer.android.com/intl/zh-CN/sdk/index.html and don't forget the ADT at http://developer.android.com/intl/zh-CN/sdk/eclipse-adt.html BR, Adrian Vintu On Tue, Jan 19, 2010 at 12:47 PM, jj juanjosegilmen...@hotmail.com wrote: Hi I recently moved

[android-beginners] Re: Keys don't work with SurfaceView

2010-01-21 Thread Jason Arora
In addition to setFocusable, try calling setFocusableInTouchMode (true). Your onKey should look more like this: @Override public boolean onKeyDown(int keyCode, KeyEvent event) {...} @Override public boolean onKeyUp(int keyCode, KeyEvent event) {...} On Jan 15, 10:21 am, guich

[android-beginners] Re: T-Mobile prepaid sidekick plan?

2010-01-21 Thread Skittles The Awesome
Im sorry my friend, im afraid this won't work... i've researched it on the web ( i want a g1 with a sidekick plan tooo ) and sadly it doesnt work :( I so totally wish tmobile or google would let it work... cause it would totally revolutionize the prepaid mobile industry.. On Dec 23 2009, 8:24 

Re: [android-beginners] problems with emulator

2010-01-21 Thread tech guy
U must install a android sdk for linux... http://developer.android.com/sdk/index.html On Tue, Jan 19, 2010 at 5:17 PM, jj juanjosegilmen...@hotmail.com wrote: Hi I recently moved from linux (where I was developing for android using eclipse) to windows I just downloaded the sdk

[android-beginners] Re: setContentView fails when creating a new activity

2010-01-21 Thread RNekic
I find that exceptions triggered by setContentView are often simple oversights in the layout file. Often, it is caused by a missing layout_width or layout_height on one of my view declarations in the xml. On Jan 19, 9:37 am, Walt Armour waltarm...@gmail.com wrote: That looks like the content

[android-beginners] Re: Keys don't work with SurfaceView

2010-01-21 Thread Jason Arora
That's strange, I posted a reply but my message did not appear. Sorry if I end up double-posting. Try adding setFocusableInTouchMode(true) in addition to setFocusable (true). Also, your onKey callback looks incomplete, it should look more like this: @Override public boolean onKeyDown(int

[android-beginners] repo sync problem

2010-01-21 Thread chucks
hi i just new to android and was trying to build android for ADP1. i was following the instruction given in http://source.android.com/download , but i get stuck while getting the files. when i do repo sync , this is what i get ra...@ubuntu:~/mydroid$ repo sync Fetching projects: 4% (7/164)

[android-beginners] Re: setContentView fails when creating a new activity

2010-01-21 Thread RNekic
I find that exceptions triggered by setContentView are usually caused by something simple in the layout file; often a missing layout_width or layout_height on one of my View declarations. On Jan 19, 9:37 am, Walt Armour waltarm...@gmail.com wrote: That looks like the content of the stack from

[android-beginners] java.awt.font error when opening Android Layout editor

2010-01-21 Thread Shyam
Hi All, I have just started learning Android application programming. When I try to edit project/res/main.xml using android layout editor I get the error Could not initialize java.awt.font. Below is the config. OS: Linux X64 Ubuntu Lucid Lynx with ia32 libraries Eclipse: 3.5.1 Android ADT Plugin

[android-beginners] Re: java.lang.IllgealArgumentException:OnCreateDialog did not create a dialog for id ..

2010-01-21 Thread Chester
I have the exact the problem. I simply cut and post the tutorial from the Android Developer site. Here is my main.xml and java code. ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=wrap_content

[android-beginners] code stepping icons disabled

2010-01-21 Thread Juan
Hi, Stack. I have just started with Android it runs on the Eclipse SDK. Eclipse version: 3.5.1 and Android 2.0.1 I need to debug my code by stepping through it. However, the step in and step over buttons are disabled in the debug environment. How can I enable these buttons? -- You received this

[android-beginners] Re: java.lang.IllgealArgumentException:OnCreateDialog did not create a dialog for id ..

2010-01-21 Thread Chester
Hi, sorry, I figured out the problem: I forgot to copy this piece of the code. @Override protected Dialog onCreateDialog(int id) { switch (id) { case DATE_DIALOG_ID: return new DatePickerDialog(this, mDateSetListener,

[android-beginners] repo sync problem

2010-01-21 Thread chucks
hi , i am a beginner to android development .. i was trying to get the sources for the 1.6 release.. but the repo sync operation keeps hanging i am pasting the last part of the message i get on the terminal here Fetching projects: 19% (32/164) Initializing project platform/external/freetype

[android-beginners] Eclipse is building all projects

2010-01-21 Thread Rob Shepherd
Hi Android Beginners, I have a strange problem. When I generate android projects in Eclipse and run them as Android Application the IDE first attempts to build all my other projects (Which is a considerable number and unnecessary). I have many other types of Projects: groovy, maven, ant, plain

[android-beginners] Simple Android app for composing music

2010-01-21 Thread Jack
Hi, I am thinking of developing a simple Android application that lets users compose music on Android phones. I am new to the Android platform. I have some coding experience in Java that involves being aware of basic OOPS and Java concepts and developing some small Java applications(less than 1k

[android-beginners] Unable to start download in Browser

2010-01-21 Thread mariush
I want to download widget from page widgets.opera.com, i enter to this site: http://widgets.opera.com/general/getopera/3529/1.6/ and i am trying to download widget by pressing Get Files Button. But instead of downloading files, the site is only reloading... Any ideas why this is happening? Regards

[android-beginners] OutOfMemory Error (Animation)

2010-01-21 Thread Matthew Patience
I am making a simple rpg game that uses animation to move characters around. In one scene I am working on there is 4 things that happen: 1)The character walks on screen 2)A gun shot is heard when the user clicks on screen the first time and a bullet hole appears in a window. 3) The user is given

[android-beginners] communication between android phone and pc using 3G network

2010-01-21 Thread Na Gu
Dear all, I am trying to use an android phone to send a file to my laptop, the program works well under wifi network, but it does not work if i use 3G network...How to solve this problem? my socket is very simple: server side:adr1 = new ServerSocket(3108); Socket server =

[android-beginners] Re: setContentView fails when creating a new activity

2010-01-21 Thread Robert Nekic
The opening RelativeLayout tag is closed in the middle of your attributes declarations. The exception is probably coming from the lack of the layout_width and layout_height attributes since they fall outside your tag at the moment. RelativeLayout

Re: [android-beginners] Windows or Mac as an Android development platform?

2010-01-21 Thread Horváth Antal
Linux :) 2010/1/20 oregonduckman oregonduck...@gmail.com Would be interested in people's opinion on which platform provides a better host environment for Android development. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try

[android-beginners] Non Market Apps Install

2010-01-21 Thread Mark S
I have developed some test apps, and have installed them via SD card, allowed unknown sources, and installed the app with no problems. We are developing for a company, and will not want to put our apps in the app store, as the code is proprietary. My question is this. Is there a way to have the

[android-beginners] Android Dev Phone upgrade to 2.0 (or 2.1)

2010-01-21 Thread mikshel
Hey Guys, I have an Android Dev Phone (from HTC) with 1.5 Platform installed. I am trying to find out whether it is possible to upgrade to 2.0 or 2.1 (my interest is in Bluetooth Protocols which are only available from 2.0 onwards). Based on the information provided on the HTC site (http://

[android-beginners] Re: My app is missing in HTC tattoo market

2010-01-21 Thread Jason Arora
Couple of things you can try: turn Copy-Protection OFF remove the requires camera permission in the Manifest (if possible) Those two conditions have been known to cause problems. Try searching the Android groups for more information. On Jan 18, 3:58 am, andersg anders.gjett...@gmail.com wrote:

[android-beginners] Re: Hello World / Emulator Problem

2010-01-21 Thread HiGeoff
hmm.. I waited and waited and I finally got the avd boot up but no 'Hello, Android showing up. Or have I missed it as it shows the text and disappears straight away?? On Jan 19, 2:21 pm, Conny mcon...@gmail.com wrote: People I have noticed that the emulator runs super fast on a fedora

Re: [android-beginners] Android Dev Phone upgrade to 2.0 (or 2.1)

2010-01-21 Thread Tom Opgenorth
Apparently there are some issues still with 2.0 on the Dream that HTC is trying to work out, so nothing official from HTC yet. That said, I think if you look on xda-developers, you will find some home-brew images. I did come across a link on twitter yesterday that hinted at a February time fram

[android-beginners] passing arbitrary data types to a sub activity

2010-01-21 Thread oregonduckman
Looking for a way to pass an arbitrary data type to a sub-activity. Seems like Intents are missing something like intent.putExtra(String name, Object object) or bundle.putObject(String name,Object object) where object can be any type (such as ListMyClass). L I looked at all the type that can be

[android-beginners] Re: Windows or Mac as an Android development platform?

2010-01-21 Thread schwiz
the answer is whatever you like the best! On Jan 19, 6:38 pm, Horváth Antal k...@sch.bme.hu wrote: Linux :) 2010/1/20 oregonduckman oregonduck...@gmail.com Would be interested in people's opinion on which platform provides a better host environment for Android development. -- You

Re: [android-beginners] Eclipse is building all projects

2010-01-21 Thread Xavier Ducrohet
In the Eclipse prefs, there's an option called Build (if required) before launching. It's located under Run/Debug Launching. If true, our custom delegate will indeed reply true, but it's surprising that Eclipse doesn't only build the project being launched (and dependencies). Making the

Re: [android-beginners] Eclipse is building all projects

2010-01-21 Thread Xavier Ducrohet
Actually the doc says this query is for whether there should be an incremental build on the *workspace*. We should probably change it to return false then. Xav On Thu, Jan 21, 2010 at 1:18 PM, Xavier Ducrohet x...@android.com wrote: In the Eclipse prefs, there's an option called Build (if

Re: [android-beginners] Non Market Apps Install

2010-01-21 Thread Kevin Duffey
From my understanding, if you have a link to the .apk, you can provide the URL to any use with a device and they can download the .apk which will automatically be installed. Try that... host the .apk somewhere, then try using the browser on your device and go to that link and see if it installs.

Re: [android-beginners] Simple Android app for composing music

2010-01-21 Thread Kevin Duffey
Well firstly, let me stress that music apps generally require a little bit more than basic java knowledge, and more so, basic android knowledge. Aside from that, Android presently is difficult at best for real-time touch/play sounds sort of apps. I've got a project started to make a MPC like app,

[android-beginners] IRC office hours answers posted

2010-01-21 Thread Megha Joshi
Hi everyone, We have posted answers to the previous office hours sessions here: http://moderator.appspot.com/#15/e=120951t=1286cf A few still remain, they will be answered soon. For today's office hours 5pm-6pm PSThttp://android-developers.blogspot.com/2010/01/irc-offce-hours-update.html you

Re: [android-beginners] repo sync problem

2010-01-21 Thread Justin Anderson
This group is not for repo questions... You will get better results in the repo group: http://groups.google.com/group/repo-discuss -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] how to verify whether an application is lauched or not

2010-01-21 Thread Justin Anderson
Do you mean if it is currently considered by Android to be running? If so you can use the following classes: ActivityManager.RunningAppProcessInfo ActivityManager.RunningServiceInfo ActivityManager.RunningTaskInfo ActivityManager.RecentTaskInfo Note that Android considers paused apps to be

Re: [android-beginners] Re: Hello World / Emulator Problem

2010-01-21 Thread Justin Anderson
What is showing up? Is it the lock screen? If so, just unlock it and it should be there. It shouldn't go away until you press the back or home button. -- There are only 10 types of people in the world... Those who know binary

Re: [android-beginners] passing arbitrary data types to a sub activity

2010-01-21 Thread Walt Armour
Look at Intent.putExtra(String, Parcelable). You will need to make your object implement Parcelable. On Thu, Jan 21, 2010 at 12:45, oregonduckman oregonduck...@gmail.comwrote: Looking for a way to pass an arbitrary data type to a sub-activity. Seems like Intents are missing something like

Re: [android-beginners] How to make a Widget start an app?

2010-01-21 Thread Justin Anderson
Follow this tutorial: http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html This tutorial has the Widget start a service. What I then did is have the service start an app. I'm not sure that widget's can directly launch an application. Hope that helps, Justin

Re: [android-beginners] Block camera capture on Android

2010-01-21 Thread Justin Anderson
a) I'm not sure but might be possible b) Not sure, but less likely c) Definitely not -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: passing arbitrary data types to a sub activity

2010-01-21 Thread oregonduckman
Yes I saw that and the use of Parcelable seems like overkill just to pass an arbitrary data type in an Intent. Wonder if anyone knows why the Android Framework does not support putExtra on an arbitrary data type that can be cast into something like an Object? On Jan 21, 3:27 pm, Walt Armour

RE: [android-beginners] very urgent - : Text on GLSurfaceView

2010-01-21 Thread Karthick.Ramachandran1
Hi All, I has unsubscribed from thios group. But still i am getting mails. Dont know why? Can anyone tell me whats the peocedure to stop this mail chains??? regards Karthick From: android-beginners@googlegroups.com on behalf of satish bhoyar

Re: [android-beginners] Windows or Mac as an Android development platform?

2010-01-21 Thread Tom Opgenorth
I know it's not a choice you listed, but I'm using Ubuntu and prefer that to Windows. For an IDE I'm trying out IntelliJ 9 and I'm liking that much better than Eclipse. However, I'd say that whatever you like the best and cause you the least friction as you develop. On Tue, Jan 19, 2010 at

[android-beginners] unsubscribe

2010-01-21 Thread Karthick.Ramachandran1
HI team, Please unsubscribe me from your group. This is the fourth time i am mailing and i dont know why the hell i am not getting removed from your mails. Please take proper actions and unsubscribe me at the earliest regards Karthick This e-mail and any files transmitted with

Re: [android-beginners] unsubscribe

2010-01-21 Thread Justin Anderson
Um did you send mail to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com ? -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Join Thailand Forums Thailand Message Boards Living, Work and Play in Thailand ...X.

2010-01-21 Thread �`�.~ Boom BooOm~.���
Join Thailand Forums Thailand Message Boards Living, Work and Play in Thailand http://www.poetak.blogspot.com -- 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] unsubscribe

2010-01-21 Thread Kevin Duffey
Amazes me how many people join forums and don't read the email when they join or the posts.. which all have an email address you email to unsubscribe from. On Thu, Jan 21, 2010 at 8:48 PM, Justin Anderson janderson@gmail.comwrote: Um did you send mail to

[android-beginners] Re: TableLayout possibly flawed in API Level 5, AVD 2.0

2010-01-21 Thread Conny
Still could not get it working. To simplify the debugging, I have written some test code (downloaded it from a forum actually:)). I wonder why even this does not work. public class TestTableLayout extends Activity { int PROVINCE_Alberta = 0; int PROVINCE_BC = 1;

Re: [android-beginners] Block camera capture on Android

2010-01-21 Thread Kevin Duffey
Interesting idea.. I am guessing you're looking at a way to make android devices kid friendly so that they can play games, run apps, but can't take snapshots/videos of kids in school and such. I'd love to see an app like that.. especially one that can be set up for times.. like disable it during

[android-beginners] Re: TableLayout will not draw new row addition

2010-01-21 Thread Conny
Below is a test code. I am wondering why this isn't working on AVD2.0, API Level 5. Please advice. ?xml version=1.0 encoding=utf-8? TableLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

[android-beginners] Re: problems with emulator

2010-01-21 Thread Indicator Veritatis
I am glad you solved the problem. Now as for which team should check it out: this sounds like an emulator issues, not an Android issue. So someone (you?) should file the bug with the people who write the emulator. On Jan 21, 2:55 am, jj juanjosegilmen...@hotmail.com wrote: Finally, I found the

[android-beginners] Re: how to put button in list activity?

2010-01-21 Thread Indicator Veritatis
The examples you ask for are in the tutorial at, for example: http://developer.android.com/resources/tutorials/views/index.html These examples in this tutorial are a great way to familiarize yourself with views and how to modify the XML file to get what you want out of the views. On Jan 21, 1:56 

[android-beginners] Generating .java file from .aidl file

2010-01-21 Thread rocky84 rocky84
hi, i am developing an android application with Eclipse/ADT. i want to generate .java files from the existing .aidl file for my application. i got some below hints from internet, but i could not see the below option in* Android Tools*- 1. In the Package Explorer view, right-click on the

Re: [android-beginners] Re: passing arbitrary data types to a sub activity

2010-01-21 Thread Mark Murphy
Yes I saw that and the use of Parcelable seems like overkill just to pass an arbitrary data type in an Intent. Wonder if anyone knows why the Android Framework does not support putExtra on an arbitrary data type that can be cast into something like an Object? Because Intents are converted