[android-beginners] Re: Modal Window

2009-05-21 Thread Jack Ha (T-Mobile USA)
If I understand your question correctly, just specify the following attribute for your activity in the AndroidManifest.xml file: android:theme="@android:style/Theme.Dialog" -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this em

[android-beginners] Modal Window

2009-05-21 Thread RTX
Hi Guys please help im trying to implement a modal window with activity instead of a fullscreen activity i saw something with window manager and inflate but i didnt get it any chance anyone allready got that thanks --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: Phone number from URI

2009-05-21 Thread Jack Ha (T-Mobile USA)
You can do something like the following: Uri uri = Uri.parse("content://contacts/phones/1"); Cursor c = managedQuery(uri, null, null, null, null); if (c.moveToFirst()) { do { // c.getString(1) is the phone # } while (c.moveToNext()); } -- Jack Ha O

[android-beginners] Fwd: Listener Service for data sources

2009-05-21 Thread Kasmoori Bindu
Hi, Does anybody has info regarding below mailchain. Please help me i want it urgently. Best Regards, Bindu -- Forwarded message -- From: Kasmoori Bindu Date: Wed, May 20, 2009 at 6:15 PM Subject: Listener Service for data sources To: android-beginners@googlegroups.com, android-

[android-beginners] Re: Exception in Code

2009-05-21 Thread Jack Ha (T-Mobile USA)
There are a couple of problems in your onResume() function. 1. It should call super.onResume() 2. Change LocationManager manager = (null); getSystemService(Context.LOCATION_SERVICE); to LocationManager manager = (LocationManager)getSystemServ

[android-beginners] Phone number from URI

2009-05-21 Thread Ambarish Malpani
Hi Guys, I have a URI for a phone number. Something like: content://contacts/phones/687 How do I get the actual phone number from this URI? Thanks, Ambarish --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "And

[android-beginners] Re: Prevent image stretching in backgrounds

2009-05-21 Thread ht
What method(s) should I override in my custom drawable? On May 20, 11:29 am, Romain Guy wrote: > Write a custom drawable to do this. > > On Tue, May 19, 2009 at 4:12 PM, ht wrote: > > > I'd like to use setBackgroundDrawable() to set a background, but > > prevent image stretching.  The behavior

[android-beginners] SDK USB driver for Vista SP1 won't install - Solution?

2009-05-21 Thread Tony Su
Howdy, When I connect a G1 to Vista SP1, the phone is automatically recognized and Vista's own USB driver (WpdFs.dll and WUDFRd.sys) is installed, but that driver doesn't work. Nothing I try seems to update or change the USB driver to the one supplied by the SDK... Have tried uninstalling the

[android-beginners] Re: how write simple chat application on android

2009-05-21 Thread Rotem Or
your link contain an SVN url you can check it out to your computer it looks like all the sources are allready there 2009/5/20 ssfss > Hi. I'm very beginner in android programming and my english is very bad!. I > not realy understand explanation of this email :"simple chat application on > a

[android-beginners] Re: how write simple chat application on android

2009-05-21 Thread Yusuf T. Mobile
Have you looked at androidchat? http://code.google.com/p/androidchat/ It is written for Android 1.0, which means it may need some modification to be compatible with the Android 1.5 API. You will find some more network client tutorials here: http://www.androidnotes.com/android-tutorials/ Yusu

[android-beginners] Re: how to send MMS

2009-05-21 Thread Yusuf T. Mobile
The Android emulator supports sending SMS, but not MMS. Sorry. 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 May 21

[android-beginners] Calling a Service from an Activity

2009-05-21 Thread Pablo
Hi all, I want to call a Service from an Activity but I'm having some problems with concepts surely. I briefly describe the steps I'm following to do this: 1.- I call the Service from the Activity using: startService(new Intent("com.goldberg.DETECTED")); 2.- I have to declare my servi

[android-beginners] Re: porting old java to android

2009-05-21 Thread Chris Mac Morrison
ignore me - i was being like super dim. On May 21, 2:26 pm, Chris Mac Morrison wrote: > Hi all > > I've dug out some old java code i want to port to android. > > so far so simple > > but im getting a real beginners errors > > I got lunar lander SDK sample app and ive added in a variable > >p

[android-beginners] Re: NullPointerException error while displaying database contents.

2009-05-21 Thread Kent Yip
Hi rohit, put dbw.FillData(); TextView col1 = (TextView)findViewById(R.id.col1); TextView col2 = (TextView)findViewById(R.id.col2); after the setContentView(R.layout.displaylog); does it works? On Tue, Apr 7, 2009 at 2:55 AM, rohit.kundal...@gmail.com < rohit.kundal...@gmail.com> wrote: > >

[android-beginners] Re: Using the kernel with the emulator

2009-05-21 Thread asim
I was able to do this using the tutorial at http://whyandroid.com/android/221-compile-android-kernel-from-the-source.html. Its now running my kernel. -Asim On May 18, 1:55 pm, asim wrote: > Hi, > > I have a simple query. Is the emulator included with the SDK only for > applications? I was wond

[android-beginners] is there alternative to SimpleCursorAdapter?

2009-05-21 Thread Kent Yip
i have the code below which almost done everything i wanted, but i want to be able to alter one of the field(KEY_TIME) to a more readable format. because the value in column KEY_TIME is gonna be in milliseconds, simply displaying the large value is not ready to user. private void fillData() {

[android-beginners] porting old java to android

2009-05-21 Thread Chris Mac Morrison
Hi all I've dug out some old java code i want to port to android. so far so simple but im getting a real beginners errors I got lunar lander SDK sample app and ive added in a variable private int pw; and a function that refers to it private void test() { pw=0; } i get pw can

[android-beginners] Re: Error when setting the android preferences in eclipse.

2009-05-21 Thread byroneekh...@gmail.com
Hi, I have the same problem, I work with: Eclipse Platform Version: 3.4.2 I have downloaded android-sdk-windows-1.5_r1 but when I set the location to: D:\Android\android-sdk-windows-1.1_r1 I get the same error: "Error loading the SDK Error: Error parsing the SDK. D:\Android\android-sdk-windows

[android-beginners] Android source 1.0

2009-05-21 Thread Justin
Hi all, This is stupid to ask but Is it still possible to download the previous released version Android source 1.0? Thank you. Best Regards, Justin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners

[android-beginners] Is styleable class is removed from the Android SDK 1.5

2009-05-21 Thread Azhar
Hi can any one tell me is styleable class is removed from the Android SDK 1.5,if yes then which class is used at the place of styleable. Thnaks in Advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Be

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

2009-05-21 Thread Mridul
I faced this same problem for full half day. After reading all the posts on the issue and trying everything I could, I got this feeling that this issue has something to do with network connectivity/cache. Thought of trying after clearing Firefox cache. And yes, it worked (dont ask me how, why etc)

[android-beginners] Log out of Google account attached to ADP?

2009-05-21 Thread JustinD
Hey folks, Banging my head against the wall here. Apparently you cannot purchase copy-protected apps from the Market on an ADP. Which means, we can't test our published paid app, as we only have the one ADP in-house. So I had a mind to go to a T-Mo store and ask to use one of their demo phones.

[android-beginners] Exception in Code

2009-05-21 Thread Gopal
I have try the code But i am facing from this exception: Firstly thanks for the code: And thanks in Advance: Please give me the correct direction where i am wrong please help me. My code is : .java package org.apache.sms; import android.app.Activity; import android.content.Context; import androi

[android-beginners] Re: Android Compilation Ends With Error 41.

2009-05-21 Thread Hussain
Hi Did you got sulution for this? I too have got the same error on Ubantu 9.04 JJ machine. please do share if any solution you have got. Thank you. On Apr 30, 11:14 pm, vekexasia wrote: > Hi people, i tryed to google it but nothing help me.. > > This is the error. > > r...@buch-desktop:~/mydro

[android-beginners] TextView scrolling

2009-05-21 Thread Greg Donald
How do I make my TextView scroll as I append new lines? Here's my code that doesn't work yet: final TextView outputField = (TextView) findViewById( R.id.outputTextView ); outputField.setMovementMethod( ScrollingMovementMethod.getInstance() ); for( int x = 1; x < 100; x++ ) { outputField.app

[android-beginners] Re: Plz help me to retrieve contacts

2009-05-21 Thread Alan Cassar
Title: signature Hi,     can you paste the output from you logcat. And check whether you added the appropriate permission to you application in the Manifest file, you need android.permission.READ_CONTACTS for sure Alan Cassar, Software Engineer | Tel: +356 21334457 | Fax: +356 21 334156 ric

[android-beginners] Re: How can I see all of applications source on Eclipse?

2009-05-21 Thread Don Bernardo
Yes, this kinda works, got it all imported etc. but loads of errors… I've checked out the latest sources and I'd like to make some modifications to the Musicplayer… but eclipse already fails at some imports… For example can't resolve: com.android.internal.database.ArrayListCursor or: android.medi

[android-beginners] Can Android1.5 be directly used on x86 based netbooks?

2009-05-21 Thread GrainWang
Dear friends: I'm a fresh guy on Android system. And have the following questions: 1. Can Android 1.5 be directly used on X86 based netbooks? I heard that there's a project named "Asus eee701", but in the branch of "Cupcake", I don't konw if "Cupcake" means the same for "Android",w

[android-beginners] nfs server crashes on android startup

2009-05-21 Thread Erik
Has anybody seen this before? I have an android system where I use NFS for the root file system and use tftp to load the zImage. Linux starts just fine and is able to source the init.rc file stored in the rootfs in /. At about the time Android starts, NFS server contact is lost and the console

[android-beginners] how to send MMS

2009-05-21 Thread andu
I am doing a project to use MMS for data collection which enables users to send MMS and store it in database. And I developed J2ME form for that purpose. But to test my system I plan to use emulator which is capable of sending MMS and which enables me to integrate (install) by J2ME form. But I don

[android-beginners] how write simple chat application on android

2009-05-21 Thread ssfss
Hi. I'm very beginner in android programming and my english is very bad!. I not realy understand explanation of this email :"simple chat application on android". I find the good cod of chatAndroid in this link : http://androidchat.googlecode.com/svn/trunk/androidchat/ But I want to learn how writ

[android-beginners] MapView Tutorial - map not shown

2009-05-21 Thread Lex
Hello everyone, I'm working on a navigation application and was going through the MapView Tutorial on the official Android website. I have followed the instructions in the Map View Tutorial, Obtaining the Maps API key, and Signing exactly, but no map whatsoever. I'm using Eclipse Ganymed and SDK

[android-beginners] Error generating final archive: duplicate entry: classes.dex

2009-05-21 Thread Hey its Ashish
Hi, I am trying to use "Google Contacts API" with my Android application for this I had converted all the google jar files into Android compatible jar file using dx tool (dex --dex --output=core.jar gdata- client-1.0.jar). But when I tried to add the converted jar file into eclipse (Project-- >P

[android-beginners] Re: Messaging between 2 threads

2009-05-21 Thread Cass Surek
LunarLander example does exactly that... On May 21, 8:57 am, "latha...@gmail.com" wrote: > Hi All > > I am writing an application in which i need to handle messages between > the main thread(the deafult UI related thread) and the user created > Gamethread. > > The requirement is like this. > > A

[android-beginners] Re: How to donload all the files from this site

2009-05-21 Thread Sean Hodges
Try: wget -r -np http://www.netmite.com/android/mydroid/packages/apps/Browser/ You're probably better off getting it from the official source though: http://source.android.com/ On Thu, May 21, 2009 at 9:56 AM, vineeth Desai wrote: > Hi All, >  Could you please tell me how to download the files

[android-beginners] widget Ticker

2009-05-21 Thread RTX
hi im trieng to build a widget ticker that will move on the desktop do anyone have a demo ? thanks Rotor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email

[android-beginners] How to donload all the files from this site

2009-05-21 Thread vineeth Desai
Hi All, Could you please tell me how to download the files with folders from this site. I need to download and try on my Android SDK. Please help me in getting this code up in sdk. http://www.netmite.com/android/mydroid/packages/apps/Browser/ Warm Regards, Vineeth Desai --~--~-~--~~

[android-beginners] Re: Messaging between 2 threads

2009-05-21 Thread Mark Murphy
Please do not post several messages across two lists in a very short period of time. All you do is irritate those who might help you. > I am writing an application in which i need to handle messages between the > main thread(the deafult UI related thread) and the user created > Gamethread. Are y

[android-beginners] Messaging between 2 threads

2009-05-21 Thread latha...@gmail.com
Hi All I am writing an application in which i need to handle messages between the main thread(the deafult UI related thread) and the user created Gamethread. The requirement is like this. An activity(say "Activity_X") is setting the view by "setContentView (some "View_Y")". In "Activity_X" i ha

[android-beginners] Messaging between 2 threads

2009-05-21 Thread Latha Shivanna
Hi All I am writing an application in which i need to handle messages between the main thread(the deafult UI related thread) and the user created Gamethread. The requirement is like this. An activity(say "Activity_X") is setting the view by "setContentView(some "View_Y")". In "Activity_X" i have

[android-beginners] Re: Cannot create AVD in window XP

2009-05-21 Thread Sean Hodges
Are you sure you downloaded the WINDOWS version of the SDK? I've just downloaded it and there is an "android.bat" inside the /android-sdk-windows-1.5_r1/tools/ directory. You want this one: http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.5_r1.zip On Tue, May 19, 2009 at 1