Can someone tell me what for version of Android the online Javadoc has
been generated?
http://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html
contains references to several constants such as DISPLAY_NAME_PRIMARY
that don't exist in the compiled class for 2.1 or
I have a ListView that just contains a CheckedTextView.
I have a very simple CursorAdapter that populates CheckedTextViews.
When I click on an item, I can see that I am responding to the correct
row, store the value in my model and the CheckedText gets checked.
However, when I scroll down and
I have an app that reads from the Contact provider and so it declares
android.permission.READ_CONTACTS in the manifest. It doesn't store
anything on the SD card and it doesn't listen to phone or attempt to
make calls
But when I go to install the app, I am prompted that installing the
app requires
I think you will both find much joy by reading the Launch Modes
section of http://developer.android.com/guide/topics/fundamentals.html
On Aug 14, 3:17 pm, shawn sh...@spcware.com wrote:
I got a recent complaint about this too. I have not been able to
reproduce it myself. My user did say that
Dianne, since Service.setForeground() has been deprecated, what should
we use to stop a service being killed?
In particular, how should you keep a service alive that needs to
listen and respond to phone state events?
And on phone state events, why is it that responding to an inbound
phone call
...@commonsware.com wrote:
On Wed, Aug 11, 2010 at 5:08 AM, William Ferguson
william.ferguson...@gmail.com wrote:
In particular, how should you keep a service alive that needs to
listen and respond to phone state events?
Don't use a service. Use a manifest-registered BroadcastReceiver
watching
Bump - No one finds it odd that RawContactsEntity.AGGREGATION_MODE is
an invalid column for the RawContactsEntity.CONTENT_URI?
On Aug 10, 5:25 pm, William Ferguson william.ferguson...@gmail.com
wrote:
I've been poking around retrieving RawContactsEntity records (ie
RawContacts joined
I've been poking around retrieving RawContactsEntity records (ie
RawContacts joined with RawContactsData) and am getting an
IllegalArgumentException when trying to create a query that contains
ContactsContract.RawContactsEntity.AGGREGATION_MODE
in its projection.
Caused by:
I believe you can just broadcast the Intent for a single file.
Ie if you have only added one file, then notify the MediaScanner about
that file.
You don't need to tell it to scan a folder.
On Aug 9, 7:09 pm, Tabman tabishfay...@gmail.com wrote:
Just to save someone the misery I had to go
Don't include them with your application.
When the application first starts, if the external storage contains
enough space, download your images and store them there.
For what its worth, I wouldn't download an mobile app that was 30MB,
On Aug 9, 10:03 pm, Rahul rahulvarma.kalidindi0...@gmail.com
http://developer.android.com/reference/android/provider/ContactsContract.Contacts.html
See Contacts#HAS_PHONE_NUMBER
On Aug 7, 10:24 pm, Kanodi leethomasca...@gmail.com wrote:
Hi all,
I am trying to write a simple function that determines if a contact
has a phone number or not. And am
:56 am, William Ferguson william.ferguson...@gmail.com
wrote:
Don't include them with your application.
When the application first starts, if the external storage contains
enough space, download your images and store them there.
For what its worth, I wouldn't download an mobile app
Yes, whether/when to call an overridden method in a subclass is one of
the unfortunate consequences of using implementation inheritance.
Its a shame that the Android SDK makes such heavy use of it
(inheritance), Over the last 10 years I had thought enough of us in
the Java world had finally gotten
All the examples I have found assume that Spinner is given an array of
String.
I have a Spinner whose Adapter contains an Object more complex than a
String.
I want the capacity to display some parts of this object.
a) during drop down
b) when the item is selected.
Nothing fancy, just some
, 2010 at 9:02 AM, William Ferguson
william.ferguson...@gmail.com wrote:
All the examples I have found assume that Spinner is given an array of
String.
Here is a Spinner using a SimpleCursorAdapter:
http://github.com/commonsguy/cw-advandroid/tree/master/Contacts/Spinn...
I can't find
@Mark
Thanks for making me revisit subclassing CursorAdapter.
Much clearer than using a SimpleCursorAdapter and a ViewBinder.
Is there a section on the ExpandableListView in the Busy Coders
Guide?
I could have sworn I saw it there last night, but can't find it
today.
If you're looking for new
You appear to be using a combination of Android 1.5 and Android 2.0
mechanisms.
Ie passing Android 2.0 constants to an Android 1.5 mechanism.
Android 1.5
Uri uri = Phone.CONTENT_URI;
Phone.CONTACT_ID,
Phone.DISPLAY_NAME,
Phone.NUMBER,
Phone.TYPE, Phone.LABEL,
Android 2.0
work in ViewBinder#setViewValue?
For example, retrieving the results of another cursor whcih is used to
construct the bound view.
Or am I approaching this from entirely the wrong view point?
William
--
You received this message because you are subscribed to the Google
Groups Android Developers
I don't thnk its so much blocked/crippled. I think we are waiting for
device drivers that enable it, from either the device manufacturers or
some hearty souls.
In particular see http://code.google.com/p/android/issues/detail?id=4075#c22
As well as :
I have a ListView that contains several elements, one of which is
another ListView.
All elements of the outer ListView except for the inner ListView
respect their layout params.
The inner ListView respects margin left/right, but toally ignores
layout_gravity and layout_width.
Ie consumes the
Contact-2, Contact1-Name
RawContact-2-z
On Jul 31, 10:46 am, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Jul 30, 2010 at 8:36 PM, William Ferguson
william.ferguson...@gmail.com wrote:
I have a ListView that contains several elements, one of which is
another ListView.
I'll be stunned
There is a simple workaround as noted in the bug description.
Or, Manually configure any affected Java Program to launch with
proper VM arguments. See also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=319514#c22
On Jul 30, 12:06 am, JP joachim.pfeif...@gmail.com wrote:
Looks like a recent
I think that's an excellent suggestion Mark.
I think it would be a good idea to allow for separate licnensing of
different version of an app.
Ie have a single app that can be licensed as 'freeware' 'fully-paid'
etc and let the app change its behaviour based on the license that is
returned.
At
ProGuard obfuscates your compiled code.
The Obfuscator referred to in the Licensing Server doc obfuscates
licensing info retrieved from AppMarket.
On Jul 28, 7:44 am, sblantipodi perini.dav...@dpsoftware.org wrote:
I haven't understood if using this library external obfuscation
(proguard for
it in a
RuntimeException, ie
throw new RuntimeException(caughtExcetion);
3) You shouldn't be using junit.framework.Assert#fail in production
code. It should only be using from a test harness.
William
On Jul 29, 12:14 am, Leigh McRae leigh.mc...@lonedwarfgames.com
wrote:
Hello,
I am finding the Android
is that the code is shared with BlackBerry and catching
Throwable will generate a stack trace where Exception won't It's some
kind of optimization.
I just tried wrapping the exception in RuntimeException and it works.
Cool bananas! Thank you.
Leigh
On 7/28/2010 5:53 PM, William Ferguson wrote
Al,
I think there is a clear need in the market for a single app that
brokers the licences for all market providers. If this could also
include the official market all the better, but I think developers
could live with two.
As to guarenteeing the licencing service is available on the device,
one
of being usable
for both buyers and sellers from almost any country in the world.
On Jul 24, 5:35 pm, William Ferguson william.ferguson...@gmail.com
wrote:
So where does this leave those of us who are outside the half dozen
countries that can't *sell* apps on the market?
I had hoped
OK, I don't know the business reasons behind Google Checkout not being
able to allow sellers from Australia. I suspect it is due to taxation
legislatiion. Accorsing to Australian law sellers in Australia don't
have to pay sales tax on sales to parties outside Oz. I suspect that
conflicts with
Perhaps someone (a competitor?) has marked those comments as spam so
they have been removed from the market?
On Jul 26, 9:00 pm, Geefer paul.gee...@googlemail.com wrote:
Hi, every time I have looked at the market comments for my app over
the last few days some more comments have disappeared.
So where does this leave those of us who are outside the half dozen
countries that can't *sell* apps on the market?
I had hoped to provide a free crippled version on the market, and
provide a paid unlock key from another site.
Is my crippled app allowed or disallowed under the market rules?
On
Well the issue is that when downloading any app in 2.2 it will download but
install it will not. It will show that it is installing but never will.
On Jul 21, 2010 11:31 PM, Sam samuel.law...@gmail.com wrote:
Hi William
When you say you are getting issues - what exact issues are you
referring
You say that google will come up with a new and improved market, when? I'm
having install of apps issues but only on 2.2 Froyo, but when I jump back to
2.1 no problems what so ever. I don't get it.
On Jul 21, 2010 3:02 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com
wrote:
opinion
I don't
why is it when im on 2.1 apps download and install fast. but when on 2.2
froyo apps download but wont install. Btw I'm on nexus 1.
On Jul 21, 2010 5:11 PM, Kwan Cheng yukwanch...@gmail.com wrote:
I don't think there is anything wrong with eclipse. You use what you have.
You do have the option
I realise this isn't an answer to your question, but I get exactly the
same behaviour from Google Mail on my Samsung Galaxy S running 2.1
It's extremely annoying.
On Jul 16, 4:38 am, ecforu ecforus...@gmail.com wrote:
When I run my app, it works fine but if I switch back to home or another
you can certainly have multiple apps running, and these apps can chat
to each other. But I wouldn't use sockets, I would use Intents to
provide the communication channel.
On Jul 13, 4:49 am, kypriakos demet...@ece.neu.edu wrote:
Hi all,
is it possible to run multiple apps at the same time on
?
It's quite urgent, wish you guy can tell (or ask for more detail)
Thanks
William
--
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, send
I
On Mar 14, 2010 5:01 PM, Gabriel Simões gsim...@gmail.com wrote:
Ops, sorry for the title. Should be audio chopping from AudioRecord to
AudioTrack.
On 14 mar, 19:00, Gabriel Simões gsim...@gmail.com wrote: Hello,
Since my day 1 I´ve been f...
--
You received this message because you are
On Mar 14, 2010 5:01 PM, Gabriel Simões gsim...@gmail.com wrote:
Ops, sorry for the title. Should be audio chopping from AudioRecord to
AudioTrack.
On 14 mar, 19:00, Gabriel Simões gsim...@gmail.com wrote: Hello,
Since my day 1 I´ve been f...
--
You received this message because you are
Hi
I would like to know how to change the text colour of a spinner
Not the list that pops up, I want to change the colour of the text
displayed on the... selected item
I have been googling around and looking in to the reference pages on
android and havent found anything that does what I want.
Using tooltip description is not showing the Javadoc in Eclipse by
hovering the mouse over the method or pressing F2 on the keyboard.
Here is the error:
Note: The Javadoc for this element could neither be found in the
attached source nor the attached Javadoc.
My setup (freshly installed):
:
your list of installed packages doesn't show the doc. Go back to the
Available packages tab of the SDK Manager and install the doc package.
Xav
On Mon, Nov 30, 2009 at 10:17 AM, William Chang diehardb...@gmail.comwrote:
Using tooltip description is not showing the Javadoc in Eclipse
Hi all,
I checked the source code, and found the permissin of /dev/graphics/
fb0 is set by /system/core/init/devides.c, obviously, we can not
modify this file. So the only possible way to read framebuffe data
directly is to start the program as root (or user from graphics
group), or change
Thanks ralf.
Just wonder if ther is any qiuck way to switch to some tag, you know
repo init takes at least 3 hours on my network.
On 9月17日, 下午1时50分, Raphael r...@android.com wrote:
On Wed, Sep 16, 2009 at 10:35 PM, William Hua krypto...@gmail.com wrote:
I've synced my android repository
I've synced my android repository just after android sdk 1.6
announced, but found some problem to install my apps with native code
(so built by NDK 1.5_r1) then.
I tried to build NDK with the latest souce code, bu unfortunately,
faile again :( .
So is there any way to get paticular vertion of
hi, all
I met a strange error of charset encoding, see below code:
public class CharsetMain extends Activity {
private final static String LOG_TAG = zzw;
final String s123=1我2; // at least one none-ascii
final String sabc=abcdef;
@Override
public void onCreate(Bundle
http://android.git.kernel.org/?p=platform/dalvik.git;a=commitdiff;h=e406b316295f07d40679ce2372051c3b2bce5de4;hp=8493876016e383b59af707cb5184100374f7f353
I found this commit has solved the bug,
On Aug 14, 11:20 am, william myopc...@gmail.com wrote:
hi, all
I met a strange error of charset
sorry I have posted twice, please ignore this message
On Aug 14, 10:36 am, myopc myopc...@gmail.com wrote:
hi, all
I found a strange charset encoding bug of dalvik VM. please see the
following code:
public class CharsetMain extends Activity {
private final static String LOG_TAG = zzw;
Hi All,
The Calendar app cannot run in my phone. I want to debug it. How to debug
it without any IDE? How to set a breakpoint?
The Calendar app cannot be compiled in Eclipse because a lot of classes
are missing in android sdk. So I cannot use Eclipse to debug it..
The method I used
Hi All,
When a listitem in a ListActivity is selected, I want to add some
ImageButtons on the listitem and want to change its height from 60px
to 90px. When the listitem is unseleted, it will be restored. How
should I do?
--~--~-~--~~~---~--~~
You received
Ok, so I wanted to create a transparent activity where I draw some
cubes on the screen. Well I initially was developing with the default
settings where
g.getHolder().setFormat(PixelFormat.RGBA_);
my view in a real narrow scope see below code for sample.
when not setting a alpha channel.
I forgot an interesting tid bit of information. There is not issue/
difference on the emulator when i use or dont use the alpha channel.
the issue only occurs on the actual phone
On Apr 25, 4:54 pm, William william.caine...@gmail.com wrote:
Ok, so I wanted to create a transparent activity
OK I am trying to overload the android:style/Theme.Translucent theme
but when I do so the background becomes black, not translucent.
styles.xml has this. simple enough right?
style name=Theme.Translucent parent=android:style/
Theme.Translucent
/style
when my AndroidManifest.xml has this using
Hi all,
I am trying to write a map application based on the MapView, and I
need to handle the UP/DOWN/LEFT/RIGHT keys.
At first, I tried to implement with setOnKeyListener, please take a
look at he following code.
mapView = (MapView) findViewById(R.id.mapview);
// set on key listener
My screen will correctly display the requested orientation but my
sensors sometimes do not update when the keyboard is not out. So what
should be -x acceleration is interpreted as -y, etc. The solution I
have right now is stop the app and start it again. the next time it
corrects it self and
I am quite confused on this isInTouch mode or not for a View . Some
of the apps I have seen can accept touch and keyboard requests that
the same time but I cannot figure out how they are doing it. This is
what happens in my app. Please shed some light on why this happens.
If I touch the
...@google.com wrote:
Don't do anything. It's how it's supposed to work.
On Mon, Apr 6, 2009 at 8:54 AM, William william.caine...@gmail.com wrote:
I am quite confused on this isInTouchmodeor not for a View . Some
of the apps I have seen can accepttouchand keyboard requests that
the same time but I
must convert it.
On Apr 3, 12:41 am, Marco Nelissen marc...@android.com wrote:
Since you're rotating and drawing the cube, shouldn't you have that
information in your app already?
On Thu, Apr 2, 2009 at 7:30 PM, William william.caine...@gmail.com wrote:
Hi Folks,
I am drawing
and use them to
figure out what part of the LCD-screen your 3D objects are occupying.
On Apr 3, 10:24 am, William william.caine...@gmail.com wrote:
//i rotate the cube using the following
//xRot,yRot are inc or decremented to change angles
gl.glRotatef(xRot, 1.0f, 0.0f, 0.0f);
gl.glRotatef
SurfaceHolder holder = getHolder();
i want to draw using canvas and need as much performance as possible
which holder type should i set it to? I know the canvas is not
hardware accelerated but how can I get a performance boost when using
it?
holder.setType(SurfaceHolder.SURFACE_TYPE_HARDWARE);
i put this in my oncreate method and get an error, file open failed.
what am i doing wrong?
Debug.startMethodTracing(rufio);
03-28 17:32:31.402: ERROR/AndroidRuntime(11951): Uncaught handler:
thread main exiting due to uncaught exception
03-28 17:32:31.432: ERROR/AndroidRuntime(11951):
I am trying to figure out how the touch functionality of the emulator
works. I override onTouchEvent and am getting info for onDown but
nothing for onrelease. How do I listen for onrelease. Also when I
drag the mouse, only one event is sent instead of multiple. how do i
listen to all of the
I just created another project that uses View instead of SurfaceView
that View recieves all of the events. Why does surfaceview not
reviece all the events?
On Mar 25, 4:00 pm, William william.caine...@gmail.com wrote:
I am trying to figure out how the touch functionality of the emulator
works
I figured it out. YOU MUST RETURN return true; everytime onTouchEvent
for it to continue to return you events
On Mar 25, 4:12 pm, William william.caine...@gmail.com wrote:
I just created another project that uses View instead of SurfaceView
that View recieves all of the events. Why does
My goal is the draw a bitmap onto another bitmap but rotated 90
degress. whats the most efficient way to do that. My current method
is as follows which is horribly bad because it creates a new bitmap
every time.
//i am taking image and drawing it rotated onto image2
Matrix matrix =
);
On Mar 22, 5:18 pm, William william.caine...@gmail.com wrote:
My goal is the draw a bitmap onto another bitmap butrotated90
degress. whats the most efficient way to do that. My current method
is as follows which is horribly bad because it creates a new bitmap
every time.
//i am taking image
(),image.getHeight(), renderMatrix, false);
On Mar 22, 5:19 pm, William william.caine...@gmail.com wrote:
sorry the code should be
Matrix matrix = new Matrix();
matrix.postRotate(90);
Canvas g = new Canvas(image2);
g.drawBitmap(
Bitmap.createBitmap(image, 0
I am not too familiar with how GL works. Is the performance gain
happen in writing to the screen or doing the image manipulation or
BOTH. I mean I know I can convert a bitmap to a texture and put it on
the GL surface. Most of my code is done using canvas to draw to off
screen bitmaps before i
Greetings Developers,
I am just putting this question out there.
Is there a large efficiency difference between Canvas.drawBitmap or
OpenGL. I am drawing using Canvas.drawBitmap and running slowing FPS,
would openGL speed that up a lot you think?
, Marco Nelissen marc...@android.com wrote:
On Fri, Mar 6, 2009 at 5:59 AM, William william.caine...@gmail.com wrote:
I am drawing bitmaps left and right and I hit this issue where I
create a bitmap in one section of my code and when I later try to draw
on it using canvas, i get bitmap
I am drawing bitmaps left and right and I hit this issue where I
create a bitmap in one section of my code and when I later try to draw
on it using canvas, i get bitmap recycled. but I did not null if out,
or call its recycle method.
Description:
I have a main Class that extends View that when
I am drawing bitmaps left and right and I hit this issue where I
create a bitmap in one section of my code and when I later try to draw
on it using canvas, i get bitmap recycled. but I did not null if out,
or call its recycle method.
Description:
I have a main Class that extends View that when
William Volk, president and CEO of PlayScreen.
Titles include solitaire, bowling, sudoku, solitaire, backgammon,
darts, golf and other popular games.
“PlayScreen is applying its considerable experience in advanced mobile
technology to bring these titles to consumers” commented PlayScreen
I understand that I can replace the main view in an Eclipse generated
application with a WebView, and point it to my content, enable
javascript and then have a web based (javascript) application that can
be treated as a Java app (App Market etc...).
My question is simply this, how can I
creative applications from be decapitated or
blocked.
Reference:
http://www.intomobile.com/2007/11/26/unlock-your-samsung-blackjack-iis-integrated-gps-receiver-to-work-outside-of-telenav.html
On Sep 19, 9:05 pm, Shane Isbell [EMAIL PROTECTED] wrote:
On Fri, Sep 19, 2008 at 4:22 PM, William Chang [EMAIL
Quote:
... Android's Apache license allows phone companies to do pretty much
whatever they'd like with their code. That means, if they chose to,
companies like Verizon and Sprint could disable or enfeeble parts of
the system, and the Android store can be filtered to carry only
carrier-approved
of imported jar files?
Thanks,
-Will
--
William Enck
Department of Computer Science and Engineering
The Pennsylvania State University
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
hi all,
we are developping a 100 euros public price laptop.
At this stage using the samsung arm 920 we are searchig for a solution small
based on android that would only
start the device
and directly connect on internet via a firefox
it must have the necessary pilotes ( screen wifi kaboard
301 - 378 of 378 matches
Mail list logo