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

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] problem in creating options menu

2010-07-20 Thread Emmen Farooq
Hi , I tried the tutorials at http://www.droidnova.com/how-to-create-an-option-menu,427.html and http://developer.android.com/guide/topics/ui/menus.html but in both cases the menu just doesn't appear , the app doesn't crash though -- You received this message because you are subscribed to the Go

Re: [android-beginners] Problem in stopping thread

2010-06-17 Thread Mark Murphy
On Thu, Jun 17, 2010 at 6:37 AM, brijesh masrani wrote: > I want to stop currently running thread but -Thread.stop() >  -Thread.destroy() are DEPRECATED so can any one tell me how to stop the > Thread I heartily recommend _Java Concurrency in Practice_: http://www.javaconcurrencyinpractice.com/

[android-beginners] Problem in stopping thread

2010-06-17 Thread brijesh masrani
Hello, I want to stop currently running thread but -Thread.stop() -Thread.destroy() are DEPRECATED so can any one tell me how to stop the Thread -- Regards, Brijesh Masrani -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try aski

[android-beginners] Problem in getting scroll position in web-view

2010-06-16 Thread brijesh
Hello Everyone, I have a web-view with Html content.I want to calculate height of web- view when it is scrolled. The method getScrollY() can return the Y scroll but the problem is that when I scroll web-view 2-3 time continuously it takes some time in scrolling. I just want to know if there is a

[android-beginners] Problem in getting scroll position in web-view

2010-06-16 Thread brijesh masrani
Hello Everyone, I have a web-view with Html content.I want to calculate height of web-view when it is scrolled. The method *getScrollY()* can return the Y scroll but the problem is that when I scroll web-view 2-3 time continuously it takes some time in scrolling. I just want to know if there is

[android-beginners] Problem in getting height of contetn in Webview

2010-06-09 Thread brijesh masrani
hello, I have a HTML file in a web view. I want to find the length of the content of that HTML file. I have tried all methods like *getContentHeight*() and *getHeight*() but it doesn't gave me the exact height which i want. There is one Protected method in View class " *computeVerticalScrollRang

[android-beginners] Problem in getting height of contetn in Webview

2010-06-09 Thread brijesh masrani
hello, I have a HTML file in a web view. I want to find the length of the content of that HTML file. I have tried all methods like *getContentHeight*() and *getHeight*() but it doesn't gave me the exact height which i want. There is one Protected method in View class " *computeVerticalScrollRang

[android-beginners] Problem in loading data in webview Pagevise

2010-06-01 Thread brijesh masrani
Hello I have a HTML file and i want to open it in webview Page by Page. I think i have to implement gesture but i don't know how to use Gesture and load data Page vise. So if anyone knows please reply as soon as possible. -- Regards, Brijesh Masrani -- You received this message because you a

Re: [android-beginners] Problem in renaming file in Sdcard

2010-05-03 Thread TreKing
On Mon, May 3, 2010 at 2:23 AM, brijesh masrani wrote: > String[] prog ={"mv HArdcore.chm h_ardcore.chm"}; > > Process p = Runtime.getRuntime().exec(prog); What does this have to do with renaming a file? You should be able to use standard Java I/O to rename a file. -

[android-beginners] Problem in renaming file in Sdcard

2010-05-03 Thread brijesh masrani
Hello Everyone, I want to rename a file in sdcard using program, i am not able to do that using String[] prog ={"mv HArdcore.chm h_ardcore.chm"}; Process p = Runtime.getRuntime().exec(prog); so if anyone knows how to do that than please reply. Regards, Brijesh Masrani -- You received this m

[android-beginners] Problem in implementing OnClickListener of a button inside linearlayout

2010-04-01 Thread Akiduki
Hi, I am writing a rating player which has a button of one activity served as a jump to another activity. Basically I am implementing an OnClickListener of this button, and hoping that if one clicked the button, it should jump to another activity. The partial code of the original activity is as fol

Re: [android-beginners] problem in switching two activities

