Hi,
A good place to start is to look at the ApiDemos application to see if
there is anything there close to what you want. The best I found is
com.example.android.apis.view.Animation2, which uses a ViewFlipper to
transition from one view to another with various animations. It's not
exactly what
Creating a new Paint object is mentioned as something to avoid here:
http://android-developers.blogspot.com/2009/02/track-memory-allocations.html
I suppose it really depends on the frequency of the onDraw calls. I
can tell you that it made a noticeable difference for us. We have a
custom view
I've compiled up the Linux Mac OS X Intel SDKs from the public git
repository and have put them up for download (If anyone can get instructions
on building a Windows SDK I will do what I can to create a Windows SDK as
well).
*PLEASE NOTE* In order to ensure that I don't end up with a massive
You could always use bittorrent if bandwidth is an issue plus we all
wouldn't need yet another username and password if you put the file(s)
on a public tracker ;-)
Pd.
Al Sutton wrote:
I've compiled up the Linux Mac OS X Intel SDKs from the public git
repository and have put them up for
Is this still not available? Can somebody comment on this?
http://source.android.com/roadmap
Regards,
Ashutosh
On Feb 13, 1:38 am, Regina Mitsue Azuma rmaz...@gmail.com wrote:
I'm developing an application that makes an intensive use of data
connection in GPRS network. I'm currently using
1. Well you can simply copy paste the styles you need from the
android SDK and insert it in your own XML files (they can be found in
the SDK1.0/tools/lib/res/default/values/styles.xml file). They way you
can still use the same styles as before, but you don't have to access
them from the
I have an image on my sdcard and I want to send this via email or
message. Here is my code:
Intent intent = new Intent(Intent.ACTION_SEND);
intent.addCategory(Intent.CATEGORY_DEFAULT);
intent.setType(image/*);
intent.putExtra(Intent.EXTRA_STREAM, Uri.parse(file:/sdcard/mydir/
myimage.jpg));
-I'd like to point out that this isn't an official SDK, with e.g. no
guarantee that applications developed with it will work on future
versions of Android. Should anyone have questions about using it,
please use the android-discuss group as android-developers is for
questions about the official
Hi JBQ,
- Who decides what is an official SDK of an open project :)?
- There is no guarantee of future compatibility on any SDK (see my issue
with buttons posted a couple of days ago).
- Thanks for the window SDK pointer, I'm installing cygwin now.
- If someone wants to setup a bit torrent
Actually, the dialer is here:
http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=tree
On Apr 5, 11:52 am, bw ben.weisb...@gmail.com wrote:
The web interface to view android source code is here:
http://android.git.kernel.org/
From there you can get to the phone app:
The web interface to view android source code is here:
http://android.git.kernel.org/
From there you can get to the phone app:
http://android.git.kernel.org/?p=platform/packages/apps/Phone.git;a=tree
-Ben
On Apr 3, 9:05 pm, TJ104 tiny.timmy.t...@gmail.com wrote:
Hello,
First of all,
[inline]
On Sun, Apr 5, 2009 at 8:45 AM, Al Sutton a...@funkyandroid.com wrote:
Hi JBQ,
- Who decides what is an official SDK of an open project :)?
The owners of the discussion group where official SDKs are supported :)
Within the limits of the various licenses (which are generally very
Hi, all
How to retrieve data from two tables via the ContentProvider way?
I.E. the database of Calendar application, include many tables
including Events and Deleted, and some others.
I want to retrive records in Events table, whose _sync_id field is
also in Deleted table.
Usually, we write a SQL
Shawn_Chiu wrote:
How to retrieve data from two tables via the ContentProvider way?
I.E. the database of Calendar application, include many tables
including Events and Deleted, and some others.
I want to retrive records in Events table, whose _sync_id field is
also in Deleted table.
JBQ,
I may be reading what you've written in a different way to you've intended,
but it reads very much like you guys see Google produced Android stuff from
the internal Google repository as Android, and anything else (including
the public repository) is being an offshoot project.
Al.
Here is the solution:
You have to move your cursor from position -1 to 0 using
moveToFirst():
android.database.Cursor cursor = activity.getContentResolver().query(
intent.getData(), null, null, null, null);
cursor.moveToFirst();
int idx =
I tried the instructions from the git repo for building windows and they
don't work.
To start with cygwin bases everything off /cygwin rather than / so even
trying to run repo gets;
/bin/sh: bad interpreter: No such file or directory
And if you hack around that by altering repo to point to
Al Sutton wrote:
I may be reading what you've written in a different way to you've intended,
but it reads very much like you guys see Google produced Android stuff from
the internal Google repository as Android, and anything else (including
the public repository) is being an offshoot project.
That's not what I wrote (or at least not what I meant to write). The
fact that the open-source side of Android (which is fundamentally
the true Android platform as it's the central one) is called
Android Open-Source Project with the official Android logo should be
a good hint that it's not an
I need to send an image file on my sdcard using email in my
application. Note that I don't want user to get option to use
messaging or other ways to send the file. My current code, as shown
below, gives option of both email and messaging whereas I want the
user to get only emailing option. How do
Might also be worth checking that you aren't drawing into the surface
from a different thread, and that you aren't drawing before the
surfaceCreated() callback
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
On Sun, Apr 5, 2009 at 6:36 PM, Al Sutton a...@funkyandroid.com wrote:
I tried the instructions from the git repo for building windows and they
don't work.
To start with cygwin bases everything off /cygwin rather than / so even
trying to run repo gets;
/bin/sh: bad interpreter: No such
Hi,
I have a problem drawing a background for my OpenGL app on the
emulator. It all works well on an actual G1, but i'm worried that if
the emulator has a problem, other android phones may have the same
problem.
On an actual G1 the background is drawn on the background. All other
drawing is
Hi everyone.
I am trying to develop a program which detects noise level of
outside.Is it loud or silent? How loud?
Where should I start? Is there any example ? Any comment will be
greatly appreciated...
--~--~-~--~~~---~--~~
You received this message because you
I am working with dialog, I have a question about dialog:
1. How can we set color for dialog message?
2. How can we modify size, font character in title or message in
dialog?
Thanks,
--Alex
--~--~-~--~~~---~--~~
You received this message because you are
AlexNguyen wrote:
I am working with dialog, I have a question about dialog:
1. How can we set color for dialog message?
2. How can we modify size, font character in title or message in
dialog?
I am assuming you are referring to AlertDialog.
One approach is to use setView() and supply your
is there noone who want to help me on this?
the most setter methods are documentated, but on this I get really nuts:
android:layout_height=wrap_content
thanks
darolla
2009/4/4 DaRolla netzprofi.ma...@googlemail.com:
Hi,
I need to programm this XML in JAVA. Some I figured out, some not. Can
How does PicSay move/resize/rotate an image on top of another image.
Can someone please share some sample code/ideas on how to do this.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Marco Schmitz wrote:
//android:layout_width=150px
tv.setWidth(150);
That will not reliably work AFAIK. See below.
//android:layout_height=wrap_content
???
All of the layout_ attributes are messages to the widget's *container*,
not to the widget itself.
To adjust those layout_ attributes
Gaurav wrote:
How does PicSay move/resize/rotate an image on top of another image.
Can someone please share some sample code/ideas on how to do this.
I have not used PicSay, but what you are describing sounds like the
animation framework.
The ONLY change to this entire thread should be the subject, which should read
UNOFFICIAL Cupcake SDKs available for download
That said, no good goes unpunished.
Cheers
On Sun, Apr 5, 2009 at 10:42 AM, Al Sutton a...@funkyandroid.com wrote:
I've compiled up the Linux Mac OS X Intel SDKs
I need to use the transform package (transformer, transformfactory,
etc.) so that I can convert an xml node to a new document. However,
when I try to import the package, it says that it cannot be resolved.
Are you not allowed to use this package on Android?
Below is the code subset of how I want
Android does not provide the javax.xml.transform package.
On Sun, Apr 5, 2009 at 2:23 PM, xspotlivin dmbrown2...@gmail.com wrote:
I need to use the transform package (transformer, transformfactory,
etc.) so that I can convert an xml node to a new document. However,
when I try to import the
We can work out ways to deal with this question, but I would ask
first: How restrictive are you trying to be?
For example the user might have a Gmail account set up, and both
platform Email and K9 installed configured.
Are you sure you want to restrict them to Email only?
The user experience
I'm getting some weird behavior when I try to open a file within a
service:
code
public class MyService extends Service{
public void onCreate(){
super.onCreate();
File myFile = getFileStreamPath(myfile.dat);
if (myFile.exists()){
Log.i(MyService, myfile.dat exists);
}
I will like to restrict the user to Email only, user can choose which one.
On Mon, Apr 6, 2009 at 3:00 AM, Andrew Stadler stad...@gmail.com wrote:
We can work out ways to deal with this question, but I would ask
first: How restrictive are you trying to be?
For example the user might have a
I have created what I believe is a relatively useful color picker,
derived and massively extended from the ColorPickDialog example in the
API Demos. If anyone would like to try it out, it is available on the
Market at Applications/Tools/UberColorPicker Demo. It didn't put it
in the Demo section
That should work fine. That function does very little -- just builds a File
with the proper path.
You might want to attach the debugger and see the stack crawl when you are
stuck.
On Sun, Apr 5, 2009 at 2:37 PM, Richard Schilling
richard.rootwirel...@gmail.com wrote:
I'm getting some weird
I have created what I believe is a relatively useful color picker,
derived and massively extended from the ColorPickDialog example in the
API Demos. If anyone would like to try it out, it is available on the
Market at Applications/Tools/UberColorPicker Demo. It didn't put it
in the Demo section
Ok. Well do you have any ideas or advice on how I can solve this
problem?
On Apr 5, 5:27 pm, Romain Guy romain...@google.com wrote:
Android does not provide the javax.xml.transform package.
On Sun, Apr 5, 2009 at 2:23 PM, xspotlivin dmbrown2...@gmail.com wrote:
I need to use the
Well, this APK installation error
(INSTALL_PARSE_FAILED_NO_CERTIFICATES) is caused by a change to my
source (I didn't verify well enough that I had restored to a known
good working source tree).
The error is apparently triggered by changing the name of one of my
layout XML files. With one name
xspotlivin wrote:
Ok. Well do you have any ideas or advice on how I can solve this
problem?
You haven't stated a problem we can really help you solve.
You asked:
Are you not allowed to use this package on Android?
As Mr. Guy indicated, you are correct. The package is not shipped with
geoff.stromberg wrote:
Well, this APK installation error
(INSTALL_PARSE_FAILED_NO_CERTIFICATES) is caused by a change to my
source (I didn't verify well enough that I had restored to a known
good working source tree).
The error is apparently triggered by changing the name of one of my
I'm trying to create a button in a custom view that I've created. I'm
looping through an XML document and drawing certain things. I want to
be able to also create buttons to go in certain locations depending on
the xml data. I'd like to do it in the view because I want to be able
to call
I'm using xml, and after creating a document out of it, I'd like to
create a new document out of some particular node (with all its
children). Below XML is the larger document, and I want to make a
new document from the node intervals. This is how I did it with the
transform package:
Node
I solved it. I was trying to do way to much work. Simple solution:
Java:
Node adherenceIntervals = reportXML.getFirstChild().getFirstChild();
Element adherenceIntervalsElement = (Element) adherenceIntervals;
NodeList medicationNodes =
adherenceIntervalsElement.getElementsByTagName(Medication);
?
On Apr 1, 6:50 pm, Noam noam.ha...@gmail.com wrote:
Is my code worth anything?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Ivan Soto wrote:
I've no idea how to run the emulator on Mac. Any advice?
/Double-O:~ ivan$
/Users/ivan/Downloads/android-sdk_eng.al_mac-x86/tools/emulator ; exit;/
/emulator: ERROR: You did not provide the name of an Android Virtual
Device/
/with the '-avd name'
Actually, this does not work when I ran the code on the emulator. It
worked in a separate testing program I have. Back to step 1.
On Apr 5, 8:08 pm, xspotlivin dmbrown2...@gmail.com wrote:
I solved it. I was trying to do way to much work. Simple solution:
Java:
Node adherenceIntervals =
I have posted a mirror for the files that is registration free over at
http://www.prosoftco.net/android/
Hope this helps.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi Dave,
Are you meaning I can not use this class in my own application?
But in MediaPlayerPerformance.java(framework folder), it can import
MediaMetadataRetriever.
Is any lib I need to load or ?
Please give me some hint
- wei
--~--~-~--~~~---~--~~
You
Hi Guys,
This is a question that raised before, but I can't find answer for my
case.
I get the latest android source code, compile, and then set $PATH
including the android_src/out/host/linux-x86/bin/
mksdcard 100M card.img
emulator -sdcard card.img
Then in another xterm window, I use
adb
This is definitely new in cupcake - it's part of the work that has
been done by the tools team to allow a single SDK to work with
multiple target configurations, and the visible effect is that
launching the emulator outside of either the source tree or a
fully-configured SDK distribution might
Any guy knows how to build ApiDemo in Android SDK with eclipse
Thanks in advance!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi, I have an Activity for my application to take pictures and store them
with a content provider.
The problem is that obviously I would like the picture to auto rotate
depending if I have my phone in landscape or not and I would like to use the
autofocus feature. So I'm wondering if I could just
Actually I may need the same. I to start the the camera app and get the
latest added picture.
Ivan Soto Fernandez
Web Developer
http://ivansotof.com
On Mon, Feb 2, 2009 at 11:29 PM, jj jagtap...@gmail.com wrote:
Hello James
Thanks for replying me,
Actually I want Uri of this
That's not going to work on Android.
On Sun, Apr 5, 2009 at 5:16 PM, MyLinuxSupport mashpl...@gmail.com wrote:
You should be able to fork the audio in Linux and write a c program to
do the analysis, then write your results to android... The challenge
you will have is getting your c program
It's actually quite useful and doable to write pure unit tests
within the InstrumentationTestRunner framework.
For a working example, please take a look at ApiDemos, in the tests/
directory, and look for classes that extend the TestCase class.
Benefits of doing it this way:
1. Although you
can somebody from google provide a official statement on the issue
mentioned above??
On Apr 3, 11:11 am, Pratap ajit@gmail.com wrote:
anyone with any idea on the above issue?
On Mar 31, 9:35 am, Pratap ajit@gmail.com wrote:
Hi
I am developing a simple maps application
I posted with this same problem before and then it just seemed to
disappear so I replied to my own post with a never mind, it works
now and no real resolution. Well, as I've continued to develop I've
run in to it again and figured out what is going on. There is a
problem with the development
Hi to all
Can anyone tell me how video streaming can done.
Thank You
NIthin N V
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Use this
webView.loadDataWithBaseURL(http://m.myspace.com;, null,
text/html, utf-8, null);
On Sun, Apr 5, 2009 at 12:12 AM, Rmac ry...@mac.com wrote:
I have encountered a problem with focused text fields in a WebView not
showing entered text values. As long as a
May We can use like this
TextView tv = new TextView(this);
tv.setLayoutParams(new
ViewGroup.layoutParams(LayoutParamas.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));
try this
in java
i think..
On Sat, Apr 4, 2009 at 1:25 PM, DaRolla netzprofi.ma...@googlemail.comwrote:
Hi,
I need to
You need to create a LayoutParams the corresponds to the actual class of the
parent, such as FrameLayout.LayoutParams.
On Sun, Apr 5, 2009 at 10:30 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote:
May We can use like this
TextView tv = new TextView(this);
tv.setLayoutParams(new
64 matches
Mail list logo