I'm really not understanding how to go with this...
I've been reading and reading.. I can find all kind of algorithms.. I
can find a haversin algorithm that points me to the correct direction
if my device is pointing north.. but the needle is static... so if i
change the device orientation
this sounds trivial to me.
Just compensate the error that is introduced by not actually pointing the
device north by subtracting that error from your arrow's pointing angle. No
need to change any algorithm, just compensate for the dude, you're holding
it wrong
--
You received this message
I've tried it.
Adding and subtracting the value: event.values[0], which is actually
my Azimuth in degrees returned by the sensor.
But the orientation is off! ..
The algorithm gives the Correct value, but it doesn't move because
there's not sensor variables involved.. so if I subtract the
Basicly, if my device is pointing the wrong direction. I can't see the
value.. because the arrow is static. The arrow is always static if I
don't use any of the sensor values.
On Sep 22, 2010, at 10:08 AM, Christian Buchner wrote:
this sounds trivial to me.
Just compensate the error that
Pedro,
I think you should learn something about the way direction (and
orientation) is specified in computer programming.
http://en.wikipedia.org/wiki/Yaw,_pitch,_and_roll
http://en.wikipedia.org/wiki/Euler_angles
Well.. I'm guessing it's to hard or impossible then.. :/
On Sep 17, 2010, at 9:56 PM, Pedro Teixeira wrote:
Hi everyone...
I'm back with the same issue for the last couple of days… I'm trying
to create a compass for my application BUT the difference is that,
instead of having a line always
Pedro,
If I understand you correctly, you are having difficulties with the
device's orientation.
The bearing angle seems to be computed in the horizontal plane. If you
wish to adjust for the device's orientation, you need to concatenate it
with the bearing angle.
Google for quaternions.
Hi everyone...
I'm back with the same issue for the last couple of days… I'm trying
to create a compass for my application BUT the difference is that,
instead of having a line always pointing to north, I want this line to
point for a specific point. I've been trying dozens of algorithms and
I have a linear layout with several custom view and button.
Whenever I press a key down I would like that only one view will
respond to it.
However, now when I press a key I see that te focus goes to the button
in that layout.
How to make an activity to respond to te key down event before
Need some guidance to incorporate dynamic authentication as in here
http://consumeradoption.com/sherman1/
Thank You.
--
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
On Wed, Aug 11, 2010 at 9:17 PM, joel joelgigg...@gmail.com wrote:
Need some guidance to incorporate dynamic authentication as in here
http://consumeradoption.com/sherman1/
Thank You.
http://catb.org/esr/faqs/smart-questions.html
Hi all,
I want to develop aplication supports hebrew font.
Does anyone know how to install hebrew fonts my android as development
phone? And also how make the application displaying hebrew properly on
other devices?
Thanks in advance,
Evgeny
--
You received this message because you are
Hi all,
I'm trying to replicate some functionality that I've seen, but I can't
seem to figure out how. Specifically, I'm looking at the Timer
application (part of the clock) that is included with HTC Sense. When
the countdown for the timer expires, a small dialog box pops up
regardless of what
On Thu, Jul 15, 2010 at 3:53 PM, James jmos1...@gmail.com wrote:
I have tried having the BroadcastReceiver send an Intent to a Dialog.Themed
Activity, but that brings my entire app back to the foreground.
Try playing around with taskAffinity.
Hi, I am in need of help to complete my application.
I am trying to execute a project that uses and android library.
Basically I am trying to execute the android facebook sdk to run the
sample code provided at http://github.com/facebook/facebook-android-sdk
1. I have downloaded the sdk and
Hi Nishant,
From last 2 weeks i am also trying to get data from facebook. But still
facing lot of difficulties.
In my case i am using some FBRocket code. It shows login page and after
successful login page
it fulfill one request(like friends name, or set status) ; but if i make
second request it
init:
deps-jar:
Compiling 2 source files to C:\Documents and Settings\usman\My
Documents\NetBeansProjects\AndroidApplication2\build\classes
compile:
Created dir: C:\Documents and Settings\usman\My Documents
\NetBeansProjects\AndroidApplication2\dist
=C:\Documents was unexpected at this time.
Hey everyone, Im having some trouble using the camera. I am able to
call the camera using an Intent but the image that gets saved is not
the file name i supply and the quality is terrible. Is there a way I
can simply call the camera app let it take a picture and save it just
like it would if I
the slowness of system clock with SDK 1.6 makes debugging of my app
that heavily depends on correct clock timing impossible.
hence, i would like to know if i can develop app for Android 1.5/1.6
using more recently released SDK (eg. 2.0)? if yes, how?
thanks in advancet for any advice!!
--
You
I'm just trying to make happen what is described here, with the custom
permission:
http://developer.android.com/guide/topics/manifest/manifest-intro.html#perms
i.e. I want my activities (I'm only showing one below) and
ContentProvider to not be accessible from other applications, because
they
Brion Emde wrote:
I'm just trying to make happen what is described here, with the custom
permission:
http://developer.android.com/guide/topics/manifest/manifest-intro.html#perms
i.e. I want my activities (I'm only showing one below) and
ContentProvider to not be accessible from other
Hi
I need farsi font!
And How Android Persian support?
Plese help
--
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
Please use a better title that indicates your actual problem!
On Mon, Mar 22, 2010 at 6:17 PM, Amir amir...@gmail.com wrote:
Hi
Hi
I need farsi font!
I don't have farsi font!
And How Android Persian support?
This not sense makes does?
Plese help
I tried.
Hi to all,
I will be really glad if some one could just give me a hint on how to
implement voice conferencing in Android.
does Android support voice conferencing? can we do it without a third party
server (that may be merging voice from different users and broadcasting it
to all participating
Obaid Salikeen wrote:
I will be really glad if some one could just give me a hint on how to
implement voice conferencing in Android.
You asked this already. I replied to you already:
http://groups.google.com/group/android-developers/browse_thread/thread/44d19d23c690f795/22d4aff1f9b7001d
Is
Any help would be great on this thank you.
If you have two objects on the canvas (obj A) (obj B) and they both
move around dynamically (i.e the X,Y values are constantly changing).
I need to check if they intersect.
I know you can do something like ObjA.X == ObjB.X and ObjA.Y ==
ObjB.Y but the
I know i do not belong here but I need some computer help. I have an
EeePC, two external hard drives. I have been working from my external
drive now all I want to do is copy #1 external drive to #2 external
drive and to the computer itself. Backup programs are not letting me
do this Paragan
Dear Sir/Meadam dont delet this message and dont forget join this
website (ITS ALSO FREE)
so please join RESPECTORS
MORE INFO ; http://123maza.com/25/rajs56/
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
i wanna to cut a picture when the vedio is playing , have no
idear ,please help me ,guys.
--
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
Hi all,
My app suddenly could not create a directory on sdcard using mkdirs(), it
was working fine before.
As the method throws no exception, I have no idea what the cause is. I have
checked for a duplicate directory/file of same name, and there is none.
I did remove and insert sd card but to no
You probably need to add:
uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE /
to your manifest.xml.
They added that in 1.6 I think.
On Tue, Dec 15, 2009 at 1:50 PM, Agus agus.sant...@gmail.com wrote:
Hi all,
My app suddenly could not create a directory on sdcard
Thanks a lot it works now,
This is interesting since I have never changed the target build API other
than 4.
On Tue, Dec 15, 2009 at 5:01 AM, freezy phree...@gmail.com wrote:
You probably need to add:
uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE
/
to your
Hello,
I want to capture the phone number of any android device. am using this code
TelephonyManager mTelephonyMgr =
(TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
sim = mTelephonyMgr.getLine1Number();
in emulator it returns a value. But when i
Hi,
This has been killing me. I finally found examples around the
net for things I wanted to experiment with. I had to go searching cuz
I could find this information anywhere in the API Docs.
Two things specifically that I'm interested in are:
1) For listening for
Hi,
I sent this out last night, but I didn't see it come through, so I'm
sending it again. Sorry if it is a duplicate.
This has been killing me. I finally found examples around the
net for things I wanted to experiment with. I had to go searching cuz
I could find this information
2) OK, similar thing for receiving GMail and Exchange email delivery
notifications.
First, is there a way to get them via a broadcast receiver?
No.
I see code floating around that you need to do something like this
instead:
hi
is there someone troubled the same issue,please try to help me . i am
waiting for you , thanks
the code in run();//a thread class
reqEntity = new StringEntity(sendContent.toString());
reqEntity.setContentType(application/x-www-form-urlencoded);
Hi
Can any one tell me is group messaging is possible in android
or not. If yes then please tell me something like how can i implement this?
Thanks,
Suman
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
I just want to send the incoming call to voice mail after X amount of rings.
how can we see the incoming call to voice mail if so how to do it after X
amount of rings
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
I'm new to android development. We need to buy around 20 phones for
android development for our university. Please share your views and
comments on the phone you think is good for Android development.
Thank You
--
You received this message because you are subscribed to the Google
Groups Android
Personally, I find all Android phones to be excellent for development.
However, here are some things I would consider before deciding.
Let's consider these devices:
HTC G1
HTC Magic
HTC MyTouch
HTC Hero
HTC Eris
Samsung Galaxy
Samsung Moment
Motorola Cliq
Motorola Droid
Given the choice of a
I posted this questions twice. I will really appreciate your help. Am I
asking very basic or vice versa? Or it is not possible in Android. Please
help.
On Fri, Sep 11, 2009 at 3:09 PM, Atif Gulzar atif.gul...@gmail.comwrote:
Hi,
How can get the active context of an application?
The
I want to display a overlay in maps ( as Overlay of MyLocation - The
circle which can flash ).
How to do ?
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I am beginner (Both Android and Server side programming),
Am having doubt about Server side for my Android mob application
My requirements are
1. Receive request from android mob application
2.Run algorithm on Huge Database Depending on some variable xxx
inside query request from mob app
3.
hello all, How to detect key event without activty in android?
How to detect key event in broadcastReceiver in android?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Hi friends,
I tried to play youtube url from ADP 1.5 device's browser. It doesn't
play.
Shows warning as the video you have requested is not available.
But when played in pc i got a video playing in my pc. The url is
http://www.youtube.com/watch?v=yiALvl1rILE
Can any one please suggest me
hi , everyone
I'm finding some ebooks about android
For Examples : Pro andoird , T-Mobile G1 For Dummies,Hello, Android:
Introducing Google's Mobile Development Platform , Android Application
Development: Programming with the Google SDK, The Busy Coder's Guide
to Android Development ,Google
Hii All,
I am developing a game in android and i want to capture screen
coordinates of a view(ImageView) which is embedded in frame.
Hierarchy is
LinearLayout android android:layout_height=fill_parent
android:layout_width=fill_parent
RelativeLayout android:layout_height=fill_parent
hi Everyone:
i searched the groups for days, and can't solve the problem by
myslef. so i'm asking for help here.
i have a service running background, it registered a LocationListener
on the LocationManager. when the phone moved exceeded the predefined
distance, listener will be triggered and
Hi ,
i have a ImageView layout where one image need to be displayed on user
selection.
if i click on image, it start a new activity for image selection and
display that image on the previous activity image layout.
-
Activity 1:
ImageView Image;
Hi,
I have tried everything thing I can thing of in defining the style of
my widget in my theme. But I still can't get it to work. I have posted
my questions to various forum/newgroup, I can't get my problem
resolved. I appreciate if someone can help me.
I am tying to define the style of
ARGH! A few months back my application was marked as suspended
because I violated the agreement by having users purchase a license
key through PayPal. Google explained all I would need to do was re-
upload my application sans the offending code. But, there is no
upgrade button once your
Hi everybody,
I'm new to android, but I am picking up speed quickly. I've spent the
last several years writing Windows services. So I am not a complete
newbie in this area.
I've written a test service to understand how android implements a
service. I believe I understand the difference between
Hello all,
I haven't written in Java for about 5 years... but I've re
familiarized myself with java, and was able to write a game. The game
is 4Ever Fall. You can find it on the android market, it's free. I
am having problems with the game because it lags too much; especially
when there are
I am using AlaramManager to invoke my application after particular
time
intarval. For that i need to create the object of PendingIntent. I
want
to ask some question for that.
1) I want that after particular time interval the same class start in
execution so can i put current class name to
I am having an issue when trying to save a screen shot of a view to a
file.
I am using the following code to save the bitmap
Java:
Bitmap screenshot;
mView.setDrawingCacheEnabled(true);
screenshot = Bitmap.createBitmap(mView.getDrawingCache());
mView.setDrawingCacheEnabled(false);
try {
my name is Suman. i can notify a incoming sms. the code is written
belowimport android.content.BroadcastReceiver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import
Hi,
I downloaded android source and make according to the doc (I've set the
ANDROID_JAVA_HOME). The webkit browser on the emulator made from source cannot
access the Internet, meanwhile the webkit browser on the emulator come with
android SDK 1.0r1 can. Can anyone help figure out what's wrong
Hi,
I read Android source Get source doc. There is a section Building the code,
it says that to cd to the source directory and run make. Here comes my way
stupid question, what is it going to make? what code it's going to build? It
seems no doc is concerning it.
Thanks
Dear Android Staff,
I have problem with getting event onChange(boolean selfchange) in
ContentObserver when I set getContentResolver().registerContentObserver(
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI ,
true,imageObserver ); and add image file in sdcard using ddms or using
Hi,
I am having problems defining a custom view, any help would be
appreciated.
I would like to create a custom view that contains and manipulates
several standard TextViews.
I would like to be able to define this in XML as follows (so that I
don't have to add each TextView by hand):
view
101 - 161 of 161 matches
Mail list logo