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
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.
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
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
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
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
* 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
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
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
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
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
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
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
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
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
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
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
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)
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();
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
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,
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
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
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
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
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 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
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
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
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 ;)
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
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
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(
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
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
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
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
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
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
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
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
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
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
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.
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,
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
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
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
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
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
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
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
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
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
54 matches
Mail list logo