Hi everyone,
this is my first post here so I'll try not to extend so much.
I've got a Layout with 3 EditText, called mText1, mText2 and mText3.
I want to navigate through them by pressing the ENTER KEY, so I
decided to set a onKeyListener for every of them and every time I
detect the user
My activity has a webview . I will be leading some html pages on that
webview which includes some JavaScript functions. I have a need to
send some data from webview to my java application based on some user
actions using javaScript functions. Is it possible or how can I do
it?
Thanks for the
I had the problem with webview, i.e when I click on a link , it used
to take me to a new browser window. I wanted the link to be open on
the same window. So I used this code posted somewhere on this forum.
But now I have new problem. With this code, I am getting a
SocketException : Broken Pipe.
Hi all,
I am reading the sdk 1.0 source code(decompiled by jad). It is very
strange that there are so many: throw new RuntimeException(Stub!);
in the classes.
for example, the MapView are
public class MapView extends ViewGroup
{
...
public MapView(Context context, String apiKey)
{
Hi, experts:
I'm now trying to develop an IM on Android. Now the problem is
like this: I manage the connection and chat in a service. And I edit
the message in another activity. So when I receive a message, how can
I show it in the same interface which I edit the message just as the
MSN does.
Dara,
Please read the GeoPDF Blog post that can possibly lead you in the
right direction...
http://geopdf.blogspot.com/2008/10/mobile-for-people.html
Cheers,
Adam Estrada
On Oct 8, 4:17 pm, DaraParsavand [EMAIL PROTECTED] wrote:
One of the key things I'd like to do with a GPS phone is to
Try droidDraw, it is cool way to create GUI for android.
Also Elipse has nice layout building capability, you can try eclipse too
On 10/15/08, Brian [EMAIL PROTECTED] wrote:
I'm playing with building a simple alarm, but it's very hard to see
how to get a nice UI interaction when the phone is
Hi All,
Can anyone direct me to some links / tutorials that will help me to
start experimenting on displaying images in Android . Is there any way
to add Servlet/JSP API in Android Application. Can i refer image that
is residing in a web server.
Thanks in Advance
Thanks
JavaAndroid
Hi Shailesh,
Thanks a lot for ur Help. Let me try that...Thanks again.
On Oct 15, 11:45 am, shailesh prakash [EMAIL PROTECTED] wrote:
Hi,
you may like to try this
:http://code.google.com/p/apps-for-android/source/browse/trunk/Photost...
On 10/15/08, JavaAndroid [EMAIL PROTECTED] wrote:
Thanks ShaileshThat forum is really awesome...it looks to be a
best place to start withThanks a million.. :)
On Oct 15, 11:51 am, shailesh prakash [EMAIL PROTECTED] wrote:
you can try link:http://www.anddev.org, it is a good site to start
with Android.
On 10/15/08, JavaAndroid
you can try link: http://www.anddev.org , it is a good site to start
with Android.
On 10/15/08, JavaAndroid [EMAIL PROTECTED] wrote:
Hi All
Can i add UI controls like Checkbox, Radio button, Select Box, Drop
down menus in my Android application... If yes could you suggest some
Ok. It's solved.
The solution is not only to detect the KEYCODE_ENTER but also the key
down. Previously it detected both the key press and the key release
and this fired two KEYCODE_ENTER events...
On 14 oct, 23:50, pabbot [EMAIL PROTECTED] wrote:
Hi everyone,
this is my first post here so
Hi,
you may like to try this :
http://code.google.com/p/apps-for-android/source/browse/trunk/Photostream/src/com/google/android/photostream/?r=73
On 10/15/08, JavaAndroid [EMAIL PROTECTED] wrote:
Hi All,
Can anyone direct me to some links / tutorials that will help me to
start experimenting
Thank you, Peli. Yourcode works well ! But when I play the
External_Content_URI, the default mediaplayer will play the first song
in the sdcard. It's a mp3 song, and the mediaplayer notice that
cannot read this format. I use default Music Application, it plays
well !! Do you have the same
it works on both the emulator and a real G1.
So you have access to a real G1. Lucky you!!
I'm really surprised that there is no access to the audio buffer.
How are we supposed to write dynamic audio generation apps?
Unfortunately not supported by Android SDK 1.0 r1. See
int x; // pixel position
int xscaled = 0; // pixel position scaled by 1000
...
int movement=BULLETSPEED*deltaT; /// v*t = d // don't divide by
1000 here
xscaled += movement; // calculate movement more accurately
x = xscaled / 1000; // scale down only when you want to plot
draw(x);
If you
I just read the whole discussion. All I can say is... What were they
thinking?? How is a developer supposed to be able to generate or
synthesize audio real time? These are important apps. Just look at
the guitar or harmonica app for the iPhone. Those are very popular
and do exactly that.
anyone? still found no solution to 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 unsubscribe from this
I tried it briefly on a 64bit ubuntu box, it worked but it did not
feel very stable. For example, i need to do 'kill -9' to shut down
because the 'x' button will just crash the emulator. so i actually
switch back to a 32bit windows to do my development.
On Oct 15, 6:42 am, Nanard [EMAIL
Yes, I have a local server running with in the emulator, it is just a
simple socket, which can handle HTTP requests locally.
On Oct 15, 3:23 pm, Mark Murphy [EMAIL PROTECTED] wrote:
Rubicks wrote:
Mark, very sorry for my impolite post. I should improve on that.
It was a joke!
myMMFString
anyone?
On Oct 14, 5:14 pm, zl25drexel [EMAIL PROTECTED] wrote:
Hi,
Does anyone know how to set the onClick image on a button with custom
image background? For example, with the standard android button, the
button will turn orange on click and then return to its normal color.
How do I do
Cristina,
I have the same problem... I´ve already done this with J2ME (send the
SMS to some specific port)..
but it seems that android don´t support this yet...
On 10 out, 18:49, Jonathan Herriott [EMAIL PROTECTED] wrote:
Bump. This needs to be addressed.
On Aug 29, 10:31 am, Cristina
Ludwig,
Thank you for the answer.I found the implementation of
com.google.android.maps was moved to the
/system/framework/com.google.android.maps.jar in the emulator. So that in
the SDK of 0.9 and 1.0, we have to indicate which library we will use for
map application by a line
uses-library
It's just my opinion, but I still see no major point in using a 64-bit
machine to develop for Android. 64-bit won't give you any large advantage.
I can understand that if you're already running 64-bit, then the change
to 32-bit would seem crazy, but if you are building a box for
development I
Is there any way to delete SMS(s) from the inbox.
i am trying out
context.getContentResolver().delete(Uri.parse(content://sms/inbox),
null, null);
[In the above case, the purpose is to delete all the SMSs in the
inbox]
But I am getting invalid URL.
I intend to delete a particualr SMS based on
Cursor c = context.getContentResolver().query(Uri.parse(content://sms/
inbox), null ,null, null, null);
System.out.println(c.getCount() + );
while (c.moveToNext()) {
System.out.println();
I will try that . I wrote my own a very simple server, using sockets.
On Oct 15, 4:07 pm, Mark Murphy [EMAIL PROTECTED] wrote:
Rubicks wrote:
Yes, I have a local server running with in the emulator, it is just a
simple socket, which can handle HTTP requests locally.
Ah!
You can try
Use keytool and jarsigner, they come with the jdk.
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jarsigner.html
eventually this is what worked for me:
keytool -genkey -keystore refArchive/myKeyStore -alias somealias
jarsigner
most useful post of the week. thank you.
On Wed, Oct 15, 2008 at 2:06 AM, legerb [EMAIL PROTECTED] wrote:
Use keytool and jarsigner, they come with the jdk.
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jarsigner.html
Shailesh,
I've built this using Eclipse, it has nothing to do with the editor.
It's core
Android interactions. I'll look at droidDraw. Are you sure it actually
has
a nicer sleep/alarm interaction?
Thanks, Brian
On Oct 14, 11:34 pm, shailesh prakash [EMAIL PROTECTED] wrote:
Try droidDraw, it
Thanks a lot for your response, but I don't know the meaning of hinted
here. Could you please provide some info about this?
Thanks,
Billsen
On Oct 15, 7:28 am, Guillaume Perrot [EMAIL PROTECTED] wrote:
Yes the MediaPlayer supports progressive download.
The files must be hinted and be one of
On 15 okt, 00:48, hackbod [EMAIL PROTECTED] wrote:
The emulator in no way tries to emulate the performance
characteristics of real hardware.
For this and many other reasons, every developer should run their
application on real hardware before considering it to be ready for for
release to
Thanks! That's what I was looking for!
On Wed, Oct 15, 2008 at 4:06 AM, legerb [EMAIL PROTECTED] wrote:
Use keytool and jarsigner, they come with the jdk.
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jarsigner.html
The reason for this is that the SDK does not contain a full implementation
of Android any more, the full implementation is in the emulator and (of
course) on the phone. The SDK only contains the stubs so that the libraries
will link, but since the implementation of vital parts is missing it cannot
That part of the documentation is a bit shady, maybe it would indeed
be good to have a relevant usage example of keytool and jarsigner. I'm
still not convinced i covered all of the things i should in my .apk
signing :)
Thanks,
Teo
On Oct 15, 1:23 pm, Ewan Grantham [EMAIL PROTECTED] wrote:
Mark, very sorry for my impolite post. I should improve on that.
1. Does your project request the INTERNET permission in the
AndroidManifest.xml file?
Yes
2. You have a code comment saying myMMFString has a simple html string
with a link, yet myMMFString doesn't appear to be assigned a
did you get answer to it. I have to delete all the sms which has a
particular number. But I keep getting Invalid URI message.
On Oct 14, 5:24 pm, e [EMAIL PROTECTED] wrote:
Anyone???
what Uri use???
On Oct 14, 1:33 pm, e [EMAIL PROTECTED] wrote:
plz help me out..
i use
I'm also having IO exceptions when trying to parse the raw ersources:
I have a BroadCastReceiver, where:
public void onReceive(Context context, Intent intent)
{
SAXParserFactory spf = SAXParserFactory.newInstance();
try
{
Yes the MediaPlayer supports progressive download.
The files must be hinted and be one of the following formats:
audio: mp3, m4a (and also amr which is 3gp audio)
video: mp4 3gp
Many mp4 based files (e.g. all foregoing formats except mp3) you'll
find on the web won't be hinted, so they won't work
Here is what I am trying to do.
I have a Javascript (JS) given to me, which I can not change.
html
head
script type=text/javascript language=JavaScript
var nFindAPITries = 0;
var API = null;
function FindAPI(win) {
while ((win.API == null) (win.parent != null) (win.parent !=
win)) {
Say, I'm opening connection to a website using URLConnection. GPRS is
not enabled yet. What will happen? Will GPRS become enabled? Will
user be notified and asked whether she wants to enable GPRS? Or will
an exception be thrown?
On current phones (like Nokia/Symbian), when GPRS is not
Thanks for answer. You was right, that, LinearLayout need to add
together with LayoutParams. Either to LinearLayout must be added other
items.
On Oct 3, 7:16 pm, hackbod [EMAIL PROTECTED] wrote:
You need to add it with a LinearLayout.LayoutParams as the second
argument.
On Oct 3, 8:38 am,
Have you looked at apps-for-android webview-demo?
http://android-developers.blogspot.com/2008/09/using-webviews.html
http://code.google.com/p/apps-for-android/
Peli
www.openintents.org
On Oct 15, 3:04 pm, Rubicks [EMAIL PROTECTED] wrote:
Here is what I am trying to do.
I have a Javascript
nice, thanks... didnt see it this way
2008/10/15 Peli [EMAIL PROTECTED]
int x; // pixel position
int xscaled = 0; // pixel position scaled by 1000
...
int movement=BULLETSPEED*deltaT; /// v*t = d // don't divide by
1000 here
xscaled += movement; // calculate movement more
I've been wondering this too. I guess I assumed that if an
application has permissions in the manifest that the device will
automatically connect without prompting.
On Oct 15, 6:30 am, denismo [EMAIL PROTECTED] wrote:
Say, I'm opening connection to a website using URLConnection. GPRS is
not
Rubicks wrote:
My activity has a webview . I will be leading some html pages on that
webview which includes some JavaScript functions. I have a need to
send some data from webview to my java application based on some user
actions using javaScript functions. Is it possible or how can I do
it?
Rubicks wrote:
So I used this code posted somewhere on this forum.
I write a book, and my samples get reduced to this code posted
somewhere on this forum?
Am I a has-been *already*?!?
pause to regain composure, complete with muted sobs
But now I have new problem. With this code, I am
Rubicks wrote:
Mark, very sorry for my impolite post. I should improve on that.
It was a joke!
myMMFString is assigned value some where else because it is a global
variable. Like this for example
html
body
p
a href=http://localhost:/index.htm;This text/a is a link on
this web
It should play mp3 just fine...
Maybe after adding an mp3 file, you first have to invoke the
MediaScanner through Dev Tools or Ze Dev Tools / MediaScanner,
so that the mp3 file gets into the content provider.
Peli
On Oct 15, 10:17 am, Baonq86 [EMAIL PROTECTED] wrote:
Thank you, Peli. Yourcode
Did you give the application INTERNET permission in the manifest?
On Oct 14, 8:58 am, redmapleleaf [EMAIL PROTECTED] wrote:
Hi all,
I wish to use the package com.google.api.translate to write an android
translator application. However, I tried all day yesterday and nothing
is working.
Hi,
I plan to upgrade my PC and move from Mandriva 32bits to Mandriva
64bits.
Are Eclispe SDK tools the emulator still working fine ?
Any specific remarks on such a platform ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I take it back, it's not a perms thing. I still see that message once
in a while.
I also get the same socket error that Jason reports, once in a while -
in the same area as the tcp_rmem_min error:
http://groups.google.com/group/android-developers/browse_thread/thread/7c408f10d23c7dfc/.
It
Hello Friends,
Can u plz explain me how to use the development settings in android
especially the following features:
1. What does Debug App. do and what does Wait for debugger do ?
2. How to interpret the display when Show running processes is
selected ? what the does the three values
An Ant task for this would be great. Anybody got one? I'm not that
point yet in my development or I'd build one.
Thanks
C.
On Oct 15, 10:37 am, Teo [EMAIL PROTECTED] wrote:
That part of the documentation is a bit shady, maybe it would indeed
be good to have a relevant usage example of
Does this work with multiple proximityalerts? As long as I only add
one proximityalert, everything is fine. When I try to add more no
alerts are received.
On Aug 28, 3:54 pm, woodm [EMAIL PROTECTED] wrote:
Nevermind...it was a /stupid/ mistake.
The PendingIntent I was supplying was fetched
I've added the following to my manifest:
uses-permission android:name=android.permission.CALL_PRIVILEGED/
uses-permission
Now I'm trying to use:
startActivity(new Intent(android.intent.action.CALL,
Uri.parse(tel:911)));
And nothing...no error...nothing.
I'm
Sweet, I found your website here too at http://www.tmobileg1fans.com
On Oct 9, 6:12 am, Al Sutton [EMAIL PROTECTED] wrote:
I've hooked AndAppStore.com up totwitter, so if you want to see if
anyone is releasing similar apps to yours you can follow AndAppStore
athttp://twitter.com/AndAppStore
Maybe the requestFocus method dispatches a key press event, put some
breakpoints to see that.
2008/10/15 pabbot [EMAIL PROTECTED]
Hi everyone,
this is my first post here so I'll try not to extend so much.
I've got a Layout with 3 EditText, called mText1, mText2 and mText3.
I want to
Hi all.,
I m porting android to imx31 hardware, kernel is booting well
but Filesystem shows some error which loading the binder information
required for the android to load...
I ve created the file system by following the steps mentioned in
http://elinux.org/Android_on_OMAP
while
I'm playing around with the SDK and looking at creating a new dialer
application.
One of the things I'd like to be able to do is be able to dial 911 as
I thought it might be useful ;-)
I thought all I'd have to do is add
uses-permission android:name=android.permission.CALL_PRIVILEGED/
Hello Friends,
Can u plz tell me how to use the DDMS tool, I never get my application
in the left pane. How can i use DDMS for getting information about my
application.
Is there any documentation available for DDMS tool other than the one
provided in android documentation.
If i dont use the
Computer parts
Take a Tour Inside Intel's First
Multicore Processor Graphics Card
Acress Trisha Wallpaper Photos Big Size - Open the 3 Website
Register
***
http://www.freewebs.com/arthistoris/
http://italianfriendfinder.com/go/g1024983-pmem
Rubicks wrote:
Yes, I have a local server running with in the emulator, it is just a
simple socket, which can handle HTTP requests locally.
Ah!
You can try changing the base URL you are passing to
loadDataWithBaseURL() to match the base URL you want
(http://localhost:, presumably). That
Hi All,
I am using SDK1.0 version. I am using database for storing
business card type information. Every thing was running fairly well.
All of a sudden I started getting following exception .
CREATE TABLE android_metadata failed
E/Database( 479): Failed to
Hello,
I have two activities in one application. I want call function in
activity from another activity. How I can do it? Please give me any
suggestions.
Ramunas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Sorry didn't mean to double post I didn't think my other one had shown
up.
On Oct 15, 11:26 am, MojoChris [EMAIL PROTECTED] wrote:
I've added the following to my manifest:
uses-permission android:name=android.permission.CALL_PRIVILEGED/
uses-permission
Now I'm trying to use:
Well, apparently not quite heresy, because Eclipse today announced a
Java preprocessor as part of the Eclipse Mobile Tools for Java Project
(MTJ):
http://www.eclipse.org/org/press-release/20081015_mtj.php
I installed the MTJ runtime from
Hi Ramunas,
This is normally done by calling ActivityName.function(atts)
So if your second activity is called foo and the method called bar you
would use Foo.bar(attributes)
If you have problems you may want to set up bar to take and Activity
(like bar(Activity act)) then call it with
Generally doing direct calls between activities like this is a really
bad idea, because the system controls the lifecycle of the activity,
not you, so you have no assurance that the activity you are trying to
call even exists or is the instance you are using.
For direct interactions, the best
Sorry, emergency dialing is not something we can expose to third party
applications.
On Oct 15, 7:15 am, MojoChris [EMAIL PROTECTED] wrote:
I'm playing around with the SDK and looking at creating a new dialer
application.
One of the things I'd like to be able to do is be able to dial 911 as
Thanks Peli, That solved my problem.
On Oct 15, 3:22 pm, Peli [EMAIL PROTECTED] wrote:
Have you looked at apps-for-android
webview-demo?http://android-developers.blogspot.com/2008/09/using-webviews.htmlhttp://code.google.com/p/apps-for-android/
Peliwww.openintents.org
On Oct 15, 3:04 pm,
The phone is supposed to be coming out in a week, so where is the
MapView Api key registration service?
According to
http://code.google.com/android/reference/com/google/android/maps/MapView.html
In order to run on actual devices, though, your application will need
a real authentication key
so
I found the problem. I had to specify an unique requestcode, although
it is stated in the API documentation that this is not currently used.
On Oct 15, 6:39 pm, churam [EMAIL PROTECTED] wrote:
Does this work with multiple proximityalerts? As long as I only add
one proximityalert, everything is
I need a unique ID for each phone, just enough to distinguish it from
any other Android phone. In theory, TelephonyManager#getDeviceId() would
be fine, except that it requires READ_PHONE_DATA as a permission, and
that seems overkill.
The catch is that I need this ID to be cross-application;
ahh, yes..I should have used fos.write(byte[])and it does work
now..
Thank you so much Jason.
On 10月15日, 午前7:35, Jason Proctor [EMAIL PROTECTED] wrote:
why not use fos.write(buffer) as your standard java platform example does?
you don't want to use Writers here, because
you're dealing
I am trying to get a html file stored in my sdcard image on to
webview .
I am doing something like this
myWebView.loadUrl(/sdcard/index.html);
Then I get an error on the webview as The webpage at file:///sdcard/index.html
could not be loaded as: The requested file was not found.
But I am sure
The Browser app does not have permission to load a page from the SD
card. You can write an app with a WebView, and give yourself that
permission, but the Browser is built explicitly w/o that right for
security reasons.
On Oct 15, 2008, at 3:41 PM, Rubicks wrote:
I am trying to get a html
ok. I have a webview which is used just by my application. Now, how
do I give permission? Is it done in Androidmanifest file? If that is
the case, I have already done that
uses-permission android:name=android.permission.INTERNET /
On Oct 16, 12:50 am, Mike Reed [EMAIL PROTECTED] wrote:
The
I have the following layout for tabs:
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
android:layout_height=fill_parent android:orientation=horizontal
TabHost
When an intention is invoked remotely, such as from the Eclipse
plugin, the Intent that invokes the Launcher/Main Activity does have
either an action name or a category set.
I would expect that the default execution from the emulator would
mimic invocation from the Launcher, thus including both
Is this not it:
http://code.google.com/apis/maps/signup.html
Same key used by any Google Maps mash-up.
Anm
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Hello does anybody know what the following method actually does
Contacts.Phones.getDisplayLabel
public static final CharSequence getDisplayLabel(Context context, int
type, CharSequence label)
the documentation does not really say?
Re: 2 - Isn't that what MODE_WORLD_READABLE is for?
http://code.google.com/android/reference/android/content/Context.html#openFileOutput(java.lang.String,%20int)
MODE_WORLD_READABLE = File creation mode: allow all other
applications to have read access to the created file.
Hope that helps,
-
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? Please give me any
suggestions.
Ramunas
class Application is your friend
John Spurlock wrote:
Re: 2 - Isn't that what MODE_WORLD_READABLE is for?
http://code.google.com/android/reference/android/content/Context.html#openFileOutput(java.lang.String,%20int)
MODE_WORLD_READABLE = File creation mode: allow all other
applications to have read access to the created
Not sure if you're implying that the context application storage
area (obtainable via Context) is stored on the sdcard. At least on
the emulator this is not the case - this data is stored on internal
storage, with or without an sdcard.
On Oct 15, 7:56 pm, Mark Murphy [EMAIL PROTECTED] wrote:
Same problem here. Anyone?
On Oct 8, 8:25 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I have the same problem.
So, if someone has clue or solution...
that will be nice to share it :)
On 1 sep, 16:50, Vp [EMAIL PROTECTED] wrote:
Hi,
I tired all above mentioned options of
May be this is what you meant? myActivityLauncher is an Activity
where I have a webview to load html file from sdcard.
public void startMyActivityLauncher() {
Intent i = new Intent(this, myActivityLauncher.class);
Hey, i know i can long click a field and click select all in the pop-
up menu, but how can i select one word?
i also notice that i can only pop the menu on EditText but not
TextView, is that the way or i need to change some attributes?
Thanks a lot
John Spurlock wrote:
Not sure if you're implying that the context application storage
area (obtainable via Context) is stored on the sdcard. At least on
the emulator this is not the case - this data is stored on internal
storage, with or without an sdcard.
You are absolutely correct.
Hello Mark,
I'd venture to say that impossible what you're asking. With #1 you
would have a problem with privacy/security. With #2, having a storage
spot would mean you wouldn't need Content Providers. It's intuitive
for there to be a permission placed on this info. So just do the
Overkill,
You'll probably find more answers to this question in the
android-internals mailing list.
http://groups.google.com/group/android-internals
On Wed, Oct 15, 2008 at 7:42 AM, Eric Michael [EMAIL PROTECTED] wrote:
Hi all.,
I m porting android to imx31 hardware, kernel is booting well
jtaylor wrote:
It's intuitive for there to be a permission placed on this info.
It's definitely intuitive for there to be a permission on the IMEI. I am
not quibbling that point at all.
The problem is I'm porting something originally done on the iPhone,
which has a UUID or something for each
I noticed the Photostream app has alias activities.
(This comment is in androidmanifest.xml)
!-- Alias activity used to set the wallpaper on Home. The alias is
used
simply to have a different label. --
http://code.google.com/p/apps-for-android/source/browse/trunk/#trunk/Photostream
Query:
public Cursor queryAll(String[] returnSequence) {
Cursor cusor = null;
ContentResolver contentResolver = mContext.getContentResolver();
cusor = contentResolver.query(Contacts.People.CONTENT_URI, returnSequence,
null, null, null);// DEFAULT_SORT_ORDER
return cusor;
}
public Cursor
use the String selection = People.NUMBER + = ? + telNo;replace !
[EMAIL PROTECTED]
2008年10月16日
- Original Message -
From: vallis
To: Android Developers
Sent: 2008-10-13, 23:37:59
Subject: [android-developers] nullPointer/thread error when reading contacts
Hi all,
I've been trying
Photostream uses an activity-alias, not an AliasActivity (they are different :)
On Wed, Oct 15, 2008 at 7:24 PM, jtaylor [EMAIL PROTECTED] wrote:
I noticed the Photostream app has alias activities.
(This comment is in androidmanifest.xml)
!-- Alias activity used to set the wallpaper on
It's hard to answer your questions when you know just about
everything.
- Juan T.
On Oct 15, 9:38 pm, Mark Murphy [EMAIL PROTECTED] wrote:
jtaylor wrote:
It's intuitive for there to be a permission placed on this info.
It's definitely intuitive for there to be a permission on the IMEI. I
You pass it the type and label fields from the contacts content
provider and it reads the localized labels for the non-custom types
and returns the proper value. If the type is custom it will return the
label value you pass in. The last parameter allows you to pass in your
own array of strings to
Hopefully in Android Market there'll be a way to, maybe through
analytics, to see if the user didn't accept the app because of fear of
the permissions. That's the only way to see and know for sure, through
some kind of analytics.
- Juan T.
On Oct 15, 9:38 pm, Mark Murphy [EMAIL PROTECTED]
1 - 100 of 107 matches
Mail list logo