Yeah too late for 1.0. :} But you know, there is no reason someone
else couldn't write such a thing -- the contacts provider itself is
just an app and there is nothing special about it, so a virtual
contacts provider doesn't need any special platform support either.
On Aug 27, 3:29 pm, jtaylor
Yep PendingIntent is the new ActivityPendingResult.
On Aug 27, 10:56 pm, Ralf [EMAIL PROTECTED] wrote:
android.app.PendingIntent maybe?
R/
On Wed, Aug 27, 2008 at 10:39 PM, Wesley [EMAIL PROTECTED] wrote:
hi all,
any idea what class has been replace by this class??
On Aug 27, 4:43 am, munzelmann [EMAIL PROTECTED] wrote:
I agree. Almost every class from my application contains errors after
upgrading to 0.9. GPS mock provider doesn't work, GTalk/XMPP has been
completely removed.
I'm in doubt to put any further work into android until the second
And by very few we really mean ***very*** ***few*** :)
On Wed, Aug 27, 2008 at 11:11 PM, hackbod [EMAIL PROTECTED] wrote:
On Aug 27, 4:43 am, munzelmann [EMAIL PROTECTED] wrote:
I agree. Almost every class from my application contains errors after
upgrading to 0.9. GPS mock provider doesn't
Of course it will be fixed in a later version, no doubt for that :p
Unfortunately I always use the current version, not the next one, I am
very unlucky.
On 27 août, 17:55, Romain Guy [EMAIL PROTECTED] wrote:
It is a bug in the SDK 0.9 that we fixed since then. Sorry for the
inconvenience. The
Hi
I tried to define a private action code and use it in an Activity.
But this ended up in an error:
AndroidRuntime ... No Activity found to handle Intent
{ action=custom.action.SECOND_ACTION }
It would be nice if someone could tell me if I'm doing something
wrong.
Here's the code.
Hi [EMAIL PROTECTED],
I have no problem when using the geo telnet command. The position is
correct and reverse geocoding works pretty well in France.
I use the provider gps.
The only problem I have is that nothing works via Eclipse.
I didn't try a programmatic mock provider.
Did you set the right
Here is a code which is actually working, but with manual draw, you
can imitate my workaround for now.
I hope an official answer will come up fast...
/** Map layer displaying contact locations */
public class LocationOverlay extends
ItemizedOverlayLocationOverlayItem
{
/** Contacts with known
Contact and LocationOverlayItem (extending OverlayItem to set fields
based on a Contact) are custom classes I created for my application,
they're not important to understand my code.
On 28 août, 11:20, Guillaume Perrot [EMAIL PROTECTED] wrote:
Here is a code which is actually working, but with
Try specifying the CATEGORY_DEFAULT in your intent filter for the
second activity.
From android.content.Intent:
Activities will very often need to support the CATEGORY_DEFAULT so
that they can be found by Context.startActivity().
On Aug 28, 1:13 am, hilti [EMAIL PROTECTED] wrote:
Hi
I tried
Hi All,
Can anyone post an rtsp link which works fine..
gunaaa, can you please provide the external URL that was played..
All I am doing here is setting the path variable in the API
Demo(MediaPlayerDemo) example to different links
But none seems to work...In the error log I am getting
Yeah too late for 1.0. :} But you know, there is no reason someone
else couldn't write such a thing --
Indeed, it sounds like a great extension for OpenIntents :-)
We already have an open shopping list provider, a tags provider, a
locations provider - so why not a virtual contacts provider?
Hey guys,
I'm have a registered BroadcastReceiver that should receive proximity
alerts. I've added the proximity alerts to the objects and that is
successful, LogCat also gives me the message when I am in proximity of
an object:
08-28 09:55:05.344: INFO/LocationManagerService(53): Entered alert
Actually. after having a closer look at the Intent documentation does
PROXIMITY_ALERT even exist anymore!?
woodm wrote:
Hey guys,
I'm have a registered BroadcastReceiver that should receive proximity
alerts. I've added the proximity alerts to the objects and that is
successful, LogCat also
Ralf,
I would say the Android emulator should have a comparable startup time
to the iPhone simulator (which is extremely fast to startup and also
to reuse - seconds for each of those actions). Since the emulator can
be reused once started, that's very usable. But I think the Android
developers
In M5 I used notifications with intents (with extra arguments) to
handle special commands.
If my activity was already started (the main activity of my
application), onNewIntent was called.
My activity has the singleTop launch mode manifest attribute.
In v0.9, onNewIntent is not called anymore,
Yap, it works.
Thanks for your help.
On 28 Aug., 11:33, Teo Hong Siang [EMAIL PROTECTED] wrote:
Try specifying the CATEGORY_DEFAULT in your intent filter for the
second activity.
From android.content.Intent:
Activities will very often need to support the CATEGORY_DEFAULT so
that they can
woodm wrote:
Actually. after having a closer look at the Intent documentation does
PROXIMITY_ALERT even exist anymore!?
There's nothing to say you need to use their namespace for your action.
In fact, I'm under the impression you should use your own namespace, to
prevent potential collisions
Why was I thinking the contacts provider was different and
standard? :)
- Juan T.
On Aug 28, 2:03 am, hackbod [EMAIL PROTECTED] wrote:
Yeah too late for 1.0. :} But you know, there is no reason someone
else couldn't write such a thing -- the contacts provider itself is
just an app and
It would nice to explore how to build a whole infrastructure (through
a Virtual Contacts Content Provider) for Social Apps. A company like
Facebook probably doesn't just want to be on webkit. It wants the
profiles to be in a content provider for fast access outside the
network, syncing from time
And then RPC, this device to device communication I don't believe is
even going to work without being on top of a social app
infrastructure.
- Juan T.
On Aug 28, 6:03 am, Peli [EMAIL PROTECTED] wrote:
Yeah too late for 1.0. :} But you know, there is no reason someone
else couldn't write
Thanks very much for the suggestions and the answer, I will try that.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi, guys. Does anyone know how to set nextFoucsUp/Down/Left/Right
within Tabhost View?
I wanna move focus within each tab..
Thanks in advance,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
someone has examples of a program to Android
- Original Message -
From: dai [EMAIL PROTECTED]
To: Android Developers android-developers@googlegroups.com
Sent: Thursday, August 28, 2008 8:59 AM
Subject: [android-developers] tabhost nextfocus
Hi, guys. Does anyone know how to set
Ok...let me know please if you have examples.
On 8月28日, 午後10:02, dyonis [EMAIL PROTECTED] wrote:
someone has examples of a program to Android
- Original Message -
From: dai [EMAIL PROTECTED]
To: Android Developers android-developers@googlegroups.com
Sent: Thursday, August 28, 2008
Is this mailing list correct place for this question? If not, where
should I ask? Thank you.
On 26 авг, 13:12, Peter [EMAIL PROTECTED] wrote:
Hello. Android SDK contains fonts which are really nice by themselves.
But what license are they covered by? Is it possible for us to use in
our
Another lifecycle problem: onRestoreInstanteState is never called when
I relaunch my activity after pressing HOME (and the onCreate is not
called so the activity hasn't been recreated).
On Aug 28, 1:38 pm, Guillaume Perrot [EMAIL PROTECTED] wrote:
In M5 I used notifications with intents (with
Thanks for getting back to me so quickly.
I've altered my code to define my own intent
(package_name.action.PROXIMITY_ALERT). However, doing this simply
yielded the same results. I also added the following line:
proxIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
prior to creating the
Nevermind...it was a /stupid/ mistake.
The PendingIntent I was supplying was fetched from
PendingIntent.getActivity() where as it should have been called with
PendingIntent.getBroadcast().
It works fine now :-)
On Aug 28, 2:43 pm, woodm [EMAIL PROTECTED] wrote:
Thanks for getting back to me
Nevermind...it was a /stupid/ mistake.
The PendingIntent I was supplying was fetched from
PendingIntent.getActivity() where as it should have been called with
PendingIntent.getBroadcast().
It works fine now :-)
On Aug 28, 2:43 pm, woodm [EMAIL PROTECTED] wrote:
Thanks for getting back to me
That's all done -- issue 811. Android has confirmed the bug and will
assign it to an engineer. -- J
On Aug 27, 3:42 pm, Ralf [EMAIL PROTECTED] wrote:
Please file a bug in the tracker with a little snippet of code to reproduce
it.
R/
On Wed, Aug 27, 2008 at 9:06 AM, Jon Webb [EMAIL
Well I'm making a 2D RPG, or at least my plan is to do that, so really
the only actual graphical tools I need are for placing images, or to
be more precise, placing tiles, like in SDL that a character can move
on etc. Basically I don't need advanced graphical features, I really
just need the
Hi,
Is it planned to support playing videos contained in the resource? I
would like my application to play with a video intro contained in
the .apk.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Hi, Group !
How do i resolve following ddms error?
09:08 E/ddms: shutting down due to uncaught exception
09:08 E/ddms: java.lang.UnsatisfiedLinkError: /home/fdd001/android/
android-sdk-linux_x86-0.9_beta/tools/lib/libswt-pi-gtk-3232.so: /home/
Seems like not much point in overriding ItemizedOverlay, what added
functionality do you really get then just overriding Overlay?
On Thu, Aug 28, 2008 at 3:24 AM, Guillaume Perrot
[EMAIL PROTECTED] wrote:
Contact and LocationOverlayItem (extending OverlayItem to set fields
based on a Contact)
Hi my old friend, I added this page on my web site, it might help you,
it contains Maps application code :), it was hard, but worth it
http://nader.shalabi.googlepages.com/androidapplications
If there is an interest in the code of the other applications, drop me
email, I am still working on
OK, issue 836 created with the 'adb bugreport' output attached ;)
http://code.google.com/p/android/issues/detail?id=836
On 27 ago, 23:58, Brett Chabot [EMAIL PROTECTED] wrote:
Yes, please do submit a bug in the tracker. Thanks for the report.
Regards,
Brett.
On Aug 27, 2:51 pm, qvark
On Aug 28, 1:13 am, hilti [EMAIL PROTECTED] wrote:
Intent intent = new Intent(custom.action.SECOND_ACTION);
Of course that isn't -really- the name you are using for the action,
right? You are scoping it to your own personal namespace, correct?
Our graphics APIs are OpenGL and the android.graphics.Canvas classes.
You can use the parts of those that you want, but there isn't any
special 2d game API with just simple 2d operations.
On Aug 28, 7:40 am, crayon- [EMAIL PROTECTED] wrote:
Well I'm making a 2D RPG, or at least my plan is to do
I have the same problem with DDMS throgh eclipse. I tried in linux and
windows, with eclipse 3.3 and 3.4 and always got location 0,0.
I hope to fix this problem soon
On Aug 26, 3:44 pm, Guillaume Perrot [EMAIL PROTECTED] wrote:
In the standard maps application, my position is always at
Thanks a lot
For your valuable help
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group,
Hi, everyone,
Some questions here..
1. Will android provide Mail API??
2. there are mail implementation under apps/Email/ folder, does
IMAP stuff under the folder follow IMAP4 protocol ??
elviselle.
--~--~-~--~~~---~--~~
You received this message
Put in a thread (Handler handler = new android.os.Handler();
handler.post(httpHandler);)
uses-permission android:name=android.permission.INTERNET / added
to manifest file
Still error java.lang.RuntimeException: This thread forbids HTTP
requests
logcat log:
W/System.err( 484):
1. Will android provide Mail API??
There does not appear to be a public API for mail, such as javax.mail, in
the 0.9 SDK.
That being said, JavaMail worked under M5, if you found the right JAR
files. I haven't tried it yet under 0.9, but I should within a week.
--
Mark Murphy (a Commons
There's not enough information here to really know what you're doing,
can you post your code?
Cheers,
Justin
Android Team @ Google
On Aug 28, 6:47 am, Snem [EMAIL PROTECTED] wrote:
Put in a thread (Handler handler = new android.os.Handler();
handler.post(httpHandler);)
uses-permission
Thanks for your Ralf.
I have solved this problem. I just added emulator path to my variable
environment, and error disappeared.
Dipen
On Aug 26, 11:31 am, Dipen [EMAIL PROTECTED] wrote:
Ralf,
I am using Windows XP Pro., if i launch emulator from command line i
get error which I mentioned
public class AndroidHttpActivity extends Activity {
private Context context;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.http);
Also the require permission is available in manifest file.
On Aug 28, 10:55 pm, rajesh [EMAIL PROTECTED] wrote:
public class AndroidHttpActivity extends Activity {
private Context context;
/** Called when the activity is first created. */
@Override
public void
I was able to get it working in Eclipse by setting my project to
include the source from the library project. I was never able to get
it to work if I used .jar files. The including source route works
because the source gets built into the same /bin folder, and dx
converts any .class files in
Hi all:
Please try the following:
1. Download and extract LocationSample.zip from
http://groups.google.com/group/android-developers/files
2. From Eclipse main menu, select File Import ... Existing Projects
into Workspace, and import extracted LocationSample into workspace
3. From Package
The problem is with the path you suppled. By saying droid.log, it
will try to write to /droid.log , which you don't have write access
to. Android applications on have write access to their subdirectory of
the file system, generally speaking. Your code should look like this:
handler =
2008/8/26 Cristina [EMAIL PROTECTED]
Hi!
We are designing an application for android phones. In our application
there is a central server, and this server must send some application
information to the phone.
So, we thought to use SMS in order to communicate with our application
in the
No, you should be using that class. Use
org.apache.http.impl.client.DefaultHttpClient (or other applicable
client class in that package). org.apache.http.impl.* is also
undocumented, but *should* have been and will be in the next release
of the SDK.
However, you *should not* be doing http
If you are using the same HttpClient object for all the requests, the
cookie handling should be done for you automatically. If you want to
change the value of Cookies or add additional ones, then use
DefaultHttpClient.getCookieStore() and manipulate them from there.
Cheers,
Justin
Android Team @
My understanding was that 2D graphics implemented on top of the Canvas
class would also be accelerated to some extent on the device. Is this
not the case?
No, currently the Canvas class uses pure software rendering. This may
change in the future though.
Are 2D graphics operations done on
Correction: I was meaning a 'Virtual Contacts Provider' not a new type
of Content Provider. However, I ended up meaning probably both a
Provider (like contacts) and a new type of Content Provider.
- Juan T.
On Aug 27, 4:17 pm, jtaylor [EMAIL PROTECTED] wrote:
The problem with Contacts in
Can anyone tell me how can I open a file(text file, word file, ...) of
my sd card image through my application(file browser)... I tried this
Intent myIntent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse(file://home/sdcard.img/test.txt));
but didn't
I assume it's [x, y, z]
No, those are not how orientation coordinates are given.
I think you want
http://code.google.com/android/reference/android/hardware/SensorManager.html#SENSOR_ORIENTATION
As http://code.google.com/android/reference/android/hardware/SensorListener.html
said, see
As I said, you *can't* do this. Consider how dangerous this would be.
Users are generally charged per SMS or per SMS over a certain limit,
even unlimited plans usually have some limit where they charge you
more or terminate your service. What you want to do could end up cost
some users great
What is this com.android.example.MUSIC_SERVICE that you are
referring to?
Regards,
Justin
Android Team @ Google
On Aug 25, 12:08 pm, marielisacr [EMAIL PROTECTED] wrote:
Hi,
I am working on an application and I am trying to migrate it to 0.9
I am trying to use a remote service but when I
No, there isn't an easier way built in to the system. Sorry. You
could make your own subclass of text view that applies the font you
want, and use that instead of the regular text view, but whatever you
do will need to be your own concoction.
On Aug 28, 2:39 pm, Cheryl Sedota [EMAIL PROTECTED]
If you are doing a game where FPS matters, use OpenGL. OpenGL isn't
just for 3d, it is a very good high performance 2d or 3d drawing API
that can be hardware accelerated. Just switch what you are doing in
the SurfaceView from the Canvas API to the OpenGL API.
On Aug 28, 1:36 pm, ross [EMAIL
There is no need for a new type of ContentProvider. A ContentProvider
is just a very abstract interface to a structured data store. I can't
imagine anything about a virtual contacts provider that would
require a new kind of basic content provider.
As far as device to device communication, yes,
I followed the 8 steps, but always get the same:
08-28 23:42:42.888: DEBUG/LocationSample(157): location changed :
Hi all, I added this page on my web site, it might help you,
it contains Maps application code :), it was hard, but worth it
http://nader.shalabi.googlepages.com/androidapplications
If there is an interest in the code of the other applications, drop me
email, I am still working on them.
Nader
Thanks Brad. Thats my understanding, that we cannot share jar files.
I thought you had(cked) a way to pass jar files to dx, which I could
follow.
Never mind.
thanks for the response,
-Jey
On Aug 28, 10:58 am, Brad Larson [EMAIL PROTECTED] wrote:
I was able to get it working in Eclipse by
Okay, it seems to have something to do with the focus.
My layout contains a title button followed by a ListView, and the
title button has focus first. When I press DOWN once, the first item
of the ListView is then highlighted, but the list has not reloaded as
it should.
However, when I press
Even still, if I rebuild the system image the emulator will not
successfully load that new system image. In my case I am swapping the
default Droid font out for my own font and the emulator just loops
through initialization code but never actually comes up with the
modified beta system image. I
I am getting a StackOverflowError when I try to clear a ghosted text
view's focus - see below. I have gotten this error in the past when
my UI layout hierarchy was very deep but in this case it's not
extremely deep. Is there an alternate way I can clear focus from a
field and update the ghost
Correct, we don't support shared libraries in 1.0. If you want to
directly link against a class, you'll need to build it directly in to
each .apk that links with it.
On Aug 28, 3:02 pm, Jey [EMAIL PROTECTED] wrote:
Thanks Brad. Thats my understanding, that we cannot share jar files.
I
On Aug 28, 3:42 pm, hackbod [EMAIL PROTECTED] wrote:
In addition, you can use adb dumpsys activity to see the current
state of the activity stack to try to diagnose what is going on in
your application.
Sorry this should be adb shell dumpsys activity
Well, it appears that the problem has something to do with the java
version under Preferences/Java/Installed JRE.
I was using 64-bit Java 1.6.0. When I switch to 64-bit java 1.5.0, the
Generic ADT problem disappears.
I wonder if this is a bug.
On Aug 27, 12:03 pm, Megha Joshi [EMAIL PROTECTED]
The 'wait-for-device' adb flag does not work in the beta SDK... I try
executing this:
adb wait-for-device shell am start -a android.intent.action.MAIN -n
com.frogdesign.sampleapp/com.frogdesign.sampleapp.MyActivity
... and I get this:
Error type 2
Error: Unable to connect to activity manager;
Hello,
I am using AutoCompleteTextView with my custom adapter which
implements Filterable.
On the getFilter() method, I am able create a new Filter instance and
override performFiltering() method to find the matched results.
Inside performFiltering all the matched results are added into
On Aug 28, 4:41 pm, hackbod [EMAIL PROTECTED] wrote:
No, there isn't an easier way built in to the system. Sorry. You
could make your own subclass of text view that applies the font you
want, and use that instead of the regular text view, but whatever you
do will need to be your own
Hi,
When I try on ApiDemos on 0.9 sdk... I got this error o...
[2008-08-29 11:48:59 - ApiDemos] aidl: unable to open file for read:
C:\wDir\eclipse\ApiDemos\src\com\google\android\samples\app\IRemoteService.aidl
How to solve it???
Any one have any idea???
Wesley.
On Thu, Aug 28, 2008 at
Yeah I am sure this will be improved in the future. If the fully
qualified class name is an issue, you can overide
Activity.onCreateView() to provide a shorter alias for it.
On Aug 28, 2:56 pm, Andrew Dupont [EMAIL PROTECTED] wrote:
On Aug 28, 4:41 pm, hackbod [EMAIL PROTECTED] wrote:
No,
Thanks.
I found a useful tutorial to share with friends here:
http://developerlife.com/tutorials/?p=290
April
On Aug 26, 11:16 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
you need to create handler = new android.os.Handler() attached to the
current thread and use this function called by
Well, what is this android.content.SyncProvider and
android.content.SyncableContentProvider? A Virtual Contacts Provider
does alot with Sync. That's probably the main thing it does, while
reputation etc. is on the server. It may have a special table as part
of the provider/database where
79 matches
Mail list logo