[android-beginners] Load progressive ListView

2009-08-17 Thread arnouf
Hi all, I've a ListActivity. Data are provided by a Thread calling a URL to load data from a database. The URL returns data from position x to x +5 . the x value is sent by my application indicating the position of the last displayed item. Now I would like to know, how can I detect when user is

[android-beginners] Simple Location Question

2009-08-17 Thread Jose Ayerdis
How can i get The country and city with a Location??? -- Atte [[Jose Luis Ayerdis Espinoza]] http://blognecronet.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to thi

[android-beginners] Re: Simple Location Question

2009-08-17 Thread Jose Ayerdis
Answring myself is with GeoCoder thanks 2009/8/17 Jose Ayerdis > How can i get The country and city with a Location??? > > -- > Atte > > [[Jose Luis Ayerdis Espinoza]] > http://blognecronet.blogspot.com > -- Atte [[Jose Luis Ayerdis Espinoza]] http://blognecronet.blogspot.com --~--~---

[android-beginners] Re: Simple Google Maps App

2009-08-17 Thread Maxood
Is there any good book available on developing google map applications. Or if i am able to access any excerpt from any book on android development about google maps. Thank you for the information, Maqsood On Aug 13, 8:09 pm, Jack Ha wrote: > You will find quite a few tutorials at this link as w

[android-beginners] Re: TabHost problem with designing Tabs

2009-08-17 Thread Stefan
Hi, now I have a new problem. My xml file looks like: http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > http://schemas.an

[android-beginners] Google calendar API still not available?

