Hi,
I try to use SensorManager.getRotationMatrix(R,I,values,mags);
However, the error occurs, saying The method getRotationMatrix(float
[], float[], float[], float[]) is undefined for the type
SensorManager I'm currently using Eclipse with Android SDK 1.5,
and I already import
Is BlueTooth available yet in the SDK?
On Sep 15, 3:22 pm, Xavier Ducrohet x...@android.com wrote:
http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
Enjoy!
--
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.
Not as of 1.6.
On Sat, Oct 3, 2009 at 12:22 AM, Shanjaq shan...@gmail.com wrote:
Is BlueTooth available yet in the SDK?
On Sep 15, 3:22 pm, Xavier Ducrohet x...@android.com wrote:
http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
Enjoy!
--
Xavier Ducrohet
Android
Hi All,
I need to create a bitmap with transparent background using an
inputstream.
BitmapFactory.Options opt = new BitmapFactory.Options();
opt.inPreferredConfig = Bitmap.Config.ALPHA_8;
bitmap = BitmapFactory.decodeStream(is, null, opt);
But my image is always rendered with black background.
You could add an extra activity to your apk that does the init stuff
if the database does not exist and otherwise closes without showing
anything.
It might be a good idea to inform the user that you are going to
create a 15mb db on his device. Telling the user why this is needed
might be a
good
I'm happy to see that the application scaled up, but I wish it didn't
have a black bar on the side. I am also anxious to see how the scaling
performs. My game needs every bit of CPU it can get.
I don't think scaling will be a problem with performance. Newer
devices with bigger screens will
ok, but, if I use intent.setType(image/*) it clears any data that
was previously set by setData(Uri). Sow how do I specify MIME type?
On 3 Paź, 02:13, Dianne Hackborn hack...@android.com wrote:
You need to specify a MIME type, since your data isn't in a content provider
that the system can
ok, I am able to send the image through the gmail with the following
code:
Intent intent = new Intent(Intent.ACTION_SEND, null);
intent.putExtra(Intent.EXTRA_STREAM,Uri.parse
(Environment.getExternalStorageDirectory()+/Ania.jpg));
intent.setType(image/jpeg);
Hi All,
In my application I create different alarms as reminders, I want to
give a feature to cancel all active alarms. Is there a way to do this
with one call?
I create alarms in the following way:
PendingIntent sender = PendingIntent.getBroadcast(
Hi All,
Any ideas how to do this? Sorry for the reminder mail.
Regards,
Siju Mathew
On Sep 30, 1:47 pm, Siju siju.mat...@gmail.com wrote:
Is there a way to accesspendingnotificationor the previousnotificationthat my
application created?
When I useNotificationmanager and use its
Hi
is it possible to remove the prompt which appears on sending outgoing
sms asking for permission to send the sms?
Thanks in Advance
Nemat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Sorry everyone; I didn't want to create any trouble here.
Thanks anyway for the TextWatcher solution; it works fine.
On Oct 2, 10:03 pm, Dianne Hackborn hack...@android.com wrote:
On Fri, Oct 2, 2009 at 8:16 AM, Hannes Steiger
hannes.stei...@googlemail.com wrote:
..seems as if some
Any ideas how to do this? Sorry for the reminder mail.
There is no current API to do this AFAIK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this
is there a way to bring an app to the foreground?
I have an application widget that when clicked, I want to launch an
existing application to the foreground, with whatever foreground
activity it has at the time.
tia.
--~--~-~--~~~---~--~~
You received this
Hi,
I'm trying to make my own version of the Contacts application, with
only the Contacts tab. I removed the telephony functionality.
What I don't understand is: when I want to use the Cursor for the
Contacts provider (in the ResourceCursorAdapter), Cursor.moveToPosition
(0) is false. The
You need a SIM card with data plan in order to tie your G1 to your
Google account. After that you can use your G1 without SIM card.
On Oct 3, 1:36 am, Thomas tbirchm...@usa.net wrote:
I bought a used T-mobile G1 without a sim card for internet
development. For my purposes the wi-fi should
Me to Struck at This Android Emulator-Camera stuff :(
can Somone please give more details
CameraSource cs = new SocketCamera(192.168.0.100, 9889, 320, 240,
true);
if (!cs.open()) { /* deal with failure to obtain camera */ }
while(/*some condition*/) {
cs.capture(canvas) //capture the frame
Hi,
I launch an application called DecisionTreeActivity by this code :
Intent i = new Intent(Intent.ACTION_MAIN);
ComponentName toLaunch;
toLaunch = new ComponentName(com.tests.decisionTree,
com.tests.decisionTree.DecisionTreeActivity);
Hi All,
I've been seeing this every now and then - must be some env.
problem
Context: I've the latest 1.6 sdk. I would like to build the project on
1.5 as well as on 1.6. New 1.6 also comes with 1.5. My build succeeds,
but I get a bunch of error --- Not sure if I screwed the java env
In searching for more information on this topic I found the following
code sample which apparently is needed to access the data and
resources of another package.
Context currentCtx = ...;
Context otherCtx = currentCtx.createPackageContext(package_name,
Context.CONTENT_INCLUDE_CODE);
Resources
In searching for more information on this topic I found the following
code sample which apparently is needed to access the data and
resources of another package.
Context currentCtx = ...;
Context otherCtx = currentCtx.createPackageContext(package_name,
Context.CONTENT_INCLUDE_CODE);
Resources
Hi Mohithif you are done with all your networking stuff then
put the code in a method and run a thread from the activity and call that
method.
Keep in mind that you need to create a surface and get holder from that and
holder.lockcanvas()
give you the canvas and then use that canvas in the
Hi All,
I'm wondering how I would go about the following:
An int value is sent to a textview called X for example, the value of
X is constantly changing, so x could equal any int. Now what Im unsure
how to implement is, if we say X equals 10, I want to be able to time
how long it takes
One solution is you can create a webservice which will do everythign for
you.I am also working on the same application and I am getting data from
remote Sql server using the webservice.
On Fri, Oct 2, 2009 at 6:42 PM, sandreev sanjee...@gmail.com wrote:
Hi All,
I am working on an app that
Hi everybody,
A few minutes ago I have updated my Samsung Galaxy with the New PC
Studio for Germany (not Android 1.6!!!).
After that, my mobile restarted and now the whole system isn´t
working.
There always appers an error message that process com.android.phone
has stopped unexpectedly.
Normaly(
Hi everybody,
A few minutes ago I have updated my Samsung Galaxy with the New PC
Studio for Germany (not Android 1.6!!!).
After that, my mobile restarted and now the whole system isn´t
working.
There always appers an error message that process com.android.phone
has stopped unexpectedly.
Normaly(
Hi everybody,
A few minutes ago I have updated my Samsung Galaxy with the New PC
Studio for Germany (not Android 1.6!!!).
After that, my mobile restarted and now the whole system isn´t
working.
There always appers an error message that process com.android.phone
has stopped unexpectedly.
Normaly(
I have an activity with 2 background threads accessing the same
database. In each background thread I am using SQLiteOpenHelper to
open the database. Do I need to worry about onCreate and onUpgrade
potentially being called on each thread?
--
Richard
I created an open-source project for this, under the Apache 2.0
license.
You can find it here:
http://code.google.com/p/sanselanandroid/
I fixed one issue. That fixes a possible out-of-memory issue when
writing Exif to large JPEGs.
On Sep 20, 4:34 pm, admin.androidsl...@googlemail.com
When you first go above the start threshold then set a member variable
to the time. When you go above the end threshold then subtract that
from the current time to get the time elapsed.
On Oct 3, 11:43 am, Sonic nitroussi...@googlemail.com wrote:
Hi All,
I'm wondering how I would go about the
Thanks for that, but how would I get it to automatically watch the
textview values of x to automatically stop the timer after reaching a
specific value? Would I need to use some kind of listener?
Thanks in advance.
On Oct 3, 6:08 pm, Lance Nanek lna...@gmail.com wrote:
When you first go above
Also what I see in my workspace that the src folder does not have the
[+]com.samples.something type archiving, so it is in the folder mode.
I can compile the source. But the view shows syntax error, can not
resolve java class
Something very weired
-pro
On Oct 3, 7:45 am, pro
Please help me
On 3 Okt., 18:26, Nox v.beh...@googlemail.com wrote:
Hi everybody,
A few minutes ago I have updated my Samsung Galaxy with the New PC
Studio for Germany (not Android 1.6!!!).
After that, my mobile restarted and now the whole system isn´t
working.
There always
Doing simple linear from the 1st sample:
When we start we will have:
originalX at time originalTime
When a sample arrives we will have:
currentX at time currentTime
Therefore the rate of change of X to now is given by:
rateX = (currentX – originalX) / (currentTime – originalTime)
So time
Are you sure that the missing PUSH_BUFFERS are the reason?
I have tried with and without on 1.6 but the preview data is still
random.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Thanks Mark! I'm guessing the that creating the library as an Android
project is simply to allow a dummy front-end for testing?
On Oct 2, 8:21 pm, Mark Murphy mmur...@commonsware.com wrote:
I'm building an app where I want to architect the app layer separately
from the service layer (not
Ok, I understand the principle behind this, but unsure how it would be
implemented.
How could you you get the current start time when the value of X is
greater than 30 for example, so it wouldnt start if it was below this.
Im unsure of how to pass in the value of x into this?
On Oct 3, 6:29 pm,
i am using android eclipse plugin for coding and try to follow
hellowmapview tutorials to display google maps but nothing to display
your application stopped unexpectedly force close
i am using android 1.6 and google api 4
my source code is as follows
package navigation.google.HelloMapView;
Hi all,
I've followed the steps described in issue 979
(http://code.google.com/p/android/issues/detail?id=979
) to get the Android 1.6 source to appear in Eclipse and it kinda works.
I've downloaded the 1.6 source archive provided by a commenter in the
issue, unzipped it and copied the
I was wondering if its possible to have a broadcast receiver to listen
when the app its in launches. I tried doing by creating a
BroadcastReceiver to listen for the android.intent.action.MAIN action
but it never gets called? Is there something I need to do or a
different action I should be
Hi, is there any way how to do this using the public or private api?
Many thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I guess it is possible because HTC Hero has this option in setting
menu, but I am not able to find how to do that. Settings.System does
not have constant for that. I even browse the GIT repository without
any success. What am I missing?
Many thanks
I'm trying to clean up some rendering issues for a 3D game --
CowPotato (http://www.cyrket.com/package/
com.froogloid.android.cowpotato). I could use some help on one issue.
Basically I'm seeing some flickering, like the next frame is getting
flushed before everything is drawn. It is
Hi,
we will not provide official source for android.jar in the SDK.
I've updated the bug entry with more information.
Xav
On Sat, Oct 3, 2009 at 12:36 AM, Stelian Iancu stelian.ia...@gmail.com wrote:
Hi all,
I've followed the steps described in issue 979
Invalid MTJ Project.
Why are you using MTJ to develop for android in the first place?
The ADT plug-in does not require nor use MTJ in any way.
Xav
On Sat, Oct 3, 2009 at 7:45 AM, pro proka...@gmail.com wrote:
Hi All,
I've been seeing this every now and then - must be some env.
problem
How can I publish two versions of my app without changing the package
name, so that users may upgrade to either version, one for Anroid 1.5
and one for Android 1.6 ?
I want to offer new features requiring Android 1.6 as soon as
possible, but not all users will have upgraded to Android 1.6.
If I remember correctly OpenGL internally has a limit to the number of
items it can hold in it's display list. When the list gets full it's
starts drawing rather than dropping your items. To achieve this it
flips the buffers and draws the remaining items on the live screen.
If I am remembering
You need a key to access google maps, obtain the key and insert it in
android:apiKey=here is my key
There is a very good introduction how to obtain the gogle map api key on
this web site
Good luck
-Ursprüngliche Nachricht-
Von: android-developers@googlegroups.com
Try adding
category android:name=android.intent.category.DEFAULT /
to the receiver intent-filter.
I don't think this will work but I am interested to see what result
you get :)
--
RichardC
On Oct 3, 12:38 pm, jonathan.duty jonathan.d...@gmail.com wrote:
I was wondering if its possible to
Hi,
Thanks for the clarification.
S.
On Oct 3, 2009, at 21:25 , Xavier Ducrohet wrote:
Hi,
we will not provide official source for android.jar in the SDK.
I've updated the bug entry with more information.
Xav
On Sat, Oct 3, 2009 at 12:36 AM, Stelian Iancu stelian.ia...@gmail.com
hi all
please I want to know what is the default encoding of android system
thanx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I was getting a similar problem, with similar error message.
Eventually I discovered that my mini-USB cable was defective.
Switching to the one that comes with the Android device solved my
problem.
S
On Oct 2, 8:24 pm, joelt j...@harpsoft.com wrote:
I am having trouble getting the proper USB
Thank you..finally found some way to go, perhaps not best one, but
working :)
On Oct 1, 3:09 am, Streets Of Boston flyingdutc...@gmail.com wrote:
I think you can't use the '[ ]' operator on the JSONArray (if
valArray2 is a JSONArray).
[ ] only works in regular arrays.
Look at the
put it in the adb tools folder, then use adb install filename.apk
S
On Oct 2, 5:11 am, Eray Ince eray.i...@gmail.com wrote:
Dear All,
I have a .apk file and How can I run this file in my netbeans ide with
Android emulator
Thanks in Advance
--
--
Eray
Hello,
I didn't found clear answer for why my code does not work. I assume it
is because I am trying to update textview from runnable. Anybody know
some workaround? Code isn't clean off course, I am happy to get that
working so far as I am totally new in java.
public class MainScreenActivity
It is good policy to keep logic like this separate from the view. I'd
put the logic wherever you are getting the value from, before you send
that value to the TextView. In the onLocationChanged method of your
LocationListener implementation, for example, if you are using a
listener to receive
You do need to get a maps API key, but that is not the reason for the
Force Close. An invalid apiKey just results in an empty map view.
There should be a stack trace that indicates why the application is
closing.
Also the example in HelloMapView has outdated instructions to create
the zoom
It's quite a bit of code, but one thing's missing that you have to do:
In your onCreate, you're not calling setContentView(...). You have to
do this to show at least something :-)
On Oct 3, 4:39 pm, vorcigernix vorciger...@gmail.com wrote:
Hello,
I didn't found clear answer for why my code
How can I publish two versions of my app without changing the package
name, so that users may upgrade to either version, one for Anroid 1.5
and one for Android 1.6 ?
You cannot do this with the Android Market, at least in the form you
describe.
I want to offer new features requiring Android
I was wondering if its possible to have a broadcast receiver to listen
when the app its in launches. I tried doing by creating a
BroadcastReceiver to listen for the android.intent.action.MAIN action
but it never gets called? Is there something I need to do or a
different action I should be
Thanks Mark! I'm guessing the that creating the library as an Android
project is simply to allow a dummy front-end for testing?
That, and get you hooked up to be able to use Android SDK APIs. If you're
comfortable setting all that up separately, you can roll your own project
scaffold and skip
stand further back from your subject.
s
On Oct 1, 7:37 am, Isuru Samaraweera iisuru@gmail.com wrote:
Hi All,
I want to capture much larger image than the current small image captured
by the android g1 phone camera.Any clue???
Thanks
Isuru
The camera intent, android.media.action.IMAGE_CAPTURE uses a small picture
as a default.
You can get around that by specifying a file location for the picture.
Intent i = new Intent(android.media.action.IMAGE_CAPTURE);
File photo=new
Use Intent.setDataAndType().
Though the formal definition for this intent is that the data is in the
stream extra:
http://developer.android.com/reference/android/content/Intent.html#ACTION_SEND
http://developer.android.com/reference/android/content/Intent.html#ACTION_SENDSo
if those apps aren't
Hi Nox - I believe this is not right forum for this type of support
question. Is this the Samsung PC Studio? If that's the case, it
appears Samsung should be the right people to turn to.
On Oct 3, 10:25 am, Nox v.beh...@googlemail.com wrote:
Please help me
On 3 Okt., 18:26, Nox
I am interested in putting some simple graphics (lines, a bit of text,
etc) over a live camera preview.
I've looked at the examples, and fiddled around a bunch, but just
don't see how to do it.
The examples use a GLSurfaceView as a camera preview surface, but in
that mode the view apparently
nevermind (egg on face) - my bug. doh.
On Oct 2, 5:28 pm, sdphil phil.pellouch...@gmail.com wrote:
I've got an App Widget that gets updated (er... I try to update it)
with the following chunk of code:
ComponentName thisWidget = new ComponentName(context,
MyAppWidgetProvider.class);
i notice that the service I'm developing will get restarted by the
ActivityManager if I go into adb shell and type kill 1234 where
1234 is the process id. is there any way to tell android -- don't
auto-restart his process?
tia.
--~--~-~--~~~---~--~~
You received
I have a question re: the emulator. In order to test forward
compatibility, I fired up the emulator that comes with the 1.6 SDK,
but the firmware version shows 1.5 and the build is 1.5/Cupcake
(looked up in Settings/About phone). Is this the expected behavior,
and what can I get out of this to
I've got an AVD setup with an SD card, but I wanted to specify a
different SD card image by setting a -sdcard option in Eclipse under
Preferences - Android - Launch (I fill in -sdcard C:\sdcards
\sdcard96M.img without the double quotes). But it seems no matter
what I do, I always get the SD card
hi, mudit try to use
file:///sdcard/abc.jpg
instead of
file://sdcard/abc.jpg
On Aug 13, 3:14 pm, Fin f_mac...@hotmail.com wrote:
On 7 Aug, 14:25, mudit mudit.a...@gmail.com wrote:
hello..
i`m trying tosendan email using native email client on android
phone.
I have tried
Hi there !
I got a problem launching unit tests.
I did:
* new android project in eclipse, new android test project in eclipse
* added one test case, added one test suite
* run as- android junit test hangs on Launching instrumentation
android.test.InstrumentationTestRunner on device emulator-5556
I got 'no JUnit3 tests' info when trying to use JUnit4-only tests
under android 1.6
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
How possible would this be? I'm not a developer, but I am a musician
in a band and I run samples off a cpu. If I could just use my phone
to trigger multiple sounds that would save a lot of setup time, and
space in the trailer ;)just throwing that out there to whoever
wants it. Thanks!
Joe
I am experiencing some very puzzling and frustrating behavior from a
WebView. The WebView exists as the only child of a LinearLayout- that
is, it fills the entire screen. Viz-
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
I reacently bought Samsung Star.I am planning to boot Android on
Samsung Star.I wanted to know is it possible to boot Android on
Samsung Star
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
Are you sure the AVD you're launching was created with the 1.6 target?
Xav
On Sat, Oct 3, 2009 at 9:57 PM, JoaJP joachim.pfeif...@gmail.com wrote:
I have a question re: the emulator. In order to test forward
compatibility, I fired up the emulator that comes with the 1.6 SDK,
but the
Uhm, thank you, I wasn't. I assumed $ android create
would automatically go for 1.6. Problem solved.
On Oct 3, 10:00 pm, Xavier Ducrohet x...@android.com wrote:
Are you sure the AVD you're launching was created with the 1.6 target?
Xav
On Sat, Oct 3, 2009 at 9:57 PM, JoaJP
I set out to use SkCanvas and other native SKIA classes but I could
not find any sample code. After a week's of search and diving deep
into Android source, I got it working. Below in my blog, I have
detailed, how to use SimpleJNI native sample, to get native canvas
going. If you find it useful or
79 matches
Mail list logo