Hi all,
For some reason I need to add a new public method in Canvas.java just as
bellow:
/**
*
*/
public Bitmap getBitmap() {
if (mBitmap != null) {
return mBitmap;
} else {
return null;
}
}
After that I make update-api, then
Do not add new public APIs this way. This is fine if you want to
contribute changes to the Android Open Source Project (and if they are
accepted of course) but if it's for your own version of the platform,
you should just make the method public and use the @hide javadoc tag
so that you don't need
I'm write some code using iptables's LOG target. It said I can find
these log in system log, and I do find them in dmesg. My question
is: is there a convenient way to access these log? Or every time I
should exec the dmesg command and roll to the end of the buffer to get
the last log line.
Any
The new update fixes a slew of issues: parallax is working,
rendering issues on G1 phones, and handles menus and sprites
correctly. The touch event handler has been updated to use a singleton
class with delegates. Thanks to Andrey who pointed out a couple of
issues with rendering on his phone and
increase your devices's hardware configuration, something of the order
greater than system image, try 512MB (when you create the emulator
instance using AVD)
On Jan 25, 9:27 am, prachi prachi.tya...@wipro.com wrote:
Hi all
I have updated my android sdk to 2.1 version and was trying to build
When I navigate away from my application - I don't have an activities
open - and my background service has been shut down (validated that
service's onDestroy method was called). However my process seems to
hand around and the system never seems to get around to killing my
process.
Is there any
Hi,
I have added this line in my androidManifest.xml
uses-permission android:name=android.permission.INJECT_EVENT/
I am trying to execute following code,
long downTime = SystemClock.uptimeMillis();
long eventTime = SystemClock.uptimeMillis();
for some reason the append caused this issue.
replacing it with setText() solved the issue.
On Jan 24, 6:00 pm, Rimma Sukhovsky drim...@gmail.com wrote:
I have a listView which contains TextViews. I append to it several
strings, and some of them are linkified.
SpannableString
Hi,
How to upgrade OS in Google I/O Device to Android 2.1.
Please let me know if you have any reference. I will read and do it.
Thanks,
Ravindra
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi Ani,
I am working on 1.5 (CupCake) and have tried to use the setRouting method,
however the audio still appears to be coming out of the speaker.
I also have an eclair device and the audio is coming out of the speaker on
that device too.
I have tried using the Audiomanager and the
Hi Romain,
thanks for ur replay. I totally agree with you that the @hide will be the
better way. But I don't think the @hide really solve my question. I guess I
don't make it quite clear.
The scenario is :
1. I have my eclipse and sdk installed on my PC (windows xp)
2. The android source tree
You have to build a new SDK to use new public APIs, but again that's
not what you should be doing.
On Mon, Jan 25, 2010 at 1:22 AM, sheng wang banxia...@gmail.com wrote:
Hi Romain,
thanks for ur replay. I totally agree with you that the @hide will be the
better way. But I don't think the @hide
Hi WoodManEXP,
It turned out in the end I just hadn't binded the service properly to the
activity
Like this:
Intent i = new Intent();
i.setClassName(team.org, team.org.WIFIService);
bindService(i, this, Context.BIND_AUTO_CREATE);
On Sun, Jan 24, 2010 at 10:51 PM, WoodManEXP
Hi,
xdpi and ydpi are currently returning 96 on a Motodola Droid device.
screenDPI returns a stepped value of 240, which still isn't the
correct value. This issue was also present much earlier (pre-cupcake)
-
http://groups.google.com/group/android-developers/browse_thread/thread/72ad6ba7683a6b80
This is a known bug. Although screenDPI=240 is the correct value (it's
not the real density of the display, but the density used by the OS
for that screen.)
On Mon, Jan 25, 2010 at 1:37 AM, Ashutosh Sharma ashusha...@gmail.com wrote:
Hi,
xdpi and ydpi are currently returning 96 on a Motodola
thanks
On Jan 25, 11:32 am, Breezy mbre...@gmail.com wrote:
Got it figured out... The word I was missing in the search was
intent. After seeing that word around more and more I used that and
came across this...
http://groups.google.com/group/android-developers/browse_thread/threa...
Is it then true that the OS works only in the stepped values of 120,
160 and 240?
Also, any idea if xdpi and ydpi would be fixed anytime soon? Or if
some APIs would allow us to query the physical dimensions of the
screen?
Thanks,
Ashutosh
On Jan 25, 2:39 pm, Romain Guy romain...@android.com
Is it then true that the OS works only in the stepped values of 120,
160 and 240?
Yes indeed.
Also, any idea if xdpi and ydpi would be fixed anytime soon? Or if
some APIs would allow us to query the physical dimensions of the
screen?
In a future version of Android. Note that this issue is
This is really an incredible effort. Is there any application on android
market that is using this engine? Thanks
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
On Mon, Jan 25, 2010 at 1:44 PM, Philip philip.dese...@gmail.com wrote:
The new update fixes a slew of issues:
Then whats for the class
HttpServerConnection is there in the sdk ?
regards
On Jan 24, 3:52 pm, Jags jag...@gmail.com wrote:
i see, it is apache, can we use it freely for commerical apps ?
if i want to deploy an app of my choice, i will have to write a
servelet and publish in jetty server,
Thanks. I just verified that xdpi and ydpi return 254 on a Nexus One
device.
Ashutosh
On Jan 25, 3:01 pm, Romain Guy romain...@android.com wrote:
Is it then true that the OS works only in the stepped values of 120,
160 and 240?
Yes indeed.
Also, any idea if xdpi and ydpi would be
Hi Kumar,
The file has just been downloaded. i doubt if it would be present in
MediaStore. Any other alternate solution.??
On Mon, Jan 25, 2010 at 12:02 PM, Kumar Bibek coomar@gmail.com wrote:
You can query the MediaStore content provider to get the details. In
the Android docs, search
In Eclipse go to the DDMS perspective and you'll see a panel with all
the emulator options in it. You can make calls, send/receive SMS's and
set the GPS location.
On Mon, Jan 25, 2010 at 6:26 AM, Kumar Bibek coomar@gmail.com wrote:
Hey,
Of course it can make calls, to other emulators, and
Hi,
what's the name of default browser in android?..
for iphone safari... for android ?..
--
Thanks Regards
Sasikumar.S
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello,
I have a table with a number of rows excedding beyond the screen size,
so I'll have to implement scrolling for them. But my problem is that I
don't have to use ScrollView Or HorizontalScrollView for this purpose.
I want to programmatically scroll the table both vertically and
horizontally.
Injecting events to other applications/activities is not allowed.
On Jan 25, 9:57 am, swapnil kamble swap.kam...@gmail.com wrote:
Hi,
I have added this line in my androidManifest.xml
uses-permission android:name=android.permission.INJECT_EVENT/
I am trying to execute following code,
I am not injecting events in other application. I want to do that when my
activity is running .
On Mon, Jan 25, 2010 at 4:51 PM, moneytoo m...@seznam.cz wrote:
Injecting events to other applications/activities is not allowed.
On Jan 25, 9:57 am, swapnil kamble swap.kam...@gmail.com wrote:
Just to update you a bit
this code works in 1.5 :
audio_service.setSpeakerphoneOn(false);
audio_service.setMode(AudioManager.MODE_IN_CALL);
audio_service.setRouting(AudioManager.MODE_NORMAL,
AudioManager.ROUTE_EARPIECE,
AudioManager.ROUTE_ALL);
I don't think it has a name except for Browser. The engine it uses
is WebKit, the same as the iPhone, Safari and Chrome.
If you mean what does the browser report itself as you could look at
the user agent string which it reports itself as:
HTC-P4600/1.2 Mozilla/4.0 (compatible; MSIE 6.0; Windows
I'm using RoboGuice, for a few days now, and so far I like it. Does
anyone else use RoboGuice?
http://code.google.com/p/roboguice/
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Thank U...
On Mon, Jan 25, 2010 at 5:32 PM, Matt Oakes m...@matto1990.com wrote:
I don't think it has a name except for Browser. The engine it uses
is WebKit, the same as the iPhone, Safari and Chrome.
If you mean what does the browser report itself as you could look at
the user agent
As per the subject. It doesn't seem to generate any callbacks to
onKeyUp()/onKeyDown().
Cheers
James
--
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
After turning off copy protection and losing db and local files, are
there any way to restore them?
Regards,
Per Sandström
On Jan 15, 6:10 am, Kumar Bibek coomar@gmail.com wrote:
Hi Andrei,
If you don't care about dev phones downloading your app, and ripping
apart your db and local
Its generally referred as Chrome Lite. But its not the official
name.
check the link :-
http://blogs.zdnet.com/Burnette/?p=662
http://www.androidcentral.com/tags/chrome-lite
Thanks
AJ
On Jan 25, 5:20 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Thank U...
On Mon, Jan 25, 2010 at
Hi
I have developed an application my pc as server and android as client.
I am successfully run it.
Now i have opened two emulators and i made necessary redirection to
communicate those two emulators.
my emulators port are 5554 and 5556
Now my question is i want to run server on 5554 and client on
Hi Donal,
Thanks for showing this. I wound up using a similar technique by setting a
BroadcastReceiver on both the Activity and the Service and then using
sendBroadcast to send Intents back and forth between them. But the two are
otherwise not explicitly bound.
I want the Service to remain
Run your server on some VM.. I did that only
On Mon, Jan 25, 2010 at 7:22 PM, saikiran n saikiran@gmail.com wrote:
Hi
I have developed an application my pc as server and android as client.
I am successfully run it.
Now i have opened two emulators and i made necessary redirection to
Hi,
is there any way to control the amount that the activity-window gets
scrolled up when the virtual keyboard gets displayed? The default
(when panning is enabled for that Activity in the Manifest) is to pan
exactly that far so that the user can still see the EditText or
whatever the user wants
Hi there,
I am having a problem about repeating Login dialog (an AlertDialog)
and progress dialog, coordinating with http thread. I suppose
repetitive Login dialog (if fail, continue) handling should be common
and straightforward. I guess my approach must be wrong somewhere. I
already spent 2
As I understand it Android takes the country from the SIM-card to
publish the localized version of the market (ie. not showing paid apps
in many countries).
I have a x-days trial version of my app but of course I dont want it
to expire in countries where paid apps are not yet supported.
I guess I
See the documentation at
http://developer.android.com/guide/developing/tools/emulator.html#connecting
On Mon, Jan 25, 2010 at 5:52 AM, saikiran n saikiran@gmail.com wrote:
Hi
I have developed an application my pc as server and android as client.
I am successfully run it.
Now i have
I haven't read your code-snippet, but here is how i would do it:
When the user wants to login, do a showDialog(idDialogLogin),
containing the username/password fields Login/Cancel buttons.
When Login is pressed, dismiss the dialog and start a progress-dialog
and the actual logging in. Handle
We can set the pixel values in custom views by multiplying them with
this.getResources().getDisplayMetrics().density;
This is ok when the screen aspect ratio is normal means not long
But how can we set the pixels along Y-axis when the aspect ration is long.
--
Best Regards,
Atif Gulzar
I
Any feedback on this friends ?
On Sun, Jan 24, 2010 at 11:11 AM, Android Development
indodr...@gmail.comwrote:
Hello,
Problem Statement:
--
I wish to achieve the following:
1. Create a GPRS connection from my application and get the assigned IP
address.
2.
Good question,I am interested in this too.
On Jan 18, 10:53 am, Narseo Vallina nar...@gmail.com wrote:
Hi, all
I'm trying to obtain the battery temperature, the batteryvoltageand
the battery current. The return value of the code (see below) forvoltageand
batteryTemperature is always 0 while
The Busy Coder's Guide to Android Development
Just got one myself.
On Sun, Jan 24, 2010 at 11:02 PM, Kevin Duffey andjar...@gmail.com wrote:
The Java book is good.. Oriely has some great books as well for learning
Java. Perhaps the best resource I've found on Android.. I keep plugging
this so
That's the one. Thanks Temitope
On Mon, Jan 25, 2010 at 7:47 AM, Temitope Akinwande takinwa...@gmail.comwrote:
The Busy Coder's Guide to Android Development
Just got one myself.
On Sun, Jan 24, 2010 at 11:02 PM, Kevin Duffey andjar...@gmail.com
wrote:
The Java book is good.. Oriely has
i am trying to catch the physical button events on a motorola ht820
bluetooth headset and it i cannot seem to trap those events.
the media player on the device *is* able to catch those events.
based, on what I've read and googled for, it seems like this should do
the trick --
Hi,
I'm not sure where to ask this. So, here it goes :)
Does google send a 1099 to holder of a Google CheckOut account for the
Android Market.
If not, how can we know what Google has reported to the IRS?
Thanks!
--
You received this message because you are subscribed to the Google
Groups
I am a Masters student at SFU and I am interested in improving power
usage efficiency of mobile devices. Is there any way to adjust the
clock speed of the CPU dynamically?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I have an app that includes this code blurb:
System.loadLibrary(foo_jni);
Where the functionality in foo_jni is in the OSP under external/foo
However, there is no uses-library tag in my app's AndroidManifest.xml
I suspect that some crashes reported from the field is from phones
that lack this
Just an update for those of you still lost on adding custom accounts,
sync adapters, etc. I found a great article here:
http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/
http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-2/
Part 2 was the part I needed (how
I need a reference to an introduction to Android unit testing for a
coworker, but the SDK docs don't seem to provide an introduction. I
myself used the apidemos and the api docs, but I was wondering if
there's a concise intro to Android unit testing?
--
You received this message because you are
Hi all,
I develope an application about Contacts Provider. It includes many
database operations.
But there is a problem about sqlite exception. I have the following
information exits in the log file.
I am confused. Is it normal behavior?
Thanks.
01-14 21:02:48.692 I/dalvikvm( 1923): Uncaught
It is not the normal behavior. Read the log, it tells you that you did
not close one of your Cursors. Make sure you close them in your
Activity's onDestroy() at the very least.
On Mon, Jan 25, 2010 at 9:15 AM, Vic kvic2...@gmail.com wrote:
Hi all,
I develope an application about Contacts
ASFAIK Android manifest uses-library and java.lang.System.loadLibrary
() are not related. Manifest uses-library references a pre-
installed Java jar (hence that Java package name) that the application
uses. System.loadLibrary loads a native (usally written in C) shared
library (e.g., a dll on
Hello All,
I am facing an Out Of Memory Exception while playing with the
application for sometime.
I looked in to HeapDump using MAT, and also monitored the heap through
DDMS. But HeapDump looks good to me and DDMS heap size is well in
limit. Still I am getting this Exception.
This morning when
You cannot un-install/remove the apps which are preinstalled. If you just
restart the device - you start see the default SMS app.
Assuming you re-imaged - you should still be able to see and download the
3rd party app.
-Dan
On Mon, Jan 25, 2010 at 5:32 AM, Mohan vmkrish...@gmail.com wrote:
Hi
You can disable notifications from the android sms app in settings.
On Mon, Jan 25, 2010 at 5:32 AM, Mohan vmkrish...@gmail.com wrote:
Hi friends,
I am an end android user. I have Samsung Galaxy GT-I7500. A few days
back I downloaded the Handcent SMS app. I am happy with the app. But I
Thanks for the replies. Actually, I'm not stuck with testing, I use
android unit testing and I'm quite satisfied with it. Right now I'm
looking for a good intro on Android unit testing for a coworker.
On Jan 26, 12:25 am, Fred Grott(Android Expert,
http://mobilebytes.wordpress.com)
The Error:
Unexpected network error while connecting to web service: Not trusted
server certificate
javax.net.ssl.SSLException: Not trusted server certificate at
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake
(OpenSSLSocketImpl.java:363)
.
Caused by:
Android Devs,
I have a fundamental question regarding a ListActivity before I code.
I have a database which I query in the background using AsyncTask. I
take the resulting cursor and use it to create a custom
SimpleCursorAdapter which binds the cursor data with a custom XML I
pass to it
I've just updated Smart Alarm Clock (27k installs) with this
workaround and it WORKS on Motorola Samsung phones. Unfortunately,
it does NOT help to Hero and Tatto phones.
Haven't tried running w/o CPU lock because documenation says it
wouldn't be possible... Maybe in the next release.
BTW,
Realm X wrote:
When the query is done, the adapter is created, I pass the adapter
back to the UI thread and set the ListView to that adapter (this is
best practice for querying dbs and leaving the UI thread to UI stuff
only right?)
It's certainly a reasonable pattern.
My question is, since
I have a layout which contains five TextView. When user clicks any of
the five TextView, it will do the same thing: open another activity.
So, the OnClickerListener behavior to the five TextView is the same.
Is it possible that I only add OnClickListerner to one view, e.g. to
layout, so I don't
On 1/26/2010 3:23 AM, Abdul Mateen wrote:
Spinner.setSelection(int postion) function please see it.
On Sun, Jan 24, 2010 at 11:45 PM, Quang Tri Tran tvq...@gmail.com
mailto:tvq...@gmail.com wrote:
I'm binding a data table into a Spinner. But I cannot set the default
selection for the
I'm not sure if my explanation is clear? It seems that during the
life cycle of an activity the getIntent().getDataString() will return
the same intent data it originally got when the activity gets
terminated and restarted.
This issue is easily reproduced when the activity goes to the
background
我使用 Google Talk 已经有一段时间,我觉得您也不妨试试。我们可以使用它通过互联网免费拨打电话。您可通过此邀请函下载 Google Talk。试试吧!
---
蔡明洋先生希望通过 Google 的一些最炫的新产品与您保持更密切的联系。
如果您已经拥有 Gmail 或 Google Talk,请访问:
http://mail.google.com/mail/b-b5e0e0e8fd-d92e8b143f-870354039e66a981
I set an alram that is launched at 7:00 erevy workday. But it
doesn't work on Monday only if I disable and enable it before.
Does anyone meet the same problem as mine?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi Christine,
This presentation is very brief but could help:
http://www.slideshare.net/dtmilano/testing-on-android
On Jan 26, 12:44 am, Christine christine.kar...@gmail.com wrote:
Thanks for the replies. Actually, I'm not stuck with testing, I use
android unit testing and I'm quite satisfied
http://developer.android.com/intl/de/guide/publishing/publishing.html#marketintent
On Jan 25, 6:23 pm, David Toledo dtole...@gmail.com wrote:
Hi
I need is redirect to androidmarket and find some my application. I found
one android application similar.
thanks
David
-- Forwarded
Hi All
Is possible update the records from SQLite from my Android Application1
from other Application2 Android
Thanks
David
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
if your application1's db is implemented by contentprovider, the
application2 can access the records.
2010/1/26 David Toledo dtole...@gmail.com
Hi All
Is possible update the records from SQLite from my Android Application1
from other Application2 Android
Thanks
David
--
You
Hi All,
I have done some video enhance algorithms and I want to create one
simple demo to show them. Firstly I want to use Android media play
framework but I found it is hard to get YUV data and do some post-
process before it display.
Can someone provide me some hints to find to help me to
Hmmm googlers are also spamming others
2010/1/25 蔡明洋先生 fuyouccch...@gmail.com:
我使用 Google Talk 已经有一段时间,我觉得您也不妨试试。我们可以使用它通过互联网免费拨打电话。您可通过此邀请函下载 Google
Talk。试试吧!
---
蔡明洋先生希望通过 Google 的一些最炫的新产品与您保持更密切的联系。
如果您已经拥有 Gmail
Using ListActivity ExpandableListActivity at the same in one tab
activity.
is just an example of crash in tabs.
The crash still happens when you use ListView and ExpandableListView
as the contents of the tabs, not activities.
Another example here. (I modified tabs1.xml from ApiDemos.)
I recently saw several of the same issues that happened to the apps I
renamed. A little bit frustrated since couldn't find any answer on
the web. After trial-and-error, I got it to work from doing it
through command-line by adb install .apkThat might not be a
good solution, but at
Hi,
In android-sdk emulator, we have a default browser. Suppose I opened any
site in
that browser. Whenever I click on any link in browser webpage, I can see a
rectangular
box around that link. Could anyone tell me how that is implemented ?
Any suggestions will be appreciated.
Thanks,
Vivek
so, each sub-lists should be created as list activity. On selecting any
item, should call that particular list activity. Is my understanding
correct?
Also, how to store parent list in the stack? so that on pressing escape
key, I can navigate backwards.
Thanks
On Tue, Jan 26, 2010 at 9:11 AM,
The parallax code has been refactored to use a ParallaxNode. I've also
udpated the ParallaxDemo test. Please check it out and let me know.
Thanks, Philip
On Jan 20, 12:34 am, Lance Nanek lna...@gmail.com wrote:
I tested out the debug build from the site on my G1 phone running the
OTA Android
so the interesting thing is that this works fine on a Nexus One - so
could it be related to some bluetooth profile I need to have installed
on the phone??
On Jan 25, 7:58 am, sdphil phil.pellouch...@gmail.com wrote:
i am trying to catch the physical button events on a motorola ht820
bluetooth
I can't get adb to see my Nexus on XP-64. That is, when I run adb
devices it lists only the open emulators and not the Nexus. Likewise,
Eclipse does not show the Nexus as an available deployment target.
Yes, I have the latest USB driver for Nexus. The driver appears to
have installed correctly.
Yes it looks like we have got confused here about what happens when
returning to the Home screen (perhaps your issue was the Eclipse
feature mentioned in the thread?).
In the interests of clearing up quite a bit of misinformation in this
thread, this is the what actually happens:
Re-launching
The crash shouldn't happen regardless. There are a bunch of problems
when the orientation changes, I created two bugs reports recently. I
wouldn't hold my breath for a quick fix.
Obviously, the orientation change behavior hasn't been tested very
well.
On Jan 26, 12:12 pm, NoraBora
On Jan 25, 11:48 pm, android beginner android.beginne...@gmail.com
wrote:
so, each sub-lists should be created as list activity. On selecting any
item, should call that particular list activity. Is my understanding
correct?
Yes
Also, how to store parent list in the stack? so that on
But it doesn't work on XP-64, at least not for me.
On Jan 11, 5:45 pm, Mark Murphy mmur...@commonsware.com wrote:
48-New wrote:
I'm working on Windows XP using Eclipse. Can't attached theNexusOne
either. Saw the xda post below as well but not sure I know how to
proceed onces I download
Hi,
I am trying to get the image to consume just enough space and get
last_line to be just below the image. but it seems that the image
always have some extra space/padding on top and below.
Why?
?xml version=1.0 encoding=utf-8?
LinearLayout
On Jan 25, 10:56 pm, Dianne Hackborn hack...@android.com wrote:
Things can certainly be improved. If you have concrete ideas, I would be
happy to hear them.
Here's one closely-related feature request that interested devs might
like to star:
88 matches
Mail list logo