You should get the TelephonyManger using
getSystemService(TELEPHONY_SERVICE) instead, like this:
TelephonyManager telephony = (TelephonyManager)
getSystemService(TELEPHONY_SERVICE);
See
http://code.google.com/android/reference/android/content/Context.html#TELEPHONY_SERVICE
for the definition of
Do not use TelephonyManager.getDefault(), this is private API that may
change. Instead use the following:
(TelephonyManager) getSystemService("phone")
On Mon, Aug 18, 2008 at 11:06 PM, Huebi <[EMAIL PROTECTED]> wrote:
>
> You need the permission READ_PHONE_STATE, then use
> TelephonyManager.getD
Thank you Justin for helping me out. It is working pretty fine
now. :-)
Cheers from Germany!
On 19 Aug., 02:11, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote:
> Looks like you also need the Apache Commons IO library which you can
> get fromhttp://commons.apache.org/io/.
>
> Cheers,
> Just
Take a look at
http://code.google.com/android/reference/android/telephony/TelephonyManager.html#getLine1Number()
-Jeff
On Mon, Aug 18, 2008 at 10:30 PM, j <[EMAIL PROTECTED]> wrote:
>
> How do I get the user's phone number in 0.9 beta SDK?
> >
>
--~--~-~--~~~---~--~
You need the permission READ_PHONE_STATE, then use
TelephonyManager.getDefault() to get hold of the TelephonyManager. On
the returned instance call mgr.getLine1Number() and there it is :)
Cheers
-Huebi
On 19 Aug., 07:30, j <[EMAIL PROTECTED]> wrote:
> How do I get the user's phone number in 0.9
How do I get the user's phone number in 0.9 beta SDK?
--~--~-~--~~~---~--~~
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
On Aug 18, 12:01 pm, "David McLaughlin (Android Advocate)"
<[EMAIL PROTECTED]> wrote:
>
> We're pleased to announce the release of the Android 0.9 SDK beta!
tat... Thanks guys, finally... Looks like things are getting back
in line now.
>From what I could see so far it appears we (developers
Also, just to follow-up on this more, I installed lighttpd locally on
the same computer as the emulator. I also made sure to add the 3GP
video mime-type.
This way, I could try using "http://10.0.2.2/dailytest.3gp"; as my test
URL from the emulator, which should bypass even the emulator's bridge
Great.
Maybe i'll update my code for the newer SDK after i presentate my
project :D
Thanks again for your reply Justin
On Aug 19, 11:52 am, "Justin (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> If you continue to use the M5 SDK, then yes, your application built
> for the M5 SDK will continue
If you continue to use the M5 SDK, then yes, your application built
for the M5 SDK will continue to work. Your application will not work
on the newer SDK with the newer emulated environment.
Cheers,
Justin
Android Team @ Google
On Aug 18, 9:44 pm, Dj <[EMAIL PROTECTED]> wrote:
> Thanks for your
I'm using code almost verbatim out of the VideoViewDemo example.
Below is the exact code to be sure, and I've tried with both
setVideoPath() and setVideoURI().
Looking at wireshark during this process, it seems that the both
YouTube and my server are spewing back plenty of video data, but the
Vid
Thanks for your reply Justin.
I'm forget to tell you that i made this apps for my project at the
college. So i'll test it by the emulator.
If i test my app from emulator, i'll still be able to use the M5 sdk
and GtalkService API right?
Thanks
On Aug 19, 11:36 am, "Justin (Google Employee)" <[E
Glad to see this group coming back again.
Lets talk Android!
take care,
Muthu Ramadoss.
http://mobeegal.in - find stuff closer.
+91 98403 48914
mobeegal - mobile search redefined to find stuff closer.
--~--~-~--~~~---~--~~
You received this message because you ar
Applications designed for M5 will not work on Android devices. You
will have to update your code to work with the current SDK.
Regards,
Justin
Android Team @ Google
On Aug 18, 9:09 pm, Dj <[EMAIL PROTECTED]> wrote:
> I'm happy with the new release of SDK. But it's a bad news for me.
> My applica
My application used the GTalkServices API for a communication in
multiplayer game.
It's a bad news for me that this API is removed from the 0.9 SDK.
If i'm continue to develop my application using the M5 SDK, the
GTalkService is still supported by android isn't it?
Because this API is one of the
I'm happy with the new release of SDK. But it's a bad news for me.
My application used the GTalkService API for multiplayer game
communication and It's a main feature..
it's impossible for me to switch to the new SDK, and start the other
implementation for the multiplayer game because i don't hav
Code for this would be helpful. Can you provide yours for setting up
the VideoView, loading, and playing the file?
Cheers,
Justin
Android Team @ Google
On Aug 18, 9:03 pm, Jeffrey Sharkey <[EMAIL PROTECTED]> wrote:
> Hey there, I'm trying to play 3GP-encoded video using the
> VideoViewDemo exam
I hvae used speech recognition API in older SDK.But I found they were
not available in new SDK.
Does anyone know the API change?
Do you know the new API which can provide same functionality?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hey there, I'm trying to play 3GP-encoded video using the
VideoViewDemo example.
It will play local 3GP videos that have been adb push'ed to the
device, specifically to:
/data/data/[package]/files/dailytest.3gp
However, it refuses to play remote 3GP video from an Apache server,
specifically with
Hi zero,
-11 is INSTALL_FAILED_DEXOPT which is returned "if the new package failed
while optimizing and validating its dex files, either because there was not
enough storage or the validation failed."
I'm not sure why the uninstall does not work. You can always wipe the
emulator data, that'll fix
Is there a reason you can't see if your issue has been fixed by
downloading the SDK and trying it out?
Cheers,
Justin
Android Team @ Google
On Aug 18, 6:11 pm, Bob <[EMAIL PROTECTED]> wrote:
> Will we soon see updates to the issue tracking database (http://
> code.google.com/p/android/issues/lis
We fixed a similar issue in AlertDialog after the SDK was cut, so the
next release might work for you.
On Mon, Aug 18, 2008 at 6:10 PM, Gil <[EMAIL PROTECTED]> wrote:
>
> I'm finding that the problem above is dependent on the length of the
> string parameter passed to setMessage. For certain mess
Will we soon see updates to the issue tracking database (http://
code.google.com/p/android/issues/list)? I'd like to know if some of
the issues critical to our application have been fixed.
Bob
On Aug 18, 2:01 pm, "David McLaughlin (Android Advocate)"
<[EMAIL PROTECTED]> wrote:
> Fellow Android
yep, did that. just assume that the installed package is named
org.openintents:
adb install openintents-debug.apk fails [-11]
after that i see a directory /data/data/org.openintents on the
emulator,
that is already unexpected after a fail (??)
abd uninstall org.openintents comes back with "failu
I'm finding that the problem above is dependent on the length of the
string parameter passed to setMessage. For certain messages it works
fine while for others it does not. Longer messages seem to always work
while shorter ones might not be displayed correctly.
--~--~-~--~~
"Due to significant API changes in the upstream open-source project
and due to the timeline of getting certain Bluetooth profile
implementations certified, a comprehensive Bluetooth API will not be
possible or present in Android 1.0."
YIKES, this is a major loss. What does this mean? The text a
"WebViews now support plugins. The location of the plugin is set via
WebView.setPluginsPath(). Plugins are native (C/C++) code that
implement the NPAPI interface."
I can see the light. Ok, so what does this mean?
Well First of all, what is NPAPI? NPAPI is the Netscape Plugin
Application Progra
Looks like you also need the Apache Commons IO library which you can
get from http://commons.apache.org/io/ .
Cheers,
Justin
Android Team @ Google
On Aug 18, 3:19 pm, code_android_festival_way
<[EMAIL PROTECTED]> wrote:
> So I'm back with a question. I've imported the libraries mentioned
> above
Hi zero,
just to be sure, "adb uninstall" takes the application package, as in
com.company.product, not the package file (.apk).
Xav
On Mon, Aug 18, 2008 at 5:04 PM, zero <[EMAIL PROTECTED]> wrote:
>
> my 2 cents:
> there must be something about the verify process.
> * without further investiga
my 2 cents:
there must be something about the verify process.
* without further investigation, the whole smack api is now failing.
a lot of this seems to be caused by awt or javax classes missing.
* what will verify accept or reject on which base ?
* anyhow, if my installation fails the first
In the new 0.9 SDK, you might have seen ListViews split into sections
using grey header bars with text in them. (Such as the browser
settings list.) This is an excellent UI tool, and can really help
organize activities.
Since there isn't an "official" way of creating these sectioned lists,
I've
I'm building an AlertDialog using the code below:
AlertDialog.Builder d = new AlertDialog.Builder( context);
d.setTitle( title);
d.setIcon( iconId);
d.setMessage( "Please enter a valid username");
d.setPositiveButton( positive, positiveListener);
d.
On Aug 18, 3:58 pm, april <[EMAIL PROTECTED]> wrote:
> So Android handles Media files different from other files. If you want
> to open other type of files, you don't need to give path.
If you are using paths with File or other such APIs, you do need an
absolute path. The only exception is the m
Thank you for the answer.
So Android handles Media files different from other files. If you want
to open other type of files, you don't need to give path.
Thanks!
April
On Aug 18, 3:27 am, hackbod <[EMAIL PROTECTED]> wrote:
> One thing to look at:
>
> mp.setDataSource("piano.mp3");
>
>
On Aug 18, 2:42 pm, Dipen <[EMAIL PROTECTED]> wrote:
> If I press power button from emulator, I get Power Options Menu, and
> from there I chose Power Off. Now when I press power again, it should
> give me the option to choose application to launch, either default or
> custom. Am I correct?
The p
I built an AlertDialog and I set a 48x48 icon in the title. When I
rotate the dialog to view it in landscape orientation the bottom part
of the view is clipped. My view is similar to
R.layout.alert_dialog_text_entry from the SDK samples.
If I change the icon size to be 32x32 the AlertDialog is di
So I'm back with a question. I've imported the libraries mentioned
above and got the following setup:
http://paste.pocoo.org/show/82631/
Now I get an error while executing the POST method with the
HttpClient. Am I doing sth. wrong or what do I have to change to get
it working. (the paste above i
Today we're only releasing this SDK. We'll have more information on topics
like this in the near future.
We'll also be recording that information in the Roadmap, as details are
announced.
- Dan
On Mon, Aug 18, 2008 at 1:30 PM, Shane Isbell <[EMAIL PROTECTED]>wrote:
> Over the Air Delivery and
The graphical layout editor is the default XML editor for files under
/res/layout (assuming the project is properly tagged as an Android
project)
Make sure you haven't set a different default editor by right clicking your
layout file and choosing Open With... > Android Layout Editor.
Xav
On Mon,
You could add this to the porting tips doc
On Mon, Aug 18, 2008 at 2:43 PM, Gil <[EMAIL PROTECTED]> wrote:
>
> Hi Megha,
>
> Once I added the permission it worked!
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
G
Did you check the "Use as default" box?
On Mon, Aug 18, 2008 at 2:42 PM, Dipen <[EMAIL PROTECTED]> wrote:
>
> Thanks for your reply Romain Guy. But i am still little bit confused.
>
> If I press power button from emulator, I get Power Options Menu, and
> from there I chose Power Off. Now when I p
Hi Megha,
Once I added the permission it worked!
--~--~-~--~~~---~--~~
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
Thanks for your reply Romain Guy. But i am still little bit confused.
If I press power button from emulator, I get Power Options Menu, and
from there I chose Power Off. Now when I press power again, it should
give me the option to choose application to launch, either default or
custom. Am I corre
You're right. I have used OpenJDK 64-Bit Server VM (build 1.6.0_0-b11,
mixed mode). When using Java HotSpot(TM) 64-Bit Server VM (build 10.0-
b23, mixed mode) everything is fine. Thanks.
On Aug 18, 11:34 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> This looks like a bug with your JDK. You should
This looks like a bug with your JDK. You should report this issue with
Sun Microsystems or try to use another version.
On Mon, Aug 18, 2008 at 2:32 PM, szeldon <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> When typing
>
> ./hierarchyviewer
>
> I get an error like this (emulator is running):
>
> Exceptio
Hi,
When typing
./hierarchyviewer
I get an error like this (emulator is running):
Exception in thread "main" java.awt.AWTError: Assistive Technology not
found: org.GNOME.Accessibility.JavaBridge
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788)
at java.awt.Toolkit
Thanks. I thought that they're in Eclipse. Knowledge +1.
On Aug 18, 11:19 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> http://code.google.com/android/intro/tools.html
>
> On Mon, Aug 18, 2008 at 2:13 PM, szeldon <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > It is mentioned that "Several new develo
You don't have to shutdown the emulator, you can simply kill the Home
process (called com.android.launcher or android.process.shared).
On Mon, Aug 18, 2008 at 2:19 PM, Dipen <[EMAIL PROTECTED]> wrote:
>
> Dear, Group !
>
> I know that it is not possible to replace system activity completely.
> So
Okay, I think we're all getting confused by overloaded words here.
Alex, I believe you are asking about non-public APIs, that is
undocumented classes. These classes are no longer accessible, I
believe in M5 some undocumented classes could be accessed by
application code. The reason access is disa
No no, private innner classes are still allowed. They are used
extensively throughout the system.
On Mon, Aug 18, 2008 at 2:16 PM, Shane Isbell <[EMAIL PROTECTED]> wrote:
>
>
> On Mon, Aug 18, 2008 at 2:05 PM, Alex Pisarev <[EMAIL PROTECTED]>
> wrote:
>>
>> Private inner... Hmm, that's interestin
http://code.google.com/android/intro/tools.html
On Mon, Aug 18, 2008 at 2:13 PM, szeldon <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> It is mentioned that "Several new development tools were added, such
> as a graphical preview for XML layouts for users of Eclipse, and a
> tool for constructing 9-patch
Dear, Group !
I know that it is not possible to replace system activity completely.
So, I wrote my own Home Screen Application. Why do I have to shut down
emulator every time to make selection between default and custom home
screen?
why the power off button on emulator does not work?
Thanks,
Dip
On Mon, Aug 18, 2008 at 1:59 PM, Gil <[EMAIL PROTECTED]> wrote:
>
> In the 0.9 SDK version if you get an exception when invoking the
> HttpURLConnection "connect" method:
>
> ERROR/OSNetworkSystem(419): unknown socket error -1
>
> add the INTERNET permission to the manifest:
>
>
Did you add thi
Np! just wanted to make sure that the linking errors weren't caused by
missing
in
AndroidManifest.xml..
On Mon, Aug 18, 2008 at 2:06 PM, Alex Pisarev <[EMAIL PROTECTED]>wrote:
>
> Yes, Megha, but I reckon that the source of the problems is not in Map
> API
>
> On 18 авг, 13:55, "Megha Joshi" <[
On Mon, Aug 18, 2008 at 2:05 PM, Alex Pisarev <[EMAIL PROTECTED]>wrote:
>
> Private inner... Hmm, that's interesting...
Wait! No private, inner classes allowed??
Shane
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Hi,
It is mentioned that "Several new development tools were added, such
as a graphical preview for XML layouts for users of Eclipse, and a
tool for constructing 9-patch images.". How to see/use this? Where is
this?
--~--~-~--~~~---~--~~
You received this message b
Justin,
Is there any reasonable explaination why private classes are banned
now?
Regards,
Alex
On 18 авг, 14:02, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote:
> What do you mean by 'internal' classes? You mean inner classes or
> private classes? If you mean private classes, I believe, y
Yes, Megha, but I reckon that the source of the problems is not in Map
API
On 18 авг, 13:55, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> Are you using Map apis?
>
> On Mon, Aug 18, 2008 at 1:50 PM, Alex Pisarev <[EMAIL PROTECTED]>wrote:
>
>
>
>
>
> > I ported my app, did a clean build and when try
Private inner... Hmm, that's interesting...
On 18 авг, 14:02, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote:
> What do you mean by 'internal' classes? You mean inner classes or
> private classes? If you mean private classes, I believe, yes, this is
> now no longer allowed.
>
> Cheers,
> Ju
What do you mean by 'internal' classes? You mean inner classes or
private classes? If you mean private classes, I believe, yes, this is
now no longer allowed.
Cheers,
Justin
Android Team @ Google
On Aug 18, 1:50 pm, Alex Pisarev <[EMAIL PROTECTED]> wrote:
> I ported my app, did a clean build and
In the 0.9 SDK version if you get an exception when invoking the
HttpURLConnection "connect" method:
ERROR/OSNetworkSystem(419): unknown socket error -1
add the INTERNET permission to the manifest:
--~--~-~--~~~---~--~~
You received this message because you are
Are you using Map apis?
On Mon, Aug 18, 2008 at 1:50 PM, Alex Pisarev <[EMAIL PROTECTED]>wrote:
>
> I ported my app, did a clean build and when trying to deploy it to the
> emulator I get the following error:
>
> >adb install AndroCom.apk
> 1882 KB/s (0 bytes in 2048642.001s)
>pkg: /data
I ported my app, did a clean build and when trying to deploy it to the
emulator I get the following error:
>adb install AndroCom.apk
1882 KB/s (0 bytes in 2048642.001s)
pkg: /data/local/tmp/AndroCom.apk
Failure [-11]
adb logcat output:
D/PackageParser( 54): Scanning package: /data/app
Thank you for your answer Dan.
I'm looking now how to get the whole thing working. (since I'm not the
best Java developer :) )
I will come back with the results later on.
On 18 Aug., 22:26, "Dan Morrill" <[EMAIL PROTECTED]> wrote:
> To shed a bit more light, the reason the multi-part APIs were
Over the Air Delivery and installations of apks.
On Mon, Aug 18, 2008 at 1:27 PM, Dan Morrill <[EMAIL PROTECTED]> wrote:
> What do you mean by "OTA" in this context?
>
> - Dan
>
> On Mon, Aug 18, 2008 at 1:21 PM, Shane Isbell <[EMAIL PROTECTED]>wrote:
>
>> Is there an OTA implementation with the
What do you mean by "OTA" in this context?
- Dan
On Mon, Aug 18, 2008 at 1:21 PM, Shane Isbell <[EMAIL PROTECTED]>wrote:
> Is there an OTA implementation with the latest SDK? I couldn't find it in
> the docs. In the upcoming 1.0?
>
> Shane
>
> >
>
--~--~-~--~~~---~--
To shed a bit more light, the reason the multi-part APIs were removed is
because those APIs will not be final in the upstream Apache HTTPClient in
time for Android's schedule for a final 1.0 version. Rather than ship an
early/incompatible API, we chose to remove it, and rely on other libraries
as
Is there an OTA implementation with the latest SDK? I couldn't find it in
the docs. In the upcoming 1.0?
Shane
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send em
> On Aug 18, 12:43 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
>> And now, to fix up a seemingly infinite number of book examples...
>
> Uh, yeah, sorry about that. :} Fortunately this will be the last
> time. Really! :)
Well, I'm hoping Android continues to advance as a platform, which will
i
Sorry, the status bar can't be modified by applications.
On Aug 18, 1:13 pm, Dipen <[EMAIL PROTECTED]> wrote:
> Thanks hackbod for your reply.
> But i was looking more into modifying complete status bar with
> animation and etc.
>
> Thanks,
> Dipen
>
> On Aug 12, 10:29 pm, hackbod <[EMAIL PROTECT
Thanks hackbod for your reply.
But i was looking more into modifying complete status bar with
animation and etc.
Thanks,
Dipen
On Aug 12, 10:29 pm, hackbod <[EMAIL PROTECTED]> wrote:
> Applications are only able to use the NotificationManager to place
> icons on the left side.
>
> On Aug 12, 1:3
On Mon, Aug 18, 2008 at 1:06 PM, code_android_festival_way <
[EMAIL PROTECTED]> wrote:
>
> Hello guys.
>
> I've seen that the multipart method has been removed in 0.9.
That's surprising. It's common knowledge that multi part mime is necessary
in mobile, due to the performance gains and user exper
Note that this has been removed because it was removed from the Apache
HttpClient library that we're bundling. What you want to do is get
Mime4j ( http://james.apache.org/mime4j/index.html ) and HttpMime
( http://hc.apache.org/httpcomponents-client/httpmime/index.html ) and
include these libraries
Hello guys.
I've seen that the multipart method has been removed in 0.9. I'm
wondering now how to achieve these messages now.
At the moment I'm having something like:
http://paste.pocoo.org/show/82610/
Is there an example how to do that in the 0.9 release? I've looked at
the Mime4j library but
And if you have any questions, just ask here and we'll help :)
On Mon, Aug 18, 2008 at 12:52 PM, hackbod <[EMAIL PROTECTED]> wrote:
>
> On Aug 18, 12:43 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
>> And now, to fix up a seemingly infinite number of book examples...
>
> Uh, yeah, sorry about tha
Great beginning. It will sure help as all. I have been creating one
such document for myself. This will help to fill up all the blanks.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" grou
On Aug 18, 12:43 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> And now, to fix up a seemingly infinite number of book examples...
Uh, yeah, sorry about that. :} Fortunately this will be the last
time. Really! :)
--~--~-~--~~~---~--~~
You received this message b
> Fellow Android developers,
>
> We're pleased to announce the release of the Android 0.9 SDK beta!
>
> For full information, please see Dan Morrill's blog post:
>
> http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
Many thanks to you, Dan, hackbod, Romain
Hi Everyone,
We have put together a porting and migration help page for the group,
to try and share tips to help one another port applications across.
You can find the document at:
http://groups.google.com/group/android-developers/web/m5-to-0-9-porting-and-migration-tips
If you are having troub
Great, I'll try it tomorrow :)
On Aug 18, 11:01 pm, "David McLaughlin (Android Advocate)"
<[EMAIL PROTECTED]> wrote:
> Fellow Android developers,
>
> We're pleased to announce the release of the Android 0.9 SDK beta!
>
> For full information, please see Dan Morrill's blog post:
>
> http://android
There are some way to developer some application using Android
Framework and generate some Jar file to install in normal mobile as
J2ME?
Thank's!
Felipe Cardoso Martins
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Please see Dan's blog post today for full information:
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
Enjoy,
David
On Aug 18, 10:05 am, Raymond Rodgers <[EMAIL PROTECTED]> wrote:
> I'm very new to Android & Android development, in fact I installed the
Fellow Android developers,
We're pleased to announce the release of the Android 0.9 SDK beta!
For full information, please see Dan Morrill's blog post:
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
Enjoy,
David
--~--~-~--~~~-
I'm very new to Android & Android development, in fact I installed the
SDK and Eclipse plug-in under Windows on Friday night. Today, while
trying to get the Eclipse plug-in installed and working under Linux, I
suddenly am not able to get the plug-in pointed to the SDK in the
Eclipse Preference
Oh I've fount ListView has method setOnItemLongClickListener.
On Aug 17, 11:31 pm, giolekva <[EMAIL PROTECTED]> wrote:
> Hi.
> Is there any way how would be possible to capture long touch event
> like long click event using onLongClickListener. I need it for
> ListView items.
>
> Thanks.
--~--~-
Thanks it worked ;)
--~--~-~--~~~---~--~~
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
[E
Hello,
I am trying to build an Android application that makes use of some of
the classes within JMF (Java Media Framework). In the end, the
application should be able to stream microphone audio via RTP between
emulators. Unfortunately, when I import the jmf.jar file onto the
build path in Eclipse
Hi,
On Aug 16, 11:24 am, Matt <[EMAIL PROTECTED]> wrote:
> Hi all. I've been looking a bit into Java-to-native IPC via Binder as
> well, and this thread has been very helpful. Hackbod, I have a
> question for you regarding your previous post, though. You mentioned
> that most of the guts of al
A View can certainly receive key events, that is how most key
processing (center pressing in buttons, navigating in lists, entering
text in text views) works. To receive key events, a view does need to
have focus. This will happen for you through the normal focus
navigation, or you can explicitl
One thing to look at:
mp.setDataSource("piano.mp3");
This is using a relative path; the current directory of all processes
is "/", so it is obviously not going to find your mp3 there. You need
to always use an absolute path.
On Aug 17, 5:34 pm, april <[EMAIL PROTECTED]> wrote:
> Follow
It looks like your code loads the TTF for every list item. That will
be very slow indeed. You should cache the font so that you load it
only once.
On Sun, Aug 17, 2008 at 10:55 PM, giolekva <[EMAIL PROTECTED]> wrote:
>
> Hi.
> I've wrote my own custom component UnicodeTextView which extends
> Tex
Hi.
I've wrote my own custom component UnicodeTextView which extends
TextView. It supports fonts from assets and I'm using it in ListView.
It takes too much time to render hole ListView. Do you know how I can
improve it?
Here is UnicodeTextView.java:
package com.giolekva.android.widget;
import
hi, try to use flows
event.getX();
event.getY();
On Aug 1, 11:35 am, China-jlu-wangliang <[EMAIL PROTECTED]> wrote:
> I knowonTouchEvent(MotionEvent event) ,but when i press a
> button,if i can get the coordinate by usingonTouchEvent(MotionEvent
> event) ,and how to do that.
--~--~--
or something like that? =) i love playing the good old mario oder
zelda on my n73!
--~--~-~--~~~---~--~~
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@go
94 matches
Mail list logo