2010-03-28 Thread murali raju
you are not switching from activity to another activity. u r just changing the view. for switching b/n activities u should use intents. as for ur exception i guess it says the specified child has a parent, since ur tries to set the view R.layout.main twice in ur code. so first remove the view and

Re: [android-beginners] problem in switching two activities

2010-03-26 Thread Justin Anderson
First, I would recommend using two different activities rather than just switching views. Second, take a look at the logcat output as it will give you more information about the crash. -- There are only 10 types of people in the

[android-beginners] problem in android.process.acore

2010-03-26 Thread Farhan
Hi developers When i want to run a program the output console displays the following message in red color " emulator-5554 disconnected! canceling 'bd.dhk.kur.first activity launch'! " After that the emulator opens but shows that 'com.process.acore' is not responding and the application is does n

[android-beginners] problem in switching two activities

2010-03-26 Thread Ramji
Hi, I just started programmind an application using Eclipse for Android. I am creating 2 screens. 1st screen: Has a button which onClick --> takes you to the 2nd screen. 2nd screen: Has a button which onClick -- > takes you to the 1st screen. just like NEXT and BACK. But somehow i keep getting

[android-beginners] Problem in local host;

2010-02-22 Thread Nikhil Dhavale
Please user ip of the webserver not localhost. It implies emulator will ping itself. -- 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/an

Re: [android-beginners] Problem in GUI Development in Andriod...

2010-01-13 Thread Kevin Duffey
You say in your 2nd post that you want to replace the table layout with a list view. Is this after the user does something..like select something or is done entering something and presses a button.. you want to hide the table layout view and show some new stuff.. the list view? I would strongly re

Re: [android-beginners] Problem in GUI Development in Andriod...

2010-01-13 Thread Justin Anderson
Any reason why you are using AbsoluteLayout? I believe it has been deprecated... On Jan 13, 2010 10:30 AM, "jaydip makadia" wrote: Hi, I m new comers in Android Development. Now I am creating one demo application into which i had faced one problem while displaying the ListView. Please let me k

[android-beginners] Problem in GUI Development in Andriod...

2010-01-13 Thread jaydip makadia
Hi, I m new comers in Android Development. Now I am creating one demo application into which i had faced one problem while displaying the ListView. Please let me know can i display ListView with AbsoluteLayout. Please find the below xml file. http://schemas.android.com/apk/res/android";>

[android-beginners] problem in AutoCompleteTextView

2009-12-25 Thread Nemat
Hi Friends I am working on AutoCompleteTextView.Its working fine and doen't give any error.Now the problem I am facing is,suppose we have 3 words starting from "A",when I start typing the letter "A",It shows all the three words.If we have three words like "An","Am","Az",when I type "n" after "

Re: [android-beginners] problem in running very first app

2009-12-02 Thread Justin Anderson
How long have you actually waited? Depending on machine configurations I have heard of the emulator sometimes taking hours to load -- There are only 10 types of people in the world... Those who know binary and those who don't. ---

Re: [android-beginners] problem in running very first app

2009-12-02 Thread Kalpana Kumari
logcat info says : - waiting for device - after that it got stuck. thanks for your reply On Tue, Dec 1, 2009 at 12:36 AM, Justin Anderson wrote: > What does the logcat info say? > > > -- > There are only 10 types of people in

Re: [android-beginners] problem in running very first app

2009-11-30 Thread Justin Anderson
What does the logcat info say? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Fri, Nov 27, 2009 at 2:07 A

[android-beginners] problem in running very first app

