Thanks for the reply Shailesh.
I tried the ACCESS_LOCATION_EXTRA_COMMANDS and your code of
lmanager.getLastKnownLocation(lmanager.getProviders(true).get(0))
but I'm still getting a null.
1. What are the values that you get for this location? (I mean the
coordinates)
2. Do you get the error for
I needed to download a file and store it in my sdcard.I first save it
by writing in the output stream(by using openFileOutput) in the
application package.From here I copy it to my SDCard and its written
on my SDCard.But when i see my SDCard in the file in the DDMS mode i
am able to see that
Apart from class application..u can alwaz create a singleton class...
2008/10/16 pskink [EMAIL PROTECTED]
On 15 Paź, 21:07, Ramunas [EMAIL PROTECTED] wrote:
Hello,
I have two activities in one application. I want call function in
activity from another activity. How I can do it?
http://developerlife.com/tutorials/?p=290
http://www.anddev.org/working_with_files-t115-s30.html
This may help u
On Tue, Oct 14, 2008 at 2:53 PM, zeshu [EMAIL PROTECTED] wrote:
How to write data to text files and send that file to a specialized
server in the Internet through TCP/IP? How to
hello ,
I also need to know the ans for this quesion...Please could any one help..
On Wed, Oct 8, 2008 at 5:33 PM, vel [EMAIL PROTECTED] wrote:
can i have more that two level of nesting
On Aug 22, 9:27 am, Faiz C [EMAIL PROTECTED] wrote:
Hi,
you can use the following method to
can you stream video?
has anyone managed to stream video? if so which formats did you use?
tx
Jason,
What do you mean by stream is out.I am able to stream an Mp3 from an
uri and get it in my local device.
RTSP is not supported
On Fri, Oct 10, 2008 at 3:47 AM, Jason Proctor
Hi David,
Many people are posting links on android-discuss for things like this,
that way we can flesh out the discussions without interfering with the
developer talk.
Al.
David C wrote:
Apologies if this is considered off topic, but it seems relevant. PC
World review the G1 here:
On Oct 16, 1:21 pm, guru [EMAIL PROTECTED] wrote:
hello,
I need to know whether there is any way the ringtone of the phone can
be changed programatically.If yes,please could any one help me on
this.
Check out RingsExtended in the apps-for-android project
MediaPlayer can only be used to play progressive streaming media. The thread
below has more details on how to check if your files are progressive
streamable and how to create progressive streamable content:
http://groups.google.com/group/android-developers/msg/2175bba33a09b262
2008/10/15 Jason
Jason,
What do you mean by stream is out.I am able to stream an Mp3 from an uri and
get it in my local device.
RTSP is not supported
On Fri, Oct 10, 2008 at 3:47 AM, Jason Proctor [EMAIL PROTECTED] wrote:
OK i found the answer in the 1.0 release notes. seems like streaming
is out for
I have a class that implements an HttpURLConnection. The class works
fine most of the time. Once in a while when I perform a GET operation
getResponseCode returns -1. Does anyone know under what circumstances
getResponseCode returns -1? The documentation states:
the response code, -1 if no valid
wiki 写道:
Are there any official documentaion available for the Dalvik Virtual
Machine?
No, it haven't been released. Waiting for android source code release~~~;)
BR!
Linuxemacs
--
Thanks Regards
Jiang Jiang
E-mail: [EMAIL PROTECTED]
For anyone else interested, I have now found the solution.
While I'm still improving my solution the problem was that the old
child was placed in mDisappearingChildren and was therefor painted by
the main view even after I thought it was removed.
Send me a message if you have a similar problem
On Sep 30, 3:48 pm, Wesley [EMAIL PROTECTED] wrote:
hi Lia,
Thanks for the guide... It's worked (/data/dalvik-cache/)... but now...
may I ask one more questions???
if I got the error below, how??? I try to change mode(chmod 777) is not
working...
09-30 05:41:09.305: INFO/WESLEY(2340):
Thanks for your reply,but i need to know say i download an mp3 ...i need to
change the ringtone from that screen only,the rings extended application is
different..it gives the selected uri as data to the Intent..
Thanks for ur time
On Thu, Oct 16, 2008 at 12:15 PM, Steve Oldmeadow [EMAIL
Thanks Peli,
For ur valuable response. I tried with that too but it was not
working
the problem is
protected void onListItemClick(ListView l, View v, int position, long
_id)
this rowId value _id in onListItemClick remains on 0 for all records,
hence the value which we set in Intent remains
The dox @
http://code.google.com/android/reference/android/provider/Contacts.PresenceColumns.html
indicate that android.provider.Contacts.PresenceColumns contains the
following public static fields: PRIORITY, PRESENCE_STATUS,
PRESENCE_CUSTOM_STATUS, OFFLINE, INVISIBLE, IDLE, DO_NOT_DISTURB,
Hi,
No I didn't, would you please show me how? I am new to android so I
would appreciate it very much if you could help me out.
Thanks
On Oct 15, 1:52 pm, ecompositor [EMAIL PROTECTED] wrote:
Did you give the application INTERNET permission in the manifest?
On Oct 14, 8:58 am, redmapleleaf
Mark,
Sorry to just throw this in, but is there any reason you're using the
'phone ID and not the users 'phone number? (i.e. getLine1Number() in
android.telephony.TelephonyManager).
The reason I'm asking is that if you're looking at a licensing solution
you probably want to consider if the
jtaylor wrote:
It's hard to answer your questions when you know just about
everything.
Wiseguy.
;-)
Besides, Android is *huge*. I'll admit I've done more than scratch the
surface, but there's loads of stuff I haven't even begun to explore yet
(e.g., OpenGL, 2D graphics). And, as
I got it now. Thank a million ecompositor. I added
uses-permission android:name=android.permission.INTERNET /
to my manifest and it is all working.
On Oct 16, 8:43 am, redmapleleaf [EMAIL PROTECTED] wrote:
Hi,
No I didn't, would you please show me how? I am new to android so I
would
Hi
I went through some forum entries for gps.conf and found this:
gps.conf error is not critical...this file is not needed for the mock
gps
feature on emulator. So you can ignore this error.
Just a heads up that it might be something that developers need to consider.
See
http://www.computerworld.com/action/article.do?command=viewArticleBasictaxonomyName=SoftwarearticleId=9117279taxonomyId=18pageNumber=1
--
Al Sutton
http://andappstore.com/
Hi,
I added a new contact in the default Contacts app and added all
possible IM names to it. If I click any of the IM options later, then
the following Intents are triggered:
Intent { action=android.intent.action.SENDTO
categories={com.android.im.category.MSN} data=im:name }
Intent {
hi,
I need to take the user to the Contacts page after a certain operation?
How do i accomplish it?
Thanks for ur time
Guru
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hi every body,
i 'd like to manage de native application CallLog.
So I try to add some call in this application.
I use a source like to add contact.
setContentView(R.layout.main);
ContentValues value= new ContentValues();
value.put(CallLog.Calls.CONTENT_ITEM_TYPE, text);
Uri NCallLog
Yeah I saw that on
http://tmobileg1fans.com/android-os/android-has-kill-switch-too!
On Oct 16, 8:23 am, Al Sutton [EMAIL PROTECTED] wrote:
Just a heads up that it might be something that developers need to consider.
Seehttp://www.computerworld.com/action/article.do?command=viewArticleBas...
I have the same problem. Any ideas yet?
--~--~-~--~~~---~--~~
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
We will see how it's used by the carriers, this being kind of a poor-man's
device management. Definitely something useful for security and removal of
malicious apps.
Shane
On Thu, Oct 16, 2008 at 9:30 AM, Live Crunch [EMAIL PROTECTED] wrote:
Yeah I saw that on
Still doesn't work for me. Playing a GPX file from that tramper site,
but my app doesn't seem to receive any location updates;
LocationManager.getLastKnownLocation() always returns null when using
the GPS provider.
I have enabled app permissions for fine grained location access (i.e.
using GPS),
Is there an api that would allow for sending of a photo from your
application to an individual on the contacts list?
If not, can we use Javamail but have access to stored authentication so that
we don't require a user to have to
go through a setup to store credentials?
Well, what exactly is the difference between the two to understand
them better?
- Juan T.
On Oct 15, 10:29 pm, Romain Guy [EMAIL PROTECTED] wrote:
Photostream uses an activity-alias, not an AliasActivity (they are different
:)
On Wed, Oct 15, 2008 at 7:24 PM, jtaylor [EMAIL PROTECTED]
Hi Megha,
Thanks for your example.
My question is how to get asset htm file's length,
AssetManager.openFd(String fileName).getLength() will get an error to
tell cannot open the htm file.
Thanks.
Anthony
On 8月22日, 上午4时21分, Megha Joshi [EMAIL PROTECTED] wrote:
On Wed, Aug 20, 2008 at 4:46 PM,
anyone found a solution? I am still struggling over this...
--~--~-~--~~~---~--~~
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
Nobody? Google Team, can you help me?
Thanks a lot
Breno
On Oct 7, 11:29 am, Breno T. Minzon [EMAIL PROTECTED] wrote:
Hi all,
After spent some time googling, i can't find any information about AMR
audio codec list. i found just this google's doc
There has been a recent exchange over this:
http://groups.google.com/group/android-developers/browse_thread/thread/ad6d7ddd57c51061/4e45035ac6bce5f1?lnk=raot
Apologies if I missed a more specific problem in your question.
Ludwig
2008/10/16 Matthias [EMAIL PROTECTED]
anyone found a solution?
I have an application that requires for some part of its functionality on a
larger set (about 15MB) of resources embedded in the APK.
Already with the emulator I get the problem that I cannot upload the APK
anymore as it has become to big. Is there a switch that controls this for
the emulator
We want to develop an application that uses the GSM network to get a
position.
There are several methods for getting a position based on cell tower
info but to achieve a acceptable level of accuracy the info (ID,
signal strength, ...) of *all* visible cell towers is needed, not just
from the
Hello.
Ok, my English is not so good, but I'll try my best.
You'll have to set the correct Data and Type. You have to define the
Type by yourself, by getting the
fileextension. Type means the main MIME-type like audio/* or image/*.
For example:
You clicked at the file MyFavouriteSong.mp3 you
Try out this link
http://pcquest.ciol.com/content/Developer/2008/108040502.asp
On Oct 7, 10:33 am, dilu [EMAIL PROTECTED] wrote:
Hi
I am new to this platform.I want to create a simple application like
adding a name and phone number to contact address.How to start writing
code for this?
Has anyone gotten a XMF media file (
http://en.wikipedia.org/wiki/Extensible_Music_Format_(XMF)
) to play on android using the MediaPlayer? Supposedly XMF support was
added to Android in release m5-rc14 using the sonivox libraries but I
can't seem to get them to play. Thank you for any help or
Hi Androids,
I'm an italian technical journalist and I'm writing an article
about this platform for an italian paper-based magazine devoted
to Linux.
I would be happy to collect a few opinions about Google Android
from the people who actually use it and from the people who write
code for it.
In
We're investigating the possibility of creating a smart phone
application that uses the GSM network to determine the location of the
phone.
We will study different methods of calculating positions and to do
that we need extensive data about the network such as IDs, signal
strengths, etc of cell
Hello.
I've created a Class that extends android.content.intent and called it
ExtIntent.
The reason was to give the Intent the possibility to hold a simple
Object. (just for testing)
In my calling Activity, I created an instance of ExtIntent and set it
up like the normal way for
an Intent.
Hey Rubicks,
Check out this thread:
http://groups.google.com/group/android-developers/browse_thread/thread/beae7de5e2500cb6/45977f54cf4aa592
WebView does not support file:/// URLs.
Best,
Dave
On Oct 15, 5:47 pm, Rubicks [EMAIL PROTECTED] wrote:
May be this is what you meant?
hi all
does anybody know how to call a soap web service from an android
application (ie. the android app is the web service client)? which
approaches are the best? any alternatives?
thx :-)
regards, christian
--~--~-~--~~~---~--~~
You received this message because
Thanks Ludwig for pointing me in the right direction :)
I've got it working now and this is how it works for me:
For getLastKnownLocation() to work, the best way is to telnet into the
emulator geo fix command or DDMS controls using Eclipse.
Without using one of these options above to set the
Can someone confirm that's the key i need?
http://code.google.com/android/toolbox/apis/mapkey.html
On Oct 15, 7:14 pm, Anm [EMAIL PROTECTED] wrote:
Is this not it:
http://code.google.com/apis/maps/signup.html
Same key used by any Google Maps mash-up.
Anm
we are able to play .mp4 (streaming). You need to make sure your mp4
is android compatible. if not, on linux, use
MP4Box test.mp4 -hint
to make the video compatible.
On Oct 16, 2:33 am, Jason Proctor [EMAIL PROTECTED] wrote:
can you stream video?
has anyone managed to stream video? if so
Hi all,
I'm using the webview and would like to add functionality to zoom in
and out. The zoompicker (used in the browser) is most natural, but
when I try to call it using invokeZoomPicker(), nothing happens. I've
tried calling it in many different ways, but it doesn't show up.
Anyone know
I believe that should be it. AFAIK, it's a different service than the
standard maps key service.
I wonder why Google hasn't activated it yet. I also wonder why they
haven't opened the Market for submissions yet.
On Oct 16, 2:45 pm, zl25drexel [EMAIL PROTECTED] wrote:
Can someone confirm
You might have more luck simply storing your object in the extras
structure provided in every Intent. Remember that Intent data must be
parcelable so that it can be transported between processes.
--~--~-~--~~~---~--~~
You received this message because you are
Hello all,
I published, Sept-24, a question form to know if every people was
agree for HTC/Google/T-Mobile proposing a special offer for ADC
participants and for people outside of US.
Results are now available
http://spreadsheets.google.com/pub?key=pBxgcXvOI-GV1iap7C7vtEA
Arnaud
Hi,
I'm trying to get an XML Schema app using Xerces to work in Android.
It seems that although Android is supposed to be almost java 5
compatible, this is not valid for XML. By looking att the org.w3c.dom
classes I note that only level 2 interfaces are supported which I
guess means that it will
You can't do that. The Intent object gets propagated across multiple
processes, so your subclass implementation will be lost (your code is
even just not at all available to some of the processes the Intent
will be used).
As Andrew says, you should put addition data in the extras field.
On Oct
I would strongly recommend against creating applications that are so
large. Keep in mind that the available space for applications (and
other secure data like mails, contacts, etc) on the G1 is 128MB, so
just installing that app is a huge commitment to the user in that it
greatly decreases the
The activity-alias tag can only be used to link to another activity
implement in the same manifest as the tag appears, and when this alias
is launched by the system it just directly launches the target
activity so there is no actual implementation behind it.
The AliasActivity class is just a
The activity-alias tag appears to enable different manifest
attributes for the same activity. AliasActivity is something I'd have
to see in an example to really understand it. At least it sounds
uncommon.
- Juan T.
On Oct 16, 4:44 pm, hackbod [EMAIL PROTECTED] wrote:
The activity-alias tag
Al Sutton wrote:
Sorry to just throw this in, but is there any reason you're using the
'phone ID and not the users 'phone number? (i.e. getLine1Number() in
android.telephony.TelephonyManager).
Because the customer wants a device ID.
The reason I'm asking is that if you're looking at a
Hello,
I have a custom listview contol that performs on click event handling
when a user clicks a list item. When I add a button to each listview
item my listview click event stops working and only my button's click
event fires. If I remove the button the listview's click event fires
correctly.
I want to be able to set up a listener that can determine when any
textbox in any application gains focus. Is this possible? Do I
create a service with some kind of onFocusChangeListener?
Thanks in advance
--~--~-~--~~~---~--~~
You received this message because
The Android platform is a joy to develop. I've been a software developer
for
over 20 years now and I'd have to say that this is one of the few platform
I've ever used where I didn't have to developer layers and layers of my
own code to finally get something useful. The platform has many useful
Yeah :D
first: Some say that you have to use k2SOAP.
second: Some say that you need to connect and handle the response.
If you prefer the second, you can use the code under
http://forum.android.pro.br/forums/1/topics/115 and change the
tv.setText(res); line to XML handling.
Cheers,
Cezar
On
CM wrote:
I want to be able to set up a listener that can determine when any
textbox in any application gains focus. Is this possible?
Not in the current SDK. That would be a massive security hole.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar
my system is Ubuntu 8.04 32bit version
at the beginnig I had Eclipse installed, also Android SDK 0.5 and
everything worked well,
since i updated SDK to lastest 1.0 I always get error when i try to
open any project or create new one: 'An internal error occurred
during: Android SDK Content
and some additional information
eclipse error log says:
An internal error occurred during: Android SDK Content Loader.
stack trace:
java.lang.NoSuchMethodError:
org.eclipse.core.runtime.Status.init(ILjava/lang/String;Ljava/lang/
String;Ljava/lang/Throwable;)V
at
On Oct 14, 3:00 pm, meiko [EMAIL PROTECTED] wrote:
Anyone knows what can be cause of this problem ?
DEBUG/dalvikvm(199): Ignoring not-yet-ready Lscala/actors/
SuspendActorException;, using slow path
Why is this class not-yet-ready ?
What means slow-path ?
The DEBUG tag indicates that it's
I have the same problem. No idea what's happening.
On Oct 16, 4:04 pm, Gil [EMAIL PROTECTED] wrote:
I have a class that implements an HttpURLConnection. The class works
fine most of the time. Once in a while when I perform a GET operation
getResponseCode returns -1. Does anyone know under
I figured this out myself.
for those who are interested, see
http://bend-ing.blogspot.com/2008/10/android-how-to-implement-custom-button.html
On Oct 15, 10:03 am, zl25drexel [EMAIL PROTECTED] wrote:
anyone?
On Oct 14, 5:14 pm,zl25drexel[EMAIL PROTECTED] wrote:
Hi,
Does anyone know how
Thanks Dave. I am trying to use the example you mentioned
(ElementProvider).
This is how I use it.
ContentValues values = new ContentValues();
values.put(KEY_DATA, /demo.html);
ElementProvider ep = new ElementProvider();
Uri uri
Does Android come with any package/classes for image manipulations
(e.g. contrast, brightness adjustments)? Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Is location based search available in 1.0?
We had classes google.googlenav.Placemark and google.googlenav.Search
which provided this functionality in the M3 SDK. The built-in Maps app
still offers this feature.
Has this been cut off, or have I just not been able to locate it in
the current SDK?
At the low-level, take a look at android.graphics.ColorMatrix
On Oct 16, 2008, at 8:11 PM, j wrote:
Does Android come with any package/classes for image manipulations
(e.g. contrast, brightness adjustments)? Thanks!
--~--~-~--~~~---~--~~
You received this
On Oct 16, 10:11 pm, j [EMAIL PROTECTED] wrote:
Does Android come with any package/classes for image manipulations
(e.g. contrast, brightness adjustments)? Thanks!
Here's a quick link to the class that Mike wrote about...
Im working on a security app that allows a user to track their phone
on a web site if they lose the phone or it is stolen. I already have
the part working where i could do this if a user selected lock on the
site but once the device gets this data, how can i have the device go
into the locked
Hi christian110011,
for kSOAP, you have to do something like this :
// you have to download ksoap for j2me and extend it's
org.ksoap2.transport.Transport and implement ServiceConnection, coz
it is built
// for j2me not Android, you can eaisly find these two on other android group
Thread t =
hmm i wish there was a simple lockDevice() method :P
this is the last thing i need before i want to release my app.
it goes out for a closed beta on the 22nd.
On Oct 17, 12:33 am, shailesh prakash [EMAIL PROTECTED] wrote:
Hey Mast3rpyr0,
I did try it earlier but drop in between. I had plans
Best of luck for your beta
On Fri, Oct 17, 2008 at 10:21 AM, Mast3rpyr0 [EMAIL PROTECTED] wrote:
hmm i wish there was a simple lockDevice() method :P
this is the last thing i need before i want to release my app.
it goes out for a closed beta on the 22nd.
On Oct 17, 12:33 am, shailesh
Please could anyone help me
On Thu, Oct 16, 2008 at 11:32 AM, guru [EMAIL PROTECTED] wrote:
I needed to download a file and store it in my sdcard.I first save it
by writing in the output stream(by using openFileOutput) in the
application package.From here I copy it to my SDCard and its
79 matches
Mail list logo