Hi, All
I've tried to build the Nexus 5X and the phone can not function well after
"fast boot flashall"
1. it will hung in the booting screen for a long time
2. the bluetooth can not work after finishing booting
After I replaced the system.img with the one in the offical release and it
become
I'm writing a multimedia app. But I found it so confusing that Android APIs
seem not providing methods to check if the output images (NV21 or YV12) are:
1. fullrange(0-255) or videorange(16-235)
2. ITU R bt. 601 or bt. 709 matrix based
These info are essential to convert images between yuv and
Murphy's logic should be subject to Murphy's law...
On May 29, 9:03 am, Mark Murphy mmur...@commonsware.com wrote:
On Tue, May 29, 2012 at 10:53 AM, Yan yinor...@gmail.com wrote:
Is it safe to assume the new activity will have priorty over the
previous activity that is no longer accessible
that really makes me wonder what
percentage of Android devices out there even support 24bits?
On May 29, 9:18 am, RichardC richard.crit...@googlemail.com wrote:
Are you sure you are getting a 16bit z-buffer?
What values of near and far are you using?
On Tuesday, May 29, 2012 3:51:18 PM UTC+1, Yan
There's some API Demos close to what you're try do. Take a look at
AnimateDrawables or FingerPaint for example...
On May 28, 1:34 pm, Jagadeesh mjagadeeshb...@gmail.com wrote:
Hi
iam making game application ,i have designed gameplate with background and
grid with canvas and paint .
i need
One alternative would be to use OpenGL in 2D. There are a lot more
examples out there of what you're trying to do, plus it could
potentially run on other platforms...
On May 27, 12:51 am, Josh Guilfoyle jast...@gmail.com wrote:
I am hoping to use the svg-android project to implement a dynamic
I recall this happening because something failed when installing the
Eclipse plugins. The only way could resolve that was to install an
older version of Eclipse and always run it from the terminal (so
Ubuntu would not load the newer broken one)...
On May 25, 8:35 pm, David Karr
I'm getting z-fighting polys on every Android device I test, but the
same code has been working on ancient OpenGl platforms. The depth
seems to behave as if it even less than 16, even with polys a
magnitude apart than ususal. Is this another something specific to
OpenGLES implementations?
--
You
-up unforeseen effects of the
corruption than the chance that the system would bringing any back
from the dead the next time the app starts up?
On May 28, 3:11 pm, Mark Murphy mmur...@commonsware.com wrote:
On Mon, May 28, 2012 at 4:56 PM, Yan yinor...@gmail.com wrote:
Thanks for the idea to pull
it permissible to kill your own process?
On May 26, 9:46 am, Kristopher Micinski krismicin...@gmail.com
wrote:
On Sat, May 26, 2012 at 11:37 AM, Yan yinor...@gmail.com wrote:
Yes, strongly recommended against is more realistic, and polite,
than universally a sign that the programmer took the cheap
not handle it. Would you consider it permissible to
kill your own process?
On May 26, 9:46 am, Kristopher Micinski krismicin...@gmail.com
wrote:
On Sat, May 26, 2012 at 11:37 AM, Yan yinor...@gmail.com wrote:
Yes, strongly recommended against is more realistic, and polite,
than universally a sign
is outlawed...
On May 25, 6:42 pm, Mark Murphy mmur...@commonsware.com wrote:
On Fri, May 25, 2012 at 8:30 PM, Yan yinor...@gmail.com wrote:
I agree it may be dirty and icky, but its presumptuous to state that You
should absolutely *should not* be doing this.
Not particularly.
There are many real
the application
lifecycle, is a dangerous way of destroying things without finalizing
things first, ... basically, for the same reasons you don't want to
unplug your machine while it's running...
kris
On Fri, May 25, 2012 at 1:47 AM, Yan wrote:
Why?
On May 21, 10:07 am, Kristopher Micinski
Why?
On May 21, 10:07 am, Kristopher Micinski krismicin...@gmail.com
wrote:
On Mon, May 21, 2012 at 9:45 AM, Yan yinor...@gmail.com wrote:
An easier but less graceful way is just to System.exit(0) in the
onPause then start from scratch every time...
You absolutely *should not* be doing
Whenever I start playing audio with the MediaPlayer on the HTC EVO 4G
the LogCat comes up in Eclipse with these two red messages:
HDMIStatusObserverstatus: UNPLUG
MediaPlayeronHDMIStateChanged
I know HDMI is not part of the Android API but should there be any
concern about these
You could get alot of people with unlocked devices mad at you if their
phones get relocked and they don't have a code to unlock them again...
On May 20, 7:42 pm, Serj bekdja...@googlemail.com wrote:
Hi guys,
can someone tell me which class in the source code of Android 2.x.x
implements a
With some of the *buntus you have to change the USB Vendor ID in the
SYSFS{idVendor} statement for every device, but with some of the more
recent *buntus you only have to set it up for one USB Vendor ID then
after that it will recognize most any other devices plugged in, that
is, if you only plug
I just sprinkle Log.d's with time deltas around the bottleneck areas
and see what's wasting time...
On May 17, 7:53 pm, Henry pup...@gmail.com wrote:
Hi - I have an android app that is continuing to have loading and
speed issues, regardless of the numbers of users.
Does anyone have experience
They could possibly be using an OpenGL texture to do that in a very
fast manner...
On May 18, 7:48 am, Mauro mau.non...@gmail.com wrote:
Hi you all,
the question is simple: how to accomplish the bitmap rotation for big
size bitmap without blocking the user for a lot of seconds? For
example in
An easier but less graceful way is just to System.exit(0) in the
onPause then start from scratch every time...
On May 21, 1:14 am, Raghav Sood raghavs...@gmail.com wrote:
When it is in the background, Android kills your application when it needs
more resources. One way to keep your data would
At what exact points in your code does this happen?
On May 17, 9:55 pm, Tamás Kovács falcon.firebre...@gmail.com wrote:
This is a logcat ERROR entry which I get in 3 (three) instance at the
same time, but the game I develop works fine. I'm just worried because
this is an error, not a warning.
I would think that's going to grind the emulator to a near halt on
just about any machine, even if it has good drivers for that
resolution...
On May 18, 12:29 pm, ASHISH ashishkcusa...@gmail.com wrote:
Hi,
I want to create a avd based on GT-S5760 Samsung, Screen Resolution
2592 x 1944 , My
I tried all that you suggested except booting in recovery since I
don't have one of the old-style SD cards for it. One thing I neglected
to mention is that when I plug in the USB cable the G1 gives the
notification USB debugging connnected; A computer is connected to
your phone. I wonder if that
Looks like the text is sharing the canvas that's being rotated...
On Apr 5, 9:56 am, RedBullet scottedchap...@gmail.com wrote:
And for completeness for the rotation I do the following:
public void onSensorChanged(SensorEvent event) {
RideRouterApp.i(String.format(Sensor Name: %s, oriented %f,
When importing data into memory do it in small chunks because you
don't want to get to close to your heap limits given by:
Runtime.getRuntime().maxMemory()
On Apr 5, 4:35 am, srikanth srikanth0...@gmail.com wrote:
Hi ,
I wanted to know some information regarding memory management of
android
What's the most likely problem with this?
Previously had this problem with the HTC EVO 4G and it was the cable,
but with the G1 I've tried 3 different cables and this is all dmesg
shows:
[10055.352028] usb 2-7: new full speed USB device using ohci_hcd and
address 94
[10055.532018] usb 2-7:
That depends on how you currently display things. If you post some
code perhaps someone could give you an idea of how to change it...
On Mar 2, 1:31 am, saex elpablos...@gmail.com wrote:
How can i do that?
El viernes 2 de marzo de 2012 07:44:42 UTC+1, Yan escribió:
Using the alpha
Sometimes Eclipse gets never gets it straight so I give-up and
cut-and-paste the old project into a new one...
On Thursday, March 8, 2012 6:17:41 AM UTC-7, Mark Murphy (a Commons Guy)
wrote:
Install it on a different device that runs a different version of Android.
If you mean how do you
If the background color is always going to be the same then perhaps just
change the corners of the image to the same color as the background. (Even
if its not, like my icons in the Android Market, it still looks fine).
On Monday, March 5, 2012 5:37:38 AM UTC-7, Pricillia wrote:
Hello guys,
Putting the phrase homework project in this group is probably not going
to get you much help, but since I love this subject so much, how about just
changing the colors to random combinations they are not already. It should
not take too long to find the solution...
On Monday, March 5, 2012
Why not just display the screen black a few times???
On Tuesday, March 6, 2012 11:30:24 AM UTC-7, Levi Ribeiro wrote:
Hi, I'm trying to do a simple test, where the screen turn off and on
several times. something like that:
--
You received this message because you are subscribed to the
Okay, I'm using VBO's to get around it, but now there's the same
problem with BitmapFactory. Regardless of the amount of textures I
load, there are always three textures that waste 2/3 the size of the
texture + 64k. For example if the texture is 512x512x3=786432 then it
consumes 512x512x2 + 64k =
Using the alpha values would add a huge layer of complexity to your
program. Perhaps instead you may consider having a switch in your code to
throw those polygons in your color buffer rather than your texture buffer...
On Thursday, March 1, 2012 9:53:44 AM UTC-7, saex wrote:
I have a square
Well there's an API calls that can easily load several different standard
graphics file formats, for example:
//Get the texture from the Android resource directory
InputStream is =
context.getResources().openRawResource(R.drawable.onlylowercasefilenameshere);
Bitmap bitmap = null;
try {
Maybe you should move the code that's slow-loading into your onDrawFrame
along with some extra conditions something like this:
if (continueLoading) {
ContinueLoadingPartsHere();
DrawSomeMoreProgressBarHere();
if (loadingPartsDone) {
continueLoading = false;
}
}
if
with Honeycomb on my ASUS
Transformer. I think there might be a defect in Honeycomb, because after my
ICS OTA got pushed, all of those issues are gone.
On Monday, February 27, 2012 8:53:30 PM UTC-8, Yan wrote:
The following eats away the heap on the Toshiba Thrive but not on the
LG G2X
There's an awesome app in the Android Market called Paper Camera
that's doing some kind of image processing. You should look into how
they implemented it. Check out their YouTube demo at:
https://market.android.com/details?id=com.dama.papercamera
On Feb 27, 11:18 pm, Giuseppe
Add to your manifest
android:screenOrientation=landscape
On Feb 26, 1:13 pm, mobidyc mobi...@gmail.com wrote:
Hi,
I want to set the preferred orientation for the system, How can I
define it ?
I tried to define in landscape with :
The only GLES tutorials I know of can be found at:
http://insanitydesign.com/wp/projects/nehe-android-ports/
but make sure you read the comments for bugs. There's now a memory one
now that I cannot figure out:
The following eats away the heap on the Toshiba Thrive but not on the
LG G2X:
byteBuf = ByteBuffer.allocateDirect(vertices.length * 4);
byteBuf.order(ByteOrder.nativeOrder());
vertexBuffer = byteBuf.asFloatBuffer();
Thx Murphy.
I try to fix it by like this:
boolean activityActive = true;
protected void onResume() {
// do something
activityActive = true;
}
protected void onPause() {
// do something
activityActive = false;
}
public boolean onKeyUp(int keyCode, KeyEvent event) {
if
Hi,
I'm using a stability tool to test my app(my app is developed before
ICS, but currently running on ICS), the tool is similar with the
monkey. And this exception happen to me, but only 15% to reproduce.
Here's the exception stack:
java.lang.IllegalStateException: Can not perform this action
FYI: There's an awesome app in the Android Market called Paper Camera
that's doing some kind of image processing. You should look into how
they implemented it. Check out their YouTube demo at:
https://market.android.com/details?id=com.dama.papercamera
On Sep 26, 11:54 pm, ko5tik
Sorry if I posted this already. It seems to have disappeared, probably
because of size or copyright violations, so now I'm just posting a
stripped-down example.
If the Renderer is in a separate file how do I access
getCurrentPosition from the onDrawFrame? For example:
public class Run extends
I would like to get this working with the OpenGL example code from the
NeHe Android Ports, but when I try to access the timecode from the
MediaPlayer within onDrawFrame, it gives the error:
mp cannot be resolved
I tried putting the MediaPlayer.create line in Lesson06.java but it
gives the
Ctrl F11
On May 26, 2:41 pm, RobertB robert.c.bar...@gmail.com wrote:
Is there any way to change the orientation of a running AVD emulator
from landscape to portrait and back again? My emulator starts out in
landscape, but I'd like to test flipping the device to see the layout
change
I was thinking this is probably just a problem with the emulator since
it takes so long to start up the first time. If that the case, I
wonder if something similar could ever happen on an android device?
On May 28, 9:49 pm, Yan yinor...@gmail.com wrote:
I have six programs in the Android Market
I have six programs in the Android Market that require
android:screenOrientation=portrait only.
I just tested the SDK Platform Android 3.1, API 12,revision2 and the
first time I run my apps it gives me the landscape widths long before
it give me the portrait widths. Should I now put a delay in
Ah, unofficial means. Good thing you mentioned that. I guess that
could mean ROM's too.
I better just redesign my user-interface...
On Apr 6, 9:57 pm, TreKing treking...@gmail.com wrote:
On Tue, Apr 5, 2011 at 11:35 AM, Yan yinor...@gmail.com wrote:
can I be certain that any device
If there is an unresolvable issue with the API level 11 that makes all
my programs look bad and I set maxSdkVersion=10, can I be certain
that any device with an API level 10 and less will never get updated
to an API level 11?
The following documentation is not clear to me in regard to this
issue:
If there is an unresolvable issue with the API level 11 that makes all
my programs look bad and I set maxSdkVersion=10, can I be certain
that any device with an API level 10 and less will never get updated
to an API level 11?
The following documentation is not clear to me in regard to this
issue:
Hi All,
I m trying to access an app's signature/certificate from it's inside,
so that when it runs, it can verify itself/do something with the
certificate.
I googled a bit, and found some code bellow:
Class c = getClass();
ProtectionDomain pd = c.getProtectionDomain();
CodeSource cs =
Hi everyone,
Is there a way to get the application label in different languages
according to locale? For example, I can get the application label
Settings of package com.android.settings in English, Ajustes in
Spanish.
--
You received this message because you are subscribed to the Google
Groups
Hi:
some of you may met the same problem, I was using
BitmapFactory.decodeStream, and got this exception:
03-01 23:28:17.663: ERROR/dalvikvm-heap(940): 1572864-byte external
allocation too large for this process.
03-01 23:28:17.663: ERROR/(940): VM won't let us allocate 1572864
bytes
03-01
I have created an Activity A, which is blocked from rotating. I have
implemented this by adding android:screenOrientation=portrait in the
AndroidManifest.xml
I have tested the app, Activity A didn't enter landscape mode when I
rotated the phone, everything worked fine.
Then I created another
I forgot to say that Activity B has been set as
android:screenOrientation=sensor in the AndroidManifest.xml
--
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
hi,
please invite me yansong...@gmail.com, thanks a lot.
Best Regards,
Qu Yan Song
TEL:8610-84732169
From: Abdul Mateen [mailto:abmat...@gmail.com]
Sent: Wednesday, November 11, 2009 7:44 PM
To: android-developers@googlegroups.com
Subject: Re
I would like to have one. Thanks~
On Nov 1, 7:20 am, Auguste Lunang legraphi...@gmail.com wrote:
Hi,
i have some google wave. invits to share. tell me if u want ..
thx
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi,
I know the process ID(pid) of my application which is running now. Is
there a way to get the view information (such as width, height, title,
and layout) of my application from its pid?
Best Regards,
Bob
--~--~-~--~~~---~--~~
You received this message because
Hi,
please try to modify configuration file
${WORKSPACE}/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.android.ide.eclipse.adt.prefs
and delete the following line:
com.android.ide.eclipse.adt.emuOptions=-scale 0.2
Bob
On Fri, Sep 4, 2009 at 11:06 PM, timitssa...@gmail.com wrote:
Has anyone got this problem?
Need help.
On May 9, 11:01 am, Yan Shi shiyansu...@gmail.com wrote:
In 1.5, I can't set ringtone for my own app's notification and neither
can I get any notification sound.
I always get this:
E/MediaPlayerService( 542): Couldn't open fd for
content
In 1.5, I can't set ringtone for my own app's notification and neither
can I get any notification sound.
I always get this:
E/MediaPlayerService( 542): Couldn't open fd for content://settings/system/ring
tone
E/MediaPlayer( 574): Unable to to create media player
W/NotificationService( 574):
What I want to do is that when a normal key (such as A) is pressed
from the onscreen keyboard, I can be notified to do something just
like when that key is pressed from real keyboard. But it seems
EditText can not receive onKey event from onScreen keyboard.
How can I do that?
Thanks!
Still need help. I found there a flag in KeyEvent:
KeyEvent.FLAG_SOFTKEYBOARD. But how can I receive this keyevent? The
key listener I registered never received any key events from soft
keyboard.
On May 6, 6:40 pm, Yan Shi shiyansu...@gmail.com wrote:
What I want to do is that when a normal key
Still need help...
On May 6, 7:53 pm, Yan Shi shiyansu...@gmail.com wrote:
Still need help. I found there a flag in KeyEvent:
KeyEvent.FLAG_SOFTKEYBOARD. But how can I receive this keyevent? The
key listener I registered never received any key events from soft
keyboard.
On May 6, 6:40 pm
Anyone please?
On May 6, 11:09 pm, Yan Shi shiyansu...@gmail.com wrote:
Still need help...
On May 6, 7:53 pm, Yan Shi shiyansu...@gmail.com wrote:
Still need help. I found there a flag in KeyEvent:
KeyEvent.FLAG_SOFTKEYBOARD. But how can I receive this keyevent? The
key listener I
Hi
I use the default InputMethodService. Can this be done?
On May 7, 7:22 am, androidcrew androidc...@googlemail.com wrote:
Hi,
please post your code which is involved with the keyboard process.
typically you need an eventlistener which you have to overwrite.
On 7 Mai, 01:02, Yan Shi
I tried a lot of ways with no luck. Could anyone please help me?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
hi all,
I need an android code standard, where can i find it? who can help?
Best Regards,
Qu Yan Song
TEL:8610-84732169
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
When I upload an apk update for one of my apps(Hello Yahoo), I was
told that Market requires the minSdkVersion to be set in
AndroidManifest.xml.. So I can't do the update!
I already set this attribute in AndroidManifest.xml. What's wrong??
I even set it to uses-sdk minSdkVersion=3 /, but still
Anyone please?
On Apr 24, 2:16 pm, Yan Shi shiyansu...@gmail.com wrote:
When I upload an apk update for one of my apps(Hello Yahoo), I was
told that Market requires the minSdkVersion to be set in
AndroidManifest.xml.. So I can't do the update!
I already set this attribute
Hi Jon
Thanks. Hope the android market would provide a more elegant way to
fix this issue.
On Feb 22, 4:24 pm, Jon Colverson jjc1...@gmail.com wrote:
On Feb 22, 7:27 am, Yan Shi shiyansu...@gmail.com wrote:
I did an app called Hello Yahoo and today I made an update. But
users said
I did an app called Hello Yahoo and today I made an update. But
users said it can't be installed because the package is not signed
correctly. And after that the old version can't even be uninstalled
because the device thinks it is uninstalled already.. I never
experience that, but it is
73 matches
Mail list logo