2009-11-29 Thread Kalpana Kumari
Hello anyone can help me in running my very first application. however Emulator is launched but nothing happened .. On the console following msgs came [2009-11-27 13:58:23 - MyFirstProject]-- [2009-11-27 13:58:23 - MyFirstProject]Android Launch! [2009-11-27 13:58:23 -

Re: [android-beginners] Problem in GPS while running in timer

2009-11-15 Thread 彬邵
Hi, Nemat I think your problem is that you call requestLocationUpdates in the TimerTask thread. As the document says, The ca

[android-beginners] Problem in GPS while running in timer

2009-11-10 Thread Nemat
Hi frinds.. I am presently working on GPS.I have to start GPS periodically.I mean I want GPS to start after a particular intervel,get Location value and then stop taking location updates.For this,I m calling requestLocationUpdates( , , ) method in a timer.Then in onLocationChanged(), I stop ta

[android-beginners] problem in services

2009-10-06 Thread Nemat
Hello frnds. I am presently working on services.I have read many articles related to services.But one thing I dont understand is if we want our application to run in background how can we implement services without using Activities... Urgent help needed Thanks Nemat --~--~-~--~-

[android-beginners] problem in

2009-09-09 Thread Mahsa M
Hi I want to down load one .apk file to my SDcard from the URL, but I got error when i want to create the file, if any body know the problem can you please help me, my code crash on the red line, my code is public class download extends Activity { /** Called when the activity is first created

[android-beginners] Problem in opening the Stream

2009-08-21 Thread M Awais
HI i m facing an urgent issue, as i tried to open the following URL through coding it gives me exception at OpenStream().. "illegal Character at home index 0:" the URL is: http://viralmesh_iphone.s3.amazonaws.com/lowURcholesterol/myplan.json i also tried to encode the URL bt no vail... here

[android-beginners] problem in tag in relative layout xml files

2009-06-26 Thread arindam bhattacharjee
Hi, I was trying to use "include" tag in a RelativeLayout as follows: --- http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="wrap_content"> -

[android-beginners] Problem in device detection in SuSE

2009-06-08 Thread Rahul
Hi, I am using openSUSE 10.3 (X86-64). When I connect my ADP1 through usb and run the command "adb devices", in the "List of devices attached", it does not show my phone. I have tried the instructions given for Ubuntu in the developers' website: ++ If you're developing o

[android-beginners] Problem in getting Image URI(s) from camera

2009-05-09 Thread Tejas
Hello, Many people want this functionality, so do I. This is one of my attempts. Can anyone guide me where am I going wrong... I need to get the image URIs of all the images clicked by the camera when it was running. The basic logic I apply is this: 1] Before starting the camera, store a time st

[android-beginners] Problem in running android 1.5 preview sdk on mac os

2009-04-20 Thread Lucius Fox
Hi, I have add I have set the variable ANDROID_SDK_ROOT and add ":/Users/lucius/Programs/android-sdk-mac_x86-1.5_pre/tools" to my $PATH $ echo $ANDROID_SDK_ROOT /Users/lucius/Programs/android-sdk-mac_x86-1.5_pre but when I run the emulator, I get this error: $ emulator emulator: ERROR: You did

[android-beginners] problem in playing mediaplayer

2009-02-09 Thread jaimin
hi. i am new to android. and i have done mediaplayer from api demo but i don't know how to put path of mp3 file into my java code any one plz give me any soultion its urgent i have put that mp3 file in res/raw folder but in java i have no idea where i put that mp3 file. thanks. jaimin --~--~-

[android-beginners] Problem in playing a video file

2009-01-16 Thread srini amul
Below is a step which i tried to play a mp4 file. But nothing happens. Could someone please help me out ?   Steps which I tried: *** a) I added a SurfaceView element in main.xml b) I uploaded a video.mp4 file in res/raw directory Below is my main.xml:

[android-beginners] Problem in playing a mp4 file:

2009-01-16 Thread srini amul
Below is a step which i tried to play mp4 file. But nothing happens. Could someone please help me out ?   Steps which I tried: *** a) I added a SurfaceView element in main.xml b) I uploaded a video.mp4 file in res/raw directory Below is my main.xml: ---

[android-beginners] Problem in playing a mp4 file:

2009-01-16 Thread srini amul
Below is a step which i tried to play mp4 file. But nothing happens. Could someone please help me out ?   Steps which I tried: *** a) I added a SurfaceView element in main.xml b) I uploaded a video.mp4 file in res/raw directory Below is my main.xml: ---

[android-beginners] Problem in playing a mp4 file:

2009-01-16 Thread srini amul
Below is a step which i tried to play mp4 file. But nothing happens. Could someone please help me out ?   Steps which I tried: *** a) I added a SurfaceView element in main.xml b) I uploaded a video.mp4 file in res/raw directory Below is my main.xml: ---

[android-beginners] Problem in playing a mp4 file:

2009-01-16 Thread srini amul
Below is a step which i tried to play mp4 file. But nothing happens. Could someone please help me out ?   Steps which I tried: *** a) I added a SurfaceView element in main.xml b) I uploaded a video.mp4 file in res/raw directory Below is my main.xml: ---

[android-beginners] Problem in Viewing table - sdk1.0

2009-01-13 Thread jayesh.thadani
Hi.. I am using sdk1.0 i created database as firstDB & created table in it as firsttable my application is working fine, but am not been able to view tables name in database. i open it with sqlite, it shows database name in it with .databases command.. but when i used .table it does not show t

[android-beginners] problem in receiving sms.

2009-01-08 Thread Honest
I have created one main class which extends activity. Another class which extends BroadcastReceiver. The code of it is as below. import android.app.NotificationManager; import android.content.*; import android.app.Notification; import android.widget.*; public class AlarmReceiver extends Broad

[android-beginners] Problem in Playing sound

2009-01-06 Thread Honest
I am playing sound by putting one folder which contains sound file. The coding is as below to play file. mMediaPlayer = MediaPlayer.create(this, R.raw.test_cbr); mMediaPlayer.start(); "Test_cbr.mp3" is a file which i put in RAW folder which is available in RES folder. But when i am exec

[android-beginners] problem in coding

2008-10-08 Thread baba vali
hi how can i resolve this problem in my code. "R.string.repeating_scheduled cannot be resolved" regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to a

[android-beginners] problem in changing location of Tab

2008-09-28 Thread Nemat
Hi frnds. I m working on tabs.I have successfully created tabs above the screen means tabs are displayed above.But I want them to be displayed below.Is it possible? Thanks in Advance --~--~-~--~~~---~--~~ You received this message because you are subscribe

[android-beginners] problem in adding animation to imageview

2008-07-01 Thread uru
package com.android.Riverchk; import android.app.Activity; import android.os.Bundle; import android.view.animation.TranslateAnimation; import android.widget.ImageView; public class checkr extends Activity { @Override public void onCreate(Bundle icicle) { super.onCreate(icic

[android-beginners] Problem in using ImageView

2008-06-23 Thread Ravi Savaliya
I am try to display image from internet. I have url of image , that i passed in constructing URI ref. screen display blank here is code, --- ImageView imageVi

[android-beginners] Problem in baseadapter...please help

2008-05-21 Thread scorpio
Hi, I tried to select an item from the list, but not getting somebody please help. I struck here for a long time. Actually in this, i am using Baseadapter. So How can i select. I tried with onItemClick, but null pointer exception coming.. public class ListQuery extends ListActivity implements O

[android-beginners] Problem in viewing the mapview on emulator

2008-04-28 Thread Appu
Hello , I am facing problem in MapView. I am unable to get the map view, I can locate the points on the emulator by specifying the geo:URI. I think as I am behind proxy server I am unable to get the map view. Can anyone tell me what are the additional settings to be made if we are behind t

[android-beginners] problem in running HelloAndroid.....

2008-04-23 Thread sree kanth
I am getting the problem while running the HelloAndroid program..in eclipse. I installed the ADT plugin also... Please give me the solution to this below error message [2008-04-23 12:27:28 - HelloAndroid1] trouble processing: [2008-04-23 12:27:28 - Hel

[android-beginners] problem in overriding onkeydown method of gallery

2008-04-08 Thread Neelesh Jain
Hi I am trying to create an application in which I am implementing gallery and checkbox. Now my need is that whenever I click on either right or left arrow key, image should be changed and simultaneously I want to change the state of checkbox. I tried to override onkeydown method but on righ