Hi,
The MediaStore.ACTION_IMAGE_CAPTURE constant, which was used to start
the native Camera application to capture an image, has been removed in
the 1.0 SDK.
Is there an alternative way to start the native Camera app to take a
picture and return it to my calling Activity?
Thanks,
Amos
Is this the same for outgoing calls? They also cannot be interecepted
in 1.0?
If so, what is the purpose of ACTION_NEW_OUTGOING_CALL?
this is from the documentation:
It is perfectly acceptable for multiple receivers to process the
outgoing call in turn: for example, a parental control application
On Oct 2, 12:17 am, legerb [EMAIL PROTECTED] wrote:
Is this the same for outgoing calls? They also cannot be interecepted
in 1.0?
No, you can intercept outgoing calls, as you quoted from the
documentation.
--~--~-~--~~~---~--~~
You received this message because
Hi Justin,
Related to the problem of sending binary sms to port, I have changed
that parameter to null, and I send the data message using a port from
5554 emulator to 5556. This seems to work looking to the log
files.
The problem is that I am not able to receive the SMS data message in
the 5556
Hi,
I have an app that reads Contacts and displays them in a list. I
want to modify some of the data before passing it to the list. Is that
possible? Here is my applications OnCreate() method
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
What is the purpose of this? Is it multiple applications?
On Oct 2, 1:05 am, DulcetTone [EMAIL PROTECTED] wrote:
I have a tree of folders containing the source for a working Android
activity I hope to split into a Service and two Activities.
How do I accomplish this? Can I simply add an
In SDK 1.0 the LocationManager is always reporting the gps provider
as disabled:
LocationManager lm = this.getSystemService(Context.LOCATION_SERVICE);
boolean gpsEnabled =
lm.isProviderEnabled(LocationManager.GPS_PROVIDER);
// gpsEnabled == false
According to the Javadocs this value implies
In SDK 1.0 the LocationManager is always reporting the gps provider
as disabled:
LocationManager lm = this.getSystemService(Context.LOCATION_SERVICE);
boolean gpsEnabled =
lm.isProviderEnabled(LocationManager.GPS_PROVIDER);
// gpsEnabled == false
According to the Javadocs this value implies
Hello buddies!!
I'm involved in a biometric project. I need to write an app for
Android that must use an algorithm writen in C language. This C code
is very complex and for this reason translating this code into java is
not an option. The idea is to develop the main application in java
code and
Hi,
I am accessing Contacts data and passing that into a list. I want
to modify the data that I get from the database and then pass it to
the list view. Is there a way to do that ? This is what my OnCreate()
looks like.
public void onCreate(Bundle savedInstanceState) {
I have attached screen shots but eclipse keeps saying that
Description ResourcePathLocationType
The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.Object. Fix the build path then try
building this project HelloAndroid
I just created my first Android project using Eclipse and it generated
a folder called assets. What is the purpose of this folder?
sarwees
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
could u plz forward me complete code..
On Oct 2, 12:32 pm, hackbod [EMAIL PROTECTED] wrote:
This is really broken. Please read the documentation on broadcast
receivers:
http://code.google.com/android/reference/android/content/BroadcastRec...
Also, please DO NOT then go and use a
could u plz forward me complete code
On Oct 2, 11:58 am, legerb [EMAIL PROTECTED] wrote:
Yep,
I've seen the logging entry.
I called the emulator through DDMS on eclipse.
And here is my xml:
manifest xmlns:android=http://schemas.android.com/apk/res/android;
If you are after a development tool, running adb shell
from the tools directory will give you a shell with a limited amount of
functionality. Android applications do not have (for obvious security
reasons) shell access.
Ludwig
2008/10/2 Bill Zimmerly [EMAIL PROTECTED]
Is there a Bash, C, or
IMHO, the conceptually correct way to do this is with a ContentProvider,
which exposes a database-like interface and can behind the scenes access any
datasource you wish (yes, it can go across the net). 'Just' marshal your
requests into a web request and parse the response into something like a
Is it possible to make a call and then send DTMF sequence in android
sdk 1.0?
I've seen the ToneGenerator and PhoneNumberUtils classes, but couldn't
find an option of sending DTMF...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I have a PreferenceActivity inflated from xml. One of the preferences
launches an intent which opens an activity that clears all the
preferences and resets them to the default values.
My problem is that when this restore defaults activity returns, the
previous preference values still appear on
It's just #038;, or amp;
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML
The and the ; delimit the entity.
But Chris, your XML in your source example there can't have an
ampersand there like that. You need to be using the
You should call abortBroadcast() in your BroadCastReceiver, after catching
the *ACTION_NEW_OUTGOING_CALL intent.*
On Thu, Oct 2, 2008 at 12:19 PM, e [EMAIL PROTECTED] wrote:
could u help me out ...how do manag with abortBroadcast()??
On Oct 2, 12:50 pm, legerb [EMAIL PROTECTED] wrote:
Hi,
I'm willing to know whether the Monkey application is working on a real Device?
i mean I've tried it on the Emulator and it's worked well but since i don't
have the Real HTC i can't test it
can someone please help me and test it for me?
here is the link
Hi,
I want to check new entries, that made to contacts database. As
example the notes column entry in people table.
I register a ContentObserver and implement the handler, which is
invoked on onChange method of ContactsChangeObserver.
hier is a code snipped:
+++
ContentObserver myObserver = new
Hi,
is it possible to get the longitude and latitude coordinates only if you
know the country? Is there any function which gives me the values if I pass
the current locale?
Thanks,
Christian Wiesbauer
--~--~-~--~~~---~--~~
You received this message because you
how to get *ACTION_NEW_OUTGOING_CALL intent.*???
On Oct 2, 4:26 pm, Rimma Sukhovsky [EMAIL PROTECTED] wrote:
You should call abortBroadcast() in your BroadCastReceiver, after catching
the *ACTION_NEW_OUTGOING_CALL intent.*
On Thu, Oct 2, 2008 at 12:19 PM, e [EMAIL PROTECTED] wrote:
could
Do any one knows how to make an application icon its label invisible
in menu list ?
Please suggest.
Thanks
Ashutosh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
DulcetTone wrote:
I have a tree of folders containing the source for a working Android
activity I hope to split into a Service and two Activities.
How do I accomplish this? Can I simply add an AndroidManifest.xml to
each of 3 separate Java packages?
The AndroidManifest.xml file is per
Billsen wrote:
Is it possible to load html file into WebView? If yes, how?
Search this Google Group, or [android-beginners], for recent posts
discussing WebView's loadDataWithBaseUrl() method.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20,
how to do catch *ACTION_NEW_OUTGOING_CALL intent.* ?
On Oct 2, 4:26 pm, Rimma Sukhovsky [EMAIL PROTECTED] wrote:
You should call abortBroadcast() in your BroadCastReceiver, after catching
the *ACTION_NEW_OUTGOING_CALL intent.*
On Thu, Oct 2, 2008 at 12:19 PM, e [EMAIL PROTECTED] wrote:
Oh yes you're totally right! I just read the documentation for it! :-)
Thanks again!
Erken
On Oct 1, 5:24 pm, Romain Guy [EMAIL PROTECTED] wrote:
onWindowFocusedChange works but its pure chance. As I said, you should
use the ViewTreeObserver, that's what it's meant for.
On Wed, Oct 1,
Something very basic seems wrong.
Check the path set for Android SDK... (Windows -- preferences --
Android SDK ) this should point to ur SDK.
If that is correct and you are still facing the problem, please check
if you are creating an Android project (new -- project - Android)..
If u select Java
Is it running in a thread? I know you can't have visual updates if
it's inside or one?
On Oct 2, 5:13 am, Urakagi [EMAIL PROTECTED] wrote:
Hi, I have a TextView displaying current time in a ListActivity, which
will play music.
I use a class to update the TextView, but while the MediaPlayer
What menu list you mean? The launcher drawer? That's easy: just dont
include this intent-filter:
intent-filter
action android:name=android.intent.action.MAIN /
category
android:name=android.intent.category.LAUNCHER /
/intent-filter
On 2
It's not officially supported to use C code from android.
But you could look around for JNI and android on the net.
On 2 okt, 11:49, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hello buddies!!
I'm involved in a biometric project. I need to write an app for
Android that must use an algorithm
hey guys,
any takers on this one?
cheers,
On Oct 1, 11:48 am, Rafael Fernandes [EMAIL PROTECTED] wrote:
Hey guys,
I'm trying to run this Geocoder map query here but no success at
all... it always returns null...
if I go to Emulator's Map app and search the same thing I got the
desired
Right. So would I use, say h1.../h1 for very large text?
On Oct 1, 4:09 pm, april [EMAIL PROTECTED] wrote:
yes, When you create the textview in XML. You need to set a flag:
android:autoLink=all.
You can use b ,,,/b, just like html page.
On Oct 1, 2:56 pm, David [EMAIL PROTECTED] wrote:
Thank you, I will give that a try
On Oct 2, 8:23 am, MrSnowflake [EMAIL PROTECTED] wrote:
There is a sensor
simulator:http://code.google.com/p/openintents/wiki/SensorSimulator
But you have to edit your code to accept input from the emulator. The
new code is on the same page.
On 1 okt,
The second question you asked is relatively easy. There are two
because one of them will return raw data ignoring the format
(Uncompressed data direct from the camera). The other actually
follows the format settings.
The first question, however, is more difficult. The only specs I've
been able
[EMAIL PROTECTED] wrote:
The idea is to develop the main application in java
code and this would call to the algorithm somehow, so the algorithm
could return a value for the main app. I know there are some libs
writen in C/C++ and I'm wondering if I could do so for my project,
write my own
Try smaller files. I've been able to read/write to my sdcard but have run
into a 250 K limit.
The emulator gives me an EOF -1 for bigger files for some reason.
On Thu, Oct 2, 2008 at 10:28 AM, Nemat [EMAIL PROTECTED] wrote:
ok.I have tried to save image in a file.But I couldnt do
Sorry to talk t myself on this thread, but in case anyone else runs
into this problem in 1.0R1, the current workaround is to set the
ImageURI to null and then back to the URI after saving the image.
http://code.google.com/p/android/issues/detail?id=925
On Oct 1, 1:02 pm, Joe Erickson [EMAIL
I handled this by saving the image to the ContentProvider
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI and then
saving the created URI to the database along with my item. An example
of how to do this can be found here:
Indeed seems to no problem at all.
On the other hand, doing all findId's in the oncreate and put them in
fields of the activity you're working with, would speed up the app.
On Oct 1, 11:51 pm, Joey Yandle [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'd like to
The asset directory is just an unstructured hierarchy of files,
allowing you to put anything you want there and later retrieve as raw
byte streams.
On Oct 1, 9:17 pm, sarwees [EMAIL PROTECTED] wrote:
I just created my first Android project using Eclipse and it generated
a folder called assets.
I've went back and verified the text in the ListView is indeed clean.
I'm at a loss as to where the empty block is coming from, any other
ideas? Perhaps submit as a bug?
On Sep 25, 8:40 am, Mark Hansen [EMAIL PROTECTED] wrote:
Hrmm.. well what's weird is the API is truncating the string and
Hi ,
Where can i find the OTA Over the Air Implementation for Andriod.
which SDK has OTA support ?
Thanking you Advanced .
On Aug 19, 7:11 am, Dan Morrill [EMAIL PROTECTED] wrote:
Today we're only releasing this SDK. We'll have more information on topics
like this in the near future.
We'll
Hi Megha.Joshi
I have tried but failed. Is there any tip or other way ?
On Sep 24, 6:42 am, Megha Joshi [EMAIL PROTECTED] wrote:
To use proxy connection, you must launch the emulator with -http-proxy
flag.
Usage:
I have 2 questions. Do you know why I can't update the contact phone
numbers and how can I read an IM (Instant message) account in the new
version of sdk (v 1.0) ?
--
Ing. Alexandru Mos
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Is there any way to make our own android application unremovable or
undeleted?
That means only read only by phone holder.
Thanks
Barrie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
I have an ugly solution to this.There should be somewhere to force it to
reload the preferences and refresh the screen, but just like you I do not
know how to do it. (Suggestions?)
However, what you can do is to finish the current preferences activity and
to restart it in a new activity, like so:
DulcetTone wrote:
That is the point, basically.
Eclipse doesn't work like that, really. But you can go to
Project-Properties-Project References to set up dependencies between
projects, so they'll get built as a set. That allows you to put your
common code in a separate project which your other
Hi Peli, blindfold:
I know it's been a while, but after having put the whole obfuscation
task on the back burner, I decided to come back to it yesterday, and I
just now, with tips from both of you, I have completed setting up an
Ant build script, using ProGuard, that obfuscates my class names
Sure I can give the links:
http://voipguides.blogspot.com/2008/09/sip-voip-on-tmobile-google-phone-g1.html
http://gigaom.com/2008/09/23/voip-skype-3g-roaming-g1-aka-the-google-phone/
http://blog.wired.com/gadgets/2008/09/g1-android-phon.html
More over, our company trying to develope SIP client
Note that this same issue is being tracked in another thread:
http://groups.google.com/group/android-developers/browse_thread/thread/aa4227c79e2bd171/8fda9f2bea0c9d8e?lnk=gstq=bad+version+number#8fda9f2bea0c9d8e
--~--~-~--~~~---~--~~
You received this message
Thanks for the reply.
Then how does /res/raw directory differ from /assets sub
directory? Both seem to host raw files.
Satya
On Thu, Oct 2, 2008 at 1:15 PM, hackbod [EMAIL PROTECTED] wrote:
The asset directory is just an unstructured hierarchy of files,
allowing you to put anything you want
Hey Charlie and Brad,
Good news! I now have the ampersand being parsed correctly. However
the change needed wasn't what we expected. Every time I changed the
raw text in the database from the '' character to the escaped 'amp;'
or '#038;' it didn't work, it would still break at that first
the android SDK also has a pull parser implementation, since it's
already build-in, i would probably go for that one because i prefer to
add as little 3rd party jars as possible. I would be interested in the
performance comparison between the android parser vs. woodstox tho.
On Sep 29, 8:15 pm,
In my case, when I updated to 1.0 this issue disappeared. I am still
not exactly sure why it was occurring, but I no longer experience the
problem with Droid 1.0 and Eclipse 3.4.
On Oct 2, 2:55 pm, blake [EMAIL PROTECTED] wrote:
Note that this same issue is being tracked in another thread:
I'm trying to convert an Xml string into a view by parsing out the
attributes into a set, and keep getting the following exception...
java.lang.ClassCastException: android.util.XmlPullAttributes
is called whenever I attempt to call Xml.asAttributeSet(XmlPullParser
parser).
Code below:
I have applied the way given in link.I think the problem is in
displaying the image??
Do u know the reason behind this JPEG error???
On Oct 1, 7:07 pm, Mark Hansen [EMAIL PROTECTED] wrote:
I followed this short tutorial a while back for downloading an image
via http, maybe it can point you in
Thanks David ... I'll check it out.
- Bill
On Oct 2, 3:33 pm, David Welton [EMAIL PROTECTED] wrote:
If you want a shell from the GUI, you might be able to hack at Hecl to
turn it into what you want:
http://www.hecl.org(check it out from subversion though).
--
David N. Welton
What do I need to override in that ListAdapter? If you know how to do
this can you please elaborate?
Thanks
Rohit
On Oct 2, 6:20 am, MrSnowflake [EMAIL PROTECTED] wrote:
Implement your own ListAdapter.
On 2 okt, 01:06, Rohit Mordani [EMAIL PROTECTED] wrote:
Hi,
I am accessing
If you subclass from ResourceCursorAdapter you should only have to
implement bindView(), where you copy the data from the Cursor to the
views in the list item. See
Just use BitmapFactory.Options and set the value inJustDecodeBounds to
true. This will ask BitmapFactory to only decode the size of the
image, not the image itself.
On Thu, Oct 2, 2008 at 3:41 PM, Gil [EMAIL PROTECTED] wrote:
My app need to load a large image from the SD card. I would like to
How can we add an IP address for a hostname in the android
environment? Also, how can we import a security certificate into the
environment?
Thanks for your attention...
-Abhijit
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
The second one is the way its meant to be. I don't know the exact
reason but its probably similar to the fact why there are no
Constructors for Activities, but the onCreate()/onDestroy()/onResume()
Lifecycle-Stuff.
Regards, plusminus
http://anddev.org
# Worlds largest Android Development
... and why should we be using your store rather than the Android
Market ?
On 2 Okt., 20:39, plusminus [EMAIL PROTECTED] wrote:
Will you provide a auto-updating feature for apps?
On 2 Okt., 15:27, Al Sutton [EMAIL PROTECTED] wrote:
I've put together a quick first pass at an application
I don't think there is an official NB 6.5 and Droid 1.0 module, yet.
There is of course Undroid - http://undroid.nolimit.cz/, but I have no
idea how up to date or useful it is (I don't personally use NB).
You could probably use activityCreator and import your Ant builds
though -
On Thu, Oct 2, 2008 at 5:40 PM, plusminus [EMAIL PROTECTED] wrote:
... and why should we be using your store rather than the Android
Market ?
On 2 Okt., 20:39, plusminus [EMAIL PROTECTED] wrote:
Will you provide a auto-updating feature for apps?
I can't comment on the andappstore, but
If you search this forum you find a lot of info on this topic. It
depends what you mean by webservice, but if you mean SOAP over
HTTP, the typical path is to use kSOAP on Android. Anddev.org has
some good samples, including a kSOAP one:
thanks for the response.
i'd previously checked the samples included with the SDK for network
code and found none. but then it occurred to me to check the manifest
anyway for correct permissions syntax.
sure enough, i had the uses-permissions inside application when
it should have been
The stuff under /res/raw are resources, so they are looked up by
resource IDs, can be references from other resources, can be localized
etc all of the same ways you do with other resources.
The stuff under assets is just a raw hierarchy of files and
directories, with no other capabilities.
On
Um... you should fix your program. :)
You can't really rely on onDestroy() for this. For example, if the
user presses home to get out of your app, the activity will not be
destroyed. And if the user flips the lid while your activity is
running, the current instance will be destroyed and a new
Nope. That is not a nice thing to do to the user. :)
On Oct 2, 10:50 am, barrie [EMAIL PROTECTED] wrote:
Is there any way to make our own android application unremovable or
undeleted?
That means only read only by phone holder.
Thanks
Barrie
The documentation for OpenGL ES inside of Android is obviously lacking
-- it's completely void of any text. Now, this is apparently not that
big of a deal as it's essentially a clone of J2ME's OpenGL ES,
however, I've never used that and am wondering what's a good way to
get started in learning
Well,
you can use the following code (and later put JSON libs to handle the
response)
String res=;
HttpClient client = new DefaultHttpClient();
HttpPost post = new HttpPost(http://10.1.1.3:8080/AllertWS/
AllertWSService);
try {
post.setHeader(Content-Type, text/xml);
i don't know whether this is what you're looking for, but Lunar
Lander has an example of drawing a rotated Drawable.
hth
create image using the bitmap
then use the Matrix and its preScle func..
and paasing this as a parameter u can create another bitmap..
like
On Oct 2, 11:49 pm, Nikkelitous [EMAIL PROTECTED] wrote:
The second question you asked is relatively easy. There are two
because one of them will return raw data ignoring the format
(Uncompressed data direct from the camera). The other actually
follows the format settings.
that's what i
HI,
I am developing a chat application. Everytime a user clicks a button a
thread needs to handle it as text message needs to be sent over
network. so, I am creating a new thread each time when the user clicks
on button. I wish only 1 thread handles all the messages to be sent.
But,
Hi all
I am facing one issue with Listactivity and progressDialogue.
I have a class extending ListActivity.
and in onListItemClick()
when I am clicking one item
it should display the dialogue box and then do teh calculation and
tehn dismiss teh dialogye
I have writen the code like
Are you overriding either onCreatePanelView or onCreatePanelMenu?
If so, try commenting that out and seeing the behavior.
jason
On Fri, Sep 26, 2008 at 12:33 PM, Teo [EMAIL PROTECTED] wrote:
I just tried with the same project on another computer where i installed
SDK 1.0 clean, same
I would recommend the book Mobile 3D Graphics with OpenGL ES and M3G
by Karri Pulli and others. You may not be interested in the M3G stuff
but the book is worth it for the introductory 3D and OpenGL ES
coverage. This book was also recommended by the developer of the
Oolong 3D engine for the
81 matches
Mail list logo