Sure, you look at the exception and its stack trace. Then try to
determine, using various debugging tools at your disposal, what in
your code could be causing the problem.
That will be $50 which you can PayPal to me.
On Jun 6, 2:27 pm, HariRam wrote:
> Hi guys,
> I am doing application with p
Hi,
In a few days time I will be going to my grandparents house which does not
have an internet connection. Over there my new laptop (Macbook Pro)
will be sent to me. I am taking the android starter package, eclipse and
adt plugin with me on my pendrive. Is there any way to download and keep the
Hi guys,
I am doing application with parsing XML file. I used TransformerFactory to
modify XML file. when i use TransformerFactory in android 2.2 version its
working fine, at the same time when using TransformerFactory in android
version 2.1 i am getting Transformer exception. Can anybody know how
Dear All
I want to set the encryption key size for Bluetooth in Android,
but not able to find the files where the exact encryption happens . I
have seen that BluetoothSocket class does take "encryption" as a
boolean argument in constructor, but when i followed it to the JNI
layer, found that i
hello,
i found the source of my troubles - it was to do with the manifest
setting. i had set the "android:noHistory" attribute to true for the
tab activity from which i launched the other activity.
lesson learnt :]
On Jun 6, 1:25 am, Anirvan wrote:
> i have a tab layout. in one of the Activity'
I've seen a lot of sites that display app ratings and comments, but
how? I would like to display that info on my website, but I can't
find the info on how to do so anywhere. It would be great if there
were a simple WordPress plugin to do so, but there isn't. So I'm left
to try an figure out how
If you've noticed, cleaning stuff up let's say clearing a bitmap or
nulling an image before you call another activity will result in a
temporary blanking out. So onDestroy has to happen after the next
activity is fully drawn. If you use 14mb in Activity A and 14mb in
Activity B on a 16mb heap devic
hi
Is there nay way to mix two or more audio files.
--
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 to
android-deve
Hi Group
Oren Todoros here, Online Marketing Strategist at the AppSnips, part
of the Logia Group.
I'd like to introduce you to an effortless solution that will help
you
generate more revenue from your Android apps.
The advanced tools and extensive distribution channels that AppSnips
offers for A
I can confirm Theme.Dialog works. I use it in my own app without any
issue whatsoever. The background activity is still visible dimmed.
On Jun 6, 12:55 pm, Qi Luo wrote:
> On Mon, Jun 6, 2011 at 12:36 AM, Mark Murphy wrote:
>
> > On Sun, Jun 5, 2011 at 12:28 PM, Qi Luo wrote:
> > > I've tried
Hi,
I am writing an aidl which will needs to use NetworkInfo from
com.android.internal.telephony.gsm.NetworkInfo,
I am using 'import com.android.internal.telephony.gsm.NetworkInfo' in
myService.aidl, I am able to generate the apk for my app but when I
try to build with the android source code i am
On Mon, Jun 6, 2011 at 12:36 AM, Mark Murphy wrote:
> On Sun, Jun 5, 2011 at 12:28 PM, Qi Luo wrote:
> > I've tried this, but I didn't figure out how to build a real dialog-like
> and
> > modal activity. Here's 2 issues I ran into,
> > 1. I created a dialog-themed activity, but the background of
On Sun, Jun 5, 2011 at 7:14 PM, Peli wrote:
> The compatibility library still contains references to AsyncTask which is
> not available until 1.6, so it does not compile with 1.1 or 1.5, but once
> compiled with 1.6 or higher it seems to load fine in 1.1 and 1.5.
>
http://developer.android.com/r
Hi,
I m using rtsp for radio streaming and my problem is that i need to
show the track details associated with the currently playing song.
server sends the track details to the clients that are currently
connected at the begining of song.How can i handle this situation at
android client side?
I m
(Apologies for double-post... Xoom Honeycomb browser crashed twice
upon posting!)
Also an edit to my previous post:
Click Histogram again and search for the extra objects. Right-click
and click "Merge Shortest Path to GC Roots" and look for the "exclude
all phantom/weak/soft etc. references".
You
I've been getting this error a lot in ACRA lately. Seems it
happens mostly when trying to display a Toast or a progress
dialog. It is only happening on 2.3.3 so far, but across
different devices. Any idea what can be causing this?
Here are some stacktraces:
java.lang.RuntimeException: Failed t
The Market statistics chart for Platform versions haven't been updated
since they first made it available, so I wouldn't rely on that. If
you don't believe me, count up the total and it should match the total
install count shown on the main page and on the top chart.
I know that this is the case
Lat and lon are projected to MapView's y and x coordinates, through
Projection.
On Jun 5, 3:53 pm, ingy abbas wrote:
> The GPS Latitude and longitude is not ( x and y Direction ) ?Is it z
> direction ( slider some how )? When the map with overlay item appear
> on the mobile it seems like the ove
Well I didn't have this supporting 1.5 because it was causing failures when
Dalvik tried to load some classes. You'll want to carefully test anything
you do.
On Sun, Jun 5, 2011 at 5:14 PM, Peli wrote:
> Interestingly it seems to work (at least in the 1.1 and 1.5
> emulators).
> The compatibili
Interestingly it seems to work (at least in the 1.1 and 1.5
emulators).
The compatibility library still contains references to AsyncTask which
is not available until 1.6, so it does not compile with 1.1 or 1.5,
but once compiled with 1.6 or higher it seems to load fine in 1.1 and
1.5.
Market stati
Hello,
I am wondering if there is a way to get a automated customized build
version name when I build a android application on eclipse. I need the
build to be like
"majorversion:minorversion DDMMHHMM"
I need a way to read the system date, time. Format it as DDMMHHMM"
Conny
--
You recei
Well the object isn't actually serialized until it needs to be sent across
processes.
On Sun, Jun 5, 2011 at 4:05 PM, Emanuel Moecklin <1gravity...@gmail.com>wrote:
> Hi Dianne
>
> My custom serialization methods get called if I do the
> serialization/deserialization myself by writing/reading the
Hi,
I'd guess it is a G2X, mine is just as bad, reboots regularly & also
won't start unless pop battery so can't use as day to day phone.
LG POS.
Regards
On Jun 5, 6:26 pm, Raghav Sood wrote:
> I have an LG Optimus P500. It frezes quite often but that was because one of
> my apps had some bug
Hi Dianne
My custom serialization methods get called if I do the
serialization/deserialization myself by writing/reading the object to/from a
byte[].
If the same object is written using putSerializable the methods are NOT
called. So my assumption is that the Bundle is never actually
serialized
Reading your question, and with Honeycomb being relatively new, I
thought perhaps I had seriously screwed up how that "home affordance"
worked. Hence, I'm grateful that this is working for you.
On Sun, Jun 5, 2011 at 2:32 PM, Christer Nordvik wrote:
> That's what I get for coding at night. I had
Most media players have the MediaPlayer owned by a Service, to handle
this scenario, plus to allow the media to keep playing even after the
user presses HOME or otherwise leaves the app.
On Sun, Jun 5, 2011 at 3:10 PM, Hitendrasinh Gohil
wrote:
>> Hi mark,
>>
>
> thankx a lot i have resolve with
The GPS Latitude and longitude is not ( x and y Direction ) ?Is it z
direction ( slider some how )? When the map with overlay item appear
on the mobile it seems like the overlay items are Z direction Not
straight X and Y So is this True ?
--
You received this message because you are subscribed to
When you get the back button, call finish() on your activity. That's all
the default implementation does.
On Sun, Jun 5, 2011 at 12:09 PM, kaushik p wrote:
> Hi all
>
> can anyone please help me implementing the back button in my app
> exclusively?? I am building an app to help illiterate ppl ,
As this is an on-again, off-again problem, it appears to be on again.
I can reproduce this on a G-Slate.
Back to square one
--
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@google
i have a tab layout. in one of the Activity's corresponding to a tab,
i use "startActivityForResult" to launch another activity to do
something. Once the tasks in the new activity are done, i invoke the
"finish()" method to return to the tab Activity which launched it.
strangely enough, when the n
Making it work on 1.5 and earlier is not actually so simple, because of the
way the Dalvik class loader works on those versions. The approach the
library uses a lot for being able to call newer functions (having the calls
in a separate class that is only used if running on the appropriate version)
>
> Hi mark,
>
>
thankx a lot i have resolve with the help of postdelayed.
"3. Do not put a MediaPlayer in a static data member, as you appear to
have done with LocalMediaPlayer. Static data members should be avoided
where possible, and I fail to see why this case would be necessary."
I have thr
Hi all
can anyone please help me implementing the back button in my app
exclusively?? I am building an app to help illiterate ppl , so they do not
know how to use the android back button ,i need to exclusively put it on the
screen .
However i want to use my back button exactly ia the way, natur
Android doesn't do anything to stop your code from working. As you seem to
have already said, it is just doing standard serialization as here:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/os/Parcel.java;h=31f87198878aa4ac6c1dd3f8be6e151c1d1c89d8;hb=HEAD
what version of android?
On Sun, Jun 5, 2011 at 2:51 PM, albnok wrote:
> Comment everything out. Make a routine where you rotate and go in and
> out of the activity. Start activity fresh, do hprof dump, do the
> routine, get another dump. Click Histogram and click the right most
> icon to compare
Thank you so much, that was it!
Regards,
Simon
On Sun, Jun 5, 2011 at 7:41 PM, Kostya Vasilyev wrote:
> The offending line is this:
>
> public myService(String name) {
> super(name);
> setIntentRedelivery(true);
> }
>
> Android instantiates components (services, activiti
Comment everything out. Make a routine where you rotate and go in and
out of the activity. Start activity fresh, do hprof dump, do the
routine, get another dump. Click Histogram and click the right most
icon to compare to the fresh dump. You may spot some extra objects.
Click Histogram again and se
Hi Mark
The serialization code works because my workaround I mentioned in my
previous post works ("write everything into a byte[] using
ObjectOutputStream.writeObject() on top of a ByteArrayOutputStream and then
put the byte[] into the Bundle").
I tested your onRetainNonConfigurationInstance/
Figure out how to get OOME quickly (usually rotating and going in and
out if activities). Comment EVERYTHING out. Test that there is zero
gain. Get a hprof dump when app is freshly loaded, do the rotate and
in and out test, get another dump, compare the histograms (right most
icon in MAT). You may
The offending line is this:
public myService(String name) {
super(name);
setIntentRedelivery(true);
}
Android instantiates components (services, activities) using the component's
default constructor.
An explicit non-default constructor like the above prevents the compiler
That's what I get for coding at night. I had forgotten that I had
created my own base activity that had implemented starting a new
Intent and no finish call.
Sorry about that, and thanks for responding :-)
-Christer
On Jun 5, 1:31 am, Mark Murphy wrote:
> AFAIK, the top left icon has no effect,
Earlier I posted a question regarding a problem I'm having with my
BroadcastReceiver and onReceive method. I found that the logic in onReceive
would sometimes crash and I couldn't find an explanation why, one road I
went down was to try creating a thread in onReceive, whilst this was better,
it di
I finally got around to having a friend test this little app on a
newer Droid as it has been working on my t-mobile G1. It worked nicely
there as well. This app helps shoppers find their car in the mall
parking lot. Down load at http://tombtalk.net/apps
I was testing the basic4android setup and a
According to your logs, the current working directory at the time that the
file path is constructed is different.
Since the source path is relative, this produces different results.
Assuming you know where "Game 1.xwg" really is, why not construct an
absolute path to begin with?
-- Kostya
2011/
Thanks for the suggestion. It's provided the clue that will let me
work around the problem. But for the record, calling
getAbsolutePath() isn't changing the result: I still get different
paths on the two (identical) devices:
Code:
Utils.logf( "launchGame(%s)", path );
File file
Hi,
Thanks for the info.
I'll update my app to use the alarm manager to wake the service.
The service will then get the location, (possibly connect to web service)
and check if a notification should be sent.
--
You received this message because you are subscribed to the Google
Groups "Android D
On Sun, Jun 5, 2011 at 12:28 PM, Qi Luo wrote:
> I've tried this, but I didn't figure out how to build a real dialog-like and
> modal activity. Here's 2 issues I ran into,
> 1. I created a dialog-themed activity, but the background of it was always
> black, and the main activity under it was tota
I've tried this, but I didn't figure out how to build a real dialog-like and
modal activity. Here's 2 issues I ran into,
1. I created a dialog-themed activity, but the background of it was always
black, and the main activity under it was totally invisible.
2. activity could be started and expect a
I've been thrilled and surprised with my modest results in the Android
Market for my photography geek app ("Sun Surveyor") so far; in the
Amazon App Store, though, when my sales recently tripled(!) to 3
copies sold, it was listed as #10 in the Top Paid Apps for
Photography, a week or so ago. Which
On Sun, Jun 5, 2011 at 11:43 AM, Emanuel Moecklin <1gravity...@gmail.com> wrote:
> What other way do I have to prevent the StackOverflowError?
I'd start by testing your serialization code in a unit test and
confirm that it works, independent of its use with Bundle. Perhaps you
have done this alrea
Mark, thanks so much for that. I had overlooked those pages in my
focus on the Javadoc.
It would be great if the germ of those nuggets were placed into the
Javadoc.
I think I have the tools to resolve these lifecycle issues.
tone
--
You received this message because you are subscribed to the G
Hi Dianne
1. Everything I try to persist is UI state, some UIs are just a little
more complex than others.
Persisting it some other way doesn't make sense because it is indeed just
part of the UI and not needed anywhere else.
2. I'm not persisting objects of 100 different classes
I've modified the "Android Compatibility support v4, revision
2" ( http://developer.android.com/sdk/compatibility-library.html )
slightly so that it can be used on Android 1.5 or Android 1.1 as well.
The only modification so far was to support Build.VERSION.SDK_INT on
versions earlier than 1.6.
Th
I've seen this crash in development, caused by "new File(null)".
Perhaps you could check how your code comes up with the path fed into the
constructor?
-- Kostya
2011/6/5 Mark Murphy
> Well, line 234 of File.java is not in the fixSlashes() method in the
> latest stuff in the repo, based on what
Well, line 234 of File.java is not in the fixSlashes() method in the
latest stuff in the repo, based on what Google Code Search is telling
me.
What are the models of devices that are giving you this problem?
On Sun, Jun 5, 2011 at 10:21 AM, Derek wrote:
> Hi all,
>
> We get crash reports with th
Hi all,
We get crash reports with the following error:
java.lang.NullPointerException
at java.io.File.fixSlashes(File.java:234)
It appears on File file = new File("path/subfolder");
on some devices only.
We cannot reproduce it. Where could this problem from from?
Cheers.
--
You received this
Thanks Mark,
I have that sample application from a previous query, I'll take another
look.
Regards,
Simon
On 05/06/2011 2:38 PM, Mark Murphy wrote:
On Sun, Jun 5, 2011 at 9:27 AM, Simon Platten
wrote:
I think I may have fixed it, I looked around for some information on
BroadcastReciever '
On Sun, Jun 5, 2011 at 9:27 AM, Simon Platten
wrote:
> I think I may have fixed it, I looked around for some information on
> BroadcastReciever 'onRecieve' routines. I suspected it was that I was
> spending to much time in this routine, but I couldn't find anything to back
> this up.
>
> What I h
I think I may have fixed it, I looked around for some information on
BroadcastReciever 'onRecieve' routines. I suspected it was that I was
spending to much time in this routine, but I couldn't find anything to
back this up.
What I have done now is to create a worker thread when the onRecieve
Use the logcat to see the stack trace. You might want to run it in a command
line window to see it more clearly.
The debugging session stops because the broadcast for your alarm times out,
and Android kills the process.
You could also use Handler.post() / sendMessage() to immediately return
contr
The path you're feeding to Uri.fromFile is not absolute.
Make it so (by calling file.getAbsolutePath or file.getCanonicalPath) and
you should get consistent, predictable results.
-- Kostya
2011/6/5 eehouse
> I've tracked a crash in my app that's only reproducible on one phone
> (that I've seen
I have an alarm service runnining in Android 2.1, there is a problem with
the service in that for some reason unknown to me it starts to exception
after a period of time.
To try and capture the reason why, I have scheduled the service to run at 1
second intervals. I can see in the debugged when t
Hi,
really thanks for your answer :)
Did you ever tried this before?
So the android app will continuously looping every x second to read a
file for any input right?
Is it really possible? i mean for swf to write and read a file in
android platform.
Maybe if you have a trial source code, it would b
I have an LG Optimus P500. It frezes quite often but that was because one of
my apps had some bug in it. (I wrote it.) It never rebooted though. Which
Optimus do you have?
On Sat, Jun 4, 2011 at 11:51 PM, TreKing wrote:
> On Sat, Jun 4, 2011 at 12:57 PM, bob wrote:
>
>> I have an LG Optimus tha
Cool, that would make a good addition to the compatibility library, as
I'd assume, it's fairly self-contained.
On Jun 5, 8:21 am, Dianne Hackborn wrote:
> On Mon, May 30, 2011 at 6:28 PM, Streets Of Boston
> wrote:
>
> > Personally, I would choose XML because Android already includes pull and
> >
Hi
We have encountered the same problem when sharing via Facebook.
have you found a solution for the random icon problem?
Does any one know if I can set a specific icon as default so he will
have priority over other images/icons? does changing the icon name can
make him be the first one selected?
I take that back. It's still happening with the newest tools. Though
it's now improved in that a single Clean/Rebuild will actually fully
build the project now instead of having to do it 2-3 times before.
This is on Helios SR2, Windows Vista X64.
On Jun 5, 1:00 pm, Zsolt Vasvari wrote:
> Yes,
I should have said that I now have my login form working - I needes an
onresstart
Thanks
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
68 matches
Mail list logo