The usage of intents is a little bit more complex and there are
different options available how to communicate between your two
activities.
Try to understand the basics of intents (action, data, ...)
Basics:
- http://developer.android.com/reference/android/content/Intent.html
When you start
Hello,
I am learning about Content Providers, and tried the example from the
official Android tutorial on the topic. Please see the code below:
package com.example.devguide;
import android.app.Activity;
import android.content.ContentUris;
import android.database.Cursor;
Can you please add the errors that eclipse gives you?
also, sometimes you need to close the AVD (emulator) and run again. I
am sure you did but just to verify.
Thanks.
Eli P.
On Aug 26, 7:48 am, kapil.k kapnk...@gmail.com wrote:
i have trying sms example.in first few times it was running verry
How can i change the color of the EditBox hint text. Thanks :)
--~--~-~--~~~---~--~~
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:textColorHint=# sry for the post
On Wed, Aug 26, 2009 at 12:21 PM, manigaultmanig...@gmail.com wrote:
How can i change the color of the EditBox hint text. Thanks :)
--
When I raise my flashing sword, and my hand takes hold on judgment, I
will take vengeance upon mine
Hey All,
I have a service which should download files in background, i am
calling this service form another activity,
the problem is when i am calling this service form another
Activity the present Activity is getting Freezed( i.e not able to get
control back ) until the all files in
I am looking for social networking application using location in mapview
does any body have this application
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email
hello
I am looking for upload photo in android
--~--~-~--~~~---~--~~
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 unsubscribe from this
On Aug 25, 4:41 pm, Xavier Ducrohet x...@android.com wrote:
I see that you have changed the location of the user folders (in S:
instead of C:)
There are user folders on both S: and C:. Only the Desktop and My
Documents special folders are on S:. Everything else (including App
Data) is on C:.
I was able to get some KML files working by manually changing the KML
tag hierarchy. Google Earth appears not to natively export KML files
in a DDMS-readable form.
On Aug 20, 2:44 pm, AKA nfee...@gmail.com wrote:
I'm sure this must be a simple/dumb thing I'm doing wrong, as I'm
unable to find
Great app.
On 8 24, 2009 7:30 PM, Andrei gml...@gmail.com wrote:
Guys,
I wrote app for Android phone that can help you to learn Android /
plan your next App.
It is FREE and searchable app for all Android API documentation.
It works off-line, no need for connection.
Give it a try.
Search for
i-ve been working with kml exported from google maps what do are yu trying
to do?
2009/8/26 AKA nfee...@gmail.com
I was able to get some KML files working by manually changing the KML
tag hierarchy. Google Earth appears not to natively export KML files
in a DDMS-readable form.
On Aug 20,
Sorry for not being specific enough. I meant to duplicate the code of the
existing contacts app and modify it to fit your needs. What you are hitting
on here is one of the many wonderful, groundbreaking ideas about Android.
Because Android is so Open, 3rd party apps developed by non-google
Wow... it has been over a week since anyone other than me has
responded to this post. No one has any ideas on what is wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this
Take a look at this link:
http://jsharkey.org/blog/2008/02/14/android-tabhost-in-the-m5-sdk/
--
Jack Ha
Open Source Development Center
・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
In Eclipse, go to your project properties and select Java Build Path.
Then select the Libraries tab and you can add your external jar file
there.
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author
Hello,
Two questions
1) How can I tell if my Java code is running in the Android
environment? I have some code that is shared by Android and non-
Android applications and I want to be able to adjust to either
environment dynamically.
2) Is there a way to get access to the Command Line
Hi,
i want to develop an application which checks periodically for new
data on a server over a http-connection.
Should i do this in a Thread or is it better to do this in a service?
The checking should also continue when the user is going back to the
Android-Main-Menu, that means the user is
Hey folks,
In my own frustration at finding a good example for a REST XML
implementation for android, I clawed my way through rolling my own
using the apache http libraries. I have a bit of example code on my
blog if anyone is looking for doing a REST implementation on android.
I want to get data whatever user search on browsers .Can I use only
intent actions to get these data?Please reply me
ni
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group,
still doesn't work why
On Aug 26, 7:41 am, Xavier Ducrohet x...@android.com wrote:
I see that you have changed the location of the user folders (in S:
instead of C:)
When the user location is not the default one, we have seen some cases
where windows reports the location of the
Hi Group,
I can't seem to get the contacts on my phone to sync with my online
google account.
Has any one else had this problem? What is the solution?
Thanks
Justin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Useful app...Thanks!
--
Jack Ha
Open Source Development Center
・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 21, 12:47 pm, Andrei
Delete the R.class, then rebuild.
On Aug 25, 10:36 pm, sagar sagar.india...@gmail.com wrote:
Hello everyone,
I am trying to build my project using ant. I first generate build.xml
file using android update project command. Now i want to run it
using ant. When i type ant debug commnad it
Instead of using Strings, try to use StringBuffer. Normally the usage
of StringBuffer's is more efficient than normal Strings.
By the way for analyzing your code to find out where you spend most of
the time, use the traceview tool.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick
Justin,
I verified your latest remark about the usage of the hard-coded
example which causes an exception. Sorry, for the misleading
information.
I only guess that you are not allowed to start some of the systems
applications in the way how you want to do it. For sure someone from
the Android
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to
i want to develop an application which checks periodically for new
data on a server over a http-connection.
Should i do this in a Thread or is it better to do this in a service?
Both. Use a service that does the work in an AsyncTask or other form of
background thread.
The checking should
Right, Zonakusu. Rafa, think of it like buying a Linux PC. Some people
might be interested in modifying Linux itself, but most developers
will want to just write an application to run on top of Linux.
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this
It may not be a good idea to use Classes from the com.android.camera
package since that is not part of the SDK. The MovieView is an
internal class are classes used by the Camera app.
Did you try using the VideoView class, with the setVideoURI
(rtsp://... ) method?
What is the accepted/common practice for code to post messages between
objects in the Android environment? In Windows I do a lot of inter-
object communication via the operating system PostMessage() facility
which can post messages to Windows and even non-Windowed objects (if
they have allocated
I use the Eclipse android wizard to build a HelloWorld app, But When I
install this app, the console print out the following error
installation failed due to the invalid apk file. When I use the
winrar to unzip the HelloWorld.apk file, It also report a error
unexception end, It also verify the
You can also broadcast an intent and many receivers can pick it up.
Essentially its the pub/sub pattern in a service bus.
On Wed, Aug 26, 2009 at 12:24 PM, roschler robert.osch...@gmail.com wrote:
What is the accepted/common practice for code to post messages between
objects in the Android
Anyone have any instie on this please? If not, maybe I will try the
developers group. Thanks.
_
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of tinyang
Sent: Saturday, August 22, 2009 4:07 PM
To: android-beginners@googlegroups.com
1) How can I tell if my Java code is running in the Android
environment? I have some code that is shared by Android and non-
Android applications and I want to be able to adjust to either
environment dynamically.
One possibility would be to use reflection to look up a class in an
android.*
Also check your Run Configurations. In Eclipse, Run Run
Configurations. Select your project from the list on the left, then
in the Target tab check if there are any invalid command-line
parameters in the Additional Emulator Command Line Options box.
-Sonja
On Aug 25, 9:26 am, nitin
Is there a way to add this app to my emulator? Just to check it out?
-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of Jack Ha
Sent: Wednesday, August 26, 2009 10:44 AM
To: Android Beginners
Subject:
Thank you very much for these links. I got it to work with maValeurBis
= getIntent().getStringArrayListExtra
(net.sebeto.android.cuisine.Methodes.maValeur); , I will study your
links carefully to see if I do things the right way!
On Aug 26, 8:07 am, Roman ( T-Mobile USA) roman.baumgaert...@t-
Thank you very much!i will try tonight..
Thanks!
On Aug 26, 2009 7:31 PM, Roman ( T-Mobile USA)
roman.baumgaert...@t-mobile.com wrote:
Instead of using Strings, try to use StringBuffer. Normally the usage
of StringBuffer's is more efficient than normal Strings.
By the way for analyzing your
Justin,
With the following line of code you should be able to start up the
calendar app
calendarIntent.setClassName
(com.android.calendar,com.android.calendar.LaunchActivity);
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this
Hello
This is very interesting. Do I need to have the source code of the
Camera app in order to do this? Or is there some way to make it use my
menu rather than the one already in Camera?
On Aug 10, 7:56 pm, Roman roman.baumgaert...@t-mobile.com wrote:
You are already giving the answer ... In
What is the accepted/common practice for code to post messages between
objects in the Android environment?
Um, there is not really an analogue of PostMessage() in Java.
View has post() and postDelayed(), but those are designed to simply
arrange for a Runnable to be executed on the UI thread.
this might sound as a really silly question but I published my
application and would like to release some updates:
1- how can I do it?
2- should I version my app as 1.1 now?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I have already done this. I do find that a lot of my answers get
solved by searching through API Demos. However in the API Demos, they
just show how to show the Dialog and that is it. They never show how
to return which button was pressed.
Nick
On Aug 21, 3:33 pm, Donn Felker
See http://developer.android.com/guide/publishing/versioning.html#appversion
For the Google Market to alert all your users that there is an update
you will need to set the Version Code to a higher number than in your
previous version. This is set in your Manifest file. I assume you
probably set
On Aug 26, 2:37 pm, Mark Murphy mmur...@commonsware.com wrote:
Can we back up a step or two and discuss what your actual objective is?
PostMessage() is a means to an end -- if you can describe the end, we may
be better able to give you an Android-flavored means.
Hello Mark,
Lots of
See http://developer.android.com/guide/publishing/versioning.html#appversion
For the Google Market to alert all your users that there is an update
you will need to set the Version Code to a higher number than in your
previous version. This is set in your Manifest file. I assume you
probably set
anyone can help???
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to
In my application adding fullscreen to my application results in a 50%
performance loss.
fullscreen call:
this.getWindow().setFlags
(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE |
WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
|
At http://android-developers.blogspot.com/?hl=en getting error 404
when I click on the tabs.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
Here is the XML of a camera test application that worked on the
cupcake
branch. The preview size spans the entire screen on cupcake. However
the
same app does not work on the Donut branch without explicitly setting
the width and height to 800 and 400 dp respectively?
Why doesn't fill_parent work
Hi all,
I am trying to investigate the new search feature in donut branch. To
run donut with Eclipse it prompts me for the ADT 0.9.2 or latest. How
do I download the latest?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On Wed, Aug 26, 2009 at 4:21 AM, Phoenixphoenixsen...@gmail.com wrote:
On Aug 25, 4:41 pm, Xavier Ducrohet x...@android.com wrote:
I see that you have changed the location of the user folders (in S:
instead of C:)
There are user folders on both S: and C:. Only the Desktop and My
Documents
I set a path in the VideoViewDemo.
code
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.videoview);
mVideoView = (VideoView) findViewById(R.id.surface_view);
path=rtsp://125.76.233.38/h263.3gp;
I just did a version upgrade. Here are some things I do.
1. Make sure to build after upping version number. I got caught by this
dumb mistake.
2. I delete the existing dev version of the app from my phone
3. I use eclipse to create an unsigned APK
4. I sign the APK following instructions on
Hi all,
On the Android Home screen, the label set in the manifest on the application
appears under the icon with a gray background. Does anyone know how to
style a TextView or some other View Widget to look like the text showing
under an application icon? I would like to know.
Thanks and
http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=blob;f=src/com/android/launcher/BubbleTextView.java;h=37824545e9f5bfe5ee5ad7c6acba767a3d816836;hb=master
On Wed, Aug 26, 2009 at 10:51 PM, Beth Meziasemez...@gmail.com wrote:
Hi all,
On the Android Home screen, the label
57 matches
Mail list logo