[android-beginners] Question Using a Service with an Appwidget

2010-07-15 Thread Jake Colman
As recommended I am using a service to update my AppWidget. The service is started in onUpdate and also in onReceive upon receipt of specific intents. My question is simple: am I supposed to do anything to manage the lifecycle of that service? Should I ever stop it or do anything else explicit

Re: [android-beginners] Question Using a Service with an Appwidget

2010-07-15 Thread Justin Anderson
http://developer.android.com/guide/topics/fundamentals.html#servlife -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Question on finishOnTaskLaunch

2010-05-05 Thread Ubuntu Explorer
Hi, I read the following text in App. Fundamentals today. This attribute is like clearTaskOnLaunch, but it operates on a single activity, not an entire task. And it can cause any activity to go away, including the root activity. When it's set to true, the activity remains part of the task only

[android-beginners] Question about Button and SurfaceView

2010-04-23 Thread Karthik Ravi Shankar
Hi, I am trying to use SurfaceView for an app. But I need to add buttons the canvas as well. Not able to gather much from Android.developer site. Can anybody post if they have done it or have some ideas ? Thanks, Karthik R Graduate Student Computer Science Department UCLA -- You received this

Re: [android-beginners] Question about Button and SurfaceView

2010-04-23 Thread Mark Murphy
Karthik Ravi Shankar wrote: Hi, I am trying to use SurfaceView for an app. But I need to add buttons the canvas as well. Not able to gather much from Android.developer site. Can anybody post if they have done it or have some ideas ? Step #1: Define a RelativeLayout. Step #2: Put the

[android-beginners] Question about UI Handling

2010-04-23 Thread Karthik Ravi Shankar
Hi, Thanks for the reply for my previous questions guys! I have one very basic question. In my application I am trying to have continous different UI screens moving around with the user input. I am looking into the Android.Reference still, but not able to gather much. I am not very clear as to

Re: [android-beginners] Question about UI Handling

2010-04-23 Thread Justin Anderson
* In my application I am trying to have continous different UI screens moving around with the user input.* This doesn't tell us much... Can you give a more precise example of exactly what you are wanting to do? -- There are only

Re: [android-beginners] Question about UI Handling

2010-04-23 Thread Karthik Ravi Shankar
Hi, What I want to do is something like this - First screen has a couple of buttons, I ask for a user input, then go to the next screen where there are number of image buttons. Now user can click on any of these buttons and a properties screen should flash on the screen asking for further user

Re: [android-beginners] Question about UI Handling

2010-04-23 Thread Justin Anderson
Each UI should be a separate activity. Use the startActivity() or startActivityForResult() methods to switch to the other activities. -- There are only 10 types of people in the world... Those who know binary and those who

[android-beginners] Question on web service mobile client app for Android using ksoap2.

2010-04-22 Thread Anjana
Hi I am creating web service clients in mobile devices (Android) through the use of ksoap2 libraries. http://developer.ebay.com/DevZone/finding/Concepts/MakingACall.html states: For the Finding API, no URL parameters or HTTP headers, including X- EBAY-SOA-SECURITY-APPNAME can be specified in the

[android-beginners] Question About Audio and Sources

2010-04-12 Thread Patrick Casey
Hello all, I am new to this group and wanted to say hi and express my appreciation to all that make this possible. I am totally new to all this and don't even know if what I am trying to do can be done. I have specific tasks in mind and figured I could learn how to make those pieces and when the

[android-beginners] Question regarding Contact Application [Android SDK 2.1]

2010-04-03 Thread AJ
Hi Group, I want to launch Contact application with some fields filled with data I have passed from my application. I am able to pass Name, Phone number and Emails. But the problem is :- 1- I am not able to pass more that 3 phone number. How Can I do that? 2- I am not able to pass Fields in

[android-beginners] Question: How to change android:keyTextColor in PopupKeyboard...

2010-04-02 Thread R L9420
Hi There, My first post. Hopfully, I'm doing these right... [Question] How can I change keyTextColor for the key on PopupKeyboard (I use SoftKeyboard as testbed)? [My investigation] I have tried to set the keyTextColor for the popup keyboard to be the same as the main layout. After serveral of

Re: [android-beginners] Question about Andriod application's IPC

