[android-beginners] Bringing an Activity to the from when notification is tapped

2010-07-21 Thread Antti Karhu
Hi! My app is having an Activity, and a local Service. The Service shows notifications for time to time, and I like to open the Activity when the notification is tapped. Now the problem is, I may get multiple activies stacked if I tap the notifications many times in a row. Here's how I show the no

Re: [android-beginners] Why it is so difficult to generate gen file

2010-07-21 Thread Shaista Naaz
Hey Hi, I got it up and running. Thanks, Shaista On Thu, Jul 22, 2010 at 11:34 AM, Shaista Naaz wrote: > > Hi, > I am a beginner trying to learn Android. I am trying to run Hello Android > sample code but am facing one problem with generation of gen file. > Sometimes it works after I do repeate

[android-beginners] Why it is so difficult to generate gen file

2010-07-21 Thread Shaista Naaz
Hi, I am a beginner trying to learn Android. I am trying to run Hello Android sample code but am facing one problem with generation of gen file. Sometimes it works after I do repeated clean, rebuild and build automatically on and off. I have installed android-sdk_r06-windows, eclipse-java-galileo-

[android-beginners] Why it is so difficult to generate gen file

2010-07-21 Thread Shaista Naaz
Hi, I am a beginner trying to learn Android. I am trying to run Hello Android sample code but am facing one problem with generation of gen file. Sometimes it works after I do repeated clean, rebuild and build automatically on and off. I have installed android-sdk_r06-windows, eclipse-java-galileo-

Re: [android-beginners] listview dropdown

2010-07-21 Thread Raul Martinez
i was looking through the reference on the android site and found what i was looking for http://developer.android.com/reference/android/widget/ExpandableListAdapter.html :) thanks for the help On Thu, Jul 22, 2010 at 12:23 AM, Justin Anderson wrote: > Have you done any research yourself on this?

Re: [android-beginners] Google Image on Google map

2010-07-21 Thread TreKing
On Wed, Jul 21, 2010 at 2:38 AM, NBS wrote: > Could anyone suggest me how I can hide the Google image. OR is there > anyway to draw that image. > You have no control over this image. Some phones are known to have issues with Google Maps, sometimes showing a red square where that logo is suppose

Re: [android-beginners] listview dropdown

2010-07-21 Thread Raul Martinez
I tried but I guess I was using the wrong terms, thanks On Jul 22, 2010 12:25 AM, "Justin Anderson" wrote: I was wrong about my search terms becaues I realized that "onclick" might be something that only a more seasoned android developer would think of searching. The search terms for the links

Re: [android-beginners] listview dropdown

2010-07-21 Thread Justin Anderson
I was wrong about my search terms becaues I realized that "onclick" might be something that only a more seasoned android developer would think of searching. The search terms for the links I posted in my last message were simply: android listview click Hope that helps, Justin

Re: [android-beginners] listview dropdown

2010-07-21 Thread Justin Anderson
Have you done any research yourself on this? Just doing a simple search for "android listview onclick" gave me several results: *Searching Google: *http://www.androidpeople.com/android-listview-onclick/* * http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ * Search

Re: [android-beginners] android tutorial question

2010-07-21 Thread Justin Anderson
*> I was just going through the below tutorial * The link you gave isn't a tutorial... It is just a class. There is a huge difference. *> got a little confused on how to use this code because the class in the below example url is not extended by activity base class* You are correct. It inherits

