the
this for an outer class, scope it:
new Intent(MyActivityName.this, SubActivity.class)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
--~--~-~--~~~---~--~~
You received
/android-porting
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
to
the first i want to start a function...
Use SharedPreferences.
Or, use an ordinary text file.
Or, use a database.
Or, use a static public data member.
Or, use a service.
Or, use a content provider.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
));
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners
;
};
}
Well, the startActivity() statement seems OK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your Android OSS project? http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received
not be there, with
your onClick() implementation being moved to the View.OnClickListener
you have not set up
The Notepad tutorial, linked to above, will demonstrate how to use a Button.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your Android OSS
Leo Lou wrote:
I have enabled a receiver in AndroidManifest. Can I disable the
receiver in run-time?
Try PackageManager#setComponentEnabledSetting(). AFAIK, this should work
for a manifest-registered receiver, though I have not tried it.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
distributable.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
into details, we haven't hit that mark yet but should
soon, conceivably before the year is out though probably drifting into
early 2010. That will trigger releasing the oldest editions under a
Creative Commons non-commercial license.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
tinyang wrote:
Button android:id=/@id/guide/
android:layout_width=/wrap_content/
android:layout_height=/wrap_content/
android:layout_below=/@+id/title/
Only use the + sign when declaring an ID via android:id. In your
layout_below, remove the + sign.
--
Mark Murphy (a Commons Guy
/
android:layout_width=/wrap_content/
android:layout_height=/wrap_content/
android:layout_above=/@id/guide/
android:layout_centerHorizontal=/true/
android:text=/BirdTracker Main Menu/
You cannot reference @id/guide here, because that widget has not been
declared yet.
--
Mark Murphy (a Commons
/tutorials/notepad/index.html
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
, and it is designed to add native
libraries to an application, not for writing applications.
The Android API is only in Java, right ?
The SDK is only in Java.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http
can get to LogCat via adb logcat, DDMS, or the DDMS
perspective in Eclipse.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received
, it will not work without modification.
With open source third-party libraries, all problems like this are
solvable, given sufficient time and Red Bull.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 In Print
, the smaller widgets in the column will expand to fill the space
set aside by the largest widget.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.0 Available
for rows in a ListView, etc.).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
tinyang wrote:
Thanks Mark for the reply. Does that then mean that FindViewById searches
all xml files to find the correct view?
No, calling findViewById() on an Activity searches the layout you
provided in setContentView().
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
on a
different sized screen/device, it can auto center itself?
Put it inside a RelativeLayout and use android:layout_centerInParent=true.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 In Print
on
the right edge of the screen.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Stefan wrote:
thanks for the fast answer again. i work with the 1.5r3 version, too.
but in eclipse, if i switch in the Layout tab, all widget are in one
row.
I'd trust the emulator over the Layout tab. But, then again, I don't use
Eclipse...
--
Mark Murphy (a Commons Guy)
http
, such as Sanselan:
http://incubator.apache.org/sanselan/site/index.html
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message
taken with
the camera already?
I have not seen one; then again, I have not really looked.
Also, Are there any code examples one might recommend for taking a picture
with your app/calling the camera library?
The SDK ships with some camera examples.
--
Mark Murphy (a Commons Guy)
http
language and some sort of
HTTP-based exchange via some rented Web host, at least for the prototype
of your app.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
, the samples are in:
$SDK_ROOT/platforms/android-1.5/samples/
where $SDK_ROOT is whatever directory you installed the SDK to.
Unless they changed the 1.5r3 SDK since I downloaded it, the ZIP file
definitely contains the samples.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
is available and valid. I use it sometimes myself,
though not terribly often. Choose the approach that you like.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
Abhi wrote:
I am developing an app using Bluetooth on my G2 phone (Tmobile's HTC
MyTouch 3G) but am unable to find any documentation on Bluetooth
classes in Android 1.5. Need help around that!!
There are no Bluetooth classes in the SDK at this time.
--
Mark Murphy (a Commons Guy)
http
Abhi wrote:
What about WiFi?
Use Java sockets.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Abhi wrote:
How do I see so many Bluetooth Apps around?
Presumably, they are using undocumented APIs that are subject to
breakage in future Android releases.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
are implicitly relying upon something like Float#toString() to
display the numeric data.
If you want control over the formatting, you will need to use something
like setViewText() or a ViewBinder with your SimpleCursorAdapter.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com
to learn Java and
Android at the same time may prove confusing.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
--~--~-~--~~~---~--~~
You received this message because you
that uses SystemClock.sleep() and a Handler.
Option #7: Use AsyncTask, where you sleep() for a bit in
doInBackground() and check the mic/schedule the next task in
onPostExecute().
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training: http
to:
That is a very poor/disappointing decision by OS designers that really
limits the possibilities of the phone
That is, IMHO, a completely over-the-top depiction of the situation.
That being said, I apologize for any condescension.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
erykthege...@googlemail.com wrote:
does anyone have any thoughts as to why this isn't working, or
suggestions for workarounds?
Without any code, in this case, it is difficult to provide you with
advice. If possible, please post the activity that is giving you trouble.
--
Mark Murphy
:
@Override
public boolean onCreateOptionsMenu(Menu menu) {
menu.add(0,1,0, Set Fav Dir);
menu.add(0,2,0,Change Layout);
return(super.onCreateOptionsMenu(menu);
}
and see if that helps.
Or, define your menus in XML and use MenuInflater.
--
Mark Murphy (a Commons Guy)
http
it out and the menu displays perfectly... So I guess
that method is stopping it detecting my menu key press.
You need to return(super.onKeyDown()) if you don't handle the KeyEvent.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http
are certainly welcome to your opinion, just as I am welcome to my
opinion that your expectations are unrealistic, even for the most open
source of projects.
Is there anywhere to request changes and/or bugs?
http://b.android.com
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer
().
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group
dubious.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Beginning Android_ from Apress Now Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group
to close up that
activity, and if you do that from the first activity, it will return the
user to the home screen.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your Android OSS project? http://wiki.andmob.org/hado
suggestions about what I might be doing wrong?
What does your Java stack trace tell you? You can get this via adb
logcat, DDMS, or the DDMS perspective in Eclipse.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your Android OSS project? http
with a MediaPlayer:
https://github.com/commonsguy/vidtry/tree
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message
such a tutorial is available, though, I would just stick with
AbsoluteLayout for now.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You
., PhoneWindowManager) and is not replaceable by
SDK applications, AFAIK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message
into the
database, it is difficult to determine the source of your problem. It
may be you are using float/Float where you need to be using double/Double.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org
is required under the terms of the Creative Commons
Attribution license.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received this message
/f7f1600cc7e85f2c/6853876731ff2ae9?lnk=raotpli=1
http://groups.google.com/group/android-developers/browse_thread/thread/7a3a4cce5b840f5f
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
Jens Vegeby wrote:
Well, I personaly like the books at http://www.commonsware.com
They are cheap too.
Thanks!
Though I like to think of them as competitively priced... ;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training
.
Here is the stack:
That is not a complete stack trace. That is Eclipse telling you it has
suspended execution of your program. In particular, you have lost the
information about that RuntimeException, which would be really useful
for you to figure out what your problem is.
--
Mark Murphy
can I build the equivalent of a jar file from the command-line?
ant debug or ant release.
http://developer.android.com/guide/developing/other-ide.html
http://developer.android.com/guide/tutorials/hello-world.html#noeclipse
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
changes and is a megabyte in size, would anything prevent me
from doing that, or impose difficulty?
Well, it still is a phone, so you're not exactly flush with RAM and
storage space. A 1MB data structure shouldn't pose a problem, AFAIK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
it
is generating a NullPointerException.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Looking for Android opportunities? http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received this message because you are subscribed
the
popup activity which item is clicked? i don't understand :)
Use putExtra() on the Intent you use with startActivity(), and
get...Extra() in the activity to be started, to pass over enough
information to allow the second activity to perform its job.
--
Mark Murphy (a Commons Guy)
http
and whatnot.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in Germany, 18-22 January 2010: http://bignerdranch.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
added to projects.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Looking for Android opportunities? http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
, but you
are running quite the risk.
http://code.google.com/p/android/issues/detail?id=2329
If you are successfully adding javax.* classes to your SDK application,
perhaps from Apache Harmony, count your blessings, and consider letting
us know which ones work!
--
Mark Murphy (a Commons Guy)
http
). But, then again, I haven't given that a lot of thought.
Generally speaking, you will get better results on this list if you ask
focused, tactical questions. I have some advice I posted on getting
assistance with Android up on AndroidGuys:
http://androidguys.com/?p=5738
--
Mark Murphy (a Commons Guy
() methods to retrieve the value in the started
activity.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
emulator from command line (just the emulator, not
the hello world application), but it's very very slowly.
All I can tell you is, it works for me, and there have been others on
these lists who have indicated they have similar environments.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android
Off ebay, I had to ship it to my mom's house [no can do to Japan].
Then she died. Will be there the week after next to pick it and her
things up. Good news is I called her to ask her if she'd forward my
dev phone to me. It was the last time we talked...
I am sorry for your loss.
--
Mark
responses.
Look at your LogCat to see what the exception is via the Java stack
trace, then fix it. You can access LogCat via adb logcat, DDMS, or the
DDMS perspective in Eclipse.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android 1.5 Programming Books
, for
such updates.
Hence, your questions need to be directed to the mobile phone carriers
serving your area.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 Available
, it is difficult to help you.
For your scenario, consider using AsyncTask rather than your own
Handler. You can start your activity in onPostExecute(), update your
original activity in onPublishProgress(), etc.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
. This is not an appropriate list for this discussion, as this list is
for QA with beginners in using the Android SDK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your Android OSS project? http://wiki.andmob.org/hado
the
device manufacturer.
I take it from your statement then from a technical point of view that
the SDK can not be used to allow users any choice as when to update if
it is being pushed from a carrier.
Correct.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com
in
his application.
There may be other problems with his scenario, but java.io.IOException:
Prepare failed.: status=0x on an rtsp:// URL feels like a
missing INTERNET permission to me.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming
Oliver Rennfort wrote:
Hi is it posible to put a custom view in a alert dialog box?
Try setView().
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in Germany, 18-22 January 2010: http://bignerdranch.com
the emulator outside of Eclipse and see what happens.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Beginning Android_ from Apress Now Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed
(R.id.search_edit).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 In Print!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Hi I need to pass 1 or 2 string var to a new activity when I start them
via
a intent
How do I pass them in from activity 1 and then how do igrab them in my
activity2?
Use putExtra() and getStringExtra() on Intent.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App
http://developer.android.com/reference/android/app/PendingIntent.html
An Intent is something that is used right now; a PendingIntent is
something that may create an Intent in the future. You will use a
PendingIntent with Notifications, AlarmManager, etc.
--
Mark Murphy (a Commons Guy)
http
(list of objects) )
before app exits.
Save your data in onPause() or onStop(). Both of those will be called when:
-- the user presses Home
-- a call comes in and the user takes the call
-- the user responds to a Notification
-- etc.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http
, a better group is:
http://groups.google.com/group/cw-android
So, if the emulator provides a similar crash, post a stack trace over on
that group, and we can take a look at it.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
automerc wrote:
This is of the parts where i'm using system.out.
Use android.util.Log, and look at the output of LogCat (via adb logcat,
DDMS, or the DDMS perspective in Eclipse).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your
almost all
topic in it what you coud need and also easy to follow source code ..
Thank you to the writer mark muphy here from the forum. Have a look at
his webpage for more details.
Www.commonssware.com http://Www.commonssware.com
Glad you like 'em!
--
Mark Murphy (a Commons Guy)
http
) and _Hello, Android_, it is unclear if
any of the others are Cupcake-ready. The O'Reilly one might, since it
came out around the time the Cupcake preview did, but I haven't read it.
second, i'm a little confused by the fact that mark murphy appears to
have two books recently published: 'beginning
. :-)
To be clear, that's ~1,100 split over three volumes (Android, Advanced
Android, Android Programming Tutorials), but you get all three on the
Warescription.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
initializing a new Image view based on a condition and
then attaching an onClickListener for each view. But the getId()
returning a -1 everytime. Why so?
Perhaps you are using an ArrayAdapter, which does not have IDs.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com
from all other activities.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in Germany, 18-22 January 2010: http://bignerdranch.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed
com.kaloersoftware.flickrwall/.FlickrWallService}
Something in your service (onCreate() or onStart(), most likely) is
taking too long.
Can it help if I do the xml parsing in a thread?
Yes. Use AsyncTask or something to move the XML parsing off the thread
used for the callback.
--
Mark Murphy
and the working stuff, and slowly morph your code to look
more like mine, until yours begins to work as well.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
that option, you may wish to use a selector
drawable XML file instead of a plain color, so you can specify different
values for normal versus selected.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_
Hybris wrote:
On 17 Lug, 12:36, Mark Murphy mmur...@commonsware.com wrote:
If you do not like that option, you may wish to use a selector
drawable XML file instead of a plain color, so you can specify different
values for normal versus selected.
this is the solution i'm exploring now
of a row, not the ListView. Have two
selector drawables, one per color scheme.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 Available!
--~--~-~--~~~---~--~~
You received this message
permanently simplify your UI.
I have some stuff written up about this issue here:
http://androidguys.com/?p=4688
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
.
Right now, you can read the terms and conditions and work on building
your application.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in Germany, 18-22 January 2010: http://bignerdranch.com
., sensors, camera,
real GPS, application interop), the more likely it is you will need a
piece of actual hardware.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in Germany, 18-22 January 2010: http://bignerdranch.com
rch wrote:
Mark:
No luck so far I tried couple of combinations
You think the format is ok ?
SUBSYSTEM==usb, SYSFSHigh Tech Computer Corp.==0bb4,
MODE=0666
Does it need to be {High Tech Computer Corp.}?
On my machine, it is {idVendor}. I mean that literally.
--
Mark Murphy
Yasser wrote:
Is there is any way to send a message from device/emulator to the
desktop. Any API available in Android for this?
URLConnection and HttpClient, if the desktop has a Web server running.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
into
smaller parcels via some sort of a work queue (e.g., clone AsyncTask and
give it an unbounded work queue, or use your own LinkedBlockingQueue).
That gives you finer granularity to stop the background threads (e.g.,
via an AtomicBoolean flag that gets checked).
--
Mark Murphy (a Commons Guy)
http
intents.
What is a user intent?
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
.
SharedPreferences.OnSharedPreferenceChangeListener handles that.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 Available!
--~--~-~--~~~---~--~~
You received this message because you
advice as to how to get steps 3 and 4 working?
Questions about building and using the open source code are better asked
on a list that pertains to those issues:
http://source.android.com/discuss
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Looking
erykthege...@googlemail.com wrote:
07-16 18:11:42.991: ERROR/AndroidRuntime(21831):
android.view.InflateException: Binary XML file line #17: Error
inflating class java.lang.reflect.Constructor
Can you post the layout file corresponding to this error? What is on
line #17?
--
Mark Murphy
Android wrote:
Is there an API for the Android Market?
Not officially, no.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received
=
(AdapterView.AdapterContextMenuInfo)item.getMenuInfo();
delete(info.id);
return(true);
}
return(super.onOptionsItemSelected(item));
}
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Looking for Android opportunities? http
-rw-r--r-- 1 root root 234 2009-04-14 18:04 95-udev-late.rules
Gadzooks, you have a lot of rules! I have a total of five rules files.
With all of those, you may need to try other numbers than 50- or 51-. I
think I heard somebody was using 70- as a prefix.
--
Mark Murphy (a Commons Guy)
http
documented,
they are likely to break in future releases of Android (or of whatever
3rd party app you attempt to launch).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your Android OSS project? http://wiki.andmob.org/hado
ways -- use PackageManager,
watch messages in LogCat, examine the source code -- but any of those
techniques may result in you creating something that will be unsupported
over time.
So, no, you do not necessarily need the source code, though it helps.
--
Mark Murphy (a Commons Guy)
http
* from foo;
-1.0
sqlite .exit
Inside of Android, you should be able to just put a negative number into
your ContentValues that you supply to your insert() call with
SQLiteDatabase.
Can you provide any source code and the syntax errors you are getting?
--
Mark Murphy (a Commons Guy)
http
501 - 600 of 1287 matches
Mail list logo