Sorry, I was referring to the settings created using
PreferenceActivity screen using xml. Your actual preference values do
not help much in diagnosing the issue.
Example snippet from loading preferences from xml:
CheckBoxPreference android:key=pref1
Hi,
Has 3GPP PSS Release 6 been fully supported in cupcake? If not, which
version has been supported?
Thanks
Cai Jing
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
There is a list of pre-approved Views that are allowed through
RemoteViews, mostly for security reasons, and right now WebView isn't
one of those.
If push updates are really important, you could write the comet code
in a Service that pushes widget updates to the surface as needed. As
long as
Hi,
I would like to make some configuration changes to the apk, Does the
AndroidManifest.xml is a mandatory file required from the source
( since the AndroidManifest.xml in APK cannot be reused) to make the
changes to the apk using the aapt tool.
Br,
Vikram Dattu
jac:
I found this:android.media.MediaRecorder.AudioEncoder.AMR_NB
is this what you want?
tainy
On 4月22日, 上午4时53分, j jac...@gmail.com wrote:
I would like to use the new AudioRecord class to record in AMR-NB
format. But android.media.AudioFormat provides only 8-bit PCM and 16-
bit PCM
Hi,
Is there any way not to force to restart the service once the service
crash and is killed?
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Hi Thank you for read this Thread.
I want linked mynewviewClass with layout1.xml controls
But running Emulator app is broken i want all process in my new View
i don't like that.
setContentView(R.layout.layout1);
i want like this
newclass _listView = new newclass(context);
Hi,
I want to add some views in each row of list view.
When I add text view and image view in getView() of ArrayAdapter,it
works.But after I add other kind of views (like Check Box and Image
Button...),I can't select the list row touching down screen directly,
I only can select by key down, up
Hi Thank you for read this Thread.
I want linked mynewviewClass with layout1.xml controls
But running Emulator app is broken i want all process in my new View
i don't like that.
setContentView(R.layout.layout1);
i want like this
newclass _listView = new newclass(context);
Dears,
How can i get the status whether the phone call is talking or not
BRS
--~--~-~--~~~---~--~~
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 want to add audio file to my content provider,
but there are always having FileNotFoundException when reading the
file uri
My sample as below. please tell me if you have any suggestion,
thanks!
//set uri
String path = getVoicePath(); // voice file path
Uri voiceUri =
Hi,
On Apr 21, 9:38 pm, pawpaw17 georgefraz...@yahoo.com wrote:
Hi,
I was thinking of using just coarse grained location control for a
location app I'm working
on. My thinking was that this service would always be available --
as opposed to GPS.
Well, I think that in the new firmware (as
This code is good. But can I put it to AndroidManifest.xml? In case
the receiver has not run, I think AndroidManifest.xml is the way to
register the receiver class.
Thanks, Kenny
On Apr 2, 10:19 pm, Henning Schaefer henning.schae...@gmail.com
wrote:
Sure... you need to implement two classes.
I have a SMSReceiver (extends BroadcastReceiver) and listens to
android.provider.Telephony.SMS_RECEIVED.
When I send emulator a sms from DDMB, I get this exception:
04-22 01:17:05.661: ERROR/MediaPlayerService(542): Couldn't open fd
for content://settings/system/notification_sound
04-22
No, but you can call stopService() at any time to tell the system you don't
want it running any more. Well, if it is running because a client has bound
to it and asked this to have it run, then it will be restarted until all
such clients have unbound.
On Wed, Apr 22, 2009 at 12:45 AM, Eckel
Hi Dave:
for audio streaming, only MPEG-4(AAC LC/LTP decoding) is supported,
right?
what about video streaming? I found no place saying that is not
supported, but someone said video streaming is not available by now.
and if it will be supported, what format will be ok for streaming?
thanks!
A few weeks ago I was really fighting with Android’s logcat debugging
stream. It dumps out tons of useful information, but it's easy to get
lost in the flood of text.
So I whipped up a quick Python script that reformats the logcat output
into a colorful stream that is much easier to visually
Hi, Dianne
Thanks your reply. But to how to handle this case. I write a task
manager app to manager current running apps on the phone. When I try
to direclty kill the music apps process with service playback on
background, every time after a while the music service will restart.
This is very
In the sample code of android developer
http://developer.android.com/reference/android/content/ContentProvider.html
When query the content provider, the cursor in query () call
setNotificationUri(getContext().getContentResolver(), uri).
But the query is a read-data action, it doesn't need to
Hi,
I am working on openGles with seven images displayed on the screen. I
am translating the position of these seven images on a button click so
it is drawing every time it seems.
But, after sometime all the images are getting disappeared then I've
checked in the logcat
I found this
Pintail: an application with a UI so simple nothing could go wrong with the
move to 1.5... er... not quite.
It has a single EditText view defined as follows (layout attrs elided):
EditText
android:id=@+id/pin
android:digits=0123456789
android:password=true
android:singleLine=true
Hi all,
Now i have a MapView instance in MapActivity and I want to capture a
touch event. So when people touch on map, i want to display longitude
and latitude.
But when i touch on this, my program doesn't work.
Here is my code and please show me where is my error.
Thanks in advance,
Videoguy wrote:
Hi
I have tabbed interface based activity. 2 of the tabs invoke
activities in my application.
I am wondering whether it is possible to embed one of the standard
Android activities (say recent calls tab of Dialer application) in my
tab.
You can only embed your own
We are doing some research using android handset , G1 and i don not
find any clear information in order to manage the connection, as i
note all classes allow us for only accessing the information about a
connection,
i would like to ask if there is really such solution already
avaliable in
Any idea?? I've seen that everythig goes right when you define your
layout inside the tab container XML and you manage all the tabs within
the TabActivity. But its really confusing when you throw intents
instead. I also have some issues with the menu that each tab is
showing up
On 21 abr,
Hi All,
I am facing a problem while loading .so libs from my App.
Here is the story:
I have two native libs say *abc.so* and *xyz.so*.
I have written a JNI component (say *jni.so*) which is calling APIs from
abc.so and xyz.so.
Now from the application (Java) when I do
Hi to all
I updated android sdk 1.5 version... I created a new
android project using ant.. But when
i compile i got taskdef class com.android.ant.SetupTask cannot be
found... Can any one help me
to resolve this error
Thank You
Nithin N V
Rain wrote:
How can i get the status whether the phone call is talking or not
Use TelephonyManager and PhoneStateListener.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training: http://commonsware.com/training.html
Hi,
yesterday I bitched about all the issues I have with the kXML
parser.
(http://groups.google.com/group/android-developers/browse_thread/thread/db2c614556cd9fa7/)
So now I converted my code to use DOM. And I tried the third example
from my referenced mail and it gives me an exception
I just had to create a new object like
LinearInterpolator linint = new LinearInterpolator();
myanimation.setInterpolator(linint)
On Apr 9, 7:33 pm, quakeboy prasna...@gmail.com wrote:
When ever I try to animate a view using a simple xml based animation,
it seems to have default interpolator
Thnx for replying SOB..
I found I was using all Animation objects like that and I changed it.
Later, still I found it was crashing at one particular line.. It might
be helpful for developers so here it is..
==BEFORE===
I set a different background at runtime.. like this..
More research showed that the last image supplied through preview when
capture is occurring is a reduced-size version of the still image.
This has a different field of view from the preview image, but it is
possible to compensate by adjusting the position of the viewfinder at
that point. I
If your example is the entire XML you try to parse, then the exception
is valid.
Here is the snippet i tried:
category term=user/xyz/state/com.google/reading-list scheme=http://
www.google.com/reader/ label=reading-list/
category term=user/xyz/state/com.google/fresh scheme=http://
Hi Dianne,
Please respond.
On Apr 21, 6:27 pm, Ask asifk1...@gmail.com wrote:
executing code from the SD card is a security hole for your app, no
matter how short a time you have the code there.
now I am successful in writing file in the /data/app-private/ dir
rather than /sdcard. So
Ask wrote:
Hi Dianne,
Please respond.
If you want to demand people answer your questions, hire a consultant,
and make your demands to the consultant.
My aim is to send the .apk files dynamically from the desktop
using socket communication and execute one method in this .apk at
On Wed, Apr 22, 2009 at 2:48 AM, aby orz0...@gmail.com wrote:
In the sample code of android developer
http://developer.android.com/reference/android/content/ContentProvider.html
When query the content provider, the cursor in query () call
Ok, understood. But i can't change now the way i manage those tabs. I
will consider your solution in future apps.
I think that the main reason to use Intents instead of views is that
some views can be hard to manage and the final TabActivity can be
really heavy to load and really ugly to read
Got your e-mail.
It's valid XML.
However, there are tons of Chinese characters in the e-mail. But this
should not be a problem.
Could you check if your encoding is correctly set to UTF-8?
On Apr 22, 9:55 am, Mariano Kamp mariano.k...@gmail.com wrote:
Hey,
thanks for showing an interest!
Yes, UTF-8 (or ISO-8859-1).
But the parser explicitly crashs at the part with ]] ;-(
And as seen in the other mail, with the standard SDK this doesn't happen.
On Wed, Apr 22, 2009 at 4:40 PM, Streets Of Boston
flyingdutc...@gmail.com wrote:
Got your e-mail.
It's valid XML.
However, there
I tried that meanwhile ;-) and it works. But this is the stream that comes
directly from the Google Reader service and the standard SDK works with it.
But that means parsing each line ... or writing my own decorator to clean it
up, wouldn't it.
static Document parseXMLfromInputStream(InputStream
I'm tripping over bugs thick and fast at the moment, I must be doing more
work.
This one looks like such a fundamental bug that either my understanding is
completely erroneous, or its possible that no-one has ever written a
ContentProvider that calls setNotificationUri(). The latter is
AnuR wrote:
Hi, I have a login oage which i hve to post with soem user details
like user name , passwords, and some hidden values. i need to submit
the response page aftr login (its an I agree) to make an API request .
I want to do all thse things through code which needs to consider evry
hi,
can we use a browser object to load and hold the contents in a browser
and to post the values to work exactly like a browser so that i can
use where i dont wnt to display a browser but i need to load a url and
to post the page with cookies, headers.
I m thinking of this way because what i
Hi, I have a login oage which i hve to post with soem user details
like user name , passwords, and some hidden values. i need to submit
the response page aftr login (its an I agree) to make an API request .
I want to do all thse things through code which needs to consider evry
aspcts as we are
If I create a content provider to service a live folder, and if this
content provider is just a wrapper aggregating other content
providers, how does the live folder know if the real content has
changed somewhere down the line.
For example, I have a live folder that has items pointing to video,
It's not deprecated, it's a bug in the droiddoc tool - deprecating a
class marks all its subclasses as deprecated too, which doesn't make
sense. I fixed this bug in the public tree some months ago, but it
appears the fix did not propagate to Googles internal tree.
Ignore it. WebView is not
can we use a browser object to load and hold the contents in a browser
and to post the values to work exactly like a browser
WebView doesn't have to be visible to work, however, I don't think
there's an API to poke a web form and then submit it from Java, only
users can do that.
But, there's
Android running on Classmate PC
http://kronox.org/?p=31
--~--~-~--~~~---~--~~
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
Hello,
I recently (April 16th) purchased an Android developer account with the
intention of also purchasing an Android Dev Phone. When I attempted to
purchase the dev phone, the Google Checkout had some sort of error and I
was bounced back to my developer home page. Now, my account says I have
So... will it work with a non atom.?
--~--~-~--~~~---~--~~
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,
Hi guys,
I seem to be having a similar problem when i add proximity alerts via
the location manager. It seems only the pending intent for the last
alert i enter into the location manager is 'saved'. I've been trying
to make the intents 'unique' but what ever i try stops the proximity
alert
Hi everybody,
I got a question about the Android ApiDemos-Graphics-FingerPaint
demo. By using finger touch the screen, I can draw lines, of course, i
can use the lines to make up of letters, english or chinese or
japanese. Now I wonder if I can get the bounds of what I have drawn.
For example,
hi,
I have setup proxy in the emulator , and the browser can access
external website. but in my app, the http connection app can not
access external website like google.com, I got Unknownhost error
And I have used -dns-server option in eclipse emulator launch options.
can you help pls?
Thanks
Dear fellow developers,
during the past few months I have been developing applications on
Android and now I have stumbled upon a problem I am not able to solve.
Currently I am working on an own widget using my own subclass of
SurfaceView. Everything works pretty similiar to the official
Hi APT/MMF,
I have a similar need and i could make it work.
abc.so and jni.so in my case.
during the android build of jni.so i gave the abc.so as depended
shared libray in the Android.mk of jni.
And in Java application i loaded the jni.so and it is working.
I wish this would help u too
Hello Guys,
I am new to android developement (linux inetrnals in general).
Can anyone plese let me know what are the steps i need to follow to
boot android out of NAND flash.
I have been able to boot from the kernel(with the android patch) on a
IMX31 board. I run
exec -c noinitrd
Hi,
If I have the following code:
try
{
Socket mySocket = new Socket(a.b.c.d, 5000);
}
catch (UnknownHostException ex)
{
ex.printStackTrace();
}
catch (ConnectException ex)
{
ex.printStackTrace();
}
catch(IOException ex)
{
ex.printStackTrace();
}
I'm trying
Hello , everybody!
I want to make my own Seek Bar. When I try to override
onProgressRefresh method,
Eclipse give me an error: the method onProgressRefresh is undefined
for the type SeekBar.
I cheked listing SeekBar.java and this method is in. Any ideas why
this happend?
Thanks in advance.
Hello,
I want to take the captured image returned by the camera when I take a
photo.
So I have call the camera application as Ondra did it.
The problem is : I don't know what I have to put in the
onActivityResult method to take the captured image.
Moreover I want to take the path from the sdcard
It seems the download server is occupied/busy and resets the
connections quite often.
I recommend downloading the file using a program that can resume
downloads.
On 17 Apr, 07:07, Mathieu Plourde mat.plou...@gmail.com wrote:
I'm using Win XP and I'm trying to install ADT 0.9 for Eclipse (In
Hi,
I'm trying to call up the contact list via an intent. I have it set up
like this:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(content://
contacts/)));
but it always throws activitynotfound. is there another way i could
call it? i thought this was all i needed.
i feel like i'm
I'm on Eclipse Version: 3.4.2, Build id: M20090211-1700
I've made sure that I have uninstalled all traces of 0.8 (as far as I
can see), and I've re-installed 0.9 using the steps above and yet I
still get the error:
Plug-in com.android.ide.eclipse.adt was unable to load class
Seems like android.app.KeyguardManager.KeyguardLock
should do this. lock.reenableKeyguard() to lock and
lock.disableKeyguard() to unlock.
The only issue is that calling reenableKeyguard() on the the locked
phone may
put it in the wrong state (vice versa for disabling). Could be an API
bug ...
Task manager type apps aren't (in theory) needed or appropriate on
Android. That's why you're having problems.
The system will automatically restart services that crash, because it
believes some app depends on them. Why would your app know better? If
some activity is connected to a service,
lggaleon wrote:
Hello , everybody!
I want to make my own Seek Bar. When I try to override
onProgressRefresh method,
Eclipse give me an error: the method onProgressRefresh is undefined
for the type SeekBar.
I cheked listing SeekBar.java and this method is in. Any ideas why
this
loudtiger wrote:
I'm trying to call up the contact list via an intent. I have it set up
like this:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(content://
contacts/)));
Try Contacts.People.CONTENT_URI instead of
Uri.parse(content://contacts/)). There is nothing in Android that
I know that the MatrixCursor and SQLiteCursor classes work across
processes, but has anyone tried implementing a cross-process cursor
based directly on AbstractWindowedCursor?
The situation is that I'm working on an app with pluggable import/
export functions for its database, using a content
He means the w3c Wrt spec web widgets
And per the Android Engineers that the changes needed to be made to
WebView and etc to make that happen are into the future not now..
However, in SDK 1.5 there are some web changes that are interesting.
No longer need to do too much html/xml processing to
I am looking for any information on the Android Kill switch ?
Is this a application ? is it a service ? is it part of Cupcake ?
What
is the path in the source code for kill switch ?
Please help
--~--~-~--~~~---~--~~
You received this message because you are
That's a relief - thanks!
Do you know anything about changes in webView for 1.5 which might
explain the non-appearance of the content ?
Thanks,
Richard
On Apr 22, 5:13 pm, Mike Hearn mh.in.engl...@gmail.com wrote:
It's not deprecated, it's a bug in the droiddoc tool - deprecating a
class
Hi,
Qype app is visible through android market website, but I cannot find
it on my Dev1. I wonder why is this happennig... Any clues?
thanks
---
salva maine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
There were some posts about this issue regarding linux and a messed up
host file or windows and permission problems on the host file.
Both wasn't the case for me, but since yesterday I had this problem,
too (which is odd, because it worked quite a long time, maybe related
to a java autoupade).
Simple question, I did a cursory search on the dev guide and didn't
get any obvious hits, although maybe I missed it (there's something
about JDK versions, but they don't correlate to 1.5 or 1.6, they are
more like 5 or 6 if you get my meaning). I would like to use Java 1.6
for some things. In
Hi,If you have an intent like
Intent i = new Intent(YourActivity.this, YourBroadcastReceiver.class);
Make it unique by:
i.setData((Uri.parse(custom://+SystemClock.elapsedRealtime(;
-Rob
On Wed, Apr 22, 2009 at 12:04 PM, Fuzzmonkey she...@gmail.com wrote:
Hi guys,
I seem to be having
No you can't 'use' JDK1.6
When setting up eclipse, for example, you don't link your Android
projects to any JRE. You link it to the Android SDK. If i'm not
mistaken, the Android SDK adhers to the Java 1.5 language spec. But
for the available packages, apis, etc, Android bundles all the java.*,
Depending on what I do in my application, I might want to force an
update on my widget. I've have had a poke around and can't seem to
find any API for doing a manual update. At the moment, I have a
function that sends a broadcast and my onReceive does this:
@Override
public void
Yes, you can push updates to your widgets any time by obtaining an
AppWidgetManager.
Jeff Sharkey posted an example that performs an update within a Service. It
includes this code that might help.
// Push update for this widget to the home screen
ComponentName thisWidget
Try copying the original bitmap, creating a canvas over the copy, setting a
circular clip path on it, then drawing the original bitmap with the color
matrix you've defined into the canvas. That should work.
Tom.
2009/4/22 Gaurav gau...@silkenmermaid.com
Just to explain my problem a little
In Jeff's example, the service is started from his onUpdate method,
which is called by AppWidgetProvider. This is different from what I'd
like to do, I'd like to push an update to the widget from inside my
activity, but with the correct int[] values.
On Apr 22, 7:16 pm, Tom Gibara
That's true, but notice that his service has no dependency on the class
implementing the onUpdate method, in principal anything in the application
could invoke that service. You'll find the app widget ids available via the
getAppWidgetIds() on AppWidgetManager.
Tom.
2009/4/22 Al
Thank you for your response. I'm using the settings the following
way.
http://paste.pocoo.org/show/kFnfBNWMlsWLS0TWuzlO/
I'm saving only Strings that can get the following values:
- content://media/internal/audio/media/33
- 100,200,300
In addtion I'm having int values and boolean ones.
The
Tom, thanks a lot. This works if I want to selectively turn a circular
region Black and White. Can you also suggest what to do if I want to
turn only a stroked path (Just like the finger paint sample) to Black
White.
-Gaurav
Can you also suggest what can I do if I want to
On Apr 22, 11:26 pm,
we've identified the problem, and it will be fixed for the final release.
In the meantime you can use the wizard from:
- the toolbar has 2 shortcuts to the New Project and New Xml File wizards.
- right click on a project should have direct links to create a new
project or a new XML file as well.
I know that in a content provider query method one can indicate to
the cursor a notify uri. The cursor knows what this uri is. Does the
cursor uses this uri to update itself? Does it result in a call to
query method of the contentprovider for a query. How does the cursor
know what the additional
Here's a bit of code that I wrote that scales nicely (and provides
correct summaries).
public class SettingsActivity extends PreferenceActivity implements
OnSharedPreferenceChangeListener {
private static final String tag = SettingsActivity;
private SharedPreferences
Hi, you've cross-posted this to three groups, all for which the discussion
is not really relevant. I would recommend posting to just android-ndk, for
people wanting to use native code in applications when it is supported at
some point in the future.
On Wed, Apr 22, 2009 at 4:38 AM, MMF
Looks like it is the responsibility of the cursor to do this and
remember the where clauses. So it won't go back to the content
provider for retrieving data.
That makes me wonder what happens to such things as MatrixCursor that
doesn't seem to have a specific requery semantics.
On Wed, Apr 22,
Hi,
Is it possible to get listed the apps or activity which are actually
displayed on the screen of the android mobile.
I need to display a text box on some event when no
acitivity is displayed, excepting the home screen.
Please help me!
Cheers
Durga.
tainy, I am aware of that. The problem is MediaRecorder will only
write to a file. Only AudioRecord can write to memory.
On Apr 22, 12:30 am, tainy tainy.zh...@gmail.com wrote:
jac:
I found this:android.media.MediaRecorder.AudioEncoder.AMR_NB
is this what you want?
tainy
On 4月22日,
I hope you aren't writing constants into real code like that. :}
For changing the extras -- you need to use cancel, and this will result in a
new PendingIntent that you need to send to the notification manager. As of
cupcake you can alternatively use the new FLAG_UPDATE_CURRENT.
On Thu, Mar 26,
Also you shouldn't be able to kill other processes, at all. I would like to
know how you are doing this so that we can close that hole. :)
And in cupcake, there is a new Force Stop option in manage applications,
which does what is needed to make sure as much as possible that a process is
There is probably a bug in the system. You really shouldn't be using
SurfaceView like this -- it is basically an overlay positioned in your
window, and so has significant limitation in how it can be composited with
the window and has a lot of overhead for using it to just implement a
widget.
On
Sorry, I misunderstood. You could try stroking the path but set a
BitmapShader first (using a copy of the bitmap) combined with your
ColorMatrixColorFilter(). You might have problems with alignment though.
One heavyweight solution (I can't think of any lightweight ones to be
honest) would be to
That is not what those APIs are for, they are for temporarily hiding the key
lock so that things like the in-call screen can be shown.
Replacing the lock screen as a third party app is just not supported right
now, sorry; you'll need to modify the platform to do a decent
implementation, I think.
Jeff,
Thanks for the reply.
But is there any security implications of allowing a WebView as a
RemoteViews in a widget? Webkit browser is running as a sandbox with
a security model in place so I can't think of potential security
issues by allowing a WebView in a widget.
On Apr 21, 11:45 pm,
Just modify the code to keep track of the bounds.
On Wed, Apr 22, 2009 at 1:19 AM, zhangxiyuan zhangzho...@gmail.com wrote:
Hi everybody,
I got a question about the Android ApiDemos-Graphics-FingerPaint
demo. By using finger touch the screen, I can draw lines, of course, i
can use the
Is the same thing as anything else showing a cursor -- it looks for data
change callbacks that are generated by the content provider when its data
changes.
On Wed, Apr 22, 2009 at 8:21 AM, Satya Komatineni
satya.komatin...@gmail.com wrote:
If I create a content provider to service a live
Hi all,
Just to let you know that we've implemented an unzip application that
workaround Android/Java limitations in java.util.zip package for
entries with non-ascii characters.
http://www.lysesoft.com/products/andexplorer/index.html
DK.
--~--~-~--~~~---~--~~
Hi Dianne,I thought that the goal was to create unique pendingIntents...
i.e. don't cancel or change the currently pending one.
For me, changing the extras didn't work - doing the setData() with the
random value made the intent 'unique' in the eyes of the notification
manager...i wanted the
Setting the data uniquely in this way is a bit ugly - and what if you post
two intents within the granularity of the clock?
I use unique request codes. I can't claim that this is the intended use for
them (the documentation is a bit sparse) but it seems to work well.
Tom.
2009/4/22 Rob Franz
1 - 100 of 159 matches
Mail list logo