Now I have a horizontal progress bar which is updated programmatically
via ProgressBar setProgress method:
ProgressBar
style=@android:style/Widget.ProgressBar.Horizontal
android:layout_width=0dip
android:layout_weight=1
android:layout_height=20dip
Hi guys, I am trying to get some good consistent data on one's
bearings(direction you are facing) either using the LocationListener class
or the SensorEventListener class. So far I've hit a road block because with
the LocationListener I dont get consistent data; bearing is almost always
0.
Aaargh, it was this option that was doing this: *Developer Options - Don't
keep activities.*
Switched it off, and it's all fine now.
On Tuesday, September 18, 2012 10:52:12 AM UTC+5:30, Put_tiMe wrote:
Nexus 7 - Jelly Bean
I have an activity A.
The usual callbacks are called: onCreate,
Hi,
GPS bearing will only become accurate when the device is moving not when it
is stationary.
Also it looks like you have not registered your orientation sensor listener
with the Sensor Manager, see onPause() on Resume() in
Ok that would make more sense I guess I'll try to keep a previous bearing.
O I forgot to add that into the snippet but yea it is there.
Thanks
On Tuesday, September 18, 2012 3:08:00 AM UTC-4, gjs wrote:
Hi,
GPS bearing will only become accurate when the device is moving not when
it is
And I still submit my question: why Java? Or rather, why a virtual machine
built on top of Linux, rather than Linux itself??
Several reasons:
1. Hardware portability. iOS runs on tightly defined hardware. Android is
designed to be able to run on different CPUs and hardware
've been searching google and have not found anything there that is asking,
someone help me
El lunes, 17 de septiembre de 2012 18:47:35 UTC+2, Fred Niggle escribió:
Try searching with google - you have to facilitate your own learning.
On 17 September 2012 17:17, Alvaro Enseat
Peter Webb wrote:
jamb wrote:
And I still submit my question: why Java? Or rather, why a virtual machine
built on top of Linux, rather than Linux itself??
Several reasons:
1. Hardware portability. iOS runs on tightly defined hardware. Android is
designed to be able to run on
Can one of the moderators please reply?
Op donderdag 13 september 2012 11:26:47 UTC+2 schreef Martijn van Mechelen
het volgende:
Hi,
Two days ago I've posted three messages into the Android Developers group.
The messages probably have to moderated, but they are still not showing up.
Is
I'm trying to display a Toast notification in verifyPasswordAndUnlock() in
PasswordUnlockScreen.java whenever a user enters the wrong password. I
wrote the following code, and built successfully.
Toast.makeText(getContext(), Invalid password, Toast.LENGTH_LONG).show();
However, the Toast
Hello Developers !
Would I ask you help and assist in the following question please:
How can I use an Numberpicker (from API 11) an Android 2.2 (API 8) ? As I
know it and as I already tried the Android Support Library isn't helped me
out.
Shall I do my own implementation ?
My task is to
I had exactly the same problem, very frustrating. the device would show up
in the device manager but not in windows explorer, I think you need to
clean up whatever default driver that is installed by windows, I did the
following:
1. uninstall the driver in the device manager with option delete
HAI,
*Present Situtation :-*
*i AM DISPLAYING IMAGES FROM WEBSERVICES .WHAT MY TASK IS? I NEED TO
DISPLAY IMAGES IN PAGE WISE (PAGE 1:9 IMAGES,PAGE 2:9 IMAGES).WHEN THE USER
IS IN FIRST PAGE AND HE REACHES LAST I NEED TO FETCH NEXT 9 IMAGES FROM
SERVER IN PAGE WISE.I AM UNABLE TO DO
On Thursday, November 5, 2009 1:27:55 AM UTC-5, Andrew Pollock wrote:
it turned out that
while I had the sun-java6-bin package installed, the alternatives
system was making /usr/bin/java point to the GNU Java bytecode
interpreter. Once I did a sudo update-alternatives --config java and
Hi,
I have a strange issue regarding the new MediaCodec API on Jellybean.
The native function android.media.MediaCodec.native_configure is throwing
a java.lang.IllegalStateException.
I'm using the OMX.TI.DUCATI1.VIDEO.H264E codec on a Galaxy Nexus (maguro).
Here is my Scala code:
class
Hi All,
I know I only can use java interface with Android SDK. But if I want to
develop a dynamic lib with Android SDK, is it feasible or impossible? In
other way, what should I do if I want to develop a dynamic lib on Android?
Any help would be appreciated.
Best regards,
Adolphuan
--
You
Ted I would love to switch the range on my galaxy s3 to +/- 4 or 8g. The
chip used by the S3 appears to be the SMB380
Have you had any luck on this matter over the last year?
Dan
On Friday, June 10, 2011 4:33:24 PM UTC-3, Ted wrote:
I am writing an app that uses accelerometer. After some
Care to share the code?
I'm sitting here dying trying to figure out how to take my 'painting' and
get it from this screen to a PHP on site to upload it DYING.
On Tuesday, November 18, 2008 5:11:44 AM UTC-6, Jose Cortes wrote:
Hello again
I will be remembered as the man who wanted to
My tablet notification panel has the brightness slider
now I don't understand why there is no volume slider?
I realize the hardware has a volume rocker on the side for most tablet
but adding a volume slider seems native or am I wrong?
http://oi47.tinypic.com/34glp2p.jpg
screenshot
Hi , i want to lock android screen orientation to landscape for all apps .
Is there any way to do it ?
I have tried with this
Settings.System.putInt(getContentResolver(),Settings.System.USER_ROTATION,
1);
Settings.System.putInt(getContentResolver(),Settings.System.ACCELEROMETER_ROTATION,
0);
I noticed that this bug is fixed in JB. But for ICS, I believe you can fix
the bug yourself in your DatePickerDialog subclass. Override onDateChanged
and after super.onDateChanged() call view.init(year, month, day, this).
Unfortunately init will be called twice, but the second time should
Can i get the id of the same textview outside onclick event?
On Tuesday, March 27, 2012 5:05:37 PM UTC+5:30, Mahabaleshwara Adiga wrote:
Hi, I am using ListView CustomAdapter and i had placed the values in
ListView.
When i am clicking particular row in listview, i want to extract the
no i am not using db, am using web services
Thanks
RK
On Mon, Sep 17, 2012 at 4:46 PM, Felipe Silveira webfel...@gmail.comwrote:
Does your broadcast receiver store data in DB? If yes, your work would be
simple: The activity can be notified about db changes, if it have a cursor
loading the
Intent startActivity = new Intent();
startActivity.setClass(context, showrReminder.class);
startActivity.setAction(showrReminder.class.getName());
startActivity.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK|
Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
context.startActivity(startActivity);
above is the
Please reply its urgent !!!
--
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
Hi teja :
which web services using your project . REST , KSOAP , if first image
displayed means same like dis give for loop ...
that s alll
On Tue, Sep 18, 2012 at 11:50 AM, Maniteja Pusuluri
manipusul...@gmail.comwrote:
HAI,
*Present Situtation :-*
*i AM DISPLAYING IMAGES FROM
If a button is covering the list item, then its OnClickListener would
likely consume the touch event. If you want the list item to also be
clicked, then I think you will have to manually notify the
{Group,Child}ClickListeners from your button OnClickListener(s). Or if you
can just use an
Hi all,
It seems that it's not possible to apply a custom font to the overflow
menu. The following page mentions a hack which we don't want to use:
http://stackoverflow.com/questions/4135699/how-to-set-a-font-for-the-options-menu
Does anyone know if there is an official way to solve this?
The answer at SO uses this:
actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_HOME);
Since your action bar has different content, you might want to try this:
actionBar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TiTLE);
or just this:
actionBar.setDisplayShowTitleEnabled(false);
-- K
I think you should be able to override these in your theme:
android:attr/textAppearanceSmallPopupMenu
android:attr/textAppearanceLargePopupMenu
A text appearance, in turn, can specify a typeface.
-- K
2012/9/18 Martijn van Mechelen martijnvmeche...@gmail.com
Hi all,
It seems that it's not
I see this was not only the same discussion, but also the same users:
https://groups.google.com/forum/?fromgroups=#!searchin/android-developers/CTR/android-developers/CycndZ5BH1c/1VkYuh4LlCEJ
Hello friends...
How can i take system date using android and have to insert into the
table
Can any1 help me
Thanx in advance...
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
What has no sense at all is to say that the higher the CTR, the higher
the income. Please, let me quote myself on this very same subject on the
third of July:
You get income for each click, whatever the CTR
is. Please, bear in mind that the CTR is the resulting proportion of
dividing clicks by
By adding this you can get system current date and time-
SimpleDateFormat sdf = new
SimpleDateFormat(dd/MM/_HH:mm:ss);
String curentDateandTime = sdf.format(new
Date(System.currentTimeMillis()));
--
You received this message because you are
k Thanx
On 18 September 212 17:52, Asheesh Arya asheesharya...@gmail.com wrote:
By adding this you can get system current date and time-
SimpleDateFormat sdf = new
SimpleDateFormat(dd/MM/_HH:mm:ss);
String curentDateandTime = sdf.format(new
What about getAttributeResourceValue()? I haven't tried this method, but
from the docs it appears that it should work.
For others (and to note what I just learned today), you can use
Resources.getXml to get an XmlResourceParser for your custom xml files (in
res/xml/) and in addition to
Well, what John says makes a lot of sense to me. Would you care to
present a similarly eloquent argument as John's to support your views?
I've read the threads discussing the topic but I still have no idea
why you or anyone else would think you can make money by annoying the
hell out of your
For API level 14+, try adding hw.gpu.enabled: yes. If you have a decent
video card/chip, it should make the UI, at least, much faster and smoother.
pb
Open Source Android App Developer
Dining Out (with friends) - The History and Future of Your
Not really, you misunderstand the Activity Life-cycle. When Activity B is
showing Activity A can be killed by the OS (at any time) so you need to
deal with it being re-created.
Setting The Developer option *Developer Options - Don't keep activities* ON
just makes this use-case easier to test.
Has anyone even noticed the alert box has changed during their in-app
purchase interactions? Does anyone know what is supposed to happen when
that 'Details' button is pressed?
On Monday, September 17, 2012 2:22:09 AM UTC-4, kadmos wrote:
Some new issues I'm having with In-App purchasing for
Guys,
I want to show pop menu on a button click like we have it on long press
event on list
It is called context menu.
Cane we get it on a button click?
--
Regards
Fahad Mullaji
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Ping!
Did you find a solution for this problem? I am currently facing the same
issue.
Thanks
On Friday, May 15, 2009 8:45:22 PM UTC+2, Anton wrote:
Is there a way to add more source directories to an ant build
using the build.properties file? I've been using the .classpath file
in
I do this in my build.xml:
target name=-pre-compile
!-- Fix library references --
!-- path id=jar.libs.ref --
path id=project.all.jars.path
pathelement location=../LocalePlatform/ant/bin/classes.jar /
pathelement location=../AmbilWarna/ant/bin/classes.jar /
/path
echo* -pre-compile:
Thanks a lot for your quick reply.
My problem is slightly different. I am not referencing jar files, instead I
am referencing another Java project.
For now i did a hack :
I added in ant.properties this line
extensible.classpath=path/to/project/bin
but if you have a better way to do it, I
Hi,
short question:
(How) Is it possible to read out and/or delete the message in status bar
from another app?
Thanks!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
It is not. Why do you want to?
kris
On Tue, Sep 18, 2012 at 12:51 PM, BearTi mlrti...@gmail.com wrote:
Hi,
short question:
(How) Is it possible to read out and/or delete the message in status bar
from another app?
Thanks!
--
You received this message because you are subscribed to
Ok, thanks... are u really sure? :-)
Am Dienstag, 18. September 2012 19:05:02 UTC+2 schrieb Kristopher Micinski:
It is not. Why do you want to?
kris
On Tue, Sep 18, 2012 at 12:51 PM, BearTi mlrt...@gmail.com javascript:
wrote:
Hi,
short question:
(How) Is it possible
On Tuesday, September 18, 2012 9:18:54 AM UTC-7, Accandme wrote:
Thanks a lot for your quick reply.
My problem is slightly different. I am not referencing jar files, instead
I am referencing another Java project.
The command-line way to reference other projects is via their distribution
Have the client keep track of K, the index of the next image to fetch, and
N, the number of
images to fetch per service call. Have the service retrieve the images in a
well-defined order,
and send N images starting at the Kth one for a call requesting (K, N).
Have the client do the
right
If it were, it would be a security hole, which is why I ask why you
want to do so, because it implies you might want to write a spy app..
kris
On Tue, Sep 18, 2012 at 1:12 PM, BearTi mlrti...@gmail.com wrote:
Ok, thanks... are u really sure? :-)
Am Dienstag, 18. September 2012 19:05:02
Has anyone figured out why the LogCat window is blank a lot of times?
--
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
I tried that and it blows it up with a stack overflow every time.
Here is what I did:
public void onDateChanged(DatePicker view, int year, int monthOfYear, int
dayOfMonth)
{
Calendar newDate = Calendar.getInstance();
newDate.set(year, monthOfYear,
Maybe subclass ProgressBar and override the onDraw method?
On Tuesday, September 18, 2012 1:14:58 AM UTC-5, Emanuel Tivadar wrote:
Now I have a horizontal progress bar which is updated programmatically
via ProgressBar setProgress method:
ProgressBar
On Mon, Sep 17, 2012 at 11:02 PM, jamb joshua.bal...@gmail.com wrote:
Thanks for the reply, Kris
There are some monumental misunderstandings going on here, so I'm not sure
where to begin... I have absolutely no intention of starting a flame war,
that is totally counter to the point of a
Check out this link
http://www.stealthcopter.com/blog/2010/04/android-context-menu-example-on-long-press-gridview/
Regards,
Jovish
On Tue, Sep 18, 2012 at 8:09 PM, fahad mullaji fahadmull...@gmail.comwrote:
Guys,
I want to show pop menu on a button click like we have it on long press
r u using nine patch image for setting the spinner background ???
Regards,
Jovish
On Tue, Sep 18, 2012 at 4:04 PM, Ratheesh Valamchuzhy
android...@gmail.comwrote:
Please reply its urgent !!!
--
You received this message because you are subscribed to the Google
Groups Android Developers
Sorry i didn't get u . Can you please explain it little more
On Sat, Sep 15, 2012 at 2:20 PM, Bubu Bubu21 bubu1bub...@gmail.com wrote:
All I want to do is change the format from 123 123 1234 to 1234 123 123.
On Sat, Sep 15, 2012 at 11:44 AM, Jovish P android.f...@gmail.com wrote:
if we
I bet it's because when Android was a small startup company (2005, 2006)
people thought there would be all these processors that natively spoke Java.
On Friday, September 14, 2012 8:11:04 PM UTC-5, jamb wrote:
Hello Android devs!
I recently bought a Motorola Razr Maxx, and then shortly
On Tue, Sep 18, 2012 at 4:23 PM, bob b...@coolfone.comze.com wrote:
I bet it's because when Android was a small startup company (2005, 2006)
people thought there would be all these processors that natively spoke Java.
I sort of highly doubt that,...
kris
--
You received this message because
Kristopher Micinski wrote:
bob wrote:
I bet it's because when Android was a small startup company (2005, 2006)
people thought there would be all these processors that natively spoke
Java.
I sort of highly doubt that,...
No one believed that in 2000, 2001, 2002, 2003 or 2004, even
bob wrote:
Has anyone figured out why the LogCat window is blank a lot of times?
I will guess you mean in Eclipse, albeit you don't say.
You don't say what times it's blank. When there's an emulator up? When
you're
running a program? When you happen to know for sure that the window is
Let's be civil here. No one has proposed annoying the hell out of your
users. If you do, the users will uninstall you long before they make any
sort of opt out decision.
I can agree with several people here.
Fran and William are right about the math. John's approach does not bring
him more
so forget the 'Details' button - based on this output, what value
indicates that the user has already purchased an item and how could i
capture that value?
09-18 23:12:51.095: D/dalvikvm(1896): GC_EXPLICIT freed 144K, 47% free
3042K/5639K, external 0K/0K, paused 29ms
09-18
okay forget the 'Details' button and the crashing.
from this output what value could indicate that a user has already
purchased an item and how could I capture that value?
09-18 23:12:51.095: D/dalvikvm(1896): GC_EXPLICIT freed 144K, 47% free
3042K/5639K, external 0K/0K, paused 29ms
so forget the 'Details' button and the crashing. could anyone tell me what
from this output could possibly indicate a purchase attempt failure due
specifically to the user already having purchased the item, and how I might
capture that value?
09-18 23:12:51.095: D/dalvikvm(1896): GC_EXPLICIT
Same problem here - this is going on for over a year and is still not
solved.
--
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
Hello,
Thanks Yue Zeng for ur support. I want to interact to the server
using webservice. I don get any code for interact webservice through JSON.
I have an app which have to use webservice, it having data sent and
receive..
Thansk Regards
Anoop Narayanan C
an...@biscommunication.com
I found out the problem: the adapter uses the id of the container together
with the position in the adapter to generate a tag. This tag is then used
to determine if a fragment already exists in the FragmentManager. The
solution is to make the ids of the four containing fragments unique.
On Sep 14,
You want to change the background on date basis or days basis?
On Monday, September 3, 2012 3:02:01 PM UTC+5:30, sandeep wrote:
I want to make my app run continuously and take the date and time from
the phone. according to the date the activity should be changed every time.
Sorry for my
On Mon, Sep 17, 2012 at 7:19 PM, Lew lewbl...@gmail.com wrote:
Even were that not so, the Bluetooth and NFC hardware determine the
frequencies, not the Android software.
Never mind typically, I don't even think there's a counterexample. Prove
me wrong, of course, if I am.
It's sort of like
On Wed, Sep 19, 2012 at 1:48 AM, Kristopher Micinski
krismicin...@gmail.com wrote:
On Mon, Sep 17, 2012 at 7:19 PM, Lew lewbl...@gmail.com wrote:
Even were that not so, the Bluetooth and NFC hardware determine the
frequencies, not the Android software.
Never mind typically, I don't even think
71 matches
Mail list logo