I know, i can disable it, so it will work, but i'd like to let the app can
run many times again. So i disable the exit(), but when call the second
times, it generates errors.
Could you help?
Thanks
Clark
On Sunday, July 15, 2012 5:52:38 AM UTC+7, Dianne Hackborn wrote:
You just need to fix
Because Android developers from Romania, as well as developers from a lot
of other countries, can't sell apps on the Android Market.
http://support.google.com/googleplay/android-developer/bin/answer.py?hl=enanswer=150324
On Friday, July 20, 2012 12:06:42 AM UTC+3, bob wrote:
Why not get
Hi,
I suggest looking at the example here:
https://github.com/gast-lib/gast-lib/blob/master/app/src/root/gast/playground/nfc/NFCInventoryActivity.java
The code helps you write an Activity that helps the user create the right
NFC tags. Just copy and paste the code into your app and change the
Wait, I'm not sure I understand.
Are you saying StrictMode configuration calls (setThreadPolicy,
setVmPolicy) no longer work if made in Application.onCreate? (We can
expect most apps make the calls there.)
--
BoD
On 07/16/2012 11:05 PM, Dianne Hackborn wrote:
The bug I think is that the
Hi,
This code library helps you with speech recognition and in particular has
some nice code to help handle matching hard to match words using Soundex
and Stemming and other things. Check it out here:
https://github.com/gast-lib/gast-lib
To get started quickly, I suggest just extending this
On Friday, 20 July 2012 10:33:46 UTC+2, BoD wrote:
Wait, I'm not sure I understand.
Are you saying StrictMode configuration calls (setThreadPolicy,
setVmPolicy) no longer work if made in Application.onCreate? (We can
expect most apps make the calls there.)
--
BoD
Exactly.
I just got the OTA for JellyBean on my Nexus S.
READ_LOGS apps seem to work as before.. I can see all the logs in alogcat.
is this a bug?
On Sunday, July 8, 2012 10:26:47 PM UTC+3, Ievgenii Nazaruk wrote:
Hi all,
I've been working on an application for developers that uses
DropBoxManager.
Hi all, I need to know how can I get the platform signing key.
I googled a lot, but unable to find the step by step process for that.
Please guide me the way to do that.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
On Fri, Jul 20, 2012 at 7:03 AM, Narendra Singh Rathore
nsr.curi...@gmail.com wrote:
Hi all, I need to know how can I get the platform signing key.
I googled a lot, but unable to find the step by step process for that.
Please guide me the way to do that.
This has nothing to do with this list.
thank you i got it
On Friday, July 13, 2012 9:23:55 AM UTC+5:30, jugni wrote:
Hello,
first of all retrive the which item is clicked and then based on cliked
item call the activity so your query will be solve.
On Fri, Jul 13, 2012 at 8:41 AM, srikanth srikanthandroidgro...@gmail.com
I´m a german dev-beginner and i can tell you, our taxsystem is as complex
as hell...
I think you have a german giro-account right? So the way i would go is to
contact the local depatment of taxes where your bank is located. They might
help you much better than any dev because the whole thing
Have you seen
thishttp://stackoverflow.com/questions/11300773/error-running-systrace-tool-in-adb-using-a-jelly-bean-4-1-emulator-on-windows-7?
It sounds like the script doesn't play nice on Windows...but that seems
like too obvious of an error to go overlooked. Either way, running it in
Hey devs,
i would like to know if it´s possible to sent data over bluetooth without
interruption.
With the source below i got fragmented packages on the reciverside.
CODE:
OutputStream outStream = serialSocket.getOutputStream();
Log.d(TAG,outStream created
I'll try to find this out through experiments.
Yes, I agree that this probably is freezing UI. But there's a problem
here: this cannot be run on a spawned thread as OS may kill the process
right after this call returns, thus, again, killing the saving thread in
the middle!
On Thursday, July
On Fri, Jul 20, 2012 at 8:06 AM, Andrew
andrew.masl...@allegrowireless.com wrote:
Yes, I agree that this probably is freezing UI. But there's a problem here:
this cannot be run on a spawned thread as OS may kill the process right
after this call returns, thus, again, killing the saving thread
Hello,
I'm sending notifications with android C2DM. I'm using C2dmSharp. I'm
trying to send 200 different notifications to my phone. Server-side I get
an OK response with an id=[ID of sent message] for each message (like
documented here https://developers.google.com/android/c2dm/#push) so I
Hello there !
Yes, all of you had right ! I had created an extend C code in a cpp file
with a JNI , after I was able to reach my original C++ lib.
Thx , cheers
On Wednesday, 18 July 2012 09:56:35 UTC+2, Juned Khan wrote:
NDK is the only solution to run .cpp files or .c files
--
You
:(
Did anybody open an issue?
--
BoD
On 07/20/2012 11:25 AM, b0b wrote:
Exactly. StrictMode thread policy (and it seems only thread policy) is
restored to the default settings by the framewrok after onCreate() is
called.
--
You received this message because you are subscribed to the
Hmmm… I used to think that Romain Guy was from Romania. But I guess
that's just his name.
On Friday, July 20, 2012 2:46:48 AM UTC-5, kaciula wrote:
Because Android developers from Romania, as well as developers from a lot
of other countries, can't sell apps on the Android Market.
+1 for this
On Monday, 31 January 2011 17:04:33 UTC, lou wrote:
Hi !
I'm trying to insert an image in my application.
This image don't cover all the screen, so I have to scale it.
My problem :
I want the picture to cover the all screen, stay scaled and be cropped
at the right of the
Can you use Admob or Greystripe to monetize your apps?
On Friday, July 20, 2012 2:46:48 AM UTC-5, kaciula wrote:
Because Android developers from Romania, as well as developers from a lot
of other countries, can't sell apps on the Android Market.
I am adding Custom Views and each View has few Custom-listeners.
Based on the User settings I will remove existing views and create/add new
views to the UI.
My Question:
When I remove/delete the view, does my Listener objects are eligible for
garbage collection or NOT ?
I dont need the view
Note that there is now an Android Lint check for non-static inner classes
that extend Handler. See HandlerLeak:
http://tools.android.com/tips/lint-checks
I've implemented a Handler.Callback wrapper that wraps the Callback
(usually an inner class) in a WeakReference, and I construct the
On Friday, July 20, 2012 2:50:19 AM UTC-7, Ran wrote:
I just got the OTA for JellyBean on my Nexus S.
READ_LOGS apps seem to work as before.. I can see all the logs in alogcat.
is this a bug?
It looks like previously installed applications have inherited permissions
that were given at
As Mark said earlier... The main purpose of onSaveInstanceState() is to
save the current state of your UI so you can restore it when the activity
comes back... That way the rotation appears seamless to the user.
This would mean saving text in EditText objects, or the checked state of a
CheckBox
And not even your UI:
* The default implementation takes care of most of the UI per-instance
state for you by calling
onSaveInstanceState()http://developer.android.com/reference/android/view/View.html#onSaveInstanceState()
on
each view in the hierarchy that has an id, and by saving the id of
I know, i can disable it, so it will work, but i'd like to let the app can
run many times again. So i disable the exit(), but when call the second
times, it generates errors.
Could you help?
Debug your code, find the cause of the errors, and fix them...
Thanks,
Justin Anderson
MagouyaWare
how to use google...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Fri, Jul 20, 2012 at 12:42 AM, ANKUR GOEL ankur1...@gmail.com wrote:
Hi all ,
how to upload large video file to server .
Thanks
--
You received this message because you are
Hi Andrew,
The answers you got are correct. You should spend as little time in
onSaveInstanceState (or any other onX callback method) as possible.
Preferably a few milliseconds.
I don't know what your app does, but it looks like you try to save user
supplied information (either in a file
Nice catch... I never noticed that before.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Fri, Jul 20, 2012 at 9:07 AM, RichardC richard.crit...@googlemail.comwrote:
And not even your UI:
* The default implementation takes care of most of the UI
On Fri, Jul 20, 2012 at 9:51 AM, bob b...@coolfone.comze.com wrote:
Hmmm… I used to think that Romain Guy was from Romania. But I guess that's
just his name.
No, he's one of the developers at Google...
kris
--
You received this message because you are subscribed to the Google
Groups
So, there was Android 1 and Android 2, which were basically for phones.
Then, came Android 3, which was basically for tablets.
Then, came Android 4, which is for phones again. Is it safe to say that
Android 4 is basically a continuation of Android 2 for the most part?
--
You
The entire business is located in Romania (which is in EU). Only the bank
account is in Germany and the owner is a regular guy who lives in Germany.
And the account is a Giro account at the Baden Wurtembergische Bank.
Basically, we'd like from time to time to transfer the money from the
German
Speaking from experience of attempting to develop an ultrasonic measurement
app, this is not possible.
Sonar is a marine application and it is simply not possible with a mobile
phone, not lest because mobile phones do not have a submersible active
sonar device, but also because surface noise
1. this really should be on the android-discuss group as it has nothing
to do with development. Really, you'd think you'd get it down by now, after
the number of threads that you've started and you've been told so many
times that this group is not the appropriate place for it.
2.
Problem solved. I had to enable user permissions (chmod) on the mnt/sdcard/
directory. Thanks for the feedback.
--
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
It's also pretty easy to remove outstanding messages in an activity or
fragment's end-of-lifecycle callbacks. Good idea anyway if those messages
are supposed to trigger UI changes -- you won't want them to arrive after
the activity/fragment has shut down.
-- K
2012/7/20 joebowbeer
One of the most vexing problems over the years: Official ADB USB
driver support by OEMs.
With the exception of a few, every new device coming out seems to be
missing the ADB USB drivers. Even Nexus devices.
And once out, they may not even be available naked from the official
source, as they should
Why not override the finalize method in Java?
protected void finalize() throws Throwable {}
Maybe stick a Log statement in there and put a breakpoint on the Log
statement?
When it gets called, that's when it's ready for collection.
On Friday, July 20, 2012 9:10:11 AM UTC-5, rk wrote:
I am
Sounds like a job for a TCP socket. Will probably be something like this
but more binary-ish:
Socket s = new Socket(Config_Manager.getIp(), Config_Manager.getPort());
OutputStream theOutput = s.getOutputStream();
OutputStreamWriter out = new OutputStreamWriter(theOutput);
out.write(content);
Using systrace, I am trying to create a system trace file as
demonstrated in the Google I/O session For Butter or Worse.
Configuration: Galaxy Nexus / JellyBean 4.1.1 (JR003C).
Windows 7 SP 1 with Cygwin and Python installed, which is different
from the demo in the session where they use a Mac.
Sounds like you are looking for the keytool command that you run at the
command line.
I bet your keys are in a file called keystore on your hard drive. If you
combine the keytool command with the keystore file, that may give you what
you're looking for.
On Friday, July 20, 2012 6:03:12
Do you want underwater sonar or above water sonar (like what bats use)?
On Thursday, July 19, 2012 10:16:36 PM UTC-5, Be Tox wrote:
Does anyone know how to access the transceiver information (MIB?) on
an Android phone in order to create a Sonar type App?
Kind Regards, Be Tox
--
You
Why not get a Mac?
Almost all Android devices just work on a Mac. I don't know why, but
that is how it is.
On Friday, July 20, 2012 12:15:23 PM UTC-5, JP wrote:
One of the most vexing problems over the years: Official ADB USB
driver support by OEMs.
With the exception of a few, every
Make sure you have INTERNET permission and are linking to the JAR for the
YouTube SDK.
On Wednesday, July 18, 2012 4:34:17 AM UTC-5, Mahesh Chunkhade wrote:
Hello friends,
I want to upload video on youtube via my application ,i tried
it lot but i am not getting how to upload
Why not append your data into one big buffer and do one send of the big
buffer?
On Friday, July 20, 2012 6:51:01 AM UTC-5, superpsycho wrote:
Hey devs,
i would like to know if it´s possible to sent data over bluetooth without
interruption.
With the source below i got fragmented packages
Definitely NOT underwater. I am looking at an APP to essentially bounce
sonic waves through/off materials -- probably in the 20 - 5000 Hz range.
On Fri, Jul 20, 2012 at 1:42 PM, bob b...@coolfone.comze.com wrote:
Do you want underwater sonar or above water sonar (like what bats use)?
On
Let the German bank account owner try to figure that one out. He could
first of all ask his bank for free.
Be warned that the bank might be not amused when that account got opened
under false pretenses (see
http://europa.eu/youreurope/citizens/shopping/banking/opening-bank-account/index_en.htm
I recommend never using them. The real correct size will be given to you
through the view hierarchy.
On Thu, Jul 19, 2012 at 7:32 PM, Agus agus.sant...@gmail.com wrote:
What are the uses cases in which width and height values of DisplayMetrics
used ?
Is it just for games ?
--
You
Code where I set the size:
public void surfaceChanged(SurfaceHolder holder, int format, int w, int
h) {
Camera.Parameters parameters = camera.getParameters();
ListSize sizes = parameters.getSupportedPictureSizes();
int width = 0, height = 0;
if(sizes == null)
you're right.
- Ran
On Fri, Jul 20, 2012 at 5:49 PM, vt vadim.tkache...@gmail.com wrote:
On Friday, July 20, 2012 2:50:19 AM UTC-7, Ran wrote:
I just got the OTA for JellyBean on my Nexus S.
READ_LOGS apps seem to work as before.. I can see all the logs in alogcat
.
is this a bug?
It
In addition to what I said: the German bank account owner might get into
trouble with the German tax system because of the money you earn for him.
He is actually obliged to tell the tax office about any kind of income he
has and in my book that money you earn counts as his income, since he owns
The problem is with a non-static inner class is that you don't 'see' the
implicit reference to the outer instance (OuterClass.this). It is easy to
forget about this one and later realize what problems it causes.
Usually,
when the lifetime cycle of an inner class matches the lifecycle of the
Any one fixed this?
On Sunday, April 8, 2012 5:11:38 AM UTC-7, justlove joyous wrote:
any clues?
On Thursday, April 5, 2012 4:27:31 AM UTC-4, kcobra wrote:
The error is as following:
UNEXPECTED TOP-LEVEL ERROR:
Exception in thread main java.lang.OutOfMemoryError: GC overhead
limit
Or like so:
Display display =
((WindowManager).getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
float width = display.getWidth();
float height = display.getHeight();
On Friday, July 20, 2012 1:06:36 PM UTC-5, Dianne Hackborn wrote:
I recommend never using them. The real
Are you planning to use sound waves or electromagnetic waves? For sound
waves, I would expect you would use audio playback and the microphone, and
not a transceiver.
If you're using electromagnetic waves, that's radar… ish.
On Friday, July 20, 2012 12:54:56 PM UTC-5, Be Tox wrote:
Is there a way to set the stroke color on Paint to something different than
the text color?
--
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
I'm not sure what you mean. You can call Paint.setColor() and provide an
ARGB encoded integer as argument. You can use the Color class for
constructing such an int with helper methods. Or you can call
Paint.setARGB() for specifying the individual color channels.
If you want to draw a shape
Doesn't look like there is an easy way to do that, but depending on what
you are trying to do, a quick google search brought up this workaround that
may help...
http://stackoverflow.com/questions/2145131/trying-to-draw-a-button-how-to-set-a-stroke-color-and-how-to-align-a-gradient
Thanks,
Justin
I figured somebody was going to offer that.
I got a Mac, but this is about my Windows boxen where I need this to
work on Windows.
But while ranting (;-). The part that sucks with Macs is that Apple
drops older versions of OS X like hot potatoes.
If I know a certain application that I rely on is
On Fri, Jul 20, 2012 at 7:06 AM, Andrew
andrew.masl...@allegrowireless.comwrote:
Yes, I agree that this probably is freezing UI. But there's a problem
here: this cannot be run on a spawned thread as OS may kill the process
right after this call returns, thus, again, killing the saving thread
Hi All
How can I set the different ringtone for an single contact from address
book?
Thanks
David
--
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
Since no-one's offered you try using Linux, I'll do that now. Some devices
still need some magic in the udev config file, but most don't.
I'm seeing a big difference in how fast Eclipse launches an app after it's
been built, it's much faster on Linux than on Windows (same computer, same
Eclipse
Hello,
I'm working with the Jelly Bean MediaCodec API, trying to configure a
decoder and display pipeline for an open (unencrypted) container. How
should I create a MediaCrypto object for the configure() API?
Thanks, Steve
--
You received this message because you are subscribed to the
I answer myself, maybe is the solution from problem, the following
private void changeTonetoContact(int contactId,String uriString)
{
ContentValues values = new ContentValues();
values.put(ContactsContract.Contacts.CUSTOM_RINGTONE, uriString);
This method, or it's fancy new Fragments version, might be of interest to
you:
http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance%28%29
I don't know... I can't see how there is much value in a method that you
must not rely on it being called
There's something called PdaNet… I think when you install it, it installs
a bunch of drivers that help with Android devices… I installed it, and it
may have helped me talk to a VIZIO tablet on Windows… but I'm not sure. I
discovered that waiting one or two minutes before doing adb devices
I don't know, but I would consider upping your stuff to ICS. They do all
kinds of real-time camera filtering and such, and it's built-in. Lots of
neat effects like vignette.
On Thursday, July 19, 2012 8:32:27 PM UTC-5, mkerim wrote:
Hello,
I have seen these kinds of topics stating a
I was/am planning to simply use the speaker and mic for sound doppler
spectral analysis of solid non-dense objects. Being an Engineer, I would
imagine that real time capturing of the reflected sonic waves might be an
issue when compared to the initial sent ping signals. Hence, in a
nut-shell, my
Anyone at least confirm what I'm doing looks ok - even if you don't know
the reason why. Just as a sanity check?
On Thursday, July 19, 2012 10:19:22 PM UTC+1, Andy dev wrote:
I've got a service running (an accessibility service called
MainRunningService) and also use an alarmmanager within
Yep, I can confirm this with my own foreground service on 4.1.1 (Galaxy
Nexus).
-- K
2012/7/21 Andy dev andrewpmo...@gmail.com
Anyone at least confirm what I'm doing looks ok - even if you don't know
the reason why. Just as a sanity check?
On Thursday, July 19, 2012 10:19:22 PM UTC+1, Andy
Thanks. I'll keep looking for a solution then!
On Friday, July 20, 2012 11:04:13 PM UTC+1, Kostya Vasilyev wrote:
Yep, I can confirm this with my own foreground service on 4.1.1 (Galaxy
Nexus).
-- K
2012/7/21 Andy dev andrewpmo...@gmail.com
Anyone at least confirm what I'm doing looks
I have a bug that so far only shows up on this obscure Chinese
tablet. There are no OEM USB drivers for this device, so I can't use
Logcat the usual way. Is there any other kind of logging that is
similar to Logcat that I could use to log some events in the code? I
could write my own logging
is the device rooted? you should be able to pipe the logcat on the device
to a text file.
On Friday, July 20, 2012 9:19:01 PM UTC-4, RLScott wrote:
I have a bug that so far only shows up on this obscure Chinese
tablet. There are no OEM USB drivers for this device, so I can't use
Logcat
On Fri, Jul 20, 2012 at 4:07 PM, Justin Anderson magouyaw...@gmail.comwrote:
This method, or it's fancy new Fragments version, might be of interest to
you:
http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance%28%29
I don't know... I can't see
On Friday, July 20, 2012 1:39:04 PM UTC-7, Kostya Vasilyev wrote:
Since no-one's offered you try using Linux, I'll do that now.
Well we are talking corporate laptops that will not go on a corp. network
running Linux. Plus no Outlook and so forth. Well I suppose I'll keep the
Nexus 7
76 matches
Mail list logo