Thanks for input.
Yeah I have already seen the Lunar Lander example. In this they rotate
the canvas but In my app I have nearly 20 objects on the canvas. Out of
20 objects I have to rotate only 10 alternative objects. I don't like
the approach of rotating canvas and invoke save and restore eac
I've implemented something similar and will leave it like this for
now. My "reset preferences" option is currently not in the main
activity screen, but I'll move it there so it'll behave reasonably.
Guess this is an example of the limitations of working with a
framework rather than rolling your o
> Out of 20
> objects I have to rotate only 10 alternative objects. I don't like the
> approach of rotating canvas and invoke save and restore each time.
Why? This is a very correct and efficient way to do this.
--
Romain Guy
www.curious-creature.org
--~--~-~--~~~-
Hello,
I am trying to open a file in res/raw. I've tried to open it with code
similar to the following:
int file = R.raw.myfilename;
System.err.println("file:" + file);
Resources res = Resources.getSystem();
System.err.println("Resources created");
InputStream compiledIS = res.openRawResource(fi
That is JNI there. Like I said, highly discouraged. But I've now
been corrected on 1 part of what I said: I've now seen an actual JNI
app. Still, my statement on learning Java stands.
On Oct 4, 6:31 pm, Steve Oldmeadow <[EMAIL PROTECTED]> wrote:
> This open source project may be of interest.
This open source project may be of interest. It is from a Googler and
uses some native code which indicates some limited application of C/C+
+ MAY be possible:
http://code.google.com/p/mandelbrot/
@dal - Google have always said source will be available when devices
ship
--~--~-~--~~
I think a "button" being "attached" to the UI is a good guideline
too. For the most part that's how I use them, and then I put what I
call "high level" actions in the menu (stuff not directly attached to
a UI element).
Another thought, though the menu is a "button and a tap," and that's
arguably
Basically some time after hardware comes on the scene they intend to
release the source code for public use/editting. Not sure what more
info you might want, maybe you should give us more specific
information?
On Oct 4, 6:20 pm, dai <[EMAIL PROTECTED]> wrote:
> Would someone (Google folks) mind
Would someone (Google folks) mind if you give me more date info about
android open
source..?
Thank you so much in advance,
On 10月5日, 午前9:10, Mark Murphy <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I read somewhere that it is possible to run Hello-World written in C,
> > on Android.
There is no way to use C or any "native" programming language on
android. There was success running a C program on the emulator, but
that was NOT through the Android UI, meaning that it couldn't be
started from within the interface and couldn't show anything on it.
For info on that please see
htt
[EMAIL PROTECTED] wrote:
> I read somewhere that it is possible to run Hello-World written in C,
> on Android.
>
> Could anyone please tell me:
> 1. how to start with native development for Android?
> 2. What native libraries are supported?
Via the SDK, this is not really supported.
Once Androi
Anyone out there ready to share some sample project which features a
web service using XML-RPC working on SDK 0.9. I managed to get hold of
some other samples but unfortunately these do not work successfully in
SDK 0.9. Any help as with regards to web services on android would be
greatly appreciat
Hi,
I read somewhere that it is possible to run Hello-World written in C,
on Android.
Could anyone please tell me:
1. how to start with native development for Android?
2. What native libraries are supported?
Thanks,
Roy
--~--~-~--~~~---~--~~
You received this mes
Yeah, i've realized after post that the problem wasn't the same.
I've tried to use the archive in order to install and i got this when
I'm trying to make a new Android project :
Plug-in com.android.ide.eclipse.adt was unable to load class
com.android.ide.eclipse.adt.project.internal.NewProjectWi
also dunno if that should make any difference but i use Log.v() for
logging, not Log.d().
On Sep 29, 11:37 am, chouman82 <[EMAIL PROTECTED]> wrote:
> you actually saw the logging statement when you make a call to the
> emulator through telnet?
>
> On Sep 28, 1:19 am, legerb <[EMAIL PROTECTED]> wr
Hi,
thanks man great news !!!
did you test it on a real device (i mean simulating a pen dragging on the
screen) ?
- Original Message
From: Andrew Stadler <[EMAIL PROTECTED]>
To: android-developers@googlegroups.com
Sent: Friday, October 3, 2008 5:31:32 AM
Subject: [android-d
HI,
I got a simple solution for this after some trials.
instead of creating/starting a new thread for every button click, I
started a thread that listens for button clicks.
But, can I use thread.stop in onDestroy() to kill the thread.
Thanks,
--Jo
On Oct 4, 1:52 pm, Jo <[EMAIL PROTECTED]> wro
also May I know what is the difference between handlerthread.getid and
handlerthread.getThreadId.
In my application this thread will be created and started everytime a
button is clicked(for sending chat message).
so I printed handlerthread.getid and handlerthread.getThreadId.
I get incremented v
I recovered. However I found that even I update the files in drawable,
R.java doesn't updated. Have you found the same problem?
On Oct 4, 1:26 pm, april <[EMAIL PROTECTED]> wrote:
> I accidentally delete R.java, all the files can't compile. How can I
> let the system regenerate R.java. I am using
THanks Justin,
I would like to use the HandlerThread as it sounds simple compared to
regular threads.
can somebody post a template for using HandlerThread with
android.os.Handler and runnable.
final Handler mHandler2 = new Handler();
HandlerThread android_thread_send;
// Create runnable
Hi,
I was also getting this error, but was able to resolve it. For me I
had two issues: the first was that there was XML header information
being passed from the server that I had to read first and then get the
binary data out of (I am using a web service). The second was the byte
data I was retri
Hello,
To just answer my on post ;-)
Problem solved, there was a mismactch between the ADB and the used
SDK. Switched to V1.0 and now I am able to debug and run my
application.
Werner
On 29 Sep., 20:52, Werner <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have troubles starting or debugging my app
Thanks!
On Oct 4, 12:10 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> april wrote:
> > How can I get the directory of the file? If I need to read it back
> > from media player?
>
> > FileOutputStream fos=null;
> > OutputStream out=null;
> > try
> > {
> >
> > fos=mActivity.openFileOutpu
april wrote:
> How can I get the directory of the file? If I need to read it back
> from media player?
>
>
> FileOutputStream fos=null;
> OutputStream out=null;
> try
> {
>
> fos=mActivity.openFileOutput(fName,mActivity.MODE_WORLD_WRITEABLE );
> out =(OutputStream)(f
How can I get the directory of the file? If I need to read it back
from media player?
FileOutputStream fos=null;
OutputStream out=null;
try
{
fos=mActivity.openFileOutput(fName,mActivity.MODE_WORLD_WRITEABLE );
out =(OutputStream)(fos);
out.write(
Hello all,
in previous versions there was a bug on setTimeOut(long) checking a
lost web connection.
Is there a solution now? I'm using SDK 0.9 but I didn't find a
solution.
Thanks a lot by advance.
Regards
--~--~-~--~~~---~--~~
You received this message because y
Hate to add more, but here are some details about the processor in the
G1: http://www.qctconnect.com/products/msm_7201.html
Look at some of those. Note particularly the "Java® hardware
acceleration" and the "4 million triangles per second".
Also at http://www.glbenchmark.com/result.jsp where th
I believe so, see my inline comments below
On Sat, Oct 4, 2008 at 2:50 AM, Allan Hsu <[EMAIL PROTECTED]> wrote:
>
> Jason,
>Is it possible to use 9-patch drawables instead of gradients? If it
> is, I can't seem to figure out how to specify it.
>
>-Allan
> --
> Allan Hsu
>
> On Oc
No, this is a separate listener for menu items. You could do something
like:
menu.add("test").setOnMenuItemClickListener(new
MenuItem.OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
// Logic here
}
};
jason
On Sat, Oct 4, 2008 at 7:02 AM, Satya Komatineni <[
I disagree with many of your points here. First of all let me address
the idea that compatibility is somehow less important than speed.
This I vehemently disagree with. I think it's far more important for
upgrades and alternate hardware configurations than for high speed
NOW.
You see, if we fol
Jason,
Is this what is called or referred as a "handler" in the documentation:
"MenuItem.setOnMenuItemClickListener."
Or is that a separate concept related to menu items?
Thanks
Satya
On Sat, Oct 4, 2008 at 2:09 AM, Jason Parekh <[EMAIL PROTECTED]> wrote:
> Yup, it has been removed. The prefe
Thank you very much for the answer.
satya
On Sat, Oct 4, 2008 at 2:09 AM, Jason Parekh <[EMAIL PROTECTED]> wrote:
> Yup, it has been removed. The preferred approach is override
> onOptionsItemSelected, and do a 'switch' on the MenuItem's id.
>
> If you really want to create an anonymous inner cl
The issue with updating via the update site is different.
For that one, make sure you have tried the "troubleshooting" steps in
the install doc:
http://code.google.com/android/intro/installing.html.
Note that if you can't get to the update site, you can usually still
download the plugin locally
Cool, thanks for the tip :) The warning is gone now...
On Fri, Oct 3, 2008 at 4:11 PM, Mark Hansen <[EMAIL PROTECTED]> wrote:
>
> Add -validity 3650 to the keytool command...
>
> something like:
>
> keytool -genkey -alias myalias -keystore c:\outputpath -validity 3650
>
>
>
> On Oct 3, 7:06 am,
That package is still there, it has just been upgraded to version 4
(was version 3).
Hit "organize imports" in Eclipse and it will change the imports to
the new versions. Note that you will have to instantiate a
"DefaultHttpClient" rather than an HttpClient, and a few other things
are different
Unsupported major.minor 49.0 usually means you aren't running a Java
runtime that supports Java 5 class versions. Java 5's class version
is 49.0.
Now, if you have Java 6, it can run 49.0 class versions, and of course
so can Java 5 itself. So, make sure you have either 5 or 6 as an
installed JDK
I got the same problem... The path given on android website is :
https://dl-ssl.google.com/android/eclipse/
This give me an error in my firefox browser, is this a problem that
came from google's server ?
On 20 sep, 04:04, Trevor <[EMAIL PROTECTED]> wrote:
> I'm having this issue as well, only af
That is the point, basically. As it now stands, I have a chat
application with unusual IO, and since deploying this as I now have it
would require me to host a server, I want to first parcel off the I/O
into a service and allow other application developers to employ it in
their own apps. So I se
Jason,
Is it possible to use 9-patch drawables instead of gradients? If it
is, I can't seem to figure out how to specify it.
-Allan
--
Allan Hsu
On Oct 3, 2008, at 11:12 PM, Jason Parekh wrote:
> Hi Allan,
>
> Here's an example XML drawable for the horizontal progress bar. Y
turned out, it works:
http://commons.apache.org/scxml/usecases/scxml-stopwatch-on-android.html
On 24 Sep., 23:39, Jakob Sachse <[EMAIL PROTECTED]> wrote:
> > Mark Murphy wrote:
> > If you are including xml-apis in your build, that might conflict with
> > existing DOM and SAX implementations in A
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
To unsubscribe from this group, send email to
[EMAIL PROTECTED
Are u working on this library???
Are u working on this system???
wesley.
On 6/29/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> If no one else does it, I'll make it recognize the word 'cheeze!' (or
> some other easier to recognize word) for a voice activated camera
> 'shutter' command. I
Any idea?? Will they release in next version???
When will it be available??? Or any others have working on it???
your attention will be much appreciated...
wesley.
On 8/21/08, Megha Joshi <[EMAIL PROTECTED]> wrote:
> On Mon, Aug 18, 2008 at 9:20 PM, april <[EMAIL PROTECTED]> wrote:
>
>>
>> I hv
The project seem like have a lot unsolved bug...
Any others suggestions??? So that I can have tts features in my app???
your attention is much appreciated...
wesley.
On 8/25/08, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> Nanard wrote:
>> My application needs TTS (text to speech).
>>
>> I don't
This project is not working???
Seem a lot bug not yet solve...
Any others suggestions... So I can have tts features in my app
wesley.
On 9/10/08, kelseywright <[EMAIL PROTECTED]> wrote:
>
> This also uses javax.sound to write the sound file in the first place,
> which will need taken care of
45 matches
Mail list logo