Dev phones indeed explicitly don't get OTA updates, for several reasons:
-developers are assumed to be capable of manually updating their phones.
-those phones are designed to allow running custom versions of the
system, and an automated update could cause some damage.
-developers have
Google_Android_discussion wrote:
Hi,
Is it possible to alter the string values(in resources) in APK after
creating it.
Not easily. The resources are in a compiled form in the APK and are
not designed to be modified. In addition, if your APK is signed, any
modification to the contents would
Kelly Mao wrote:
I have got the code of Android 1.5
Questions regarding the Android source code are best asked on a mailing
list devoted to the Android source code:
http://source.android.com/discuss
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
BJP wrote:
I would like to write a file to the SD card from my application, but
the following code throws an IOException when debugged on a T-Mobile
G1:
String p = Environment.getExternalStorageDirectory() + /log.txt;
File recfile = new File(p);
recfile.createNewFile();
The last line
On Apr 1, 1:32 am, herain herainw...@gmail.com wrote:
I need to load a .so library in my Service onCreate method, but the
process just down after System.load. On the other hand, the same code
can work in Activity.
[...]
04-01 07:57:25.901: INFO/DEBUG(26719): pid: 26726, tid: 26726
On Mar 31, 2:40 am, Filipe Abrantes filipe.abran...@gmail.com wrote:
so can the the XML inflater be causing this leak? can we get a leak from
the xml itself?
How would you propose to proceed from here... im running out of options...
Can you make this happen on the emulator (or on a rooted
I am launching an image picker (from the gallery) and my code crashes
every single time. I tried to get some help in another post, but
people quit responding to the post. Please help. When I do a debug,
it tells me this (there are TONS of errors, but these looked the most
important - also, I
The exception is:
04-01 14:09:30.274: ERROR/AndroidRuntime(719):
java.lang.RuntimeException: Failure delivering result ResultInfo
{who=null, request=1, result=-1, data=Intent { data=content://media/
external/images/media/7 }} to activity {com.app.name/
com.app.name.activity}:
Bobbie wrote:
I am launching an image picker (from the gallery) and my code crashes
every single time. I tried to get some help in another post, but
people quit responding to the post. Please help. When I do a debug,
it tells me this (there are TONS of errors, but these looked the most
Mark Murphy wrote:
Cursors are always pointing before the first result.
Actually, to clarify: Cursors are always pointing before the first
result when you initially get the Cursor from a query (whether of a
content provider or database).
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Correlation is not causation. Yes android is slower than it could be.
But jazelle isn't the only reason. I wouldn't be surprised if the j2me
variant isn't even using jazelle as jits tend to be faster in a lot of
applications. A simple jit would probably give a 5-10x+ speed up
of the java (not
Short answer:
Don't use static variables :-)
Somewhat longer answer:
If sub-activities need to access some data held by my main activity, i
usually do create one static variable:
public MyActivity extends Activity {
public static final MyActivity ACTIVE_INSTANCE;
protected void
Sorry I never created a web service before.
I only want to use this web service now to send HTTP request (HTTP
POST and HTTP GET) in my Google Android application.
If a user logins at my application (with username and password) the
username and password would be sended to my
web service and
Thank you SO much! I hate those 1-liners that kill your app, haha.
Thanks again!!!
On Apr 1, 2:14 pm, Mark Murphy mmur...@commonsware.com wrote:
Mark Murphy wrote:
Cursors are always pointing before the first result.
Actually, to clarify: Cursors are always pointing before the first
Thanks Lajos for pointing APE out, I hadn't heard of it until now.
Unfortunately your link to your Android port is broken, can you mend
it as I dont fancy spending another hour porting another library to
Android :D
Thanks
On Mar 31, 9:50 pm, lkelemen tridc...@gmail.com wrote:
Hello everyone,
@Override is a so-called annotation.
It does not generate any byte-code/runnable-code.
It just tells the compiler that the method below it is an override of
its super-class' method.
If your super-class changes its signature of onDraw, your compiler
will warn you about the fact that your method
You have to call moveToNext or moveToPosition first before you can use
the cursor.
On Apr 1, 2:13 pm, Bobbie bobbie.st...@gmail.com wrote:
The exception is:
04-01 14:09:30.274: ERROR/AndroidRuntime(719):
java.lang.RuntimeException: Failure delivering result ResultInfo
{who=null, request=1,
I'm surprised that calling start() has no effect, and that it takes several
seconds for playback to work again.
Do you have the same issue when playing a file in the music player, for
example?
On Tue, Mar 31, 2009 at 5:35 PM, Eric M. Burke burke.e...@gmail.com wrote:
I have an Activity that
I need to animate at a very fast rate (without using OpenGL). Now I am
calling View.invalidate() to paint to the screen, but this has the effect of
A: clearing the screen with black
B: drawing the content view
C: drawing the child view (which occupies only part of the screen, and is
the only
I have found that, if you will be doing a lot of data access, compiled
statements will cut the time to complete most operations in half. This
is particularly true of inserts. Used in conjunction with
beginTransaction()/endTransaction(), using compiled statements can
make your data access quite
You will not find anyone at that price hence the revenue share
proposal
On Mar 29, 4:36 pm, androidinsider eldev...@gmail.com wrote:
Eldev LLC is looking for android developer familiar with google image
search API to write a new application.
This is a contract job with a budget of $3000.
This is one of the things SurfaceView is for. For a regular view hierarchy
you can't draw outside of updates, period.
I don't know what you mean by clearing the screen with black. We don't do
that. Within your window, if the window is translucent, we will clear the
update region back to
Thanks for the suggestion... but ScrollView only scrolls vertically up/
down, not horizontally left/right. At least that's what my experience
has been trying the ScrollView widget out, and what I have read about
ScrollView. Is there a way to make it scroll left/right as well?
On Apr 1, 8:53 am,
A simple jit would probably give a 5-10x+ speed up of the java
Yes, this is what I observed in my tests of Nokia 6680 and Sony
Ericsson X1 versus Android G1 for the same computational benchmark. It
is not good for battery life either when the CPU has to spend 5-10
times as many clock cycles for
Just do the scrolling yourself. You are going to need to do some
significant optimizations to be able to efficiently draw a board that size
anyway (checking update rects and such to minimize drawing); to have smooth
scrolling, you may well need to do more than that, such as having it
rendered in
Just remember that for a lot of applications most of the time is
spent calling native routines not executing java code. It isn't great
for battery life but it isn't as bad as you first think since in a lot
of apps, you spend almost all your time in wait loops so the CPU drain
isn't as
Hi,
It seems that DDMS does not accept that a debugger in another host
connects to it (a scenario where host A has the Emulator and DDMS
running, and host B has the debugger).
It appears that DDMS is binding to the loopback address. Does anyone
know if that is intentional ?
Regards,
Wesley
It should be noted that there is a spelling mistake in the code
version, this is how it should read:
IntentFilter mFilter = new IntentFilter
(android.intent.action.DATA_SMS_RECEIVED);
I typed it up in a browser and made the mistake.
Thanks.
On Mar 30, 11:24 am, thesquib thesq...@gmail.com
Hi,
Is there a way to read the transmitter signal strength ?
TIA
--~--~-~--~~~---~--~~
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
Hi all,
Is there a way to read the cellular radio transmitter signal
strength ?
(TxPower or something similar).
TIA
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
It's actually not that much different than modifying any other
compiled program -- especially a normal jar.
Though like you said, it must be resigned after being modified.
On Apr 1, 1:34 pm, Mark Murphy mmur...@commonsware.com wrote:
Google_Android_discussion wrote:
Hi,
Is it possible to
There is some relevant informaiton http://strazzere.com/blog/?cat=5paged=3
and http://dedexer.sourceforge.net/ from Gabor.
Hope that helps.
On Apr 1, 10:28 am, Zhubham sahilz...@gmail.com wrote:
Hi,
I am keen on understanding how the DVM works and finally what's the
format of the generated
I am trying to access the memory card but Vista says please insert a
disk into removable disk H: and will not permit me to load files into
the card.
Any ideas as to what is wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Agreed. It takes about 100 msecs to spin up the audio output once it
goes to standby. You will seeing something like this in the log:
W/AudioFlinger( 35): write blocked for 103 msecs
If it's taking several seconds, there must be something else involved.
On Apr 1, 11:51 am, Marco Nelissen
You should check out the xda-developers forums regarding creating
themes on the Dream a.k.a. G1. Those guys are doing just what you
mentioned, and resigning it as strazzere mentioned.
~clark
On Apr 1, 2:32 pm, strazzere str...@gmail.com wrote:
It's actually not that much different than
Wait what?
What does altering strings in an self-compiled apk have to do with
themes?
On Apr 1, 6:31 pm, clark clarkd...@gmail.com wrote:
You should check out the xda-developers forums regarding creating
themes on the Dream a.k.a. G1. Those guys are doing just what you
mentioned, and
I've used this and it works for me.
c.getCount();
On Apr 1, 12:34 pm, nEx.Software justin.shapc...@gmail.com wrote:
I have found that, if you will be doing a lot of data access, compiled
statements will cut the time to complete most operations in half. This
is particularly true of inserts.
Are you recycling your bitmaps? I'm not sure what your
getThumbnailBitmap is doing, but I have something that sounds similar
where I rescale my bitmaps like so:
public static Bitmap getBitmap(Context context,String photoUriPath)
throws Exception {
Uri photoUri =
You will need to extend the View you are displaying the drawable and
override the draw method to add your custom text like this:
@Override
public void draw(Canvas canvas) {
super.draw(canvas);
canvas.drawText(Title, x,
y,
I've done some more profile based hand optimization and I now have
it running superfast. :) I've put the new version in the same
location as the previous one. I still had some floating point code
that was slowing me down. The difference between floating point and
fixed point is not to be
Could someone let me know how exactly android makes the sliding text
on an icon slide up to the end of the text? Currently I'm using
TranslateAnimation to slide the text, but this is hard since text can
change lengths and just gets too complex... :(
Help!?
Thanks!
Moto!
my current code:
On Apr 1, 2:01 pm, Wesley wesle...@gmail.com wrote:
It seems that DDMS does not accept that a debugger in another host
connects to it (a scenario where host A has the Emulator and DDMS
running, and host B has the debugger).
It appears that DDMS is binding to the loopback address. Does anyone
While that works, it will create a Cursor with 'N' rows and then
counts the number of rows. If you instead retrieved count(*) as a
column, you'd have a Cursor with 1 row, with a field that contains the
count. The latter is more efficient.
On Wed, Apr 1, 2009 at 5:03 PM, Glen Humphrey
Awesome.
It is visually much smoother than your first version. Three thumbs up!
On Apr 1, 8:48 pm, Anton socialhac...@gmail.com wrote:
I've done some more profile based hand optimization and I now have
it running superfast. :) I've put the new version in the same
location as the
About open-sourcing it:
Thanks! That would be great and i'll be happy to do some work on it to
make it even better (if i *can* do this; you already did a great job).
Let us know when your api is ready to be put on open-source. :-)
On Apr 1, 8:48 pm, Anton socialhac...@gmail.com wrote:
Hi,
I have download and built android source on my local machine.
Can you please tell me how can I remove all the binaries (*.o,
executables) to clean up everything?
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I have some good news too, I have successfully ported APE (http://
www.cove.org/ape/) to Android and have a simulation of 50 objects
running extremely smoothly.
Considering I have only spent an hour or so converting everything to
Android and making minimal optimisations this is really good news
The drawable's draw() method takes a canvas, so there is no problem having a
drawable use that to draw text.
Also you should almost always implement View.onDraw(), not View.draw().
On Wed, Apr 1, 2009 at 5:23 PM, jeffery...@gmail.com wrote:
You will need to extend the View you are displaying
Yes, I'd love to see the results of that.
-Anton
On Apr 1, 6:25 pm, mscwd01 mscw...@gmail.com wrote:
I have some good news too, I have successfully ported APE
(http://www.cove.org/ape/) to Android and have a simulation of 50 objects
running extremely smoothly.
Considering I have
On Wed, Apr 1, 2009 at 11:40 AM, Romain Guy romain...@google.com wrote:
Using gestures to navigate within an app has a HUGE problem: it is
totally undiscoverable.
Additionally, it poses a problem with future devices: you shouldn't
assume that every device that will run Android will have a
Maybe not an object, something like object ID, anyone who knows?
On Apr 1, 4:51 pm, quill quill...@163.com wrote:
Hi, all,
I have created a MemoryFile object in my client application, and how
can I get it in my server application? The object is large enough that
I can't tranfer it by Intent
Hi all,
I want to set default focus in the first focusable view when entering
a new screen, and i use view.requestFocus(View.FOCUS_DOWN) (view is
the root ViewGroup), but it doesn't work. The method alway return
false. And i also found a strange situation: view.getFocusables
(View.FOCUS_DOWN)
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 android-developers@googlegroups.com
To unsubscribe from this group, send email
I'm curious too! :)
On Apr 1, 9:25 pm, mscwd01 mscw...@gmail.com wrote:
I have some good news too, I have successfully ported APE
(http://www.cove.org/ape/) to Android and have a simulation of 50 objects
running extremely smoothly.
Considering I have only spent an hour or so converting
I met the same problem from two weeks ago, if any one fixed it pls help me.
Best Regards
Eric Chen
On Wed, Apr 1, 2009 at 5:54 PM, l hx lihongxia8...@gmail.com wrote:
Hi.
today i get the newest code and make it .but when i mksdcard, and
mount it as same as i did before. but now i can
Hi,
Link is working now. I've put
System.exit(0);
to the Activity's onStop and the performance looks stable now.
The state of the physics world is not preserved when you push home and
long push home and swithch back to the app.
What do you think:
Would using a Vector pool in class
Hi,
I want to get the left and top of a view in relative layout.But the
value alway are relative to its father view.So how can I get the
instinct left and top relative to the window?
Thank you very much.
--~--~-~--~~~---~--~~
You received this message because
Thanks Mark, but I'm debugging the application on a T-Mobile G1 with
installed SD card (real hardware) ~ no emulator, just the real thing.
Is there a permission needed that I'm not recognizing? Or, is there a
special exclusive way to deal with files on the SD card? Any help or
pointing in the
Hi Everyone,
Does anybody know how can I sort out a problem with the
WebView.pageDown( boolean ) method that simple does not remains in the
bottom of the web view after invoking loadData() ?
The behavior in the emulator moves to the bottom and right after that
moves back to the top.
Thanks in
pageDown() does not mean scroll the web page to the bottom it means
scroll down by one page. Just like the page down key on a computer
keyboard.
On Wed, Apr 1, 2009 at 9:33 PM, pperotti pablo.pero...@gmail.com wrote:
Hi Everyone,
Does anybody know how can I sort out a problem with the
hi.
i want to develop a application like imageswitcher but instead of
images that show in gallery i want to display a videos in that
gallery.i want to develop application same as in APIDEMOS-
IMAGESWITHCER .
so any help for that?
thanks.
jaimin
Are you sure that you have write permission to /sdcard ( sdcard
mounted with RW and the directory /sdcard i writable) ?
I suggest you run another app to store some information in /sdcard
for a test
On 4月2日, 下午12时23分, BJP bjpcalt...@gmail.com wrote:
Thanks Mark, but I'm debugging the
Hi all,
I'm learning how to show pictures now, and following the example
ApiDemos given by sdk.I want to add the zoom function to the
ImageSwitcher, but I didn't find useful code in sdk. Can anyone give
me some code to help me about zooming the picture in ImageSwitcher?
Here is the code of
Hi,
I have written a video player app. Its working fine, but the problem
is the screen is going to in sleep mode after playing some time. When
I click on Menu button on the device, then only it wakes up.
How can I solve this?
Thanks,
Manoj.
--~--~-~--~~~---~--~~
Hi I am writing an application which reads the xml data and just
prints it.
The xml data consists of some escape sequence characters like , ...
I am using DOM parser for this.
When trying to print the data, I am not able to get the original data.
The code, I am using is:
Document
Have you looked at the VideoView widget?
On Apr 1, 2:41 am, jaimin jaiminmeht...@gmail.com wrote:
hi,
i have problem in playing video file. Video file is playing nice but i
want to play video file in the whole emulator (size).Right now video
file is playing but in small size.
so any
Looks like you are repeatedly calling the MediaPlayer.start() method
when it is in an uninitialized state.
On Apr 1, 12:42 am, Ramesh uthir...@gmail.com wrote:
Hi,
I am trying to play media player.Its working fine but in log i am
getting this kind of error
Can anybody tell me why this error
101 - 167 of 167 matches
Mail list logo