2010-03-27 Thread milton john
Hi Raj, By using AIDL(Android Interface definition Lanuage), we can slove this IPC issue. see this below link for example and reference. Thanks, A.Milton http://saigeethamn.blogspot.com/2009/09/android-developer-tutorial-part-9.html

[android-beginners] Question about Andriod application's IPC

2010-03-26 Thread RAJ
Hello, Have a real basic question about IPC exists in android application space(SDK) I have two projects in eclipse workspace – (So two processes) one is activity which is UI app Second one is “service” which exposes some apis to client (above UI App) I want my first UI app(activity) to call

[android-beginners] question: installing dreaimg.nbh without an sd

2010-03-26 Thread bluizzo
i wanted to know if you can install dreaimg.nbh through android sdk without using the sd card? i want to know this because i cant use my sd card at all and all of a sudden ive been getting force closes for every single action i make on the phone (main one i get is process

[android-beginners] Question regarding media player android

2010-01-26 Thread ameya dandekar
Hi...i am ameya. I am new to android platform and i am currently working on an application, in which i use android built in media player for playing the song.But i want to control the buffering of media player when i pass a URL to play for it. Is there a function or a method to

[android-beginners] Question about view onDraw

2010-01-13 Thread bee cho
Sorry, My english is not good. I have a view with procedure onDraw: I want to load the two image from the R.drawable.crab file to simulate the GIF Animator. But it only display the image once. Here is my code. (Remark: the first and second image are cut from R.drawable.crab)

[android-beginners] Question about view onDraw

2010-01-13 Thread bee cho
Hi All, Sorry, my english is not good. I have a view called MyView with the onDraw procedure like this and want to load two image from the same image file like this : @Override protected void onDraw(Canvas canvas) { Resources res = getResources();

Re: [android-beginners] Question on TouchRotateActivity sample

2009-12-06 Thread Sheridan Saint-Michel
A subclass is said to have an Is A relationship to its superclass. So for example If you have superclass of Car and a subclass of Toyota then Toyota is a Car. So imagine you own a Toyota and someone says, We need a car to you. You don't need to tell them you have a Toyota, just that you have a

[android-beginners] question about intents

2009-12-06 Thread j p
ringdroid uses this code in it's record button, can anyone explain what this is doing, I don't see where the soundrecorder is called explicitly private void onRecord() { try { Intent intent = new Intent(Intent.ACTION_EDIT, Uri.parse (record)); intent.putExtra(was_get_content_intent,

[android-beginners] Question on TouchRotateActivity sample

2009-12-02 Thread Jeremiah Sellars
This may very well just be my inexperience with Java (and I'm almost certain it is) but I felt best I ask anyway. In this sample, GLSurfaceView is subclassed as TouchSurfaceView. However, in the main Activity, there is a declaration of: private GLSurfaceView mGLSurfaceView; And when

[android-beginners] Question about app widgets

2009-10-13 Thread Carl
Hello all, I would like to ask if it is possible to put 2 widgets in the same application. In other words, having one project, with one manifest.xml file and making 2 different widgets in the the same project. In the case that it is possible, when there is an intent

[android-beginners] question: adp1 images on a t-mobile g1?

2009-09-29 Thread Jeffrey Blattman
what is special about the adp1 images that makes them only flashable on an adp1? that's what htc claims. is it something for subtle, for example, root access is required? or is there something special about the adp1's hardware that really prevents it from being installed on a g1? i ask

[android-beginners] Question about GoogleSearch.apk and android.process.acore

2009-09-25 Thread jiangcaixia
Hi all, I want to test which packages(packages/apps/) are necessary to run Android on the emulator. I just try to remove GoogleSearch.apk, but the emulator shows The process android.process.acore has stopped unexpectedly. Please try again. I look at the AndroidManifest.xml file and see manifest

[android-beginners] Question about adapters

2009-09-21 Thread Jeffrey
I'm kind of at a loss of how to achieve this probably simple task. How do I get the contents of a variable (say and int variable) to display on the screen? I've collected that I have to use an adapter, but I can't find a simple explanation of how to use them. In one of the tutorials, they list

[android-beginners] Question about the license of the non-free applications

2009-09-20 Thread Chihau Chau
Android is developed under the Apache v2 License but what about of the non-free applications? -- Chihau Chau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email

[android-beginners] question

2009-09-14 Thread Muse Mekuria
I read we can change the canvas color of a widget through overriding the onDraw() method, but we still have to provide a layout for it. Couldn't we have changed the canvas in the layout itself? What are the attributes we can modify in a layout file (attributes like android:textColor) Thanks

[android-beginners] Question Regarding the Background Menu

2009-08-07 Thread Hamed3d
Hi there, I have a GUI question and hope someone can help me out. I am trying to make a GUI where I have 3 buttons ( start, about, exit). What I need is to have a background behind these buttons. For instance Xgalaga game for android. When you start the game there are 3 buttons and behind them

[android-beginners] Question About Software And Ect...

2009-08-05 Thread ║Rogue║
Do I need the Android Dev Phone 1 or the G1 to Debug the my written code? Or can I Debug it on my computer? Or is there software I can use that will act like the Android Dev Phone 1 but on my computer? Thank You For Reading My Post If You Have And Answer Please Feel Free To Post ;)

[android-beginners] Question about the annoyingly short screen time-out during a call...

2009-07-22 Thread Ed
Hi, According to my adb logcat, this is what happens when the phone shuts off the screen during a phone call: D/PhoneApp( 185): updateWakeState: keepScreenOn = false (isRinging false, showingDisc false) D/SurfaceFlinger( 134): About to give-up screen, flinger = 0x17b200 [screen then turns

[android-beginners] Question about checkbox and gravity in layout

2009-07-21 Thread Matt
Hi, here I have a part of my layout, where I want to position a checkbox to the right of the screen while it with two lines of text. I was trying to mimic the look of the layout on the settings pages in the emulator. Here is the layout XML: LinearLayout android:orientation=horizontal

[android-beginners] Question

2009-07-18 Thread Jose Ayerdis
I was reading the NotepadV2 app the following code... super.onListItemClick(l, v, position, id); Cursor c = mNotesCursor; c.moveToPosition(position); Intent i = new Intent(this, NoteEdit.class); i.putExtra(NotesDbAdapter.KEY_ROWID, id); i.putExtra(NotesDbAdapter.KEY_TITLE, c.getString(

[android-beginners] Question about HelloMapDemo

2009-07-14 Thread iñaki
Hi, i have the next question with api demo hello map. I try to execute this example based in \docs\guide\tutorials\views\hello-mapview.html but when activity start don t show any map... This is the log: 07-14 08:18:39.669: INFO/MapActivity(791): Handling network change notification:CONNECTED

[android-beginners] question about LayoutInflater.inflate()' parameters

2009-06-30 Thread chandlersong
the method has 3 parameters.and I'm confused by the second and the thrid. I read api. root Optional view to be the parent of the generated hierarchy (if attachToRoot is true), or else simply an object that provides a set of LayoutParams

[android-beginners] Question about requestLocationUpdates()

2009-05-27 Thread D.
Hello, I have two questions regarding this call: Example Call: locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); 1. After making this call, does it actually wait for the location provider(gps in the above example) to complete the location update THEN

[android-beginners] Question when start emulator from command line in Linux Ubuntu

2009-05-25 Thread balark
Hello, When I start emulator from command line in Linux Ubuntu with using the command: emulator -avd avdtest, and then the emulator starts, but the problem is in the command line the cursor is stay to the next line and I can not input any other command after the command starts. What I want

[android-beginners] Question about building Android 1.5 source for emulator

2009-05-04 Thread alexbttf
I just had a quick question, haven't been able to find any answers elsewhere. Figured I'd ask it here. I Was wondering if it's possible to build the Android source so that the resulting Android Emulator disk images contains all of the apps of a normal Android 1.5 system? I've tried building the

[android-beginners] Question regarding adding a view that can overlap other views in the layout/activity.

2009-04-19 Thread rch
Is it possible to add a view dynamically that overlaps other views in the layout. I have Linear Layout defined for the activity. As part of the Layout I have a custom View. The content changes dynamically and sizes appropriately based on the content size, with fill_parent for width and

[android-beginners] question on tutorial

2009-04-17 Thread chris idr
id like to first ask how does the hello android, (get list of contacts, and call selected one work) i cant get the source code to work. i have figured out all but the i.setData(Phones.CONTENT_URI.addId(phoneId)); line, what should it be??? regards chris

[android-beginners] Question about onSensorChanged Listener

2009-03-17 Thread guptha
I use OpenIntents to Listen for orientation change .Everything works fine .but i have few doubts 1. I suppose onSensorChanged is called whenever there is a change in orientation but contrary to my thought this method is kept calling even there is no change in orientation . Yaw ,Roll and Pitch

[android-beginners] Question regarding linearlayout

2009-03-11 Thread striverwang
hi,all: I have a question regarding linearlayout(maybe other layout types) __ | textf |button | |___|__| I want to implement above layout, firstly to place a textfield on the screen, and place a button on its right, the button's size is

[android-beginners] question about jre in android

2009-01-29 Thread Felipe Besoaín
hello everyone, I have one question about JRE in android, using the browser of android I can not watch pages with JRE, how I can install JRE in android? that is possible rigth? thanks -- Felipe Andrés Besoaín Pino Ing. En Bioinformática Universidad de Talca- Chile Universidad Politecnica de

[android-beginners] Question about message flow of Android Browser..

2009-01-25 Thread ritter.han
Hi, I'm studying Android Browser and wanna know how request messages are sent. Please help me to find out the mechanism of sending and receiving messages. For instance, let's say I tapped a 'Refresh' item in menu. I'd found the flow of request message like as below.

[android-beginners] Question about Java coding good practice - Inner classes

2009-01-17 Thread Juan David Trujillo C.
Hi guys! I have been reading some Java coding good practices and inner classes are an important subject. I know for a fact Inner classes are originally used to handle UI events (button clicks, keyboard type, etc.). I was wondering if variables to handle UI elements (EditText, Buttons,

[android-beginners] question about bluetooth

2008-12-29 Thread Guan
Hi! I have developed a monitor device with bluetooth interface, can i transmit the data from my monitor to GPhone by bluetooth? Does the android sdk support bluetooth? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] Question about the int bundle

2008-12-26 Thread Zi Yong Chua
Sorry I am noob here and learning about the basics about android.. May I know what is the differences between the bundles? I search around and there is not much comments on the bundles as far as I can find... public void onCreate(Bundle icicle) { super.onCreate(icicle); public void

[android-beginners] Question about the int bundle

2008-12-26 Thread Zi Yong Chua
Sorry I am noob here and learning about the basics about android.. May I know what is the differences between the bundles? I search around and there is not much comments on the bundles as far as I can find... public void onCreate(Bundle icicle) { super.onCreate(icicle); public void

[android-beginners] question about layout.xml and View class

2008-11-07 Thread Brian
reposted here from the android developers group because this is a beginner question; sorry about the duplication I got a simple layout working and displaying by only editing the layout xml. Basically it was the layout below without my BoardView in there. Now I'm trying to write my own View

[android-beginners] question about build android

2008-11-04 Thread hunter
Hi, all: I try to build android on my linux, but failed with following errors: build/core/product_config.mk:229: WARNING: adding test OTA key host C: acp = build/tools/acp/acp.c cp: cannot stat `out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/ acp.d': No such file or directory

[android-beginners] question about build android (2)

2008-11-04 Thread hunter
Hi, all: I tried to build android, but met following errors: == host C++: libutils = frameworks/base/libs/utils/Threads.cpp frameworks/base/libs/utils/Threads.cpp: In static member function 'static int

[android-beginners] Question about using webkit

2008-10-25 Thread hao
hey guys, im wondering how well does android handle javascript. Im thinking of develop a web application for the android device. Can it load a google map module just like on a desktop computer? --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] question...

2008-10-21 Thread antropine antropine
hello! I apologize for my english grammar... I have one question, since I am nokia user (NOKIA N73) and I am not very satisfied with symbian, and G_android is full featured OS for mobile phones, I am asking if it's possible to install google android on N73 NOKIA..., and if not, will there ever be

[android-beginners] question on getSelectedItemId function

2008-05-12 Thread alan Gold
Hello All! I just do the exercise 2 in tutorial document, and I have a question in the onMenuItemSelected function. @Override public boolean onMenuItemSelected(int featureId, Item item) { switch(item.getId()) { case INSERT_ID: createNote(); return