release your lock in onPause and not in onDestroy as the activity
won't be destroyed.
On Feb 4, 10:42 pm, lipinski stevelipin...@gmail.com wrote:
Thanks, but my intent is to prevent the system from dimming/locking
the screen for a configurable amount of time - since there will likely
be no
How does one calculate the sorting of gps data in an order of close -
far. So when I have a list of geopoints, and I know my own location, how
do I sort that data based on the closest by points.
Can I consider each geo point data as x and y positions and then do some
trigonometry on the points
Hi,
Can any one know how to highlight when we touch the layout?
In my program i'm adding adding a textview to Linear Layout.
When user touchs the Linear Layout it should perform some action.
Its all working.
But when user touches the screen. Its not highlighting.
So it is not looking good..
Hi,
How to create a custom dialog box in android?
Any example program?..
--
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 android-developers@googlegroups.com
To
Hi,
In a single activity I'm showing more than one layout using
setContentView();
How to get the current Viewing Layout?...
--
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
HI Sasikumar.S, you can set a xml file as it's background like ListView
default action
add this -- android:background=@android:drawable/list_selector_background
to your layout file
2010/2/5 Sasikumar.S sasikumar.it1...@gmail.com
Hi,
Can any one know how to highlight when we touch the
Yes, you should try this
LayoutInflater _inflater = LayoutInflater.from(context);
to relect the layout file into your code
Like:
View view= _inflater
.inflate(R.layout.tool_bar_
menu_item, parent, false);
this view object is just you want.
2010/2/5 Sasikumar.S
Thank U Haric.
I got it.
But one more thing is,
I need to set a image to that Layout background.
Then how can i set these background too...? Pls ?..
On Fri, Feb 5, 2010 at 4:58 PM, haric zhu haric@gmail.com wrote:
HI Sasikumar.S, you can set a xml file as it's background like ListView
Thank U haric.
I will try this and then i will inform you.
On Fri, Feb 5, 2010 at 5:01 PM, haric zhu haric@gmail.com wrote:
Yes, you should try this
LayoutInflater _inflater = LayoutInflater.from(context);
to relect the layout file into your code
Like:
View view= _inflater
Hi all,
I currently have an application that listens out for the out going
call broadcast, when I recieve the broadcast I pop up an activity on
the screen with some user information.
The user can then press end to remove this screen.
It all works fine however I have a problem when I hold down
Hi,
We need to convert XML messages to a stream or string which can then be sent
via sockets. However, Android does not support the standard javax classes that
are used to convert a DOM XML object to a stream. Besides, as far as I know,
DOM parser reads all of the XML document into the
I was wondering whether anybody, who has experience using the
XmlPullParser class or others on the Android platform, has anything to say
about its efficiency, well-known problems if any, suggestions for a better
alternative, links for sample code etc.
I saw one study (sorry, don't have the
On Thu, Feb 4, 2010 at 7:41 PM, Dianne Hackborn hack...@android.com wrote:
Nope, it's more
important for you to get on a soapbox.
If that's what it takes to get our Marketplace stats fixed..
--
Greg Donald
destiney.com | gregdonald.com
--
You received this message because you are
On Fri, Feb 5, 2010 at 5:01 AM, Sasikumar.S sasikumar.it1...@gmail.comwrote:
How to create a custom dialog box in android?
Create your custom layout, inflate it, and set it as the view for the dialog
in question.
I've used all 3. Which one to use depends a lot on what you need to
do. SAX is def quick but doesn't necessarily have the easiest
interface to use. I use it and it's not that hard but I've found that
for really simple parsing, PullParser is a little bit more straight-
forward. With either of
It's that simple unless you want to account for latitude compression or
obstacles. Latitude compression is usually negligible if the latitude bounds
are small (0.2 degrees), otherwise use great circle computation, which
involves more calculation. Most nearness calculations are done as the bird
Hi Sasikumar
You can create an instance of the class Dialog or if its more complex
create a new class which extends Dialog. On that instance call
setContentView()
Here is a simple example:
http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
You can find more examples using
On Fri, Feb 5, 2010 at 7:31 AM, David Turner di...@android.com wrote:
I think you may only be hearing one side of a pretty complex story.
I want to hear your story also. Where to read this?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
On Thu, Feb 4, 2010 at 6:38 PM, Jebediah Huang jebediah.hu...@gmail.com wrote:
On Fri, Feb 5, 2010 at 7:31 AM, David Turner di...@android.com wrote:
I think you may only be hearing one side of a pretty complex story.
I want to hear your story also. Where to read this?
Indeed. I'm a long time
We've identified and fixed the bug.
On Tue, Feb 2, 2010 at 12:47 PM, Keean Schupke
keean.schu...@googlemail.com wrote:
When I have two views directly next to each other in a layout,
invalidating one causes _both_ to redraw. If I separate them with a
one pixel margin (or a View used as a one
setKeepScreenOn() does prevent it from locking; it is just another way of
setting the window flag to keep the screen on.
PLEASE use these APIs instead of wake locks if keeping the screen on is
associated with an activity or window. There are so many advantages: no
need to get an additional
I couldn't find any good docs on trusting self-signed certs, so I wrote some
up:
http://crazybob.org/2010/02/android-trusting-ssl-certificates.html
Hope this is useful,
Bob
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Also this really does not belong on android-developers. Please move further
discussion to android-porting; thanks!
On Thu, Feb 4, 2010 at 8:26 PM, David Turner di...@android.com wrote:
As said
On Thu, Feb 4, 2010 at 7:11 PM, md.zafar.z...@gmail.com wrote:
Hello David all,
Thank you for
Hi developers!!
Today I started an application I've written as usual, andfor some
unknown reasons it decided to force close.
I started it again and I found that all the stored settings were lost. By
looking at the Logcat log I found the following error:
I/ActivityManager( 62): Starting
I see changed behavior in WebView on 2.0.1 devices, so I just read up
(however little there was - very quick read) on
WebSettings.getDefaultZoom(). It says Level 7. I checked the 2.0.1 SDK and
it returns Level 6. However when checking for the method getDefaultZoom()
with reflection, yay, it is
how come I cannot see the method:
Method m = btdev.getClass().getMethod(createRfcommSocket, new Class[] {
int.class });
Anything wrong with my dev/sdk env? or is it a hidden API?
On Thu, Feb 4, 2010 at 2:33 AM, Bwd scnsoft@gmail.com wrote:
Good day.
I was able to create a stable
Thanks to you both ...
Cheers,
Emre
Date: Fri, 5 Feb 2010 09:23:54 -0800
Subject: [android-developers] Re: DOM, SAX or XMLPullParser ? Any suggestions
?
From: rbgrn@gmail.com
To: android-developers@googlegroups.com
I've used all 3. Which one to use depends a lot on what you
This article does the comparison for performance. (Perhaps the link Mark was
referring to)
http://www.developer.com/xml/article.php/10929_3824221_2/Android-XML-Parser-Performance.htm
*Conclusion:*
*When Parsing on the Handset is Required: Stick with SAX*
*When parsing of XML on the Android
can i affect the look of the dropshadow that the scroll view shows
when there's more available via scrolling? i'm not seeing anything
in the scrollview docs.
thanks much
--
jason.vp.engineering.particle
--
You received this message because you are subscribed to the Google
Groups Android
Hi
I have an application that plays music. I want the application to
get notified when the user plays a YouTube video so that I can pause
the music in my own app. Is there a listener I can setup or a
Broadcast receiver that I can setup to get notified of when the video
is played
Thanks
Rohit
Remove the first line. import com.tutorials.R;
or in Eclipse Ctrl+Shift+o, which is a short-cut for auto-import.
On Feb 4, 10:23 am, Swiftguy vikram@gmail.com wrote:
Hello All,
Im new to Android.
Trying to run the 'notepad' application on my local system (building
using ANT)
Getting
Maybe you can try canvas.translate() before draw.
On Feb 4, 2:05 pm, julz jmuens...@gmail.com wrote:
Hi,
I have figured out the static layout this far, but I have no idea how
to make it display my text anywhere else but in the top left corner.
StaticLayout layout =
new StaticLayout(text,
It's called the fading edge or the fade Look in the View class.
On Fri, Feb 5, 2010 at 3:09 PM, Jason Proctor
jason.android.li...@gmail.com wrote:
can i affect the look of the dropshadow that the scroll view shows when
there's more available via scrolling? i'm not seeing anything in the
There is a AnalogClock widget.
you can find the source useful.
On Feb 5, 12:37 am, Sonic nitroussi...@googlemail.com wrote:
Hi all.
Just a quick question, how would i go about implementing a clock like
hand that rotates around a centre point to different positions
depending on a value.
Hello,
Is there a way to prevent the Android emulator using the custom mouse
cursor (black with white outline), and instead use the normal system
cursor?
This is the cursor that's shown when your mouse enters the emulator
window.
--
You received this message because you are subscribed to the
On Feb 5, 2010 12:21 AM, Chander Pechetty cspeche...@gmail.com wrote:
release your lock in onPause and not in onDestroy as the activity
won't be destroyed.
On Feb 4, 10:42 pm, lipinski stevelipin...@gmail.com wrote:
Thanks, but my intent is to prevent...
--
You received this message because
resolved
--
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 email to
android-developers+unsubscr...@googlegroups.com
For more options,
In 'list_selector_background'
you can set your default background image with no state
and set highlight image with state_pressed or state_focused.
http://developer.android.com/reference/android/widget/ImageButton.html
On Feb 5, 8:40 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Thank U
Hi, I'm having problems with gluUnProject. I saw other discussions on
this message base regarding this function and they did not solve my
problem. When I use GLU.gluUnProject I get values that are close, but
not quite right. I'm manually keeping track of my model matrix and I
replicate the
Can you enable Web Inspector APIs on android? I do not see the WebCore/
inspector classes ported to android.
--
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
Just wanted to let the community know that Ive released the source
code and I'd be more than happy to accept code contribution to the
project (even if the source isn't very readable).
http://code.google.com/p/androidcontroller/
If anybody is interested in helping out drop me a line.
--
You
I am working on an app where the user inputs some numbers, my app
performs a few relevant calculations, and displays the result.
However, I would like it if the user could somehow save this value to
a Google Spreadsheet.
My problem is, I have no idea how to authenticate with Google. I have
been
I found issues with the gluUnProject as well.
I wrote a new one for my own app (The Gube) and it works very well. I
use gluUnproject for tracking 2D finger-touches and flings into the 3D
model-view/space.
You can do a gluUnproject search on this forum and you will find this:
Hi how could i set an image (left and right position) instead of
fadingedge in a Scrollview???
--
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
Could you explain how your version might differ from the original
version?
The version in the standard library:
computes M = (Projection x Model)^-1
puts world into a homogenous vector V,
with x/y coordinates mapped from screen coords to -1.0 to 1.0
and z coordinate mapped from
Have you got my layout file, and if you have any other problem about this
issue, please email me:)
2010/2/6 NoraBora noranb...@gmail.com
In 'list_selector_background'
you can set your default background image with no state
and set highlight image with state_pressed or state_focused.
Hi Guys,
Has anyone noticed significant download slowdown for his application? Is it
just a developer console update problem or something else is going on behind
the scene?
Thank you,
Armond
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
Hi please help me ...
I am getting the following error when i try to play video in the
videoview.
02-06 12:50:28.611: WARN/MediaPlayer(512): info/warning (1, 44)
02-06 12:50:28.841: INFO/MediaPlayer(512): Info (1,44)
02-06 12:50:28.841: DEBUG/MediaPlayer(512): getMetadata
02-06 12:50:34.791:
Just a thought -- why only 3 degrees of freedom? You've got these nice
accelerometers...they can do more than sense a gravitational field...
I've bookmarked it to have a look at your code. I'll keep you in mind
if I have anything to contribute at some point.
On Feb 5, 7:07 pm, Jubei
49 matches
Mail list logo