I have an XML file called user_preferences that contains my
preferences for my application.
How do I get hold of the different preference Views so that I can
validate them?
Currently I have the code below which is not working because
getSharedPreferences does not return a View.
Hi buddha,
What phone did you encounter this issue on? The damage may be
spreading...
I had gotten the impression that HTC had fixed this and had rolled it
into the Sprint update, but the complaints just keep rolling in...
No, I haven't come up with any workarounds...
-Brian
On Dec 7, 10:09
I have an XML file called user_preferences that contains my
preferences for my application.
How do I get hold of the different preference Views so that I can
validate them?
Currently I have the code below which is not working because
getSharedPreferences does not return a View.
You can
I have an XML file called user_preferences that contains my
preferences for my application.
How do I get hold of the different preference Views so that I can
validate them?
Currently I have the code below which is not working because
getSharedPreferences does not return a View.
You can
Hi everyone,
I want to set enable always-on mobile data setting by code in Hero.
Does anyone know how to do it? Thanks.
--
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
Hi,
The LATITUDE and LONGITUDE fields of the Images Content Provider are
not filled in after taking a picture on my HTC Hero (I guess the HTC
Camera app does not do it). So I read the EXIF metadata of the file
and then update the database in order to save time the second time.
But I'm facing an
Hi,
I am bhaskar ,i am beginer in android ,i want help from you
people .
i am not able to changing the image view at runtime when clicking on
that image view.
so please can anyone help me..
Thanks in advance.
--
You received this message because you are subscribed to the
You need basic trigonometry:
http://en.wikipedia.org/wiki/Trigonometry
if x and y denote the magnetic field strength in microtesla, then you
get the angle through the arc tangent function:
phi = Math.atan(y/x);
or phi = Math.atan2(y,x);
phi is then the angle in radians. Note that you may want to
Hi all. Need some help with Views...
In my main.xml layout file, I define a FrameLayout. Then in another
layout file (say overlay.xml), I define another layout.
At runtime (onCreate) I want to create a new View object, set it's
layout with overlay.xml, and add it to the frame dynamically. I need
Thanks for the advice! I'll give it a shot and get back to you.
On Dec 13, 1:40 am, Jack Palevich jack.palev...@gmail.com wrote:
I don't recognize the ARGH!!! error messages. I wonder if you're
using an incompatible version of Java. Android needs version
java-1.5.0-sun.
You don't mention
Hello
Click on the link below and please enter your birthday for me. It will take
less than one minute.
http://www.birthdayalarm.com/bd2/86034545a160384687b1489515042c102571688d1386
Thank You,
Prasant
--
You received this message because you are subscribed to the Google
Groups Android
On Dec 13, 2:54 pm, Neilz neilhorn...@googlemail.com wrote:
Hi all. Need some help with Views...
In my main.xml layout file, I define a FrameLayout. Then in another
layout file (say overlay.xml), I define another layout.
At runtime (onCreate) I want to create a new View object, set it's
Yes that worked
I used:
timeLimitPreference = getPreferenceScreen().findPreference
(time_limit);
to get hold of the preference and then:
timeLimitPreference.setOnPreferenceChangeListener
to to validate the preference returning false if it was no successful
and thus canceling the change.
Great find above.
HTC only supplies the hardware. Sprint needs to fix this, but,
depending on how they operate, hope might be slim. In case they just
mess with the formula, push units out the door, and move on to the
next thing, it's going to remain broken.
On Dec 13, 12:31 am,
The day will never come that this will be picked up as a change,
unless you go through the process of pushing this through into the
Android code base yourself (Hint: ain't going to happen either)
What I would do is to read the coords and string, determine if they
fall within an existing range
That's perfect, thanks Skink :-)
On Dec 13, 2:33 pm, skink psk...@gmail.com wrote:
On Dec 13, 2:54 pm, Neilz neilhorn...@googlemail.com wrote:
Hi all. Need some help with Views...
In my main.xml layout file, I define a FrameLayout. Then in another
layout file (say overlay.xml), I define
On Dec 13, 3:21 pm, JP joachim.pfeif...@gmail.com wrote:
HTC only supplies the hardware.
Not true, HTC also supplies the [non]Sense UI on the Hero, as a
homescreen replacement. The claim in this thread is that it's Sense
which has the broken widget-host functionality, and if so, it's HTC's
Hi!
trying to play video in a Emulator, error Sorry this Video cannot be
played , please tell me what i am doing or not doing..
TIA
Cheers
package info.shouraig.com;
import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import
On Dec 13, 4:46 pm, Neilz neilhorn...@googlemail.com wrote:
In my main.xml layout file, I define a FrameLayout. Then in another
layout file (say overlay.xml), I define another layout.
At runtime (onCreate) I want to create a new View object, set it's
layout with overlay.xml, and add
Hi !
I'm trying to add my own dictionaries to the LatinIME package.
Currently, my word lists look like the one in 'dictionaries/
sample.xml', however, I can't find any documentation related to how I
can convert this XML file to a binary dictionary that can actually be
read by the package.
I want to interact with the computer from android phone over USB
interface. Is that possible with current API?
Adb does similar things, HTC Hero can also synchronize some data with
windows over USB - does it use some standard API?
--
You received this message because you are subscribed to the
How did you guys set up alerts? Im confused by what you mean by this.
-smith
On Dec 12, 7:24 pm, iPaul Pro mr.paulbu...@gmail.com wrote:
@Andrel - Thats exactly how I found out about this.
On Dec 12, 6:57 pm, Andrei gml...@gmail.com wrote:
I would advise to everybody to create Google alert
We're having to change our app's name due to it being somewhat close
to a mark owned by a large company that believes consumers are easily
confused. I had been assuming that this was simply a matter of
changing the name listed in our Market description when we publish an
update, but has anyone
I don't think there will be an issue with changing the name of the app
in the market but that will only affect what users see as the name
there. You'll also have to change the android:label name in the
manifest (or in your strings resource) so that the name of the app
once downloaded and installed
I've seen other apps do this before, so I don't think it would be a problem...
but if someone searches for your app by name that could be a problem. If this
is a paid app, the following won't be all that useful, but if not you could
possibly leave a tombstone that points to your new app
*The Light Of Truth*
**
*
*
* *
*[align=left]What is life? Man's existence in this world and the creation of
this entire universe are not mere accidents or products of a fortuitous
nature. This universe, every
You are right, and while I don't think it will be changed, I thought
it might be worth mentioning it in any case. I actually have a
solution, which is to set the coordinates to non-existing values, but
I am afraid that other apps on a given phone, which were working
correctly up until that point,
*The Light Of Truth*
**
*
*
* *
*[align=left]What is life? Man's existence in this world and the creation of
this entire universe are not mere accidents or products of a fortuitous
nature. This universe, every
hi all,
i am getting a error like below.
keytool error:java.io.IOException:invalid keystore format
it is giving warnig , file already exists.
can u help me to create signed .apk file in eclipse?
thanks all
--
You received this message because you are subscribed to the Google
Groups Android
I also want to do this, and after hunting around for half a day, have
not found a way to do it,
and am moving on to some other priorities.
I also would be very interested in this useful behavior.
Sorry I can't be of more help, but if you find a way, please post.
Thanks!
On Dec 10, 4:36 pm,
I think it should be a global setting and it should follow the
Settings - Locale Text
If Haptics is turned OFF there the same should be followed in all
the application.
On Dec 11, 11:43 pm, Steve Scherer steve.schere...@gmail.com wrote:
Is there a general guideline for application developers
Android has been active in Korea, I wish it soon!
However, Korea has not said that ...
--
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,
These approaches are not working for me. I'm not sure why, and I've
reviewed a number of implementations. But when running this pattern
on either the emulator or my device (through the debugger), I see that
the static getLock(...) call is made from different DalikVM PIDs.
My LogCat output shows
On Nov 23, 6:17 pm, Mark Murphy mmur...@commonsware.com wrote:
Susan wrote:
Just to make sure I'm understanding you
correctly, you mean that there's no way to, say, change the image in
an ImageView or change the color of a Button programmatically?
Sure you can, the same way you set the
I recently bought HTC Magic, and only after buying the phone did I
realize that it didn't have the market app. I researched a bit on
internet and found that the phone can run on Australian image. The
only problem I'm not going ahead with imaging is coz this might harm
the phone forever, I've seen
Hi, I'm having the same problem.
I have an Android cell set to Japanese.
But I added intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE,
Locale.US.toString());
to the API Demo and tried it out on the cell but it only recognize the
voice as Japanese and not English.
BYW, it's not my english
Here is my source code to review: http://github.com/knitterb/AndroidAPITest
--
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
I just noticed that you are performing a setReferenceCounted(false).
I think you will find that the WakeLock is never released, or not
released properly.
On Dec 11, 6:06 am, MrChaz mrchazmob...@googlemail.com wrote:
The code I'm using has a static method in the service I'm about to
start that
These approaches are not working for me. I'm not sure why, and I've
reviewed a number of implementations. But when running this pattern
on either the emulator or my device (through the debugger), I see that
the static getLock(...) call is made from different DalikVM PIDs.
My LogCat output shows
I have a problem setting a ringtone from a resource in my app:
Uri uri = Uri.parse(android.resource://com.package.app/ +
R.raw.sound1);
RingtoneManager.setActualDefaultRingtoneUri(this,
RingtoneManager.TYPE_RINGTONE, uri);
I've noticed also some people had the same problem but got no answers.
Do
Anyone know anything about android.intent.category.DESK_DOCK?
I am trying to get my app to run when in the desk dock similar to what
was posted here:
http://www.mail-archive.com/android-developers@googlegroups.com/msg64577.html
Didn't have any luck.
Also wondering why a search at this site
I have my cell set to Japanese language and it recognize my voice as
Japanese.
I'm having overwriting the language setting though.
I run API Demo on my cell and when i try Voice Recognition, it only
recognize my speech as Japanese(which the cell phone is set to as
Default language)
So I added
I have attached a sample project at the link below which shows the
tabview with the problem that I am talking about. Please check it out
and let me know if you know where I am going wrong or what I need to
do.
http://www.anddev.org/how_can_we_change_the_view_of_the_tabs-t9527.html
Thank you.
On
Here's my code for capturing orientation data... This is a snippet so
has not been compiled, but should give you and idea.
Keep in mind that you should register the sensors with something like
this when ever you want to start listening to sensors:
sensorMgr = (SensorManager)
hi
heelp
i am trying to build an android application to do the following
i am trying to build an application that can connect to Google
calendar , get the newly added events every 2 hours, i need to have a
service that will be triggered every two hours to do the job any ideas
will be
Anyone knows if it is possible to control an external camera from an
Android phone via micro USB?
My application needs pictures that cannot be taken from the Android
integrated camera because of quality and I also need flexibility by
using different lenses.
Thanks
rh4games
--
You received
Hey,
On Dec 8, 9:35 pm, Ryan Beesley ryan.bees...@swypeinc.com wrote:
lbcoder posted this on one of the other groups:
The page is just broken. The files are still there to download.
http://member.america.htc.com/download/RomCode/ADP/{filename}
You can find the filename in the link that
At least it's strange to me...
My goal is to display a list of items each with a checkbox and when
the user selects some and hits an OK button, I save those items to a
database.
I'm starting slow and currently trying to display a list of checkboxes
and be able to check various items. The list
I'm sure at least Japanese is also available.
i tested on my cell phone.
However, I too am having a problem in actually overriding and changing
the language used for voice recognition.
I tried to search in Japanese with default language set to English,
that didn't work.
I also tried to use voice
Anybody ever find the answer to this?
On Nov 9, 7:37 pm, itsluy its...@gmail.com wrote:
Same problem here but I'm using 2.0 (droid).
The documentation doesn't mention this and I don't see what folder i
should place the certificates in.
On Oct 10, 12:20 pm, Dida
Same thing is happening to me and it is not producing the sound
data...
On Dec 7, 9:12 am, Raul raulxi...@gmail.com wrote:
Nobody will know what you want to do untill you give more info.
On 12月7日, 上午10时34分, Hunter Peress hunt...@gmail.com wrote:
Logic:
for (int i = 0; i
I would like to be able to schedule events on Google calendar, by way
of speech, through ANDROID operating phone. Is this possible?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
hi all,
i am getting the error while signing the apk file.
error is
java.io.IOException
it warns me file already exists.
i forgot the keystore password.
how to change password and sign my apk file?
Thanks in advance
--
You received this message because you are subscribed to the Google
Groups
hi folks
When i load the image from the server in grid view and click any image
to see the details 1 of my image is not displaying when i run the
application but when i debug the application it is showing the correct
results...
Any help would be appreciated
Thanks
--
You received
Hi, I am trying to develop a Android Google Map application, which is
basically Gmap with my own marker geo layer. Since android.com is
banned in China, I have to search support from Google user groups. I
have no idea which groups I should call for help, android group or
google map group. Anyway
Hey,
On Dec 8, 9:35 pm, Ryan Beesley ryan.bees...@swypeinc.com wrote:
lbcoder posted this on one of the other groups:
The page is just broken. The files are still there to download.
http://member.america.htc.com/download/RomCode/ADP/{filename}
You can find the filename in the link that
Yeah, Im kind of curious too. As a developer I would think they would
let us know ahead of time if we are going to stuck with additional
fees etc. Furthermore, how the heck are we supposed to find out our
download stats, track sales, etc? Since the TMobile carrier billing
update to the Market
the code is something like this...
public void getWorkDays(final int mm, final int dd,final int ccyy,
final int mmNew, final int ddNew, final int ccyyNew) {
Calendar c2 = Calendar.getInstance();
Calendar c4 = Calendar.getInstance();
Hi everyone. Merry xmas.
I have been looking relentlessly for over a week to see if doing what
I need to do is possible on the Android system and going crazy in the
process.
I know you can read input in from the MIC via two ways
1. new AudioRecord(MediaRecorder.AudioSource.MIC... and whatever
Just a quick query and suggestion from a NON-DEVELOPER -- but a
consumer, sorry for the non-technical intrusion.
I HOPE someone is developing some language flexibility with the new
phone. I finally ditched my Palm Treo 650 and ONLY because it offered
no way to adapt Vietnamese language tones,
Hi
Has anyone done much development for Flash Lite on Android? What I am
trying to do is upload the a .swf file to android, add in an image
into Flash (via actionscript) and play the movie. Has anyone done this
yet?
If so what has been your experience? Is it easy to do?
Also as a side note had
Hello All
I would like to know how to use alarm device to set RTC? I do folowing
1. Open /dev/alarm
2. Send ioctl ANDROID_ALARM_SET_RTC
3. Close
After these steps kernel does not go to sleep because of pending
alarm, but I did not set any alarms, I just set time.
I look at alarm.c file and see
In my case i have three tabs, SEARCH, BROWSE, ABOUT. when someone type
the query and click on search a new tab is created RESULT, there is a
listview in it, when someone clicks on any of its item i WANT TO
CHANGE THE CONTENT OF BROWSE TAB THEN. please tell me what to do :(
--
You received this
I'm trying to understand the limits of startActivityForResult(), so I
can simplify my onActivityResult() logic.
An Activity can make back-to-back calls to startActivityForResult() in
a single method execution, seemingly kicking off multiple concurrent
sub-Activities. The startActivityForResult()
Mark Murphy (CommonsWare) helped me find the solution to this one.
Apparently in my manifest I had improperly specified that the receiver
and service should run in separate processes:
*snip*
receiver android:name=.APITestIntentBroadcastReceiver
Is it possible to lock/block/hide an application (say prepackaged like
messaging or browser) on android..for a particular
period...can i do dat programmatically...
please reply
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Hi
--
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, visit
Thanks, I realized this has been discussed at length else where.
My solution has been to fully stop the activity on pause. It seemed
that
after a pause is when the camera surface would hide the opengl
surface. Completely restarting
the activity every time it pauses, by calling finish() in
i want to create an application which supports both simplified and
traditional chinese. so i created 2 strings.xml in values-zh-rCN (sim.
chi) and values-zh-rTW (tra. chi). but then i run the application in
the emulator, it seems that only the default strings.xml is loaded.
i tried to use
Mark Murphy (CommonsWare) helped me find the solution to this one.
Apparently in my manifest I had improperly specified that the receiver
and service should run in separate processes:
*snip*
receiver android:name=.APITestIntentBroadcastReceiver
Thanks for responding... the code is the following :
public void getWorkDays(final int mm, final int dd,final int ccyy,
final int mmNew, final int ddNew, final int ccyyNew) {
Calendar c2 = Calendar.getInstance();
Calendar c4 =
Does anybody know of a work around for the android xml file string
array inability to process string item's that are not legal java
variable names If not, is this not a major bug? Why does an item in
an array need to generate a reference id anyway? Isn't this redundant?
--
You received this
Hi all, i made an app in Traditional Chinese. and now i want to make
it in Simplified Chinese too. so i guess i should use the locale zh-TW
for traditional chinese and zh-CN for simplified chinese.
but for the strings.xml, it only allows values-zh but NOT for values-
zh-rTW and values-zh-rCN. so
Hello all, I am interested in developing an adroid application that
would let the users listen to internet radios.Correct me if I am wrong
but most internet radios have a uri mms:// which is a windows media
stream and i want to know if it is possible to get a stream from that
source and how,
the IK series have the fix.
-Dan
On Thu, Dec 10, 2009 at 12:28 AM, TonyDoc tony...@gmail.com wrote:
I'm running firmware 1.5,
baseband I7500XXII5,
kernel 2.6.27.35,
build no 76XXCSDCBALUM6375
On Dec 10, 4:51 am, dan raaka danra...@gmail.com wrote:
what is the full version name ?
-Dan
This is performed by the adapter:
http://d.android.com/reference/android/widget/ListAdapter.html#isEnabled(int)
On Fri, Dec 11, 2009 at 4:50 PM, rexowner lap...@gmail.com wrote:
I also want to do this, and after hunting around for half a day, have
not found a way to do it,
and am moving on to
could be related to
http://code.google.com/p/android/issues/detail?id=2828
-Dan
On Sat, Dec 12, 2009 at 10:54 PM, Ethan Rublee ethan.rub...@gmail.comwrote:
Thanks, I realized this has been discussed at length else where.
My solution has been to fully stop the activity on pause. It seemed
@theSmith
http://www.google.com/alerts
On Dec 13, 2:09 pm, theSmith chris.smith...@gmail.com wrote:
How did you guys set up alerts? Im confused by what you mean by this.
-smith
On Dec 12, 7:24 pm, iPaul Pro mr.paulbu...@gmail.com wrote:
@Andrel - Thats exactly how I found out about
These guys again. A bunch of kids in Florida if I remember right. I am
disappointed in that their hosting service didn't take them out of
business.
Search the android-discuss group for androidplayground so you can
get the scoop.
I believe someone posted their old, unprotected (that's how
For those of you with paid apps on this site, they're using AdSense,
so I suggest anyone who has their work being distributed on this site
click on the Google Ads link and complain. At least you can get
their AdSense account suspended. They also use PayPal, so you can
complain to them too. Both of
I agree with you that Google or T-mobile should have sent out some
details to us developers.
But i think that your 'My Sales' Google Checkout section will still be
updated with sales, even if the purchases are done through T-mobile's
billing.
On Dec 12, 8:28 pm, frcole frc...@gmail.com wrote:
I doubt they make much through donations or AdSense. Good ideas
though.
Someone with a vested interest (I'm not) needs to write a CD letter
to the hosting service. I'd go straight to the exec's, don't bother
with customer service or who ever. Here's the crew:
Hi,
I am having problems getting Android to use the correct resources.
I am trying to have it pick the correct resources across all densitys
and screen layouts orientations.
So I have created the directory structure as follows
drawable
drawable-large
drawable-large-land
drawable-large-port
not quite get your question.
selection of the resource folder should be automatic, as indicated in
android-sdk-windows/docs/guide/topics/resources/resources-
i18n.html
the current locale of your phone/emulator can be learned by
Locale.getDefault();
hope this helpful to
Hello, nobody had run core tests? Anybody can help me? Please!
--
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 HeHe,
Thanks for your reply and sorry for the misleading. let me clarify my
question.
i didn't make any coding on localization. what it want to do is to let
my application shows either traditional chinese/simplified chinese
depending on the phone locale. currently i got the following two
Thanks, I got what I want.
On 12月12日, 上午7时24分, fadden fad...@android.com wrote:
On Dec 11, 2:04 pm, jotobjects jotobje...@gmail.com wrote:
methods that are not part of the public API will of course show up in
stack traces. Are you looking at theJavaAPI docs or at theJava
source code?
I am using the following query and expecting to retrieve only contacts
with at least one phone number. However, I *am* getting contacts with
zero phone numbers. Should this constant be renamed
MAYBE_HAS_PHONE_NUMBER? :)
@Override
public ListAdapter getAdapter(Activity activity)
Items in arrays shouldn't have names. See for example these array
definitions in the base platform:
Prior to 2.0 multiple surfaces on top of each other were not supported, and
any tricks you use to try to make this work are likely to break in the
future or on different devices. (The framework made no guarantees about
what order they would be placed in the window manager, it was just
You can set android:launchMode to singleTop to avoid having multiple
instances of the activity created on top of each other. However, you
probably want to sit down and think about how this notification should
interact with the application in all of its states -- both while the user is
in it, and
Hi,
I'm just wondering if there is a way to to make a WebView flip
sideways instead of displaying the content by scrolling down. I.E If
the content is a very long paragraph, can we make the webview to
display it by flipping sideways?
Thank you
--
You received this message because you are
i further rectified the problem by looking at error logs of
eclipse
It seems textView is the problem..whenever i try to access a textview
in the layout eclipse crashes.and exits..
here are a few lines from the error log..can any1 tell me wat i did
wrong??
#
# An unexpected error has been
Hi,
I am bhaskar ,i am beginer in android ,i want help from you
people .
i am not able to changing the image view at runtime when clicking on
that image view.
so please can anyone help me..
Thanks in advance
--
You received this message because you are subscribed to the
Is there a place where I can find all the intents related to
operations on Contacts. I am working on an app that allows sending of
a contact entry as a vcard. For this I need a functionality whereby
when somebody touches a contact entry (Long Press) for a contact, I
can display a menu option Send
I'm using Ganymede with the latest release of the Android SDK (2.0.1)
and I'm experiencing a similar problem. I'm pretty sure I noticed
this issue with the 2.0 SDK as well.
For me, I notice the problem will occur as I am editing an XML layout
while on the text editor tab and the last 3 or 4
Hi,
As in android, after inactvity of screen off timeout, android screen goes
off. So here android itself uses some activity observer, to know whether
user is currently active or not. I need not every keystroke or touch event
with details, just knowing that user is active and getting a
is my post visisble to the group :) ?
On Dec 10, 11:41 am, Jags jag...@gmail.com wrote:
I am dealing with 4 activities and a database. one parent activity
calls 3 other activites [add, edit, delete] . so when i come back from
these 3 activities to parent activities, depending upon the database
I was wondering whether Androd can catch simultaneous Key Press.
For example, a application does something when a user press HOME and
MENU key simultaneously.
Is it a possible scenario?
Thank you in advance.
--
You received this message because you are subscribed to the Google
Groups Android
Thanx Matt.. lemme know if you find something related to this
matter.. :)
On Dec 9, 7:59 pm, Matt hansen.matt...@gmail.com wrote:
Thecallrecordingapps that I know of in Android only work if the
phonecallis on speaker phone.
Based on user comments, they also look pretty unstable.
Matt
On
1 - 100 of 109 matches
Mail list logo