like, you compile in the windows environment to produce a program which runs
on arm
http://en.wikipedia.org/wiki/Cross-compiling
Nothing much to think about
- Original Message -
From: lucius lucius.fo...@gmail.com
To: Android Developers android-developers@googlegroups.com
Sent:
hi Peli
thank you very much for giving me the correct direction.
regards
Kaushik
On Fri, Jan 9, 2009 at 7:58 PM, Peli peli0...@googlemail.com wrote:
Introduce new member variables of your class:
int mOffsetX;
int mOffsetY;
Then below you do something like:
if ( action ==
Problem solved.
Had nothing to do the 'setCenter()' fn. Problem was with the way I was
computing my angle/orientation updates: when the map is recentered,
the user's cartesian coords are also automatically shifted, so must
use geodesic info instead.
On Dec 21 2008, 8:46 pm, DMT
Hello,
It is not enough to use a single TextView for the effect you need. You
should rather use TextSwitcher class.
Take a look at SDK samples. There is
com.example.android.apis.view.TextSwitcher1 class there. It is good
demonstration of using TextSwitcher class.
Hope this helps.
On Jan 10,
Maybe:
http://code.google.com/p/jjil/
http://code.google.com/p/jjil/wiki/SequencesAndLadders
On Jan 9, 5:37 am, Ryan Moulton ryanmoul...@gmail.com wrote:
I'm looking to develop an application for which I need to do
convolutions and the like on an image. I haven't done image processing
http://commonsware.com/Android/index.html
(Not affiliated, just a happy buyer.)
On Fri, Jan 9, 2009 at 11:56 PM, msmsmukesh msmsmuk...@gmail.com wrote:
Hi all,Any method to quick to learn the android.
--
Faber Fedor
Cloud Computing New Jersey
http://cloudcomputingnj.com
I have Android Dev Phone 1 and I want to be able to programatically
copy files form it do my PC (through USB). However, I cannot use adb
pull because some of the files I want to copy are owned by different
users that system. I can copy these files by starting shell on the
device, then doing su,
Faber Fedor wrote:
http://commonsware.com/Android/index.html
(Not affiliated, just a happy buyer.)
Thanks for the shout-out!
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!
ams163 wrote:
Hello,
We are working on an client / server application - and the design
goals for the communications framework are:
1. Low bandwidth
2. Low Latency
3. Scalable
4. Fast marshall/unmarshall
What sort of communications framework do you recommend?
We think json would
Just in case anyone else is struggling with this, there is a solution,
and it's easy.
When you get your new Dev phone, and you stick a Vodafone SIM in it,
it fails to connect to Google's servers and can't initialise. It seems
to be bricked. But wait, all is not lost.
Buy a T-Mobile
I ran a trace on my app using the Debug class, but it seems the new
trace data isn't loaded by Traceview and somehow only the old data is
shown. I've recreated the sdcard, wiped the emulator and created a new
launch config (in Eclipse). I also changed my package name but
traceview still shows the
Thanks Mark..
Is that the only one that works right now?
On Jan 10, 6:52 am, Mark Murphy mmur...@commonsware.com wrote:
ams163 wrote:
Hello,
We are working on an client / server application - and the design
goals for the communications framework are:
1. Low bandwidth
2. Low
Fred Grott(shareme) wrote:
Is that the only one that works right now?
The only one...what?
The OP's list had many other alternatives. I agree with his assessment:
-- JSON is nice but you either need to do your own marshalling code or
use something like Thrift (which, unfortunately, can only
I'm with Vodafone in The Netherlands, and I did not need to buy a
different SIM card to get my dev phone 1 registered with Google. I
remember that I did have to add live.vodafone.com (and perhaps
web.vodafone.nl when doing things via Wifi, not sure) to the list of
access point names, and of
Hi,
I'm having hard time parsing special characters such as '' with the
default handler provided in org.xml.sax.helpers.
Basically, the parser reads up to where it encounters '' and skips
the rest.
I tried escaping the with amp; and #038; but none worked. Any ideas?
Thank you!
You can get free PAYG sim cards from T-Mobile UK from;
http://www.t-mobile.co.uk/shop/free-pay-as-you-go-sim-cards/
blindfold wrote:
I'm with Vodafone in The Netherlands, and I did not need to buy a
different SIM card to get my dev phone 1 registered with Google. I
remember that I did have
mobilek...@googlemail.com wrote:
Hi,
I'm having hard time parsing special characters such as '' with the
default handler provided in org.xml.sax.helpers.
Basically, the parser reads up to where it encounters '' and skips
the rest.
I tried escaping the with amp; and #038; but none
Hi all,
I'm pretty stumped here.
I've got an app that more or less follows the layout of LunarLander,
with an Activity, a View, and a Thread. The View extends SurfaceView
and the thread is what does the drawing. It is relatively light on
resources - 16 PNGs totalling 240KB, one simple layout
That worked great, and much more smoothly than an animation. Thanks!
On Jan 10, 2:53 am, Meth rniedzi...@gmail.com wrote:
Hello,
It is not enough to use a single TextView for the effect you need. You
should rather use TextSwitcher class.
Take a look at SDK samples. There is
Very strange.
Someone pointed out to me that I really shouldn't be using com.android
as a package, since it's not my domain. I just hadn't changed it from
when I was mirroring LunarLander. And since I changed it, my apps has
yet to take longer than 3 seconds to load.
On Jan 10, 12:20 pm,
Hi,
Just switched to eclipse-ganymede, was trying to get the android
plugin via the getting started directions here:
https://dl-ssl.google.com/android/eclipse/
but keep getting an error about that URL being invalid. Is anyone else
having the same problem, the URL used to work when I was
Thanks for the hint Mark - we'll try that as well.
Btw we just wanted to let everyone know that we've tried latest trunk code
from
http://fisheye.codehaus.org/browse/jackson/ (just pick the binary tarball
links in the bottom lefthand corner, install and, go to directory, and do
'ant dist' -
Remove the s and use http://dl-ssl.google.com/android/eclipse/
instead.
On Jan 10, 1:48 pm, Mark Wyszomierski mar...@gmail.com wrote:
Hi,
Just switched to eclipse-ganymede, was trying to get the android
plugin via the getting started directions here:
Hi,
let's say I write content onto the local filesystem using
Context.openFileOutput(). For the sake of this example one file IS
index.html and one IS image.png. The former references the latter in
the html code.
How can I get the browser to display the content? I tried many
Get it from here: http://code.google.com/android/adt_download.html
On Jan 10, 7:48 pm, Mark Wyszomierski mar...@gmail.com wrote:
Hi,
Just switched to eclipse-ganymede, was trying to get the android
plugin via the getting started directions here:
I have a List and am providing a specific view for each row. All java
functionality is workign fine, it's the layout of the view elements
that is giving me trouble. I
This is the layout I'm trying to achieve (how to show in text
message?):
Image - Text(name)/Text(Price) - Button - CheckBox
Dianne, I want to thank you again for your advice - it actually
helped. I process at most 10 touch movement events per second (good
enough for the app) and sleep the UI thread after the moves - this did
boost the second thread enough so that most of the app's time is spent
in physics updates and
Is it possible that you're running traceview with a wrong trace file?
I don't use the emulator so it might be an emulator-related thing but
so far the tracing works fine for me w/ the device.
On Sat, Jan 10, 2009 at 5:26 PM, Al alcapw...@googlemail.com wrote:
I ran a trace on my app using the
I'm using a Bundle to store some info and then sending it to a
Handler. Problem is the Bundle shows up empty on the other end. I've
logcat-ed the Bundle before sending and after receiving on the other
end, before it's sent, I see the data as expected, but once my
HandleMessage gets called,
Hi guys,
I own a G1 and am using it for development.
I have the phone for about a month now and today I got this
notification Low on space with the message Phone storage space is
getting low.
I only have a few programs installed and these take about 4MB.
I've deleted the browser's cache, and
Heh, I tried cd-ing to the SDK folder and running it directly from
there with an absolute path to the trace file and it worked! Should
have tried that before. All sorted now.
On Jan 10, 9:22 pm, Stoyan Damov stoyan.da...@gmail.com wrote:
Is it possible that you're running traceview with a wrong
Hi!
I'm trying to change height layout from wrap_content to
fill_parent from code. Using landscape mode.
public class BBB extends Activity
{
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Might it be because as stated in the docs for setLayoutParams() These
supply parameters to the parent of this view specifying how it should be
arranged. and in this case there's no parent of the view, so the attempted
operation is not valid.
You might want to try the same with some child view
In LogCat I keep getting Database Leak found. The 'tag' is Database
and the 'message' is Leak found. And its followed by many lines of
red in LogCat.
I'm using an SQLiteDatabase and I access it from two Activities and
one Service. In the Service I explicitly close both the cursor and
then the
Actually I have tried first to change it for any child view.Same result...
On Sun, Jan 11, 2009 at 12:42 AM, hmmm akul...@mail.ru wrote:
Might it be because as stated in the docs for setLayoutParams() These
supply parameters to the parent of this view specifying how it should be
arranged.
On Sat, Jan 10, 2009 at 3:47 PM, Brad A hashbro...@gmail.com wrote:
Related, when specifying a button, is there a way to just have the
button dynamically size to whatever text is holds?
In theory 'android:layout_width=wrap_contents' is supposed to do precisely
that, but it's not working for
Yes, it's frustrating to say the least. Hard to understand why it
makes certain UI decisions. BTW - in your code example you put
wrap_contents. The actual property value is wrap_content. Not
sure if that was just typed in the email or if you have that error in
your code.
OK - So I got my
1) I think this problem is solely related to using external JAR's.
I tried to do reference an external JAR for the first time, and got
exactly the same error. If you have solved this issue, please post.
2) Sorry, don't know about this.
Thanks,
JIm
On Nov 19 2008, 2:50 pm, Alvin Yates
My app deals with tons of pictures that are on an arbitrary location
of the device (typically somewhere on /sdcard, presumed private to the
app). The gallery has a context menu that calls addIntentOptions on
them so you can send them via MMS, use them as contact pictures, etc.
How do I need to
I've been able to get external JARs for common code (which uses the
android.jar) to work. I'm using a pretty clumsy way and I'm sure
there's a more elegant solution out there, but it works for me.
Since it's been a while since I set it up, I might not remember the
exact steps. Basically, I
There's this suspicious line:
java.lang.ClassCastException: android.view.ViewGroup$LayoutParams
Have you tried to explicitly write:
LinearLayout.LayoutParams
instead of just
LayoutParams
whereever it appears?
(because each Layout has their own set of LayoutParams that are not
necessarily
I notice that TrackballEvents are different that MotionEvents, and it
makes me wonder what happens on a device that does not support a touch
screen.
Suppose I have an Etch-a-Sketch application, that allows me to do
crude drawings on my screen. With the G1 phone, I just watch for
MotionEvents
... it appears that I was mistaken. Both trackball movement and
screen taps generate MotionEvents. They are delivered completely
differently, though Trackball events through dispatchTrackballEvent,
and touch events through dispatchTouchEvent.
I remain mystified by how the trackball is
BTW Faber - Did get button to resize according to the text, use
android:layout_width=wrap_content and then and explicit padding, ie
android:padding=10sp
On Jan 10, 5:53 pm, Brad A hashbro...@gmail.com wrote:
Yes, it's frustrating to say the least. Hard to understand why it
makes certain UI
Go to Settings - Applications - Manage Applications
Use the hardware Menu button and Sort By Size.
Near the top you will probably find Package Installer.
If it is large, choose it and then Clear Data
I had this problem too, until I figured it out.
On Jan 10, 3:43 pm, Stoyan Damov
I've tried but the same result. Now in DDMS log I have:
java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams
- Original Message -
From: Peli peli0...@googlemail.com
To: Android Developers android-developers@googlegroups.com
Sent: Sunday, January 11, 2009 3:39 AM
Thanks a ton, that's exactly the sort of thing I'm looking for.
On Jan 10, 2:32 am, ams163 shahbaz.kha...@gmail.com wrote:
Maybe:
http://code.google.com/p/jjil/
http://code.google.com/p/jjil/wiki/SequencesAndLadders
On Jan 9, 5:37 am, Ryan Moulton ryanmoul...@gmail.com wrote:
I'm
The framework translates raw trackball events into DPAD events if nobody
consumes the trackball event.
At this time Android only supports devices that have a touch screen. The
trackball is optional, and can be replaced by a DPAD.
On Sat, Jan 10, 2009 at 5:21 PM, blake blake.me...@gmail.com
Thanks, glad to hear it helped. Sorry I was slow responding to your last
detailed message.
Fwiw, you should generally avoid trying to directly control scheduling. Let
the kernel schedule the threads as needed; the only issue you had here was
that your main thread was using as much CPU as it
On Fri, Jan 9, 2009 at 9:35 PM, Mahesh Vaghela mah...@indianic.com wrote:
*Friends, is there any way by which we can directly put our mp3 files on
sd card, just at the time of installation?*
Sorry, not at this point.
--
Dianne Hackborn
Android framework engineer
hack...@android.com
Note:
On Fri, Jan 9, 2009 at 9:49 PM, Mahesh Vaghela mah...@indianic.com wrote:
Can you please comment on why there is very limited (70mb) space available
for developers.
Because that is how much space remains on the G1's internal flash after
taking out the space needed for the operating system and
Fwiw, changing layout parameters is a really inefficient way to do
animations on the screen. I would strongly suggest looking at the launcher
code and doing something inspired by that.
--
Dianne Hackborn
Android framework engineer
hack...@android.com
Note: please don't send private questions
no..my html files n my apk are referenced as
href=file:///android_asset/filename.html
image use the same base url
On Jan 10, 2:05 pm, Mariano Kamp mariano.k...@gmail.com wrote:
Hi,
let's say I write content onto the local filesystem using
Context.openFileOutput(). For the sake of
Ed Burnette's Android book..my bias he is a professional peer/friend
of mine..
On Jan 9, 10:56 pm, msmsmukesh msmsmuk...@gmail.com wrote:
Hi all,Any method to quick to learn the android.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
In this case you to use FrameLayout.LayoutParams. Note that having a
FrameLayout as the parent of your content view is not guaranteed and could
very well change across implementations and/or versions.
On Jan 10, 2009 5:49 PM, hmmm akul...@mail.ru wrote:
I've tried but the same result. Now in
Dear,
On Fri, Dec 12, 2008 at 7:19 PM, Dianne Hackborn hack...@android.com wrote:
On Fri, Dec 12, 2008 at 3:56 AM, zero zeroo...@googlemail.com wrote:
o_0'' for real ?!?
that would mean i'm depending on luck and good faith then
calling anything on that connection. oh, well. in the garbage
Thanks for the explanation.
This sounds useful for creating reusable, user-created libraries.
I guess my problem is that I was experimenting with importing external
jars which were not android specific. These fail to load (which I
guess should be obvious), with errors described previously.
Jim
Hi,
I want to record audio from the emulator using the mic. Can anyone
send me some sample code on how to do this.
Also, I want to know whether it is possible to redirect this mic o/p
to a memory buffer or network socket.
Cheers,
Earlence
--~--~-~--~~~---~--~~
Hi Fred,I want android book. Send it to me in mail.
--~--~-~--~~~---~--~~
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
59 matches
Mail list logo