HI There.
Please excuse me but this is my first time on any android studio forum.
What i am trying to do is send a selected item to a second listview on the
same page and am not sure how to do it. The "listview1" is populated with
items ( Text and Images) and i have a TOAST which tells me which
Hi,
I am investigating whether it is possible to hook in to a WebView and
handle an error code from the server.
I want to add an additional header and resend the request, ideally without
wrapping the entire webview to store away any data associated with a post
request.
My task is further comp
or development?
> Ian
>
>
> On Fri, Apr 26, 2013 at 6:59 AM, Craig Payne wrote:
>
>> Not quite true, Ian. I am trying to fix a bug in an app I released over a
>> year ago, and my debug.keystore certificate has expired. Given that this is
>> the default behaviour (365 day
Not quite true, Ian. I am trying to fix a bug in an app I released over a
year ago, and my debug.keystore certificate has expired. Given that this is
the default behaviour (365 day expiry), most developers are not going to be
able to use their old API keys to continue development for very long.
Ian, this is not quite true. I am a developer with an app on the market,
and I have an existing v1 API key. The problem is, because the debug
certificate has a default expiry of 365 days, I can't use it any more (it
expired in September). This will be the case for most developers, because
it i
Hi all,
I am new to android development and I have hit a stuckpoint that I
don't really understand. I am attempting to create a spinner (with 20
values) but I want my prompt to read "Please Pick a Year". I have
attempted to set the prompt in both the XML and in the Activity itself. It
in the XML but neither seem
to have an effect. Below is my code. Any help would be appreciated.
Thanks,
Craig
http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
Thanks - I read that post; it seems to be stuck in the same place I am.
I suspect a memory leak that is keeping some app state alive across app
shutdown and restart, and what I'd really like is some easy way to analyze
what memory isn't being reclaimed when Android closes my app.
On Sunday,
your broadcastreceiver or
> some service running in a separate process. That would cause
> Application.onCreate to be called multiple times.
>
> On Saturday, November 10, 2012 3:32:42 PM UTC-6, Craig wrote:
>>
>> I received an error because I'm doing something (init
broadcastreceiver or
> some service running in a separate process. That would cause
> Application.onCreate to be called multiple times.
>
> On Saturday, November 10, 2012 3:32:42 PM UTC-6, Craig wrote:
>>
>> I received an error because I'm doing something (init'ing AC
wrote:
>
> The onCreate.. method of the class extending Application is called only
> once unless the process gets killed somehow and restarted. You can
> investigate for any reason(s) of your process getting killed.
>
> On Sunday, 11 November 2012 03:02:42 UTC+5:30, Craig wrote:
&g
I received an error because I'm doing something (init'ing ACRA) in my
overridden Application class' onCreate, and I expected this method to be
called only once. I think I have a clue as to what is happening - I see
multiple logcat lines like: "Force stopping package " for my package
close t
Play and just put in Ad support. Sell your app without ads
on the Amazon Android Market and the Apple Store (if you have ported to
iOS), please checkout cocos2d-x, it is truly cross platform and easy to
code using C++.
Feel free to contact me if you have any more questions.
Best Regards,
Craig
I'm using the android 20.0.3.v202208082019-427395 tools in eclipse indigo,
the eclipse key bindings make no difference to the problem (emacs,
default..). I also have enabled double-click open mode.
I create a new android application and a couple of activities. I have
Package Explorer view open.
creen-replacement
On Monday, September 24, 2012 11:58:58 AM UTC-4, TreKing wrote:
>
> On Fri, Sep 21, 2012 at 7:27 AM, Craig >wrote:
>
>> I wanted to lock it down so the people getting paid to use it won't surf
>> the web/listen to music, etc. To lock it down, I'm
My issue: whenever my app starts up, it then shuts down and restarts.
Whenever it stops, it stops, gets destroyed, gets recreated, and then stops
again.
My app is basically a wrapper for a WebView that uses my webapp. I'm going
to have a dedicated set of devices (Nexus 7 tables, yay!) to run i
Is there a way for Google to automatically handle the exchange rate when
apps are purchased outside the publisher's? Currently it seems to me that
if one wants to publish in a country where the currency can be set, one has
to provide a price. Yes, I know you can autofill, but currencies fluctuat
Just to let you know, I still have this message after joining yesterday.
Just be patient and wait for the payment to clear. If you read the links
that people have posted you will have seen that until they know you have
paid for sure you wont be able to access it. In the mean time, if you have
a
Ah, yes, thanks Romain, that was it! Cheers.
On Sunday, 15 July 2012 06:45:58 UTC+10, Romain Guy (Google) wrote:
>
> Ah, this is an interesting bug that we ran into ourselves.
> createScaledBitmap() can return the *same* bitmap if the scaled copy would
> have the same dimensions as the original
Just put the modes in drop down beside the category in the Action Bar.
It still looks good that way, even with another set of clicks.
-Craig
On Feb 29, 9:07 am, Mark Winchester wrote:
> I'm having trouble with the ActionBar and tabs, trying to get the look and
> feel that I've
I’ve been working on building a nice graphical clock selector.
Unfortunately, this selector is causing me lots of frustration due to a
race condition that keeps deadlocking the application’s UI thread. Parsing
and rendering the various SVG layers that make up each clock is a
relatively expen
hat other tricks that might help me to figure out
where and why I'm hanging?
Thanks for any help,
Craig
--
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@googlegrou
t; To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
-
s and stop
corporate america from doing this and capitalizing off of it.
Please I need your help.
--
-
Jackie *"Craig"* Sparks - *"Focus on Solutions not Problems"*
Email0: jackie.craig.spa...@gmail.com
http://chunkhost.com/r/getachunk - Support my VPS host sign up now
, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
-
Jackie *"Craig"* Sparks - *&qu
Also it involves barcode scanning.
On Fri, Sep 9, 2011 at 5:24 PM, Jackie Craig Sparks
wrote:
> I'm working on a prject that involves image reconignition and need
> help with getting a app completed. I was wondering if anyone would be
> interested in helping out.
--
-
Jackie *&
I'm working on a prject that involves image reconignition and need
help with getting a app completed. I was wondering if anyone would be
interested in helping out.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send
Thank you for the offer, but it is part of a larger app that is being made
for my employer, which I cannot distribute. If it comes to it though,
perhaps I can create a small standalone app with just the animation code in
it.
--
You received this message because you are subscribed to the Googl
I am using the new honeycomb animation api and am having a problem with
animated ImageView objects leaving a trail when animated. The app downloads
images via http, makes and ImageView and adds that to a list view (which is
in a fragment) and animates each one with its own AnimatorSet (consisti
See Android issue 9593: http://code.google.com/p/android/issues/detail?id=9593
On May 19, 10:01 am, Valery wrote:
> Our users reporting same problems, same devices: HTC Desire, HTC Legend
> There can be some bug or restriction with HTC devices that blocks apps to
> moving to SD card.
> Did your
You need to give control back to the EDT so it can draw the image.
The for loop needs to be in a non EDT thread.
On Apr 4, 3:01 pm, Noobs41bot wrote:
> Ok so I have all the code in place to create a random degree of rotation
> between a start and finish... works great... i have a progress bar t
Depends what your layout looks like and what part you want to scroll. Some
code snippets might help someone answer you better.
On Tue, Mar 1, 2011 at 6:47 AM, kajal patil wrote:
> Hi All,
> I am developing an android application.I have problem in scroll bar.I
> did not get it where to add
It depends on how your app is setup. Depending on how applications declare
> > how they support multiple screens and densities the app might be boxed,
> > scaled or simply fill the screen and rely on layout to look correct.
>
> > On Sun, Jan 9, 2011 at 6:09 PM, Craig Mitchell wrote
:09 pm, Dianne Hackborn wrote:
> On Mon, Jan 10, 2011 at 4:43 PM, Craig Mitchell wrote:
> > > That is, no postage stamp in the middle like we did for apps
> > > targeting prior to 1.6 that only ever thought about 480x320
> > > mdpi screens.
> > That is what I wa
>
>
>
>
>
>
> On Sun, Jan 9, 2011 at 6:36 PM, Romain Guy wrote:
> > It depends on how your app is setup. Depending on how applications declare
> > how they support multiple screens and densities the app might be boxed,
> > scaled or simply fill the screen and rely
And you all have done a fantastic job at that. However, I'm not a fan
of boxing an app for large screens. I would much prefer an app to be
expanded to the full screen size and look a little pixelated, then
only take up a small section of the screen.
...apologies that this comment is off topic.
I've written a simple clock widget which displays the current time on
the home screen. I created an AppWidgetProvider class, which overrides
the onReceive() and onEnabled() methods. In addition, I created a
Service class that creates a Timer, which polls the system clock each
second to see if the t
There appears to be websocket source in froyo. However, the makefiles
seem to suggest it is not supported. Anyone have any success with
building websocket support into 2.2. Will there be future support?
--
You received this message because you are subscribed to the Google
Groups "Android Develop
I had this problem on my NexusOne after 2.2 was installed and reported
it on the Android issue forum as issue 9593 (http://code.google.com/p/
android/issues/detail?id=9593).
It appears to be related to a file named smdl2tmp1.asec being left in
the SD card install directory (/mnt/secure/asec or .an
com/p/android/issues/detail?id=9018.
-Craig
--
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-developer
compile your own version of adbd that doesn't support said features. or just
don't include adbd at all.
On Mon, Sep 13, 2010 at 11:56 PM, Tez wrote:
> > Mark,
> There is a "adb_enabled" value in Settings.Secure. I think this is
> related to USB debugging.
>
> >Niko20,
> No, I don't work for AT&
I finally fixed a problem I was having with install/update of Apps
installed on my SD card on my NexusOne with Froyo installed reported
as Android issue 9593 (http://code.google.com/p/android/issues/detail?
id=9593). It turns out that there is a file called smdl2tmp1.asec in
the SD card app2sd dire
I am not able to successfully update 2 applications from the market
(Secrets and Wifi Analyzer) that have been
installed on my SD card on my NexusOne with Android 2.2 installed
(build FRF91).
Steps to reproduce the problem:
1. Receive notification from the Android Market that an update is
availabl
Wireless menu but I can't seem to find a
way to see if that setting has been chosen.
Thanks for the help
Craig
--
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
Just try save the project again. It seems to be the case that those files
get generated when it builds. A save in eclipse builds the package.
On Thu, Jul 8, 2010 at 3:42 PM, kypriakos wrote:
>
> It seems that the gen dir is empty and that no generated java classes
> are not being generated (no R
it version,
/usr/lib32/libz.so.
On Wed, Jul 7, 2010 at 10:06 PM, Taewoong Kim wrote:
> My dev environment is ubuntu 10.04(32bit) on 64bit cpu(dual).
> Is this problem?
>
> 2010/7/8 Robert Craig
>
>> it could be a 64 bit versus 32 bit issue. what does your dev environment
&g
it could be a 64 bit versus 32 bit issue. what does your dev environment
look like?
On Wed, Jul 7, 2010 at 9:03 PM, Taewoong Kim wrote:
> I have a same problem.
>
> but I could not have solution.
>
>
>
> 2010/7/6 David Rhodus
>
> Anyone seen this ?
>> I feel like I'm just missing a package or s
WHen building FROYO i notice a BUILD_ID = OPENMASTER. I s this by
design or is the final FROYO git push not available yet?
--
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.
for more information
on DexClassLoader but I haven't been able to find anything.
Thanks,
Craig
--
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 unsubscri
icit
activity class {com.test/com.test.classname}; have you declared this
activity in your AndroidManifest.xml.
So I'm a bit stumped here. This activity is declared in the Manifest
of the apk I am trying to run. I can't declare it in my applications
Manifest. Any ideas?
Thanks,
Crai
file on my server so I don't think the file
is being corrupted during dwnload or anything.
Anyone have any ideas?
Thanks,
Craig
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-devel
.
Best Regards,
Craig
On Mar 22, 7:00 pm, Craig O Connor wrote:
> Sorry for the delay. Only just now realised my question had been
> approved. Thanks for pointing me in the right direction. I will try
> this now.
>
> Thanks,
> Craig
>
> On Mar 15, 8:02 pm, fadden wrote:
>
Sorry for the delay. Only just now realised my question had been
approved. Thanks for pointing me in the right direction. I will try
this now.
Thanks,
Craig
On Mar 15, 8:02 pm, fadden wrote:
> On Mar 12, 8:38 pm, Lance Nanek wrote:
>
> > I saw a thread with people load
Hi guys,
I am using PathClassLoader in my application and can get it to load
files that are already installe.d But how do I get it to load an apk
file that is stored in say the assets folder of my app. IS this even
possible?
Thanks in advance,
Craig
--
You received this message because you are
Well, that worked but I don't entirely understand why. So that
activity is being paused when I exit it, but it's still on the
activity stack?
On Dec 3, 9:22 am, Craig Russell wrote:
> I suppose by putting it into onPause(), it might work, but why does it
> behave differently?
I suppose by putting it into onPause(), it might work, but why does it
behave differently?
--
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 gro
I'm having this strange issue where upon exiting a subactivity that is
translucent (android:theme="@android:style/Theme.Translucent" ) the
onStop() method doesn't appear to be called.
I have a TimerTask that runs and is supposed to be terminated when the
subactivity ends in the onStop() method, bu
You can explicitly handle KEYCODE_BACK in your Activity's onKeyDown()
function.
--
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 em
I really want to integrate Google Sky Map into a program I'm working
on, but as far as I can tell there is no information out there about
this. I tried loading a KML file from the web, but it seems neither
Maps, nor Sky Map handle it on Android.
Is there some way that I can pass coordinate data t
I know I can save information in a static attribute in a widget,
however, is there a way for a widget instance to save the state
information similar to the Activity onSaveInstanceState(Bundle
outState) method?
I don't want to write to a database for this state information.
--~--~-~--~--
;
>
> On Fri, Aug 7, 2009 at 3:49 PM, Craig wrote:
>
> > I was trying to set a progress bar to View.INVISIBLE or View.GONE, or
> > View.VISIBLE inside an AppWidgetProvider. However, it doesn't seem to
> > want to do it. Settingvisibilityworks fine with TextView fields
I was trying to set a progress bar to View.INVISIBLE or View.GONE, or
View.VISIBLE inside an AppWidgetProvider. However, it doesn't seem to
want to do it. Setting visibility works fine with TextView fields or
ImageView fields or ImageButtons. However, ProgressBar doesn't seem to
work. It doesn't m
It would appear on a G1 (with the latest software update) that onUpdate
() runs even when the widget is not visible. Is there a way of sensing
that the widget is or is not visible or is otherwise in foreground?
That is, running the code below shows a logcat message at whatever
interval the Widget
Further, it's not just release builds that have such a requirement;
continuous build systems need to be able to build without a GUI app.
On Jul 19, 1:25 pm, MrSqueezles wrote:
> Normally, when I develop an application, I develop in Eclipse. I test
> in both Eclipse and Ant. Then, I use Ant to
http://developer.android.com/reference/android/content/ContextWrapper.html#deleteDatabase%28java.lang.String%29
On Jul 15, 7:14 am, Kumaravel Kandasami
wrote:
> How to drop a database in Android SDK?
>
> Did not see any methods in android.database.sqlite.SQLiteOpenHelper or
> android.database.s
On Jun 30, 11:48 pm, biAji wrote:
> On Jun 29, 12:56 pm, Stuart Saunders
> wrote:
> I count this issue after upgrade google map 3.1.1 (maybe)anyone
> can confirm this?
That seems about right. That was the last thing I installed, and I
think no updates since.
--~--~-~--~~--
My Market app does not appear to be finding updates either. I tried to
clear the cache as suggested, but the button is not enabled, and the
Cache size says 0.00B.
On Jun 29, 2:56 pm, Stuart Saunders wrote:
> We were experiencing the same issue and discovered clearing the Market
> app cached reso
Would it be too much to ask to get ListView dnd built into the
framework api? It seems like a common requirement, but a total pita to
implement every time. A couple of extra listeners like
onRequestStartDnD() and onRequestFinishDnd() would be adequate for a
lot of use cases.
(I know...patches wel
On Wed, May 27, 2009 at 2:36 PM, Raphael wrote:
>
> On Tue, May 26, 2009 at 6:26 PM, Craig wrote:
>>
>>
>> On May 26, 9:49 pm, Zero wrote:
>>> from my experience, eclipse never used the build.xml for it's internal
>>> builds - how did you do that
On May 26, 9:49 pm, Zero wrote:
> from my experience, eclipse never used the build.xml for it's internal
> builds - how did you do that ?
The eclipse build doesn't use build.xml at all, but due to the fact
that build.xml is in the eclipse project (because it is in the same
directory as AndroidM
parse the build.xml
properly, or better still, get eclipse to ignore the build.xml
altogether since build.xml takes no part in the eclipse build.
Any ideas?
thanks,
Craig
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
G
My 2c regarding permissions...
I find Vista's UAC prompts next-to-useless at times, because it
doesn't tell you anything about why the elevation is required. How can
I make an informed decision as a user about whether to allow an app to
elevate if I don't know what it is going to do? Is it simply
I published my app on the market, and when I first tried installing it
from there, I got the 'package file was not signed correctly' error.
Uninstalling the unsigned version I was testing with let me install
from the market with no problems. However, from the comments, it looks
like no one else ca
Hi,
I'm trying to write a simple web service client app for Android, and
I'd like to use commons-digester to convert the service's XML
responses into objects I can work with. However, I'm getting a
VerifyError as soon as I try to invoke any Digester method.
I've set up my dependencies (external
Does anyone have a somewhat secure method of expiring a trial version
of an app a certain amount of time after an install?
I do not want to use a server, because I am making a game that
shouldn't need permissions.
I would like the expiration data to survive an uninstall, but I am ok
if it doesn'
The best way to find out is to look through the Alarm Clock source
code.
On Feb 11, 11:37 pm, bklik wrote:
> Does the Alarm Clock broadcast any intents? I would like to be able
> to have my application automatically launch after a person's alarm
> clock goes off, and they press "dismiss" (rathe
I agree; this is an unnecessary limitation in the api IMO. It is fair
enough to require user input to start any code *the very first time
they install*, but what about during upgrades? With the way things
work now, it's possible for an app to stop working after an upgrade
due to the user not start
I successfully bound to the service. I simply copied the aidl from the
Music app into my app, and used the component package/name strings to
perform the bind. As Marco points out, it's not a public api so use at
your own risk.
On Feb 15, 8:08 am, Marco Nelissen wrote:
> On Sat, Feb 14, 2009 at 8
The documentation states that alarms are not persisted across reboots,
so that's something that has to be dealt with by your app. But here's
the gotcha that I can't find documented anywhere...
It seems that uninstalling the app also clears all set alarms for the
package being uninstalled. This me
I noticed something similar, but used 7-zip to extract and all went
fine. I don't believe the Windows inbuilt zip program is a "real" zip
program. You might want to try Winzip or 7-zip.
On Feb 11, 11:19 am, "dlawl...@gmail.com" wrote:
> Maybe I'm alone on this but I think there is a problem with
Thank you, skink - that is much simpler.
--~--~-~--~~~---~--~~
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 gro
It well could be over complicated - here is what I did:
In res, values, attrs.xml I have:
...
In res, values, styles.xml:
);
...
with the getColor method:
private int getColor(TypedArray themeStyles, int attrResid) {
return (int)themeStyles.getColor(Arrays.binarySearch(colorAttrs,
attrResid), 0);
}
I hope this helps someone else.
-Craig
--~--~-~--~~~---~--~~
You received
I'm sorry if I missed it, but I didn't see what I was looking for
behind any of those links. I know I can create a custom theme to use
android attributes; what I want to do is create a custom theme with
custom attributes, and refer to those in my code.
--~--~-~--~~~--
Could anyone post or point me to an example of using custom items in a
theme?
I've created a theme that uses custom attributes as item names, and I
want to refer to those items in the code. I can see the theme is
working because it also sets the android:windowBackground color.
As a concrete exam
Does anyone know what is required to use the dev phone? Specifically,
do I need a phone contract, or can I get online through my DSL
connection at home? If I can get online through my home connection,
would I have access to the Android Market?
I'm asking because I would like a device to develop o
I'm thinking about buying a dev phone, but brightstar's terms put me
off.
One term says the phones are as is and not of merchantable quality,
and another says you agree to a $50 charge for all chargebacks. Seems
rather sketchy.
I have seen other posts about them not answering customer inquiries,
Does anyone know what is required to use the dev phone? Specifically,
do I need a phone contract, or can I get online through my DSL
connection at home? If I can get online through my home connection,
would I have access to the Android Market?
--~--~-~--~~~---~--~~
Here (http://www.google.com/support/forum/p/Android+Market/thread?
tid=360a84c852124bc5&hl=en) is another conversation about this I've
been tracking - I'm hoping Google (OHA?) will clarify this one.
--~--~-~--~~~---~--~~
You received this message because you are sub
I'm making a game, and I have an mp3 I would like to use to play in a
loop for this game. This mp3 is several times larger than a midi file
would be, but recreating my mp3 as a midi has proven to be a non-
trivial task.
What would the effects be of just using an mp3 of a few hundred kb in
size in
I still don't understand why the different actions are connected, but
I did dig in and got my code to work; I hope this helps someone else:
I made a PressableButton subclass of Button with:
OnPressListener onPressListener;
boolean wasPressed = false;
public PressableButt
To test further, I created a new project that just has a Button inside
a LinearLayout, with the Activity stub created by the Android Eclipse
plugin. Pushing the 5 on the number pad and the emulator's center dpad
button both pressed the button. How/why would these inputs be hooked
up to a button?
I have an interface that handles dpad key events and has Buttons for
similar actions - my intention was to have code that works for
touchscreens and phones with dpads.
When testing, both the 5 on my number pad and using the mouse to click
the emulator's center dpad button presses a Button I have
On Tue, Nov 11, 2008 at 3:35 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Can any one give some idea in developing some gaming projects in
> Android
http://www.rbgrn.net/blog/2008/11/getting-started-in-android-game-development.html
http://www.gamedev.net/reference/articles/article2570.asp
Yes, a static class, not a static variable - in my workaround (I
wouldn't really call it a solution) my state object and its parent did
not share state, but they both have the information to set the other's
state.
On Nov 6, 9:54 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> hackbod wrote:
> > A st
I have a workaround, but if anyone figures this out I'd love to see
it.
I have an inner static Parcelable class in my View to hold the view
state. From my Activity's onSaveInstanceState, I create that
Parcelable using a ctor that takes that View, and on my Activity's
onRestoreInstanceState I call
> Can you just skip chaining upward to the superclass?
Unfortunately, no:
11-07 00:30:58.868: ERROR/AndroidRuntime(207): Caused by:
java.lang.IllegalStateException: Derived class did not call
super.onRestoreInstanceState()
11-07 00:30:58.868: ERROR/AndroidRuntime(207): at
android.view.View.d
> Can you just skip chaining upward to the superclass?
Unfortunately, no:
11-07 00:30:58.868: ERROR/AndroidRuntime(207): Caused by:
java.lang.IllegalStateException: Derived class did not call
super.onRestoreInstanceState()
11-07 00:30:58.868: ERROR/AndroidRuntime(207): at
android.view.View.d
Here is what you get trying to pass a null up to TextView's
onRestoreInstanceState:
11-06 02:57:40.286: ERROR/AndroidRuntime(5218): Caused by:
java.lang.NullPointerException
11-06 02:57:40.286: ERROR/AndroidRuntime(5218): at
android.widget.TextView.onRestoreInstanceState(TextView.java:2040)
1
I would like to use onSaveInstanceState/onRestoreInstanceState in my
class that extends TextView, but I don't see how to do it. TextView's
implementation of onSaveInstanceState returns null, I couldn't find a
way of instantiating a TextView.SavedState, and onRestoreState, which
must be called, thr
1 - 100 of 104 matches
Mail list logo