Re: [android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Justin Anderson
The xmlns attribute needs to move to ScrollView because it always has to be declared in the first tag after the ?xml tag. You also need to specify the layout width and layout height for the ScrollView. I may be wrong that the xmlns attribute needs to be moved to the ScrollView... I just always ma

[android-beginners] listview dropdown

2010-07-21 Thread Raul Martinez
i have a list and when i click it i want it to open up with a drowdown of the description of the item, is there a tutorial on that? -- 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

Re: [android-beginners] [Android Doubt] ListView inside Layout with Scroll

2010-07-21 Thread TreKing
On Tue, Jul 20, 2010 at 12:25 PM, Carlos Junior wrote: > If a have some components in my screen and a listView in the end how > could I scroll the entire screen? > You can't. > LinearLayout does not support scroll right? > No, usually you wrap it in a ScrollView. > Besides, ListView inside

[android-beginners] Re: null intent returned in onActivityResult

2010-07-21 Thread Bret Foreman
Mark, you scored again. That worked perfectly. I owe you lunch. Do you sit in the Bay Area? -- 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/ta

[android-beginners] Re: Debug Keystore Password Wrong? HELP!!!

2010-07-21 Thread Johnb
On Jul 20, 10:56 am, Xavier Ducrohet wrote: > Thepasswordhas not changed, we still use android for the debugkeystore. > > Xav > > > > On Tue, Jul 20, 2010 at 1:05 AM, Johnb wrote: > > If i can get any help it would be great.  I am trying to just run the > > debug mode with the keytool and i ent

Re: [android-beginners] null intent returned in onActivityResult

2010-07-21 Thread Mark Murphy
Use setResult(RESULT_OK, myIntent) and get rid of the createPendingResult() call. Also, you probably do not need the action or the class on that Intent. On Wed, Jul 21, 2010 at 9:21 PM, Bret Foreman wrote: > I'm getting a null Intent returned from onActivityResult. A summary of > the code is list

[android-beginners] null intent returned in onActivityResult

2010-07-21 Thread Bret Foreman
I'm getting a null Intent returned from onActivityResult. A summary of the code is listed below. Any ideas what I might be doing wrong? Code in calling Activity: Intent myIntent = new Intent( Intent.ACTION_VIEW ); myIntent.setClass(this,TheCalledActivity.class);

[android-beginners] android tutorial question

2010-07-21 Thread Amit Sood
Hello Experts, I was just going through the below tutorial and got a little confused on how to use this code because the class in the below example url is not extended by activity base class, so how do i consume it Please advise http://developer.android.com/resources/samples/ApiDemos/src/com/exa

Re: [android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Amit Sood
Justin, Thanks for the reply. I did add the scroll view in the xml but the application is crashing now. Please find the updated below and please advice http://schemas.android.com/apk/res/android"; android:orientation="vertical" android:layout_width="fill_parent" android:layout_hei

Re: [android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Justin Anderson
Wrap the LinearLayout in a ScrollView and take the following line out of LinearLayout: android:scrollbars="vertical" Not sure if that is the best or recommended way but that is how I did it in my app... -- There are only 10 type

[android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Amit Sood
Hello Experts, I have a linear layout in which i have many buttons. As i m adding more to it the layout is not bring its scroll so i cannot see my newly added buttons XML for the layout is below. Please advice http://schemas.android.com/apk/res/ android" android:orientation="vertical"

[android-beginners] Re: Including libraries in project

2010-07-21 Thread kypriakos
Hi Mark, so it does seem that if the jars are not compiled under Android, the Android plug in (if the Eclipse Project Build Automatically is checked) rejects them from the apk - in other cases it does not generate the apk at all. Some of the libs I need are part of the Java's standard libs (ex.

[android-beginners] Re: Source code

2010-07-21 Thread kypriakos
Thanks Mark and Rogerio - I did google but I jumped straight to the link that referred to the cupcake :) My bad .. Got it now On Jul 20, 5:10 pm, Rogério de Souza Moraes wrote: > You can get the source fromhttp://source.android.com. > > Next time google a little bit more and you will find out t

Re: [android-beginners] How to Access voice call stream in real time

2010-07-21 Thread wahib haq
hey Pete, i would just wanna add that if there are voice recording apps then it means we can receive the audio stream from API's. wahib On Tue, Jul 20, 2010 at 9:00 PM, peter f miller wrote: > On Mon, Jul 19, 2010 at 10:53 PM, zain mustafa wrote: > > I know it is possible to catch the voice st

Re: [android-beginners] options menu problem

2010-07-21 Thread Justin Anderson
http://developer.android.com/reference/android/app/Activity.html#openOptionsMenu%28%29 -- There are only 10 types of people in the world... Those who know binary and those who don't. --

Re: [android-beginners] problem in creating options menu

2010-07-21 Thread Justin Anderson
Ok, that is a little more clear... Neither you nor your links mentioned anything about displaying a menu programmatically. To answer your question I would refer you to the activity class, as there is a method on there that does just what you want: http://developer.android.com/reference/android/ap

[android-beginners] hi

2010-07-21 Thread Vijay
HI I bought china one white apple iphone 3gs from this I have received product! w e b:hotrademe.com You can check it! Hope all is going well for you I hope you can enjoy it for shopping, Thank you! -- You received this message because you are subscribed to the Google Groups "Android Beginners" gr

[android-beginners] Re: Notification.FLAG_NO_CLEAR not working as expected

2010-07-21 Thread Chris Dibbern
I agree with TreKing. I just used this code in the last few days: notification.flags |= Notification.FLAG_NO_CLEAR; It appears to work fine for me. Does it solve your problem? On Jul 17, 12:49 pm, Bret Foreman wrote: > I'm setting my notification like this: > >         notification.defaults |=

Re: [android-beginners] Re: eclipse problem

2010-07-21 Thread Shaista Naaz
Hi, I am also facing same problem regarding 'gen' folder not found. But when I do clean, rebuild and build automatically on and off. It works for me. I am working on Windows not Linux, in the PATH variable I have given the SDK path till tool but I have not mentioned JDK path there. Do I need to d

Re: [android-beginners] Re: Force close issue!

2010-07-21 Thread Shaista Naaz
Hi Justin, Is it that when we make changes in string.xml and main.xml then we need to make changes in Android Manifest too.? As I am having similar kind of problem. I am running Hello Android program by making changes in the XML as suggested in the link but after this i am not able to run my code

Re: [android-beginners] Re: Problem with IDE.

2010-07-21 Thread Shaista Naaz
Hey hi, I am also having the exactly same problem as, the error message says "gen [in HelloAndroid] does not exist". But actually it is there. as I can see it. Please kindly suggest what should I do to get rid of this problem. Thanks in Advance, Shaista On Mon, May 10, 2010 at 10:16 PM, Indicat

[android-beginners] Re: Updating XML files

2010-07-21 Thread DanH
I think the best approach is to read it in as a Document and operate on that with xpath stuff. Not good for large documents, but reasonable for medium/small ones. On Jul 21, 7:31 am, Emmen Farooq wrote: > Hi all and thank you for all your help , > > I have understood SAX parser and got it to wor

[android-beginners] Re: Map view problem - blank screen

2010-07-21 Thread Felipe Arturo
Yeah, forget about it, when developing Maps View on real devices you need to sign in it first and release the .apk and then install it. http://developer.android.com/guide/publishing/app-signing.html that's the guide for signing it if anyone needs it On Jul 21, 11:12 am, Felipe Arturo wrote: > H

[android-beginners] file:// problem - nothing seems to work

2010-07-21 Thread Victoria
Hi, I got two problems that both seem to be connected to file://... Problem 1: for the past days I have been trying to attach a video to an email...but the application always tells me "Sorry, you cannot add this video to your email" when I try this: Uri uri = Uri.parse("file://" + videocursor.g

[android-beginners] Map view problem - blank screen

2010-07-21 Thread Felipe Arturo
Hello, I'm new here, I have a problem implementing a Map view element on my application. The app loads but the screen remain blank and nothing comes up. Im developing on a real device, I got a G1 I have already got my own keystore and implemented all the permissions seen on the tutorial that I'm

Re: [android-beginners] Spinners identical in XML but look different when run

2010-07-21 Thread Mark Murphy
On Wed, Jul 21, 2010 at 10:28 AM, jonboy1969 wrote: > I placed two Spinners using XML inside my TableLayout. > They both work, but they both look different. I gave the exact same > properties only changing the Id. That has nothing to do with it. > the one spinner has larger padding with radio bu

[android-beginners] Spinners identical in XML but look different when run

2010-07-21 Thread jonboy1969
I placed two Spinners using XML inside my TableLayout. They both work, but they both look different. I gave the exact same properties only changing the Id. the one spinner has larger padding with radio buttons on the right and the second one has almost no padding and no radio buttons. How can I mak

Re: [android-beginners] Calling back function

2010-07-21 Thread Mark Murphy
Call finish(). On Wed, Jul 21, 2010 at 7:14 AM, Bhaban N wrote: > How can I go to the previous activity by pressing some > button programmatically instead of pressing default back button on phone. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://common

[android-beginners] Updating XML files

2010-07-21 Thread Emmen Farooq
Hi all and thank you for all your help , I have understood SAX parser and got it to work to read xml file , and have understood the concept of Xstrem for creating xml files , but Im null with the concept of updating only a certain part of an xml file with android , i mean a file exists and I wd li

[android-beginners] Re: Force close issue!

2010-07-21 Thread Justin
Could the issue be that it the section of code your trying to load is not in the Android Manifest? This has caused issues for me in the past. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stac

[android-beginners] Calling back function

2010-07-21 Thread Bhaban N
Hi all, How can I go to the previous activity by pressing some button programmatically instead of pressing default back button on phone. thanking you regards Bhaban -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and taggi

Re: [android-beginners] problem in creating options menu

2010-07-21 Thread Emmen Farooq
Oh no not all that wasnt the intention , I aplogiase if Any thing was akward . actually i m making an application in which I want to make an " Options Menu " show as soon as the app loads with out clickign the menu button in emaultor , so any help woud lbe appreciated , sorry for the previous imco

Re: [android-beginners] problem in creating options menu

2010-07-21 Thread Justin Anderson
You're going tohave to give us more info if you are expecting some kind of help... If you are just wanting to tell us of your experience with android so far, then thanks for the status update... :-) On Jul 20, 2010 9:49 PM, "Emmen Farooq" wrote: Hi , I tried the tutorials at http://www.droidnov

[android-beginners] Google Image on Google map

2010-07-21 Thread NBS
Hi all, I am facing some problem on google map. When I run the map demo program, there is one Google image on left bottom. This image is draw in some phone like HTC Nexus one or Desire. But this image does not draw to Motorolla Motoroi. Could anyone suggest me how I can hide the Google image. OR

Re: [android-beginners] Force close issue!

2010-07-21 Thread Kostya Vasilyev
At this point, let the application run until you get a force close dialog on the device. Then check logcat (in Eclipse or "adb logcat" from the command line) to find out the cause - it will be in the stack trace, under "Caused by:". The message about JAR means that the crash is somewhere insi