There is only few words in the api doc of class SurfaceView: The
surface is Z ordered..
Is there any interface for setting Z order of View?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Probably not yet possible, because the current SDK does not give
access to the audio buffers for input or output.
On Jan 3, 11:29 pm, er erez.levin...@gmail.com wrote:
Hello all,
I wish to develop some of my modules onto the Android platform and in
order to do so i have some questions
Using the webkit transform on a webpage in chrome makes the element
dis-appear, does anyone know why or anywork arounds to get an element
to rotate in the android browser?
sample webpage:
html
body
img src=http://groups.google.com/group/android-developers/icon?
v=1hl=en /
img
Hi,
I've been thinking about using the iUI library. But right now, I'm
focusing on porting my opera widget to the android platform (i.e
building a native layer to handle all the AJAX calls, I've already
built the Network I/O layer using the classes in org.apache.http.*,
The only thing is that I
I have written a program just like notepad, and now I want to use
gmail to send the files I have saved(the files are in the file
directory, not in the database), how can I do it? which reference
should I refer to? thanks!
--~--~-~--~~~---~--~~
You received this
I have not tried it myself, but looks like you can use Picture class.
E.g:
@Override protected void onDraw(Canvas canvas) {
FileInputStream in = null;
try {
in = new FileInputStream(myimage.jpg);
I gave it a try and all it does is make the app restart with no
error.
On Jan 4, 12:09 pm, Sergey Ten sergey@zumobi.com wrote:
I have not tried it myself, but looks like you can use Picture class.
E.g:
�...@override protected void onDraw(Canvascanvas) {
Thanks for the reply but I am not seeing the results as expected. I
just tried it out: an asset file that I compressed myself with Gzip,
vs the same file uncompressed.
The resulting apk with uncompressed file was much bigger:
Compressed case:
Asset file: 45348 bytes
Apk file: 132099 bytes
Have you tried profiling your app to see what takes so long? Have a
look at
http://code.google.com/android/reference/android/os/Debug.html#startMethodTracing(java.lang.String)
On Jan 3, 6:49 pm, Matt Hall matt.h...@gmail.com wrote:
Hi everyone,
I have an app that is around 3.8 megs, with a
I probably know why..
Each browser is implementing some CS3 calls as -browserName-
attriuteName
If you translate the calls and match up with Webkit November 2008
nightlies that will match both Android SDk 1.0r3 which is coming out
soon and iPhone upcoming minor update..
On Jan 4, 4:15 am,
Ive been searching all ove on how to edit a image and save it. The
only way i have come accross other than just changing the size or
orientation is to use canvas. Now canvas works fine but i cannot seem
to save the newley created image.. the image always returns the
original image.
My application have several screens, when user clicks back button,
it goes back to next screen. Which function will be called, when it is
back?
I used some static variable to remember global function. I found that
sometime, the value of those variable has been changed. Do you
experience the
OK THX,
2009/1/4 边蓬 tianpm...@gmail.com
try startIndent ?
On Jan 4, 1:32 pm, SinFrancis kyowxf2...@gmail.com wrote:
use one .apk startup other .apk?? i wanna use A.apk startup
B.apk ,how can i do ???
--
Welcome to my site about GPhone:
http://51gphone.cn
I am a
if i change Picture newPicture = Picture.createFromStream(in); to
Picture newPicture = new Picture(); it does not restart the app but
the image is black and only 150 bytes
On Jan 4, 12:41 pm, Protocol-X shawn.bur...@gmail.com wrote:
I gave it a try and all it does is make the app restart
inder wrote:
Thanks for the reply but I am not seeing the results as expected. I
just tried it out: an asset file that I compressed myself with Gzip,
vs the same file uncompressed.
The resulting apk with uncompressed file was much bigger:
Compressed case:
Asset file: 45348 bytes
Apk
oh i know i just had them commented out and threw it in seperate
throws to paste in here thanks ill give it a try
On Jan 4, 12:09 pm, Sergey Ten sergey@zumobi.com wrote:
I have not tried it myself, but looks like you can use Picture class.
E.g:
�...@override protected void
One of the problems I can see with multiple platforms is app
incompatibilities.
With the iPhone app store when you buy an app you know the app will
work. With more Android devices coming out and the current state of
Market I'm concerned that users will end up buying apps which either
don't
The examples in PhoenGap are being updated with code..timeline is end
of Jan or early Feb 2009..
On Jan 4, 1:37 am, Tez earlencefe...@gmail.com wrote:
Hi,
Can anyone show me an example of how to call a JavaScript function
from a function in Java WITH parameters passed to the JavaScript
use the startIntent? must be konw the other.apk package name???
like : a.apk wanna to startup the Browser.apk
when coding like this :
Intent mIntent = new
Intent(getApplicationContext(), com.android.Browser);
startActivity(mIntent);
is this???
2009/1/4 心蓝 kyowxf2...@gmail.com
OK
Look for Webkit CSS3 support via google search saem way I did..or
seach the iphonewebdev lists as both iPhoen and Android are sunching
up with Nov webkit nightlies for the next upcoming updates somewhare
between now an dend of Feb..
That means:
-Transisitions, Animations, and Transforms
-Canvas
Hi,
I would like to know the differences between what CSS support is
available on Android WebView and what is available on most dekstop
browsers.
Cheers,
Earlence
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Very true,
Its something which has been worrying me for a while now as well. With
so many handset manufacturers coming onboard, how do app developers
and more importantly, end user, know what will run on a particular
device. his would be a great time for some google guys, to say (yeah
Yeah right, that's Apple propaganda if you ask me... Developers have always
been coding for different screen sizes and different hardware... On a
desktop you also don't know if someone has a webcam if you are coding a chat
programm or not... I see that it is a bit more difficult on handsets...
Yes, this openness is a double edged sword. There is no way for
developers to anticipate screen resolutions and hardware limitations
of the future Android handsets especially when manufacturers
themselves are very secretive about unreleased items. But lacking some
major hardware changes it's very
I have identical AutoCompleteTextView code in 2 different
applications, however one displays dropdown items in nice black text
on white background and the other displays white on white (invisible
unless you highlight the item)
Here is the extract from xml files - I don't do any changes in code
I just uploaded a version update of my program and now my publisher
page shows 0 ratings, 0 total, and 0 active installs. I'm not sure
what the market will show because it no longer appears. I'm just
hoping that is because uploading a new version takes a while to appear
in the market while
Yannick Stucki wrote:
Yeah right, that's Apple propaganda if you ask me... Developers have
always been coding for different screen sizes and different
hardware... On a desktop you also don't know if someone has a webcam
if you are coding a chat programm or not... I see that it is a bit
Right now I am extending Activity and populating 2 list views
dynamically.
How do I override the onListItemClick method for the lists if I am
extending Activity?
package com.thinknew.budget;
import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import
From the list of allowable permissions I can see the following being
some of the optional features for hardware;
Handset vibrate.
Bluetooth profiles
Fine location
Wifi
Camera
Flashlight
Audio Recording
My previous experience is developing for Nokia devices (Not touched an
iPhone as yet), and
It's not that they can't write it, it's whether they are writing it.
Prime example; Many people have said QVGA is unusable for their apps
and/or the desktop, yet the Kogan 'phones will have a QVGA screen, and
Android has no method of saying Only run this app on HVGA or above.
Al.
Yannick
Handset vibrate.
Bluetooth profiles
Fine location
Wifi
Camera
Flashlight
Audio Recording
This is the kind of problem I'm talking about.
My previous experience is developing for Nokia devices (Not touched an
iPhone as yet), and I know from that there can be a lot of variation
in
Tim Bray wrote:
But I suggest that it's a serious lack in Android that I can't launch an
Activity from Javascript straight out of the regular browser.
When a desktop browser attempts to run an arbitrary pre-installed
program, it is generally deemed a security violation.
Why would a mobile
I have an app that creates an sqllite database on first-use, if one
doesn't already exist. Recently I released a new version of the app,
and all of a sudden several users are complaining of erros that I
didnt encounter in my testing. In my development I always installed
using adb over usb, which
Jay-andro wrote:
Actually, Mark, my users love this feature.
I don't know which application this is, and since I only have a small
percentage of available Android apps installed, I'm presumably not a user.
It could be that the way your service works, the only time you'd launch
your activity
I've read all over and everyone one asks how to achieve a horizontal
scrolling on a LinearLayout. It's really bad that no one has a
solution to this issue...
My question is;
1. How do you use Scroller class? do I have to extend the class?
2. How could I track finger location movement on a
Hi,
My application throws a dialog with an OK button and some error
message every time an error is encountered while processing user
input. For example, on one screen user should enter some information
into two text boxes (say text1 and text2) and hit a save button. In
the save button click
Hi all,
I've noticed a couple of problems with the onboard GPS on the G1 that
seem like
something's going wrong with the underlying interface to the gps
hardware.
1) There are times when the GPS just never synchs with the satellites
regardless
of whether it's in a clear area open to sky,
Thanks for the replies David !
I totally understand that the hardware manufacturer needs to implement
the appropriate links - like a couple of extra traces of copper - what
I don't understand is WHY they wouldn't ! Or WHY it wouldn't be seen
as a basic requirement for the product.
I also
Yes, dialogs are reused; that's part of the idea behind having the
Activity manage the dialogs. Generally, onCreateDialog is called only
once for a given ID (you can use the debugger to verify this).
Override onPrepareDialog to modify the created/reused dialog just
before it appears.
Hi, I need a bit of help understanding the animation repeat behavior.
In the following code, the intention is for the first animation to
run, then the second, then this sequence to repeat indefinitely.
Instead, both animations run once and then it stops. What am I doing
wrong?
Hi,
Unfortunately moving the code to onPrepareDialog() also didn't help. I
create an instance and setup the button in onCreateDialog() and set
the error string in onPrepareDialog() but that doesn't seem to work. I
see that screen gets a little darker and something very small shows up
(I can't
Followup: for anyone else experiencing similar woes, my download count
and ratings returned after a while, although it took a few hours.
All's well, despite a slight delay.
Cheers!
On Jan 4, 1:36 pm, Keith Wiley kbwi...@gmail.com wrote:
I just uploaded a version update of my program and now my
I went as far as to fully hack the ScrollView class itself to 2D
scrolling capability. I'm pretty sure I got the class set up
properly, but I could never get it to receive horizontal scrolling
events, so it never triggered the horizontal routines I incorporated
into it. I believe the problem
Thanks for the reply and the suggestion.
I do wonder, though, how long this will remain the suggested
solution. Are there plans to update the API to allow more
flexibility? I wouldn't really want to put a lot of effort into
developing and maintaining this kind of scheme just to throw it away
Simply put the cmd to Java function:
system(adb uninstall apt_name);
I mean your code should invoke the commands exactly as 'adb' does.
Kenny
On Jan 3, 8:52 am, Dr. Tingrong Lu lutingr...@hotmail.com wrote:
Hi,
How to write code to uninstall apk from device/emulator? Could anyone drop a
To dear all Android developers,
Is there a way to check whether a service is already started or not?
This issue has been discussed ealier (and much earlier) in April, in
the last year, on this forum.
Hi,
Anybody knows where to configure the proxy settings in the device? Or
an app that lets one do so?
Thanks, Krishna.
On Jan 3, 10:52 pm, kpowerinfinity kpowerinfin...@gmail.com wrote:
Hi Dan,
I do want to use aproxyin a _real_ device, for the existing firewall
and all the other built in
Hi,
I see that the date and time on my emulator are incorrect. How do I
set the correct date and time ?
Thanks,
Sarath
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi,
I have an app that runs well from Eclipse. But when I signed it using
our release key, it threw a ClassCastException embedded in an
InflateException at start up time. The code is something like the
following:
this.content = (ViewGroup) findViewById(R.id.content);
I'm pretty
Hi,
I am trying to write a JUnit testcase for which I need to launch the
image gallery through code. I tried searching online for the intent
needed to launch the image gallery but could not find anything. If
anyone knows it, can you please help me out?
Thanks,
Glenys
Hi,
SetMessage() will effect only when you do OnCreateDialog(). Instead you
can try the below options,
1. Have two dialogs with separate Id's ERROR_DIALOG_ID_TEXT1 and
ERROR_DIALOG_ID_TEXT2 else
2. Create AlertDialog and use show() function to display it. In this
case you will not be requiring
I wrote an article on how to unschedule alarms here :
http://moazzam-khan.com/blog/
Hope it helps.
- Moazzam
http://moazzam-khan.com/
On Jan 3, 4:27 am, Dianne Hackborn hack...@android.com wrote:
ApiDemos shows how to schedule and unschedule alarms. You can do it
anywhere.
On Sat, Jan
On Sun, Jan 04, 2009 at 09:13:45PM +0100, Yannick Stucki wrote:
Yeah right, that's Apple propaganda if you ask me... Developers have
always been coding for different screen sizes and different hardware...
On a desktop you also don't know if someone has a webcam if you are
coding a
Unless you've overridden the key handlers, clicking back will call
finish() on your activity, which will cause the activity to exit via
the standard transitions.
The transitions between activities are documented in
http://code.google.com/android/reference/android/app/Activity.html.
It's
can i make changes in classes.dex file like..can I replace any string
in classes.dex file with some other string(which is of the same
length) and rezip the file.
will this work for .apk on android??
Plz Help me Its urgent
Thanks
Sudha Gupta
On Dec 5 2008, 5:39 pm, Dianne Hackborn
You mean the Pictures app?
If you want to launch the app to browse through the images and fiddle
with them, if you examine the log when you launch it manually, an
Activity is started with an Intent like:
new Intent(Intent.ACTION_VIEW, Uri.parse(
content://media/internal/images/media))
If you
56 matches
Mail list logo