2009-08-17 Thread BGH
I am thinking of writing a widget that would create a calendar entry in the users calendar. >From what I have been reading it isn't possible to use the phone's login authentication with the gdata APIs (which aren't even designed to be used with Android anyway). I don't want to ask the user for th

[android-beginners] Re: Simple Google Maps App

2009-08-17 Thread Jose Ayerdis
you can also go here http://www.anddev.org/simple_googlemaps_with_threads-t2943.html 2009/8/17 Maxood > > Is there any good book available on developing google map > applications. Or if i am able to access any excerpt from any book on > android development about google maps. > > Thank you for th

[android-beginners] Re: Load progressive ListView

2009-08-17 Thread Mark Murphy
arnouf wrote: > Hi all, > > I've a ListActivity. Data are provided by a Thread calling a URL to > load data from a database. The URL returns data from position x to x > +5 . the x value is sent by my application indicating the position of > the last displayed item. > > Now I would like to know,

[android-beginners] Re: ExpandableList With ContextMenu

2009-08-17 Thread Steve
Check for the item that is selected (in onCreateContextMenu). If it's a group item, then don't make a context menu for it. If it's a child item, then make the context menu. On Aug 16, 8:22 pm, Jose Ayerdis wrote: > How can i add a ContextMenu only to the child in the ExpandableList and not >

[android-beginners] Re: TabHost problem with designing Tabs

2009-08-17 Thread Steve
Have you tried using a TabActivity, then you don't have to use a layout XML file for the tabhost. Each tab calls its own intent, and that activity can use its own layout file. Not sure if that fixes your exact issue, but then you won't have to worry that you are messing up your overall layout of

[android-beginners] Google maps problem:

2009-08-17 Thread Liviu Ungureanu
hi all! I have a problem with google maps. I follow a tutorial to learn about google maps on android but when after the activity start on screen can see just a grid... On LogCat i receive an error: Couldn't get connection factory client.. i get a apikey,i insert it as attribute ao my mapview..but

[android-beginners] Re: ListView with addHeaderView Example?

2009-08-17 Thread Neil Chinniah
Just in case anyone is interested I found a thread in one of the other groups that makes a reference to HeaderViewListAdapter: http://groups.google.com/group/android-developers/browse_thread/thread/14617420938f6d70?pli=1 With this I created the following, its far from perfect but at least it loads

[android-beginners] [android-beginners]How to change text in a XML-defined text view

2009-08-17 Thread Rafa Perfeito
Hey, Lets say i define in the layout.main a text view but i want to change the text during the execution of the application. How can i 'call' the view in the code? Im guessing i can use R.java but i dont know how... Any ideas? An example would be really cool... Thanks -- Cumprimentos, Hugo Rafa

[android-beginners] startActivity() crash...

2009-08-17 Thread Tikoze
Here is the code that I am using to bring a "running" activity to the foreground: ActivityManager.RunningTaskInfo task = getTask(idx); if (task != null) { Intent intent = new Intent(); intent.setClassName(task.topActivity.getPackageName(), task.topActivity.getClassName());

[android-beginners] How do you center a TextView inside a layout?

2009-08-17 Thread Boxy
I tried posting this a few hours ago and it didn't show up. Here is my attempt at a repost. I want to center a TextView inside of a layout. I've been playing with the XML code below and can't get it to work? Please help! http://schemas.android.com/apk/res/ android" android:orientatio

[android-beginners] Align Bottom

2009-08-17 Thread Dolphin
I'm trying to align a button to the bottom of the frame and can't make it happen. I tried: 1.android:layout_alignBottom or 2. android:layout_gravity="bottom" (this is not a landscape view) The button keeps apearing on the Top margins of the main frame. What do I miss ? Thanks. --~--~-~

[android-beginners] custom view like login form

2009-08-17 Thread MontyTech
Hi, i m new to android. I am trying to create custom component. developer wil use this component just like any other component like textview or editText in his layout.xml file. I want this component to be created and rendered by java file only. No layout xml is used. i am not sure whether to exten

[android-beginners] Re: Can we develop application for CECT G1(Clone g1)?

2009-08-17 Thread Xu
The G1/G2/G2+ are neither produced nor branded by CECT and are not Android phones. Sometimes the brand "Sciphone" is attributed to these phones. This link might be a bit more useful: http://firmitas.org/Sciphone-N12.html --~--~-~--~~~---~--~~ You received this m

[android-beginners] Struggling -- Getting exception when clicked on HelloItemizedOverlay

2009-08-17 Thread Venki
Hi friends I am Struggling a lot. Please help me. I am showing some locations in the map, when i click on the particulat overlay, i am planning to show a dialog box to show the details info of that particular overlay. The detailed info of overlay is there in my locations in Mylocations.java . So

[android-beginners] About "ERROR: unknown virtual device name: 'myavd'"

2009-08-17 Thread Tony
Hi,guys I am a beginners to Android. When I do the helloworld by fellowing the tutorial , I found this error below: emulator: ERROR: unknown virtual device name: 'myavd' emulator: could not find virtual device named 'myavd' How do I solve it? And I found other terms of settlement,they all said t

[android-beginners] Re: Does the camera app work on the emulator?

2009-08-17 Thread bianconeri
Hi Mark, I am pretty new to Android. A question related to a real Android phone: I am keen to do some development on Android and experiment with a real android phone. Here in Australia, I am going to sign a HTC Magic (G2). What I am wondering is that whether I will be able to build my own app an

[android-beginners] How to localize (translate) android core

2009-08-17 Thread Mattias
I found some internationalization documents, but none about how to localize android core applications, where to send translated files and how to test the brand new localization out in virtual machine. Maybe I just overlooked something. Also, would it be possible to test it out on a normal G1 or w

[android-beginners] Video Streaming provided by Google Android???

2009-08-17 Thread Najeeb Mughal
Hi! I want know that " Does Google Android facilitate the Video Streaming in mobile? " Is there any appiction of Google Android which provides Video Streaming in any form. for esample in Browser or in any other form --~--~-~--~~~---~--~~ You received this message

[android-beginners] New and need some help with a bluetooth AND SMS app

2009-08-17 Thread EL MOOSE
I'm New at making apps.Imagine you walk to your car and doors open automatically/car starts/Windows roll down/up all via sms! i have a Small device already wired in to my car that does all this via sms commands. also if your alarm goes off you will get a sms! The device also supports commands

[android-beginners] Unable to connect: Cookie Rejected:

2009-08-17 Thread Ashwin Neurgaonkar
The code is as follows: try { URL link = new URL(apiUrl.toString().trim().replaceAll(" ", "%20")); Log.i(TAG, "-URL: "+link.toString()); getResponse

[android-beginners] Program Dependant XML Values

2009-08-17 Thread Surge
Ok, so I'm not really sure how to ask this. I currently have two Activities lets say one contains a ListView L and the other contains a TextView, and both are defined in an XML file. how would I change the contents of T to whatever object in L is selected? or in short, how do/ can I edit a value i

[android-beginners] How to draw a rectangle with four edges in different color?

2009-08-17 Thread Samuel
Hi, I am new to Android. Now I am trying to create a rectangle with four edges of different color as my GriewView's selector. Here is my codes. But I what I get is a rectangle with four edges in same color. Anyone can help? -

[android-beginners] How do you center a TextView inside a layout?

2009-08-17 Thread Boxy
I want to center a TextView inside of a layout. I've been playing with the XML code below and can't get it to work? Please help! http://schemas.android.com/apk/res/ android" android:orientation="horizontal" android:gravity="center" android:layout_width="fill_parent"

[android-beginners] Regarding Master Clear from Code

2009-08-17 Thread amit
I am writing an application in which I need to call Master Clear under a specific condition. But I am getting permission error. My Code: === AndroidManifest.xml - Calling Master Clear Code (similar to code present in Settings of Android) ---

[android-beginners] How To Delete An Item In ListView

2009-08-17 Thread Eric Belen
How do you insert a single item to a list view? and how to delete an item In ListView Eric Belen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to and

[android-beginners] 'm trying to align a button to the bottom of the frame

2009-08-17 Thread Dolphin
I'm trying to align a button to the bottom of the frame and can't make it happen. I tried: 1.android:layout_alignBottom or 2. android:layout_gravity="bottom" (this is not a landscape view) The button keeps apearing on the Top margins of the main frame. What do I miss ? Thanks. --~--~

[android-beginners] Re: Q) Adjusting textView font size.

2009-08-17 Thread 陈增顺
Hi, You can use the following member function in TextView Class to adjust the font size. public void setTextSize (float size) Set the default text size to the given value, interpreted as "scaled pixel" units. This size is adjusted based on the current density and user font size preference. Rela

[android-beginners] Can android support MIDP ?

2009-08-17 Thread conqueror
Can any MIDP app such as a game run on android ( google 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@googlegroups.com T

[android-beginners] How to get started with Android programming from scratch? Is it worthwhile to buy a HTC Magic?

2009-08-17 Thread bianconeri
Hi all, I've just downloaded Android SDK 1.5 and finished Eclipse configuration with ADT. So you can say I am very new to this exciting platform. Could anybody please direct me to the correct path to get started to code with Android? I am going to buy a HTC Magic with Three (Melboourne, Austral

[android-beginners] Struggling -- How to start a new intent in HelloItemizedOverlay?

2009-08-17 Thread Venki
Hi I am showing a list of locations on map. When we click on a particular location, onTap(), i am planning to show some text message and more information link. and on click more information, i have to show the detailed list about that location. May be by starting a new Intent. Can someone please

[android-beginners] SearchSuggestionSampleProvider issues

2009-08-17 Thread Venki
Hi I am adding search suggestion in my application. When i ran only AoiDemos/searchInvoke application, its worked fine. But when i am added the same code in my application its giving below error when starting application. 009-08-15 13:12:26 - MyApplication] Installing MyApplication.apk... [2009-

[android-beginners] Extremely LONG Emulator load time on Eclipse Galileo and Vista

2009-08-17 Thread bianconeri
Hi all, I am pretty new to Android programming, but I am really keen to get into it. With Eclipse Galileo, the latest SDK 1.5_r3, ADT plugin and Vista OS, I started with the Hello World sample from Android User Guide website. What really disappointed me was it took forever to start up the Emulat

[android-beginners] Linking with a custom View class

2009-08-17 Thread Shachar Shemesh
Hi all, I have created a custom View class. I would now like to be able to create instances for it from other applications, so that they will use it as if it's one of the built in classes. In other words, I want to create the dalvik equivalent of a shared object. I want other applications to b

[android-beginners] Program Dependant XML Values

2009-08-17 Thread Surge
Ok, so I'm not really sure how to ask this. I currently have two Activities lets say one contains a ListView L and the other contains a TextView, and both are defined in an XML file. how would I change the contents of T to whatever object in L is selected? or in short, how do/ can I edit a value i

[android-beginners] Anyone from South Florida?

2009-08-17 Thread Tedd Fox
Would love to have a meetup in SoFL (fort lauderdale). Let me know --~--~-~--~~~---~--~~ 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

[android-beginners] Taking control of UI

2009-08-17 Thread hstdev
Hi I am new to Android. Just started with Hello activity program(1.5 R3 SDK). I am planning to write an application which can take complete control of UI. including: Incoming Call indication, Incoming SMS indication, etc. etc. Is there any mechanism in Android to control the default UI behavi

[android-beginners] Update UI

2009-08-17 Thread Rahul
Hi all I have one proble i want to update UI when i click on DialogBox Button i am creating new Activity for dialogBox but it,not workig plz tel me how to do this; --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "And

[android-beginners] TableRow

2009-08-17 Thread Rahul
Hi All I have one problem in TableLayout. i am using tableLayout and adding Row Dynamically in the tableLayout i have Two buttons in each row when i am clicking one buttoni am doing another button visible of that row and all buttons are invisible using some Animation but the problem is when i cl

[android-beginners] Updating a map intent

2009-08-17 Thread JD
Hi, I have a basic Google Maps app within which I'd like to show some dynamically generated KML from a server. So I use an intent and a Uri like this: Intent mapIntent = new Intent(Intent.ACTION_VIEW); Uri uri = Uri.parse("geo:0,0?q=http://www.example.com/ dynamic

[android-beginners] Re: Linking with a custom View class

2009-08-17 Thread Mark Murphy
Shachar Shemesh wrote: > I have created a custom View class. I would now like to be able to > create instances for it from other applications, so that they will use > it as if it's one of the built in classes. In other words, I want to > create the dalvik equivalent of a shared object. I want othe

[android-beginners] Re: startActivity() crash...

2009-08-17 Thread Roman ( T-Mobile USA)
It might be helpful to see also the logcat trace of your crash. Have you tried to use the debugger or debug prints to find out where and when exactly your code crashes? -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are t

[android-beginners] Re: Linking with a custom View class

2009-08-17 Thread Shachar Shemesh
Mark Murphy wrote: > Shachar Shemesh wrote: > >> I have created a custom View class. I would now like to be able to >> create instances for it from other applications, so that they will use >> it as if it's one of the built in classes. In other words, I want to >> create the dalvik equivalent of

[android-beginners] Re: startActivity() crash...

2009-08-17 Thread Roman ( T-Mobile USA)
It might be helpful to see also the logcat trace of your crash. Have you tried to use the debugger or debug prints to find out where and when exactly your code crashes? I am assuming that you have defined the following permission in your Manifest -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T·

[android-beginners] Re: Can android support MIDP ?

2009-08-17 Thread Roman ( T-Mobile USA)
MIDP is not supported on Android. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·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 15, 8:41 pm

[android-beginners] Re: Linking with a custom View class

2009-08-17 Thread Mark Murphy
Shachar Shemesh wrote: > I actually came across the "PlatformLibrary" sample and readme, as well > as a lot of googling while waiting for the moderator to approve my first > email to the list. I came up with "you need to place the JAR with a > classes.dex in /system/framework and /etc/permissions"

[android-beginners] Re: 'm trying to align a button to the bottom of the frame

2009-08-17 Thread Megha
Is this view inside a RelativeLayout or is it in a LinearLayout? android:layout_alignBottom is used align the bottom edge of your view with anchor view within RelativeLayout whereas android:layout_gravity is used for LinearLayout. You could also use android:layout_alignParentBottom within a Relati

[android-beginners] Re: startActivity() crash...

2009-08-17 Thread Tikoze
Roman, For most applications, my code works and will actually switch applications. I have tested it on both 3rd party apps and built-in ones. For example, it will switch to Maps, Browser, Camera, and Home. I should have mentioned that in my original post. However, if I try to switch to Calend

[android-beginners] Re: startActivity() crash...

2009-08-17 Thread Mark Murphy
Tikoze wrote: > I do not know how to get the logcat trace of the crash, but will > gladly post it if you can tell me how to get it. adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer

[android-beginners] help needed creating a AVD

2009-08-17 Thread automerc
I just got a new laptop with x64 vista and i'm following the development on setting up my laptop for development but I keep getting a error when I try to create my AVD. When i tried to enter the android create avd --name -- target command into the commandprompt it gives me a error java is not re

[android-beginners] Re: startActivity() crash...

2009-08-17 Thread Tikoze
Here is the logcat info. For some reason it is saying I do not have permission to launch the Calendar activity... What does it mean when it says the process record "required null?" Thanks, Justin -BEGIN LOGCAT INFO- 08-17 14:01:28.933: INFO/dalvikvm(18

[android-beginners] How to use requestLocationUpdates to sample GPS based on time only?

2009-08-17 Thread Jean-Sebastien Stoezel
Hi, I would like to use requestLocationUpdates to periodically get a GPS fix, not based on the actual distance covered. If I specify the following arguments: - m_LocationManager.requestLocationUpdates("network", 6, 0, this): requestLocationUpdates is called more than every 6ms. I believe

[android-beginners] Can't locate com.android.settings activity

2009-08-17 Thread jstoezel
Hi, I'm trying to open the system's window (GPS enable window) using the following code. I get an exception saying the com.android.settings activity cannot be located. Any idea why this happens? Thanks, Jean ComponentName c = new ComponentName ("com.android.settings","com.android.settings.Sec

[android-beginners] Re: How To Delete An Item In ListView

2009-08-17 Thread MMC2
MessageHi Eric, The documentation including the books, is so frustrating in the lack of help and explanation at times. What you need to do is insert and delete your items into the holder of your data and then display it in the listview. This might be an array, or as in my case a table in an

[android-beginners] Books

2009-08-17 Thread Danny W. Pimienta
Are there any books available that cover Android 1.5 aka cupcake? I was going to get Hello Android but only the ebook covers cupcake. Sent from my iPhone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beg

[android-beginners] 3 icons for one app

2009-08-17 Thread tinyang
I am developing an app and so far it has 3 complete acticities. For some reason, everytime I install it and run it in my emulator, it creates an icon for each activity instead of creating only one activity for the app. Is this because I have intents in my manifest for each activity? Can anyone a

[android-beginners] Re: help needed creating a AVD

2009-08-17 Thread Roman ( T-Mobile USA)
Try to do a java -version to see whether you have access to your java environment. If not your environment variables are not correctly setup. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in

[android-beginners] Is it possible to change text color of all child TextViews ?

2009-08-17 Thread Atif
Is it possible to change text color of all child TextViews? Actually I want to change text color of all columns(TextViews) of a TableRow when it is clicked. -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ --~--~-~--~~~---~--~~ You received this message be

[android-beginners] Re: Is it possible to change text color of all child TextViews ?

2009-08-17 Thread tinyang
Have you looked into themes? http://developer.android.com/guide/topics/ui/themes.html -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Atif Sent: Monday, August 17, 2009 10:34 PM To: Android Beginners Subject: [android-

[android-beginners] Re: Linking with a custom View class

2009-08-17 Thread Shachar Shemesh
Mark Murphy wrote: > Shachar Shemesh wrote: > >> I actually came across the "PlatformLibrary" sample and readme, as well >> as a lot of googling while waiting for the moderator to approve my first >> email to the list. I came up with "you need to place the JAR with a >> classes.dex in /system/fr

[android-beginners] A Google Maps App

2009-08-17 Thread Maxood
I want to write an app involving Google Maps API. I want my user to enter the name of a place where he is in a textbox and then enters the name of his desired destination in another textbox. Once he clicks the button after that, the required map gets displayed. I have 2 questions here: Is it pos

[android-beginners] I am trying to log my gps location to a website.

2009-08-17 Thread cellurl
I am trying to log my gps location to a website. This code runs, but I don't see any activity in my website log, so anything could be wrong The Log.d() looks good... Thanks for any suggestions. -jp ---http://www.wikispeedia.org/a/ process_submit_bb.php-- $

[android-beginners] API Demo's tests

2009-08-17 Thread raj.10788
Hi, I am having the G1 Dev Device with me. I updated that device with the Android 1.5 (As per the instructions given in the HTC support page). After that I just installed the API demos in the Android 1.5 r3 SDK. After that I am trying to run the instrumentation test cases in the API Demos. I am