On Mar 19, 1:08 pm, Dianne Hackborn hack...@android.com wrote:
On Thu, Mar 19, 2009 at 7:33 AM, Hans hkess...@gmail.com wrote:
Services are just completely different from receivers, which are
different
from activities. They don't receive any broadcasts at all.
They certainly do when
Hi,
I wrote an app that downloads web sites and all their assets
(images/stylesheets) to disk and therefore stores lots of small files on
the SD card.
Sometimes it fails to delete large amounts of files and afterward the file
system is r/o. To analyze that behavior I tried to do the removal
Hello,
does someone could tell me if it is or not possible to get raw data
from a sound file ?
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I too feel very sad about the lack of ADC news, but i think one of the
explanations might be the financial crisis.
On Mar 19, 12:01 pm, De San Nicolas Jean Philippe jph...@gmail.com
wrote:
The strategy of Google for Android is very very obscure. I think for a while
that the Challenge Two will
When I run one of my apps on emulator, I get this warning and it never
runs.
emulator[223:10b] Warning once: This application, or a library it
uses, is using NSQuickDrawView, which has been deprecated. Apps should
cease use of QuickDraw and move to Quartz.
However, my other apps work just fine
Thanks. What is the proper method to use on the control to get its
total size? I have tried getHeight, getMeasuredHeight, and
getDrawingRect but they all return 0 to me on the first pass when I
need to figure out how much content to put into the control.
On Mar 19, 11:57 am, Dianne Hackborn
Thanks, but I think it is the java virtual machine byte order.
I am communicating to/from low level stuff (kernel driver).
On 19 Mar, 15:45, fadden fad...@android.com wrote:
On Mar 19, 6:57 am, Luca Belluccini lucabellucc...@gmail.com wrote:
In Sun Java I can get System endianess using the
You have to measure the widget before you can get its dimension.
On Thu, Mar 19, 2009 at 11:08 AM, Bob bshumsk...@yahoo.com wrote:
Thanks. What is the proper method to use on the control to get its
total size? I have tried getHeight, getMeasuredHeight, and
getDrawingRect but they all
For those who speak French, there is still the SFR Android Challenge
(http://sfrjtd.fr/). No need to be French (but have to speak french
anyway)
On Mar 19, 11:01 am, De San Nicolas Jean Philippe jph...@gmail.com
wrote:
The strategy of Google for Android is very very obscure. I think for a while
In the example here:
It shows:
PowerManager pm = (PowerManager) getSystemService
(Context.POWER_SERVICE);
PowerManager.WakeLock wl = pm.newWakeLock
(PowerManager.SCREEN_DIM_WAKE_LOCK, My Tag);
wl.acquire();
..screen will stay on during this section..
wl.release();
Once the wake lock is
Sorry to be a dolt but I am still getting 0 for my measuredheight
(ht). What am I doing wrong?
setContentView(R.layout.simplelinear);
LinearLayout ll=(LinearLayout)this.findViewById(R.id.linearLayout);
ll.forceLayout();
ll.measure(View.MeasureSpec.AT_MOST,
Because you are telling the view to measure itself with AT_MOST 0
pixels on both axis. Look at the MeasureSpec class to see what methods
you can use to create a proper measure spec.
On Thu, Mar 19, 2009 at 11:26 AM, Bob bshumsk...@yahoo.com wrote:
Sorry to be a dolt but I am still getting 0
The shared library can be in the current directory of the code that's
dlopen()ing it, and native code may refer to the library by an
absolute pathname, but otherwise it would have to be in the approved
places, yes.
You can look at open_library() in bionic/linker/linker.c
Thanks
Iliyan
On Tue,
Strings don't have color. Things that display strings do.
On Mar 18, 11:38 pm, AlexNguyen alexnt...@gmail.com wrote:
I have the String, how can I set color the text in String?
For example:
String S1;
S1 = Name: + \t + this.Name1 + \n +
Country/Area: + \t + this.Country1 + \n
Can you be more specific? What file formats? Native code ort Java?
On Thu, Mar 19, 2009 at 10:31 AM, Maisonobe.A (MaaKs)
alexma...@gmail.com wrote:
Hello,
does someone could tell me if it is or not possible to get raw data
from a sound file ?
thanks
Um, you need to release it at some point. Once you release it, you don't
need to do anything with it any more if you don't want.
On Thu, Mar 19, 2009 at 11:17 AM, madcoder paperga...@gmail.com wrote:
In the example here:
It shows:
PowerManager pm = (PowerManager) getSystemService
My bad. I read it as a literal. Bob asked for the current screen
resolution and not the width and height of a view or control etc :-)
Dianne Hackborn wrote:
You almost certainly don't want to do that. It does not tell you the
actually available space (taking into account any screen
sure , when recording with the android application , i get a.
3gppfile. i would need to read the data to perform some signal processing on
it .
I was thinking about java , but if it isn't possible is it a good solution
to write a C app to do the job and handle it with java ?
thanks
2009/3/19
Thanks for the various responses. Well received. I will consider
them in depth when I get a chance to tear myself away from the
debugger.
Cheers!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Hi,
In android, if I have a TextPaint object, how can I set the font style
to be 'bold'?
I can't find any method in TextPaint or Paint to allow me do that.
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
well, assuming you code in C:
int n = 1;
char *p = (char*)n;
int little_endian = *p == 1;
does that help?
On Thu, Mar 19, 2009 at 8:09 PM, Luca Belluccini
lucabellucc...@gmail.com wrote:
Thanks, but I think it is the java virtual machine byte order.
I am communicating to/from low level
Hello,
I'm trying to use java and android's 2D drawing APIs (no openGL) to
draw to a canvas instantly.
Right now, I am using the SurfaceView class (surfaceCreated,
surfaceChanged, and surfaceDestroyed functions) to draw to a canvas,
but it does not get called at the time I want it to.
I
Oops. Looks like that page was collateral damage when we did the move to
developer.android.com. We're looking into it; thanks for pointing it out.
At any rate the content that would be there refers only to the first
Developer Challenge.
Regarding the second Developer Challenge, it definitely
Dan,
Thanks for the clarification.
How about making the ADC II a set of awards which are given to the best
selling apps in each category each month for the next couple of years.
This would allow the Android user community to vote on what is good for
them, give developers a reason to push
We have considered and are considering ideas along those lines. That is
*not* to say that that's what we are going to do, so don't take it as
confirmation. :) But yes, many different structures are on the table.
- Dan
On Thu, Mar 19, 2009 at 2:46 PM, Al Sutton a...@funkyandroid.com wrote:
skink wrote:
On 19 Mar, 09:53, skink psk...@gmail.com wrote:
i'm aware of setDescendantFocusability(boolean) but still such
ViewGroup can process TouchEvents and setEnabled doesn't do the trick
since its not overriden by ViewGroup...
so if there is not any setDescendantEnabled, is there
Use a different Thread that draws on the SurfaceView directly. You can
draw as fast and as immediate as your Thread allows.
http://developer.android.com/reference/android/view/SurfaceView.html
- Get the SurfaceHolder of the SurfaceView.
- Every time you want to draw, begin by calling the
Sure, you just need an appropriate codec to decode it. Since Android
apps use Java, you may want to look for a java implementation of a
decoder. IIRC, 3GPP is just a container and therefore the actual
compression used can vary. If it is from a recording from the G1
microphone, chances are its
If my application sells for like $.99 and the top seller is selling around
600 to 1000 a month, a lot of developer would be spending $1500 just to make
themselves to the top. The price would be more than that amount.
Just a thought.
I don't like that idea. I really prefer a challenge that favor
Try calling abortBroadcast() in your receiver.
On Thu, Mar 19, 2009 at 7:18 AM, Streets Of Boston
flyingdutc...@gmail.com wrote:
When i press the phone's camera button, both my application and the
system's camera application are launched:
- I press camera button
- After a few seconds, my
On Mar 19, 2:07 pm, Stoyan Damov stoyan.da...@gmail.com wrote:
int n = 1;
char *p = (char*)n;
int little_endian = *p == 1;
If it's C you don't even need to booleanize it:
int isLittleEndian(void)
{
/*static*/ short order = 0x0001;
return *((char*) order);
}
At any rate, the original
What about only limiting to open-source apps?
On Thu, Mar 19, 2009 at 3:58 PM, Ivan Soto ivanso...@gmail.com wrote:
If my application sells for like $.99 and the top seller is selling around
600 to 1000 a month, a lot of developer would be spending $1500 just to make
themselves to the top.
Hi
Did you manage to find a solution? or is this still an issue?
Alec
On Feb 9, 7:48 pm, mattaku.betsu...@gmail.com
mattaku.betsu...@gmail.com wrote:
Hello,
Let's say I have an app that has a search on Google button. Every
time the user choose it, I want to bring up thebrowserand run a
I just hope there's a phone besides the G1 that can do 3G on all of
the frequencies by the time the second challenge rolls around. Also,
it would be great if the APIs that were initially going to be in
Android (specifically, in my case, Bluetooth and bluez) are actually
in it by the time this
Does anyone has a complete list of native drawables listed on a
webapage ? I don't want to do trial and error..
Any help is appreciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Hello,
I want to store image in sqlite database.
I tried to store it using BLOB and String, in both cases it store the
image and can retrieve it but when i convert it to Bitmap using
BitmapFactory.decodeByteArray(...) it return null.
Below is my code please have a look and suggest me where i m
Does anyone has a complete list of native drawables listed on a
webapage ? I don't want to do trial and error..
Any help is appreciated.
There's this list, which has been accurate for all the images I've used:
http://www.screaming-penguin.com/info/android_drawables/android_drawables.html
--
I've checked that one out, that's for Android 1.0 which is old.
On Thu, Mar 19, 2009 at 5:47 PM, Mark Murphy mmur...@commonsware.com wrote:
Does anyone has a complete list of native drawables listed on a
webapage ? I don't want to do trial and error..
Any help is appreciated.
There's this
it looks like you have a linux 64 bit only installation.
Please follow the Installation Notes for linux at the bottom of
http://developer.android.com/sdk/1.1_r1/installing.html
Xav
On Thu, Mar 19, 2009 at 4:06 AM, jammy jammy.fivef...@gmail.com wrote:
hello every one.. im new to android... i
I've checked that one out, that's for Android 1.0 which is old.
Not that old. Are there any you've found that do not work?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
On Mar 19, 4:44 am, Grant Kimm grantk...@hotmail.com wrote:
Hi,
When I run my app, I see about 8 or 9 icons in the main phone menu. One
is to run the app, and the others actually run activities within the
app.
I want there to only be one icon for users. Any ideas as to why this is
Hi,
Thanks for the reply.
Here is my code sample.
activity android:name=.mainApp android:label=@string/app_name
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
That list is... very questionable. It contains lots and lots of resources
that are not in the public SDK, and which you should not be using.
On Thu, Mar 19, 2009 at 5:47 PM, Mark Murphy mmur...@commonsware.comwrote:
Does anyone has a complete list of native drawables listed on a
webapage
Hi,
Many thanks Dan for saying something about ADC II ( at last :-)
Regards
On Mar 20, 11:21 am, Eric Friesen ericfrie...@gmail.com wrote:
I just hope there's a phone besides the G1 that can do 3G on all of
the frequencies by the time the second challenge rolls around. Also,
it would be
activity android:name=.mainApp android:label=@string/app_name
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
activity
Hi all, this is my first post so please excuse any noobiness.
I'll cut directly to the problem to save everyone's time:
I have made a tableLayout in order to display a grid (should simulate
a card game table, but that's not important to this post)
take a look at this code:
...
TableRow
Thanks!
On Fri, Mar 20, 2009 at 2:03 AM, Dianne Hackborn hack...@android.comwrote:
Um, you need to release it at some point. Once you release it, you don't
need to do anything with it any more if you don't want.
On Thu, Mar 19, 2009 at 11:17 AM, madcoder paperga...@gmail.com wrote:
In
Unfortunately, being moved to Android discuss, which is a group that
has a much lower activity level, has somewhat halted the
conversation. Remember, go to the new group discussion (even though
this is being aimed at developers, we can't chat in the Android
developers group) and please
Hi,
I want to use the system brightness in android,anybody can give
me a sample code of getting the brightness from android.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
On Mar 19, 7:12 pm, Grant Kimm grantk...@hotmail.com wrote:
Hi,
Thanks for the reply.
Here is my code sample.
activity android:name=.mainApp android:label=@string/app_name
intent-filter
action android:name=android.intent.action.MAIN /
Hello,
I have a 2D app. When the user presses a button, I need to quickly open a
translucent 3D animation and overlay that on top of the 2D app. This is
similar to the Translucent GLSurfaceView demo in APIDemo.
However, with APIDemo on G1, it takes about 100~200ms for the new Activity
to come
How do I build the wlan module? When I build, the makefiles copy the
vendor/.../wlan.ko to out/.../wlan.ko. What I really want to do is
put some new features in the wifi driver for Android. Anybody know?
Thx,
((-
--~--~-~--~~~---~--~~
You received this
Here's some really simple code that I think should get me the favicon
for facebook, but my callback is never called, and all I see in the
logs after my app launches is (running logcat *:V)
D/skia( 245): xxx jpeg error 53 Not a JPEG file: starts
with 0x%02x 0x%02x
... which is
My strategy for analyzing traces is to simply drill down on the child
with the largest percentage until I get to a method called from my
activity or the callstack is exhausted without reaching any of my
methods.
In the warm trace, for example, starting at the top level I drill down
on the
thank u for reply
I got the with it
when another activity called from activity by using startActivity
(), the calling activity get destroyed, and it is gain created
onCreate when control return from called activity.
--~--~-~--~~~---~--~~
You received this
What do you mean readBytes never gets set to -1? Is the code going
into an infinite loop? Or are you stepping though it in a debugger. In
the later case, it would take a *very* long time for readBytes to be
set to -1 because you are reading and writing one byte at a time.
I am not sure if this
Hi, I am confused. Which project is running A or B? Is
com.example.A.test1 in project A or B?
What is the type of the object that you do create? Try this:
Object tmp = c.newInstance();
System.out.println(tmp);
Is framework/base in project A or B?
Finally, and this may not be important at all,
hello folk
what is the maximum size of application's database allowable in
Android?
In other words whats max capacity of android appl private database, as
well as whats max capacity of content provider available?
thank you
--~--~-~--~~~---~--~~
You received this
Moved to -discuss before Dianne asks us to ;).
Al.
gjs wrote:
Hi,
Also I think some of us are holding our app's for ADC II rather than
releasing to Market.
Without any idea if existing apps in the Market will be eligible for
ADC II, this is difficult decision.
Finally, a lot of us are
There isn't a maximum size, but the total flash space available is I believe
~60MB, and of course the sd card can be anywhere from 1GB to 16GB.
On Thu, Mar 19, 2009 at 10:27 PM, jj jagtap...@gmail.com wrote:
hello folk
what is the maximum size of application's database allowable in
Android?
PopupWindow lets you make a window on top of another directly. You can do a
similar thing with Dialog (using the translucent theme). One or the other
may be easier for you depending on exactly what you are doing.
On Thu, Mar 19, 2009 at 4:52 PM, Tomei Ningen tomei.ninge...@gmail.comwrote:
101 - 161 of 161 matches
Mail list logo