I also changed my filename to kml instead of location or location.kml
and I still have the same problem:
ERROR/JavaBinder(516): java.lang.NullPointerException
ERROR/JavaBinder(516): at
android.server.LocationManagerService.readLastKnownLocation(LocationManagerService.java:
226)
ERROR/JavaBind
Is there a way to get a reference to an ApplicationContext object?
Something like getContext(int id).
I'm creating a library and I need to access a resource from the
application that is using this library. But I need a reference to this
application to call its getResources() method.
Thanks in ad
Btw listView.post(Runnable) in onCreate() returns false. So I'm not
able to run the runnable.
Anyway, I guess, I'll just change my UI plans and not use
listview.getchildcount()
On Apr 9, 11:14 pm, Ram <[EMAIL PROTECTED]> wrote:
> Thanks Romain guy, I'll try this later on.
>
> I'd like to change
Thanks Romain guy, I'll try this later on.
I'd like to change the UI depending on whether all data items in the
list view are visible ...or whether some data items aren't visible.
Ideally, I'd like to use something like isScrollbarNecessary , but
since I couldn't find an api to do that, I was
Here is the exception I mentioned in the first post. I get this when
calling getLastKnownLocation using the gps provider:
E/LocationManagerService( 516): NumberFormatException reading /data/
misc/location/gps/location
E/LocationManagerService( 516): java.lang.NumberFormatException:
E/LocationMa
I have realized now I can implement a mock location provider, and have
done that by creating a kml file from google earth, creating a
directory parallel to gps, and placed 2 files in it: location and
properties. I have also tried location.kml, but both return null from
getCurrentLocation and getLa
Can you use ViewFlipper to switch one view at a time. I know about
ViewSwitcher but that can only have two views at a time. I have more
than two views I want to switch between and I would like to define
things in a XML layout file.
Thanks
--~--~-~--~~~---~--~~
You
Can you use ViewFlipper to switch one view at a time. I know about
ViewSwitcher but that can only have two views at a time. I have more
than one view.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android De
How do you switch between views on ViewSwitcher ? I see how you can
switch between Images in ImageSwitcher and text in TextSwitcher from
the API samples, but I can't see how you do it in ViewSwitcher.
Thanks
--~--~-~--~~~---~--~~
You received this message becaus
You can simply do listView.post(Runnable) in onCreate(). But I don't
understand why you want this information. The number of visible
children will change all the time during scrolling.
On Wed, Apr 9, 2008 at 10:47 PM, Ram <[EMAIL PROTECTED]> wrote:
>
> I moved the int countVisible = list1.getChi
I moved the int countVisible = list1.getChildCount() code to onResume.
However, I still get 0 for getChildCount.
So it looks like onResume event is called before the first layout is
completed.
Do you know which method I should override for getting
list1.getChildCount() to work (IOW which event is
Do either of these methods work?
When I use LocationManager.getBestProvider, I always get a null back
no matter what Criteria I pass it.
When I use getLastKnownLocation, LocationManagerService gets this
exception:
LocationManager.getCurrentLocation seems to work fine.
Thanks
--~--~-~-
Because you are calling getChildCount() before the Views are on the
screen. You must call it after the first layout, when the views are
visible on screen.
On Wed, Apr 9, 2008 at 10:26 PM, Ram <[EMAIL PROTECTED]> wrote:
>
> OK, then I'm not sure why the following test code isn't working
>
> S
OK, then I'm not sure why the following test code isn't working
String[] testArray = new String[30];
ArrayAdapter adapter = new ArrayAdapter(m_context,
R.layout.list_row, R.id.textCol1, testArray);
list1.setAdapter(adapter);
int count = list1.getCount();
int countVisible = li
If I export APK file from the project and at the time of saving if I
save it into different file name , will it work? do i need to keep the
same name as project for the APk file as we need to do for class and
file name in java? if any one tested on different computer other than
developing computer
As I just said, listView.getChildCount() returns the number of views
currently displayed on screen by ListView. It has nothing to do with
the fact that the adapter is bounds by .
On Wed, Apr 9, 2008 at 10:13 PM, Ram <[EMAIL PROTECTED]> wrote:
>
> I forgot to mention that the listview is bound to
I forgot to mention that the listview is bound to
ArrayAdapter.
ListView.GetChildCount() returns 0 (presumably, because the list
elements aren't android views. They are strings from the array
adapter.)
Do you know how I can find the number of visible strings within the
listbox
Thanks Ram
On Ap
Colin,
Have you tried clicking the center button of the keypad? I can't just
click the image in gallery using mouse but if focus the gallery and
then click the center button then I am able to see that the event is
delivered to your callback.
JY
On Apr 9, 10:28 am, ColinHo <[EMAIL PROTECTED]> wro
You can get the root view of a View in your hierarchy and get the
drawing cache for that view.
On Wed, Apr 9, 2008 at 9:28 PM, Dexter's Brain <[EMAIL PROTECTED]> wrote:
>
> This will be only for a view i guessBut if i want that for the
> whole screen, can it be done??
>
> On Apr 9, 10:11 p
This will be only for a view i guessBut if i want that for the
whole screen, can it be done??
On Apr 9, 10:11 pm, Diego Pino <[EMAIL PROTECTED]> wrote:
> To take a snapshot of a View use
>
> View.getDrawingCache()
>
> You should have turned cache on before that
>
> View.setDrawingCacheEnabled
I just commented on this in another thread: see here for solution -
http://code.google.com/p/slideme/wiki/InstallingOTA
Shane
On Sat, Apr 5, 2008 at 8:49 AM, Shane Isbell <[EMAIL PROTECTED]> wrote:
> I've build SAM, an android client that handles OMA OTA download and
> install of android applica
I guess that this is probably a common problem. In the first public release
of the SDK, it merely required adding: to the android manifest and then
pushing the application to the /system/app directory. Android would pick up
your app as running under elevated or system privileges. By the latest SDK
ListView.getChildCount().
On Wed, Apr 9, 2008 at 9:04 PM, Ram <[EMAIL PROTECTED]> wrote:
>
> Hi, ListView.getCount() returns the total number of data items in the
> listview.
>
> Does anyone know how to find out the total number of visible views in
> the listbox.
>
> Alternately, does anyone
Is there a way to remove the Country names etc from a MapView?
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.co
Hi, ListView.getCount() returns the total number of data items in the
listview.
Does anyone know how to find out the total number of visible views in
the listbox.
Alternately, does anyone know how to see whether the listview will
scroll or not (i.e. if number of visible views < getCount())
--~-
That's because I posted the whole query and the whereClause is only
supposed to be "where association.parentid = 'guid'". I'm not sure how
to do the join here though. If it used a regular PreparedStatement,
it'd be easy :-). I'm just not used to doing it this way. Maybe you
can search google or th
Quite a few changes.
http://code.google.com/android/migrating/m3-to-m5/m5-api-changes.html
On Apr 9, 8:28 pm, Claudio Veas <[EMAIL PROTECTED]> wrote:
> Hello all My name is Claudio Veas Im learning android for some time
> now but I still have a lot to learn. I wanted to update the version of
> t
Hi,
Try to use the Resources.getIdentifier(String, String, String). Look
at its documentation for more details:
http://code.google.com/android/reference/android/content/Resources.html#getIdentifier(java.lang.String,%20java.lang.String,%20java.lang.String)
Regards,
Adriano Crestani
On Apr 6, 4:
Once again thank you for the feedback.
I would then suggest for someone to review the examples, since I'm 99%
sure that I got the Application suggestion, from an Android
Documentation example, I just can't pin point it right now.
Currently, it's working a lot better and faster, by using activity
Once again thank you for the feedback.
I would then suggest for someone to review the examples, since I'm 99%
sure that I got the Application suggestion, from an Android
Documentation example, I just can't pin point it right now.
Currently, it's working a lot better and faster, by using activity
I want to develop an application, it was form by plugins.
Then I need to load a class from plugin.
Use Class.forName() to load a class from the same apk file, it's
successful, but if the class is in another apk file, the method throw
ClassNotFoundException.
How to load the class from another apk f
Hello all My name is Claudio Veas Im learning android for some time
now but I still have a lot to learn. I wanted to update the version of
the sdk that I had because I hadnt changed the sdk since I first
downloaded back in december I think. The version that I had is
android_sdk_windows_m3-rc20a an
Hi hackbod,
I really appreciate your help, I tried setting the style for the
linear layout but that doesn't seem to be a valid attribute?
android:style="?android:buttonStyle"
This is a compile time error. Any ideas?
Thanks!
On Apr 9, 10:53 pm, hackbod <[EMAIL PROTECTED]> wrote:
> Sorry I
Sorry I am stupid... you want to use style="?android:buttonStyle" or
style="@android:style/Widget.Button". This is a style resource, which
contains a whole collection of related attributes. For Widget.Button
it looks something like this:
- @android:dr
Well I am 80% of the way there.
Now my problem is that it seems like the coordinates are not
considered translated for the views inside my translating view. So the
input does not move with the main View for the children views. Any
ideas.
Thanks for the help so far. I have been banging my head on
So I think I have the where clause setup right now but I can't seem to
get it to work. currently I am using it like so:
db.query("child", new String[] {"_id", "title"}, whereClause, null,
null, null, null);
my where clause looks like so:
String whereClause = "select * from child join associatio
Hi,
>From your description of the Layout it seems that using RelativeLayout will
reduce number of the nested levels, and if it really does than your layout
process will speed up.
Thanks,
Megha
On Wed, Apr 9, 2008 at 9:22 AM, Hielko <[EMAIL PROTECTED]> wrote:
>
> At the moment I have a listview
sure. Nest them all in a top level layout like LinearLayout. Just
make sure the children views don't have fill_parent both width and
height or else anything that comes after it won't be visible. There
are lots of examples in the API demo.
On Apr 9, 8:50 pm, GUS <[EMAIL PROTECTED]> wrote:
> Is
I had read the discussion about "Unresolved symbol & JNI",
But I believe there are some difference with my problem.
Logcat :
DEBUG/dalvikvm(786): +++ not scanning '/system/lib/libwebcore.so' for
'add' (wrong CL)
DEBUG/dalvikvm(786): +++ not scanning '/system/lib/libmedia_jni.so'
for 'add' (wrong
can any of the google engineers assigned to the codecs help?
On Apr 9, 1:34 pm, Anil <[EMAIL PROTECTED]> wrote:
> *bump*
>
> On Apr 9, 9:43 am, Anil <[EMAIL PROTECTED]> wrote:
>
> > I am trying to figure out how to play a JSpeex encoded audio file on
> > android but am stuck.
>
> > Speex or JSpee
override MapView.onTouchEvent().
see http://code.google.com/p/sharepath MarkableMapView.java
On 4月10日, 上午6时38分, Niket Anand <[EMAIL PROTECTED]> wrote:
> Can anyone help in replying this issue? I also want to deactivate zoom
> dialog somehow.
>
> Thanks,
> Niket
>
> On Mar 10, 5:52 am, Xenome <[E
thanks. the error is as below when run the application.
ERROR/jdwp(517): Failed writing handshake bytes: Broken pipe (-1 of 14)
ERROR/SurfaceFlinger(517): GL error 0x0500
ERROR/PackageManager(517): Package com.google.android.development has
mismatched uid: 1000 on disk, 10008 in settings; read mess
Make sure you see fillAfter=true on the animation and
keepAnimations=true on the layout that contains the view you are
animating.
On Wed, Apr 9, 2008 at 6:21 PM, Redhunt <[EMAIL PROTECTED]> wrote:
>
> Right. But now I see what is happening to me :(
>
> So this view I am talking about is being d
Override the onLongClickListener (or something like that). See the
docs.
On Apr 10, 12:38 am, Niket Anand <[EMAIL PROTECTED]> wrote:
> Can anyone help in replying this issue? I also want to deactivate zoom
> dialog somehow.
>
> Thanks,
> Niket
>
> On Mar 10, 5:52 am, Xenome <[EMAIL PROTECTED]> wr
Right. But now I see what is happening to me :(
So this view I am talking about is being drawn over the Google Map (it
is not an overlay, it has nothing to do wtih the map). So when I start
a down animation (say by 20 pixels or whatever) everything looks good.
But then if I happen to click on the
I will try a fresh install on my windows machine and check on it.
Thanks,
Megha
On Wed, Apr 9, 2008 at 6:05 PM, Hongliang Tong <[EMAIL PROTECTED]>
wrote:
> Yeah. ApiDemos is ok on my computer.
>
> 2008/4/10, Megha Joshi <[EMAIL PROTECTED]>:
>
> > The mediaplayer sample does work on m5. I am not
Yeah. ApiDemos is ok on my computer.
2008/4/10, Megha Joshi <[EMAIL PROTECTED]>:
>
> The mediaplayer sample does work on m5. I am not sure what the issue is
> in your case. Do other samples like ApiDemos work on your machine?
>
> Thanks,
> Megha
>
> On Tue, Apr 8, 2008 at 5:38 PM, Hongliang Tong
Yes but you will need to use two different animations.
On Wed, Apr 9, 2008 at 5:54 PM, Redhunt <[EMAIL PROTECTED]> wrote:
>
> ok, that seems simple enough.
> What about if I want to press a button and slide a view 20 pixels
> down. Then press another button and slide the same view 20 pixels up
On Wed, Apr 9, 2008 at 9:49 AM, Nixarn <[EMAIL PROTECTED]> wrote:
>
> I got a few small issues I hope to resolve before submitting my entry
> to the Challange.
>
> 1. How can I get the game into the pause state. Always when I try for
> example to press the green phone it seems to remove the applic
ok, that seems simple enough.
What about if I want to press a button and slide a view 20 pixels
down. Then press another button and slide the same view 20 pixels up
from where it currently is. So it is back to its original position.
Can I do this?
On Apr 9, 7:38 pm, "Romain Guy" <[EMAIL PROTECTED
Is there anyway to have a listview a spinner and a button in the same
activity?
--~--~-~--~~~---~--~~
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
100%p means 100% of the parent. If you want to move your View up 20
pixels your fromYDelta should be 0 and your toYDelta should be -20dip.
On Wed, Apr 9, 2008 at 5:33 PM, Redhunt <[EMAIL PROTECTED]> wrote:
>
> Could someone explain to me how TranslateAnimation works? What does
> 100%p mean exac
Thanks again for your answer. I will log it.
On Apr 10, 2:26 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> It seems to be a bug, please go ahead and log this in the android issue
> tracker.
>
> On Fri, Apr 4, 2008 at 5:30 PM, Diego Torres Milano <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > Thanks a lo
Could someone explain to me how TranslateAnimation works? What does
100%p mean exactly. 100% of what?
How can I create a transformation (in XML or code) to move a view up
say 20 pixels ? What should the FromYDelta and ToYDelta be? Thanks
I know this should be easy so I know I am missing something
It seems to be a bug, please go ahead and log this in the android issue
tracker.
On Fri, Apr 4, 2008 at 5:30 PM, Diego Torres Milano <[EMAIL PROTECTED]>
wrote:
>
> Thanks a lot for your answer.
> Would you tell me why the simplest URL isn't displayed correctly ?
> I can see the DDMS logs and the
Hi,
As Jason said earlier, this is a known bug and its fixed, this fix should be
released in a future release of the SDK.
Thanks,
Megha
On Wed, Apr 9, 2008 at 10:28 AM, ColinHo <[EMAIL PROTECTED]> wrote:
>
> I'm implementing an application using Gallery obj. I want to allow the
> user to do s
Hi hackbod,
I tried with both your variations, with interesting results. Setting
the following:
android:background="?android:buttonStyle"
gives me a background of an indeterminate progress bar.
Trying:
android:background="@android:style/Widget.Button"
just gives me a runtime error:
On Thu, Apr 10, 2008 at 1:44 AM, vinh2b <[EMAIL PROTECTED]> wrote:
>
> Hi,
> With m3-rc20a SDK version, I can use:
> SELECT * FROM myTable WHERE Name like '%abc%' LIMIT 1, 10
> But with m5-rc15 SDK verion, I can't use the same query.
> I try to use:
> String[] mArgs = new String[] {"'%" + txtSearc
CompressFormat is an enum and valueOf() is the standard enum
implementation. It would be counterintuitive to change its behavior as
it would be different from other enums.
On Wed, Apr 9, 2008 at 4:12 PM, Diego Pino <[EMAIL PROTECTED]> wrote:
>
> I would like to suggest an enhacement for valueOf
I would like to suggest an enhacement for valueOf method in
CompressFormat.
It is kind of usual to select a CompressFormat accordding to a file
extension. However CompressFormat.valueOf(String) just expects the
already defined constants in CompressFormat: "jpeg", "png", "zlib".
Right now, for in
I would like to suggest an enhacement for valueOf method in
CompressFormat.
It is kind of usual to select a CompressFormat accordding to a file
extension. However CompressFormat.valueOf(String) just expects the
already defined constants in CompressFormat: "jpeg", "png", "zlib".
Right now, for in
When I run traceview on my application and the data file the first
method in the method profiler just says (toplevel) and when you click
on it nothing happens (there are no parents no children).
What is this? And do I need to worry about it. It reports some crazy
amount for time/call 3205 the high
I'm becoming confused with all of the guidance being given to entrants
of the ADC.
One the one hand, the flavour of the posts in the Challenge group is
that we are not permitted to instruct the user to do anything to their
emulator. This seems to include pushing files to it, installing an
supplie
Can anyone help in replying this issue? I also want to deactivate zoom
dialog somehow.
Thanks,
Niket
On Mar 10, 5:52 am, Xenome <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> ¿Do anyone know how todeactivatethe new (m5 release)zoomdialog
> that appears when double clicking on a map view?
> I'm capturi
Gentle Bump.
On Apr 8, 9:35 pm, Jason von Nieda <[EMAIL PROTECTED]> wrote:
> I am attempting to use the designMode property of a document in
> WebView but it doesn't seem to work. Is this something that is just
> not implemented yet, or will not be implemented?
>
> For background, setting designM
What do you mean calling it from another contentview? Can you post
some example code?
On Apr 9, 1:14 pm, Rahul <[EMAIL PROTECTED]> wrote:
> hmm.. maybe if i am calling it from another contentview, that might
> have some problem to? im not sure how else i can explain this.
>
> On Apr 9, 2:39 pm, "
Yes; just as your end-user may end up using your app from behind a
proxy, you should assume that your judges may also.
Thanks,
David
On Apr 8, 8:54 am, joos <[EMAIL PROTECTED]> wrote:
> Hello,
> I am building a client/server application for the Developer Challenge
> where my Android Client acces
If you want the standard button image, use android:background="?
android:buttonStyle".
This says to find the android platform buttonStyle in the current
theme, and use that value for the background drawable resource. This
is as opposed to android:background="@android:style/Widget.Button",
which
Hello everyone,
is there a possibility to programmatically query a ContentProvider?
I've successfully managed to get every currently on the device
installed ContentProvider via the PackageManager. This gives me every
Content Provider by it's Base-URI in the form of e.g.
com.google.android.notepad
Note: that code is from the Home application actually.
On Wed, Apr 9, 2008 at 2:12 PM, Romain Guy <[EMAIL PROTECTED]> wrote:
> They are application specific. It was just an example.
>
>
>
> On Wed, Apr 9, 2008 at 2:09 PM, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
> >
> > I see, hate to dra
They are application specific. It was just an example.
On Wed, Apr 9, 2008 at 2:09 PM, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
>
> I see, hate to drag this on, but where are:
>
> "@drawable/pressed_application_background_static"
>
> -> pressed_application_background_static
>
> bei
Hi,
I think you have not placed your LinearLayout inside a ScrollView, this is
needed if you want the scrollbars.
http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="fill_parent">
Thanks,
Megha
On Wed, Apr 9, 2
I see, hate to drag this on, but where are:
"@drawable/pressed_application_background_static"
-> pressed_application_background_static
being defined? Are those standard android images, or do I have to make
all those myself?
Thanks,
Mark
On Apr 9, 3:55 pm, "Romain Guy" <[EMAIL PROTEC
Hi, as per
http://groups.google.com/group/android-challenge/browse_thread/thread/4412631fb4d5e285/27e9df98fd31c5c1#27e9df98fd31c5c1
, devs particpating the android-challenge aren't allowed to provide a
mock kml file and properties file (for LBS) or a mock geodb file for
geocoding.
As per the thre
WebView is, ehrrr... the web view ;-)
The same as the one in the browser.
I don't know if your problem is related or not, but try different
content to try to determine this.
On Apr 9, 10:03 pm, vinnu <[EMAIL PROTECTED]> wrote:
> also does webview has anything to do with browser..all i want is a
Hi
I am testing my application on screen orientation switch. The
application loads data from the internet or the device and displays
this data. The interface is working great on the switch do I really
have to reload the data on every switch ? Shouldn't the switch only
affect the interface?
What a
The mediaplayer sample does work on m5. I am not sure what the issue is in
your case. Do other samples like ApiDemos work on your machine?
Thanks,
Megha
On Tue, Apr 8, 2008 at 5:38 PM, Hongliang Tong <[EMAIL PROTECTED]>
wrote:
> Hi Megha
> Thanks for your response. I had searched internet f
Thanks Hielko. But creating an activity just for a alertDialog seems a
bit much. :(
On Apr 9, 11:10 am, Hielko <[EMAIL PROTECTED]> wrote:
> Create an activity and define android:theme="@android:style/
> Theme.Dialog" in the manifest for this activity.
>
> On Apr 9, 5:40 pm, Redhunt <[EMAIL PROTEC
Hi There,
I have created Linearlayout dynamatically. and added some Checkbox,
and RadioButton to.
which can not display within one screen.
however, it does not show Vertical Scroll bar, and down - arrow does
not work neither.
here is the source code that I am using,
mLL = new LinearLa
hmm.. maybe if i am calling it from another contentview, that might
have some problem to? im not sure how else i can explain this.
On Apr 9, 2:39 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
> I'd expect the v.setId to not do what you want. I think it only sets
> an id, doesn't set the layout for that
Ok..this is my onPause:
@Override
public void onPause() {
this.registerReceiver(this.myIntentReceiver, this.myIntentFilter);
super.onPause();
}
It doesn't give the error I posted 2 minutes ago, but it gives the error
"error receiving broadcast null in [package]$[IntentRec
Hi,
One of the apps I'm working on will probably end up relying on extra
custom hardware, and I was wondering if/when some kind of low-level
spec (or an API for communicating directly regardless of the hardware
spec) of expansion ports or busses might come out. If there is no
unified design, I may
Now it tells me that the receiver isn't registered:
Unable to pause activity [package]:
java.lang.IllegalArgumentException: Receiver not registered: [package]$
[IntentReceiver].
Why is this happening?
Thanks,
Noam.
On Apr 9, 12:54 pm, cirion <[EMAIL PROTECTED]> wrote:
> Hi,
>
> unregisterRecei
also does webview has anything to do with browser..all i want is a
view which can understand html tags and display content accordingly on
my app's layout. i thot webview meant to do this?
On Apr 9, 12:59 pm, vinnu <[EMAIL PROTECTED]> wrote:
> Hi Diego,
>
> thanx for ur reply. the problem is, imno
Hi Diego,
thanx for ur reply. the problem is, im not even loading a webpage
here..i just want my webview to print a little html.
im not sure why im not getting it on the emulator screen.
On Apr 9, 2:01 am, Diego Torres Milano <[EMAIL PROTECTED]> wrote:
> Maybe it's related with this
> problemht
No, it's just a drawable. So you put it in
res/drawable/my_background.xml for instance.
On Wed, Apr 9, 2008 at 12:52 PM, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
>
> That looks exactly like what I need.
>
> Where exactly do you create that selector definition though, does that
> go in the
Hi,
unregisterReceiver should definitely be called from onPause. onFreeze
will only get called if another Activity is starting and your own
Activity may be destroyed. In contrast, onPause will be called every
time your Activity stops displaying.
Hope this helps,
Chris
On Apr 9, 12:37 pm, "[EM
That looks exactly like what I need.
Where exactly do you create that selector definition though, does that
go in the styles.xml file? Then you somehow set that as the background
of the LinearLayout instance? Right now I've simply defined my
LinearLayout in an xml file:
http://schemas.android.co
Hi,
Has anyone tried setting an on click handler for WebView? I've done
this but my handler never gets called on a click. I also tried
deriving from WebView and overriding onTouchEvent, and
onInterceptTouchEvent() to no effect.
I just want to get notified when the user clicks on my WebView,
Tha
I'd expect the v.setId to not do what you want. I think it only sets
an id, doesn't set the layout for that view. I tried your example with
setContentView and it seems to work fine for me.
On Apr 9, 10:31 am, Rahul <[EMAIL PROTECTED]> wrote:
> i take it back. if i change v.setId to
> setContentVi
I don't have an onPause. Could this be the problem?
However, I have a onResume and a onFreeze:
@Override
public void onFreeze(Bundle icicle) {
this.unregisterReceiver(this.myIntentReceiver);
super.onFreeze(icicle);
}
@Override
public void onResume() {
su
I can't explain it. Maybe someone from Google (who knows the Android
code behind the scenes) can. The only thing I could do is speculate
that there is a race condition in there somewhere (probably not in
your code).
On Apr 9, 8:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> To clarify ev
Pocket Journey would never have made it without all the tutorials and
discussions people have posted. I've created a few tutorials myself,
but wanted to make an offer to help some of you as the deadline nears.
I just posted an announcement video & screenshots of Pocket Journey:
www.pocketjourney
*bump*
On Apr 9, 9:43 am, Anil <[EMAIL PROTECTED]> wrote:
> I am trying to figure out how to play a JSpeex encoded audio file on
> android but am stuck.
>
> Speex or JSpeex (the Java implementation) is royalty free and is well
> suited to voice applications. It provides as much compression as mp3
To do this you will need to give your LinearLayout a background that
supports states. For instance:
http://schemas.android.com/apk/res/android";>
On Wed, Apr 9, 2008 at 11:20 AM, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
>
> Hi Romain Guy,
>
> The LinearLayout instance
Hi Romain Guy,
The LinearLayout instance is indeed clickable, but is there a way to
get it to flash orange like a normal button? I guess that's the only
part missing to making it look more button-ish,
Thanks,
Mark
On Apr 9, 12:39 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> Actually there is.
I also encountered the problem several times. When it happens, I just
restart eclipse and click the emulator item in device view in DDMS
perspective. It works again in most time. In few times I have to kill adb
process and restart eclispe, and it works again.
2008/4/10, Anil <[EMAIL PROTECTED]>:
Since this morning when I rebooted, it is working. When I rebooted
yesterday, it did not.
However, command line adb logcat still worked.
thanks,
Anil
On Apr 8, 3:19 pm, Anil <[EMAIL PROTECTED]> wrote:
> Clicking on the Logcat view doesn't show any of my Log.v messages.
> I used -wipe-data, restar
Does anybody have any ideas on how to do this? Also, for a bit of
clarification, my TextViews are inside of a TableLayout.
On Apr 8, 10:59 pm, wamoc <[EMAIL PROTECTED]> wrote:
> is there a way to use a TextView as a button in m3 rc37? In a program
> I am writing a TextView will look the best, but
You don't need to supply a style reference, as long as you are
instantiating them from a Context with the desired theme set up. This
is one reason to use the Activity context (or Dialog context) to
instantiate the views -- this context has a theme set that matches the
desired activity/dialog styl
1 - 100 of 152 matches
Mail list logo