This is called multiple inheritance, and Java - the language - doesn't
have this feature, regardless of the platform (Android or not).
Break up your code logic into more fine-grained pieces. You can bind to
the service from multiple activities, as many as necessary.
Also, you don't need to
I just started using the LVL also. I had problems adding a reference
to the LVL project (I kept getting manifest errors immediately upon
adding the reference) so I just added it directly. Then, I tried to
buile the sample code into my project but I find it all very
clunky. I think it is absurd
Yes permissions on older platforms will be ignored. Since older platforms
don't know about sync adapters, they just won't do anything with them.
Do be sure of course to test your code on an older platform to be sure all
is well, though.
On Fri, Jul 30, 2010 at 11:17 AM, Mark Wyszomierski
Requirement: Display query results in a list with a header view atop each
group. (results grouped from database)
Looking at Mark's MergeAdapter. Wondering if I might be able to use a single
cursor and have each adapter filter on the group field? That a viable
approach?
Cheers,
Stacy
--
You
I'm working on this feature for devs to embed code for twitter follows in
their app. The client code will be open-source (ASL v2) and hook into my
ZappMarket servers. If you can hold off a week or so, you will be able to
use it.
On Fri, Jul 30, 2010 at 9:19 AM, TreKing treking...@gmail.com wrote:
On Fri, Jul 30, 2010 at 2:29 PM, Connick oconn...@gmail.com wrote:
Requirement: Display query results in a list with a header view atop each
group. (results grouped from database)
Looking at Mark's MergeAdapter. Wondering if I might be able to use a single
cursor and have each adapter filter
Hi Dianne,
Thanks, I should have posted this fragment as well, what about these
references:
service
android:name=.authenticator.AuthenticationService
action
android:name=android.accounts.AccountAuthenticator /
action
android:name=android.content.SyncAdapter /
Knowing it's possible is enough for me to go on and start digging. :)
Will post back if I figure it out!
On Fri, Jul 30, 2010 at 2:32 PM, Mark Murphy mmur...@commonsware.comwrote:
On Fri, Jul 30, 2010 at 2:29 PM, Connick oconn...@gmail.com wrote:
Requirement: Display query results in a list
Stacy,
You might want to look at the source for Android's built-in email
client. It groups messages by date, i.e. today, yesterday, more
recent.
Don't know for sure if its source is available, but I think it is (K9
mail is based on it).
-- Kostya
30.07.2010 22:32, Mark Murphy пишет:
On
Subclassing Animation won't help you unfortunately. It would be best
for you to implement the animation yourself.
On Fri, Jul 30, 2010 at 11:18 AM, jsera gall.blad...@gmail.com wrote:
Hi, I'd like to subclass Animation in order to get an animation that
changes the clipRect of the canvas passed
o_O
now it works... -_-
Don't develop for more than 12 hours a day... I should remember it :D
On Jul 30, 7:40 pm, Xav x...@android.com wrote:
The Google APIs add-on for 2.2 (in revision 2) supports testing LVL-
enabled app.
See instructions
The grouping itself is no problem ...its tossing in the arbitrary view to
act as a header to each group within that list. From the looks of the client
it doesn't use any type of headers in its list ...but thanks for the
suggestion!
On Fri, Jul 30, 2010 at 2:38 PM, Kostya Vasilyev
On Fri, Jul 30, 2010 at 2:17 PM, Tommy droi...@gmail.com wrote:
Is there a way to let my app tune into a certain radio station(FM/AM?)
Or is this something not yet possible with android?
A handful of Android devices may have built-in radio tuners. I suspect
none have built-in radio tuners and
Thanks for the quick reply!
So then would the best approach be to call invalidate, and change the
size of the View using setMeasuredDimension on every tick of a Timer
object?
On Jul 30, 11:39 am, Romain Guy romain...@android.com wrote:
Subclassing Animation won't help you unfortunately. It
It does on my phone - Samsung Galaxy S with Android 2.1update1. This is
the built-in Android email client, set up with an IMAP account.
I just had an idea.
It should be much easier to implement the header as part of data item
view hierarchy. This way the number of items in the list view is
Something like that :) The way we usually do it is post a delayed
invalidate instead of using a Timer. We'll have a better solution in a
future release of Android though.
On Fri, Jul 30, 2010 at 11:52 AM, jsera gall.blad...@gmail.com wrote:
Thanks for the quick reply!
So then would the best
Now I've got another problem now...
I'm using the Default Policy implementation,
the first time I setted my developer console to licensed,
this makes my software authenitcate well on the emulator, after this,
I setted the developer console to not licensed, removed the software
from emulator and
done, same problem... :(
On Jul 30, 7:46 pm, Mark Murphy mmur...@commonsware.com wrote:
If this is a normal Android project, run android update project -p
..., where ... is the path to your project, and it will create or
repair your local.properties file.
On Fri, Jul 30, 2010 at 1:31 PM,
On Wed, Jul 28, 2010 at 9:24 AM, Joseph Earl joseph.w.e...@gmail.comwrote:
Any chance you guys are working a solution for large applications that
will work across Android 1.5-2.1?
No those platforms are already exist; it would make no sense to modify them
to support new features.
Currently
I'm with you on that ...re: header part of hierarchy, that's the direction
I'm going but I was worried about position mapping ...you're suggestion to
include the header view with a row item would solve that problem!
Gracias, will give that a shot.
Cheers
S
On Fri, Jul 30, 2010 at 2:53 PM, Kostya
If nothing tries to run them, they will never be instantiated and should be
fine.
On Fri, Jul 30, 2010 at 11:32 AM, Mark Wyszomierski mar...@gmail.comwrote:
Hi Dianne,
Thanks, I should have posted this fragment as well, what about these
references:
service
On Fri, Jul 30, 2010 at 12:01 PM, Dianne Hackborn hack...@android.comwrote:
On Wed, Jul 28, 2010 at 9:24 AM, Joseph Earl joseph.w.e...@gmail.comwrote:
Any chance you guys are working a solution for large applications that
will work across Android 1.5-2.1?
No those platforms are already
Hi,
When I load a URL in my webview, the page always appears with full
size and I am unable to zoom out (I did call
setBuiltInZoomControls(true)). The webview is wrapped in a
LinearLayout with fill_parent for both dimensions.
Is there a simple way to fit the content of the webview automatically
On Fri, Jul 30, 2010 at 3:08 PM, Shane Isbell shane.isb...@gmail.com wrote:
Does this mean that apps installed on SD card are not going to be able to
store private data (Context.MODE_PRIVATE) on device?
AFAIK, the app's local files (e.g., getFilesDir()) is still in the
on-board flash, not on
Um yeah the check for process priority does let it kill service processes
(not visible or foreground service processes though). Whoops. I'll fix
that.
That said, the service *does* restart like it always did, and I have
confirmed it does. That code path hasn't changed at all. So basically the
On Fri, Jul 30, 2010 at 12:08 PM, Shane Isbell shane.isb...@gmail.comwrote:
Does this mean that apps installed on SD card are not going to be able to
store private data (Context.MODE_PRIVATE) on device?
No that is a totally different thing. All installed apps have a private
data directory,
Oh wait I take that back... what has changed is that task killers no longer
go through the full force stop path -- *ALL* they can do is kill processes,
and further only processes that are good or moderate candidates for the out
of memory killer (pure background processes up to services running in
Alright, invalidate seems to just call onDraw, which is exactly what
the docs say it does, so my approach is to call setMeasuredDimension
in the method called by the Runnable posted by the tick, (It seems
like onMeasure only gets called if the dimensions are changed by
setMeasuredDimension, so if
It does not override onSaveInstanceState() and does not seem to work.
(on both 2.1, 2.2).
Perhaps I am missing something?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I am facing some when running the code. I am using the
getApplicationContext() to save the instance.
Kindly have a look at my code and let me know where I am going wrong.
VVMService is the class whose instance is created and got from the
onServiceConnected() callback
public class
Disclaimer - I have no idea about what I am talking about. I have not
tried this.
Could you use one sliding drawer with three views on the handle - but
change the drawer contents based on what part of the handle was
touched to drag up. To make it a better user experience, you might
make the
A good article. A little harsh on the OP, but even so, a good article.
After all: given that that IS the design of Android, that Applications
should not quit, but leave termination up to the OS, the article makes
its case well, even elegantly.
But I cannot help but notice: after Android did all
This appears to be a bug
http://code.google.com/p/android/issues/detail?id=6426
watch out. If your LocalBinder is a non-static inner class, then you
will leak your Service as well as non-static inner classes have a
reference to the outer class.
--
You received this message because you are
Hi Dianne,
Our main problem is that Intent.ACTION_PACKAGE_RESTARTED is no longer
called in Froyo.
(Sorry I digressed to Service ... I thought that I can implement
something similar to Intent.ACTION_PACKAGE_RESTARTED by running a
service from my app. If the app is killed, the Service can detect
Technical details aside, I think it's just human nature.
Some percentage of users just have a strong desire to have something
magical that *supposedly* makes their device (Android phone or desktop
OS) work much better.
Remember - there used to be all kinds of memory optimizers for Windows?
I don't know if there's a more proper way to do what you need, but it
makes sense that there should be.
In the worst case though, you can solve this through your own
protocol... you can require clients call an initialization to receive
some random value you provide (and store, to associate with
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/SaveRestoreState.html
On Jul 30, 3:00 pm, Anil anil.r...@gmail.com wrote:
It does not override onSaveInstanceState() and does not seem to work.
(on both 2.1, 2.2).
Perhaps I am missing something?
--
You
On Fri, Jul 30, 2010 at 3:33 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Google is starting to limit what
task killers can do. I believe interfering with the platform's core
functionality is definitely a bad thing.
Google should worry more about the crap-ware vendors are putting on my phone.
Hi there,
I am trying to populate a ViewStub with a new view depending on which
ImageButton is clicked, but as I just discovered ViewStubs I am not exactly
sure how this would work...
e.g. can I provide the ViewStub with different inflatedIds and within the
onClick event of a Button inflate the
Thanks very much Mr Gies, I'll digest this later and expand upon my
requirements if still required.
Cheers.
On 30 July, 17:25, Brad Gies rbg...@gmail.com wrote:
To give you good advice, we probably need to know what your server end
is expecting, and what kind of security you need.
It could
I just like checking in every couple months to see if any movement on
this fundamental functionality has occurred.
Still interested in learning why this functionality is being blocked.
thx
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Ah okKind of a bummer
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Mark Murphy
Sent: Friday, July 30, 2010 2:46 PM
To: android-developers@googlegroups.com
Subject: Re: [android-developers] Picking up radio
It isn't being called because the app is NOT being restarted.
As I said, the ONLY thing app killers can do now is the same thing that the
OOM killer does when it needs memory, and this NEVER involved a broadcast.
You have lost nothing here from previous versions of the platform.
On Fri, Jul 30,
Hello,
The following code runs as I expect it to.: (cntr is an int with the
whole class as it's scope)
System.out.println(before saveReading, cntr = +
Integer.toString(cntr));
saveReading(Integer.parseInt(etRead.getText().toString()));
System.out.println(after
Make sure you have the included files such as:
property file=local.properties/
Which should have:
sdk.dir=/path/to/sdk_root
property file=build.properties/
Which should have:
sdk-location=/path/to/sdk_root
and
property file=default.properties/
Which should have:
target=android-3 ##or whatever
On Fri, Jul 30, 2010 at 4:31 PM, john brown johnbrowngreybe...@gmail.comwrote:
What can I do to make the code with the yes/no confirmation run in the
sequence I am expecting, i.e. like the first LogCat output?
Print after in response to clicking the dialog buttons.
Thanks for the reply. I agree the API doc is very ambiguous.
On Jul 30, 12:39 am, William Ferguson william.ferguson...@gmail.com
wrote:
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
AlertDialog is not modal - the call to show() returns immediately, leaving
the dialog on the screen and button callbacks active.
This is the reason for the sequence change you're seeing.
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
31.07.2010 1:37 пользователь TreKing
Unfortunately no, still blocked/crippled.
On Jul 30, 11:03 pm, justSteve am.st...@gmail.com wrote:
I just like checking in every couple months to see if any movement on
this fundamental functionality has occurred.
Still interested in learning why this functionality is being blocked.
thx
--
Hello,
I have this test-code:
=
package somepackage;
import android.test.ActivityInstrumentationTestCase2;
import android.util.Log;
import com.kronos.mobile.android.Constants;
import com.kronos.mobile.android.ExceptionsSummaryActivity;
import
Hi all,
I'm implementing LVL...
I noticed that google recommends to not use devicelimiter,
but what are the meaning of licensing if you not use devicelimiter?
Probably I missunderstood something but without device limiter piracy
is easyer than before...
Suppose that I bought XXX software using
Behind the curtain, android uses permissions to asign you user groups
he belongs to (linux user and linux groups). So basically you are
asking if you can add user assigned to your application to certain
groups. Guess that's not possible as your process (meaning your user)
just doesn't have
Hi ,
I am trying to retrieve a XML document from web service. I am passing
a soap object with a token implementing the OAuth concept and
retrieving the data. But the data does not turn out to be in XML
format. It contains a curly braces in the place of start tag and
semicolons when it ends. Is
Yeah this is exactly what I thought too. Just because non-technical
people download task killers from the market doesn't mean that task
killers are necessary. In my opinion it is way more likely that the
explanation is that people are just very bad at shifting their way of
thinking from paradigm
Hi all, I have a ListView populated using a SimpleCursorAdapter that
has a ViewBinder, and I'm finding that when the ListView is displayed,
ViewBinder#setViewValue is called 3 times for each row of the cursor.
Once during onMeasure:
at au.com.xandar.contactsmanager.DisplayContactsActivity
On Fri, Jul 30, 2010 at 23:35, beacon indiantalkiedhi...@gmail.com wrote:
Hi ,
I am trying to retrieve a XML document from web service. I am passing
a soap object with a token implementing the OAuth concept and
retrieving the data. But the data does not turn out to be in XML
format. It
Thanks for your reply. But it is not similar to JSON. My sample data
looks something like this
anyType{ProductName=anyType{Text=Nadolol; Code=anyType{Value=11755;
CodingSystem=FDB_routed; }; Code=anyType{Value=20.55472;
CodingSystem=Google; }; Code=anyType{Value=7870; CodingSystem=FDB; };
Hi Mark,
Thanks for the Reply.
I might have not stated my question properly.
I have implemented another functionality for onListItemClick().
Each list item has a ImageView and i want the user to be able to
change this image by selecting from phone's gallery or by taking a
snap. So i have an
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 don't recognize what data format that is, but I would guess that
your code has an error or is not sending the right HTTP headers. What
client side code are you using?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Dave,
Thank you for your quick response. SoundPool is indeed the right way
to go
and I've got my SFX playing...pretty straight forward interface.
A small problem I'm having is that during playback I get a lot of:
W/AudioFlinger( 31): write blocked for 50 msecs
Also, although my (relative
I also use the EfficientAdapter BaseAdapter in my ListView. Is it not
possible for you to use the onItemClick handler, which provides the
list index (i.e., position), to implement your image change? (That's
what I do.)
On Jul 30, 6:45 pm, Hari mba.for.d...@gmail.com wrote:
Hi Mark,
Thanks
Hello Frank,
This is what I am doing on the client side
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
request.addProperty(token,WebPage.token);
SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.dotNet = true;
I can't give you code as I don't have any. I simply suggested how I
would approach the problem. Modify the existing code to, instead of
flipping to views, it hides and shows one. You will have to do the
coding work, sorry.
On Jul 30, 4:28 pm, Huynh Ngoc Vu Nguyen vunguye...@gmail.com wrote:
Hi Greg,
I gave a thought to that approach as well. I want the image selection
dialog to come up only when the user clicks on the image view.
With onItemClick handler, the dialog pops up when user clicks any
section of the list item. How do i make sure that the dialog pops up
only when the user
Partners,
Hope you are doing great,
I am currently looking for Blackberry Mobile Developer for an esteemed
direct client in WA and I wanted to contact you to see, if you have
someone available and comfortable with below mentioned role, if so,
please send me a copy of resume and the best way
Partners,
Hope you are doing great,
I am currently looking for iPhone Quality Assurance Tester for an
esteemed direct client in WA and I wanted to contact you to see, if
you have someone available and comfortable with below mentioned role,
if so, please send me a copy of resume and the best
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
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 if that works. Why nest ListViews? If your issue is
that you have multiple sources of data, stitch them
Most people aren't going to share their google account with someone
else just so they can get a $3 app for free. Who is realistically
going to give out access to:
A) Their email
C) Their credit card or payment method for Android market.
You lend your account to someone for a $3 app and suddenly
On Fri, Jul 30, 2010 at 5:59 PM, Eric F ericfrie...@gmail.com wrote:
an unprotected app. There's no stopping that. The point is with LVL
that normal people (probably 95%+) of the market don't have a rooted
phone.
Actually it doesn't matter whether they have a rooted phone. This is one of
Binder.getCallingUid() returns the uid of the calling who initiated the
current incoming call.
However more typically you'll use one of the flavors of these to just do a
permission check on the incoming call:
Oh yeah and actually this is the one most people use:
http://developer.android.com/reference/android/content/Context.html#enforceCallingPermission(java.lang.String,
java.lang.String)
On Fri, Jul 30, 2010 at 7:07 PM, Dianne Hackborn hack...@android.comwrote:
Binder.getCallingUid() returns the
AlertDialog is not modal - the call to show() returns immediately, leaving
the dialog on the screen and button callbacks active.
Does this mean that:
1) It is not possible for the AlertDialog to be made modal .
2) My implementation of the AlertDialog is not modal. Solve problem
with
I see. I thought I'm the only one...
Yes, I look at the log and so many memory leak error...
On Jul 30, 8:55 pm, Kaj Bjurman kaj.bjur...@gmail.com wrote:
It has unfortunately been like that for ages (if you are modifying
e.g. layout files). It doesn't happen if you only write code.
It looks
Thanks TrekKing, I'm also doing more reading to do it correctly.
I think it is because the UI don't got refresh immediately unless I
use threads or AsyncTask.
I will try doing AsyncTask method and feedback if I need help.
On Jul 30, 10:43 pm, TreKing treking...@gmail.com wrote:
On Fri, Jul 30,
One question, not sure whether it is related.
Since Android manage task and application automatically and terminate
if necessary why do we need application like Advance Task Killer?
Isn't it redundant? I understand why Android was design this way, to
help speed up application and extra memory if
No answers to his question? I also tried doing this with no success on
a Droid. I tried market://details?id=com.my.package and a
href='market://details?id=com.my.package'link/a
Links with http:// need no special markup, they just work. For
instance, including http://www.google.com in a text
Don't you guys think that BarCode reading should be part of a the SDK
itself,instead of everyone creating their own kind of
implementations???Thoughts?
On Mon, Jun 28, 2010 at 10:13 AM, Brad Gies rbg...@gmail.com wrote:
What's the problem you are having?
The Zxing barcode scanner returns the
I've got a partial solution to this. If you use
http://market.android.com/search?q=pname:com.my.package the url
works, but it does not automatically open with the market since other
applications, like the browser are also registered to handle http://
intents. Instead, the user has to know to
I have tested on the simulator motorola provides and on various
hardware (Droid, Nexus One, G1,wildfire) but can't reproduce anything.
Wondering if anyone else has had any issues.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
I had several reports of my main app malfunctioning on the Droid X, it
was supposed to be a problem with panning. I managed to get my hands
on a unit to test the issue and it turned out to be nothing. From my
tests, the Droid X responds exactly like the Droid, same screen size
(pixel dimensions
Hi,
I'm trying to learn AsyncTask and Thread but Thread first...
I am trying to display a Dialog before DoSomeTask() but seems like
the Dialog always come after DoSomeTask().
Did I do something wrong here?
Thanks.
--- code---
@Override
public void onClick(View v) {
// TODO
Sorry Mark, not sure what you mean.
I was using a nested ListView because for each instanve of the outer
list item there will be one or more instances of the inner.
In the example I am using the outer is Contact, and the inner is
RawContact.
When you say stitch them together at the adapter
Hello Mystique,
When this code starts the thread, it then goes straight back to
execute DoSomeTask() while the thread is running, and so most of the
time the dialog will be shown after DoSomeTask.
Maybe you meant to do something like this:
ProgressDialog dialog;
final Runnable
Actually, I meant to write runInUIThread instead of closeLoadingDialog
in the handler.post statement
On Sat, Jul 31, 2010 at 3:16 PM, paulb pbizan...@gmail.com wrote:
Hello Mystique,
When this code starts the thread, it then goes straight back to
execute DoSomeTask() while the thread is
Hi,
I have following android web site and install the necessary libraries
for building android under ubuntu.
But i am getting the following linker error. Can you please tell me
how can I resolve that?
host SharedLib: libneo_cs (out/host/linux-x86/obj/lib/libneo_cs.so)
host C: libneo_cgi =
101 - 187 of 187 matches
Mail list logo