sing some
> setting/permission? pls help
Where are you getting the Context from? If it is your Activity instance,
this code should work. If you are somehow creating your own Context
object, then that might be the source of your problem -- use a Context
given to you by Android, such as an Acti
lback objects into private
anonymous inner classes:
private View.OnClickListener onButton=new View.OnClickListener() {
public void onClick(View thingThatWentClick) {
// something almost intelligent here
}
};
(then use button.setOnClickListener(onButton); in onCreate
myself
> have a chance to create mainstream popular mobile applications so if
> such a reference doesn't exist I may well have to spearhead it.
Sounds great!
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/com
nitin wrote:
> thanks for quick response, I am new to android and self learner. how
> to see the adb logcat or in Eclipse.
http://developer.android.com/guide/developing/tools/ddms.html
http://developer.android.com/guide/developing/tools/adb.html
--
Mark Murphy (a Commons Guy
data/data/com.my.package/files/test.txt
That is not an error.
Look at your Java stack trace to find the error. The Java stack trace
can be obtained through adb logcat, DDMS, or the DDMS perspective in
Eclipse.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.
Andrés G. Aragoneses wrote:
> Is Flash a proprietary component as well or is the plugin also included
> in Android?
Flash is rather proprietary. It is not in the Android open source project.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Beg
Rafa Perfeito wrote:
>> 1. Donut is not Android 2.0.
>
> So what is 2.0? Eclair? What is the version correspondent to Donut then?
Neither Donut nor Eclair have been released, so there are no version
numbers yet.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http:/
Pruthvi Raj wrote:
> Can you please guide me to take android book for Programming?
There are many Android programming books available:
http://wiki.andmob.org/books
I like the ones written by Mark Murphy, but I'm biased. ;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.co
Bluefish wrote:
> Hello, i am a User of an HTC Hero device with Android 2.0(Donut)
1. Donut is not Android 2.0.
2. AFAIK, HTC Hero shipped with Android 1.5, plus extra HTC proprietary
components, such as the HTC Sense UI.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | h
-a-file-from-sd-card-to-email
--
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
Gro
Jean-Sebastien Stoezel wrote:
> Any input on this issue?
Try new Intent(Settings.ACTION_SECURITY_SETTINGS) instead, unless I am
misunderstanding what activity you are trying to open. Settings is in
android.provider.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.
like ZXing:
http://code.google.com/p/zxing/
--
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
y, so I do not know the requirements
to make it work, other than I am sure it needs the INTERNET permission.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 Available!
--~--~-~--~~~--
Jose Ayerdis wrote:
> I've been trying to search university around a location but does not
> work as i though can somebody help out here???
A search of the Android SDK documentation does not turn up
getLocationFromName(). Where do you see this method?
--
Mark Murphy (a Common
ou can only open the dialog from the UI thread, and
Timer/TimerTask runs on a background thread.
If you look at adb logcat, DDMS, or the DDMS perspective in Eclipse, you
may see a stack trace that will give you more clues.
You may need to use Activity#runOnUiThread() or View#post() or a Handle
r
> count as "platform" development. Surprisingly, it requires no
> cryptographic signature (of any kind).
It should, at least for consumer devices. I haven't played with
modifying firmware, so I don't know what the rules are vis a vis
emulator images and such.
--
Mark Murp
l, and allow
apps to statically link with it.
--
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 subs
Tikoze wrote:
> I do not know how to get the logcat trace of the crash, but will
> gladly post it if you can tell me how to get it.
adb logcat, DDMS, or the DDMS perspective in Eclipse.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Dev
they can run on Dalvik.
Android's build process handles this.
--
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
compiled classes.
Step #4: Distribute the JAR file, or upload the whole thing to github.
You can take a look at some of my CWAC components for examples of this
process:
https://github.com/commonsguy
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Begin
at I wrote to handle this
situation:
https://github.com/commonsguy/cwac-endless/tree
One of these days, I will cobble together enough time to add more
documentation and a blog post about this...
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twit
XML file via getLayoutInflater().inflate(). You cannot move a
widget that is outside the list into the list in the fashion you are
trying to.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
--~--~-~
Matt wrote:
> On 16 Aug., 03:07, Mark Murphy wrote:
>> You gave it an array. To be able to modify it at runtime, you need to
>> give it an ArrayList.
>
> Alright, that did work. But why? Why is there an ArrayAdapter with a
> method called "remove" that you ca
Matt wrote:
> On 16 Aug., 01:23, Mark Murphy wrote:
>> You don't remove it from the list. You remove it from the data source
>> underlying the list.
>>
>> -- ArrayAdapter? Remove it straight from the adapter.
>>
>> -- CursorAdapter? Remove it
it from the list. You remove it from the data source
underlying the list.
-- ArrayAdapter? Remove it straight from the adapter.
-- CursorAdapter? Remove it from the database or content provider, then
requery().
-- Other adapter? U...it should have similar stuff.
--
Mark Murph
through other markets (AndAppStore, SlideME, etc.) or through your own
Web site.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 In Print!
--~--~-~--~~~---~--~~
You received this me
gt; Then I create a jar file with "jar cf HelloAndroid.jar
> AndroidManifest.xml".
> Can anyone explain why this is not working?
>
> I would greatly prefer learn how to do things from the command line.
Here is the non-Eclipse build documentation:
http://developer.android.com/guide/
GPS, etc.).
For your own experimentation purposes, working completely off the
emulator may be OK. But distributing an app without trying it on a real
device is like building a car and never test-driving it before selling
it because you didn't buy tires.
--
Mark Murphy (a Commons Guy)
velopment time.
Bear in mind that the documentation ships with the SDK and is available
on your hard drive.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 In Print!
--~--~-~--~~~---~--~~
ase will be gone.
--
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 "
ard flash of the device.
--
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
Gr
and delivered onto the device, and cannot
be modified once there. That includes deleting portions of its contents.
> Or would I have to set up a system where they
> install the bare bones and then download the rest from a server and
> have those put on the SD card?
That would work.
--
M
e the
> animation is running is the best way. Can I do it?
Blocking the UI thread will cause Android to force-close your activity
after several seconds, and will confuse and irritate your users up until
that point when they can't figure out why the application is not
responding to
aspects of
the OS, most of the built-in Android apps, and most third-party apps,
allow the users to be rather oblivious to details like where things get
downloaded to.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanc
phil wrote:
> okay, thx. any ideas why i can't download the file from a web server?
You need the MIME type set up properly on the Web server to serve it as
application/vnd.android.package-archive.
Beyond that, I have no idea.
--
Mark Murphy (a Commons Guy)
http://commonsware.co
phil wrote:
> then i tried copying it to the SD card, that worked, but then I
> couldn't figure out how to actually install it once I had it on there.
You would need a file manager app from the Market to install off the SD
card.
--
Mark Murphy (a Commons Guy)
http://commonsware
ase with the data i need.
You can package that database as an asset or raw resource, then copy it
(via streams) from there to the proper spot in the filesystem.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on
Maxood wrote:
> Could someone guide me step by step on how to obtain a Google Maps API
> key. I am developing a simple Google Maps app for the first time.
The full instructions are here:
http://code.google.com/android/add-ons/google-apis/mapkey.html
--
Mark Murphy (a Commons Guy
27; and I have tried 'setAdapter'
> again but can't seem to get it to work. Help please?
requery() should work.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~--
nimation/Animation.AnimationListener.html
Step #2: In your code above, where your "// do something else" is, use
AsyncTask or some other form of background thread to do the work
Step #3: In the AnimationListener#onAnimationEnd() method, put your
function() call.
--
Mark Murphy (a Co
s the instance of the inner class. To reference 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
--~--~
orting].
--
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 Beginners
a View.OnClickListener to your Button
2. Your guide class is unused, and probably should 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
return guidebtn;
> };
> }
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
--~--~-~--~~-
h as onClick)?:
>
>
>
>
>
>
Generally, you do not need an IntentFilter for that situation. Just
reference the class directly when building the Intent you pass to
startActivity():
startActivity(new Intent(this, MyNextActivity.class));
--
Mark Murphy (a Commons Guy)
http://common
ton to go back 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.co
p://groups.google.com/group/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 G
ould find a Java stack trace in LogCat to help explain the "Force
Close". You 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/commo
ner" is called JNI, 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 tal
do not know how
> to proceed.
The Android 1.5r3 SDK has 7,735 files in it.
Either you were unsuccessful downloading the whole file (should be
191477853 bytes) or your tool for unzipping the file is having difficulty.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter
use of SQLiteDatabase:
http://developer.android.com/guide/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 re
=/"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 h
tinyang wrote:
>
>
> 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, remov
sold.
Without going 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://com
ing Guide_) are freely 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 th
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
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...
--
Mar
ge is the right edge of the screen, and so the
right edge of @id/ak is set to the right edge of the screen.
But then, your next widget has:
Here, you are trying to put @id/ake to right of @id/ak, which will not
work well, since your previous rule set @id/ak to have its right edge
ty is viewed 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 Tutori
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
ne 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
d/widget/TableRow.html)
Hence, 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 Develop
in
Android, 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_
a picture 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
es for manipulating EXIF tags, 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
--~--~-~--~~~---~--
O.
Those sorts of arguments may not matter much to you, which is why the
Java-based approach 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://tw
t the 1.5 code, 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://commonsw
ermediary server.
If I were you, I'd focus on a scripting 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/commons
s unusual enough that trying 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
Tingqiang Ma wrote:
> I am a little confused by this.
>
> For example, when I call
>
> *mButtonApply=(MyButton) findViewById(R.id.button_apply);*
>
> Which constructor of MyButton will be called?
None. findViewById() finds an existing View, it does not create one.
--
M
ger, the decimals start getting cut off.
>
> Any ideas?
You 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.
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: h
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 subscri
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 Com
Java.
Option #6: Fork a thread 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/c
roid is set up.
Bear in mind that I was replying 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 apo
){
> //do stuff
> }
>
> I just commented 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 |
ut");
> return true;
> }
Try:
@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, de
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.
--
Mar
y, such as using ViewFlipper.
You might be able to figure out something using the whole task thing,
but I'm dubious.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Beginning Android_ from Apress Now Available!
--~--~-~--~~~-
ctively calls finish().
So, call finish().
--
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
ilities of the phone
You 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
ion. That dialog is tied into
the window manager (e.g., 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
--~--~-~--~~--
eventually.
Until 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
--~--~-~--~~~-
monstrates using a ProgressBar 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
--~--~-~--~~~---~--~~
arg1, int
> arg2,
> long arg3) {
>
> }
> }
>
> Any 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
any point in your activity 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?
mdat atom:
http://groups.google.com/group/android-developers/browse_thread/thread/f7f1600cc7e85f2c/6853876731ff2ae9?lnk=raot&pli=1
http://groups.google.com/group/android-developers/browse_thread/thread/7a3a4cce5b840f5f
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/com
When using the Android Robot or any modification of it, proper
attribution 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.
ride
setViewText(), or extend it and override bindView().
Since you have not demonstrated how you are putting data 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
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
An
for you to figure out what your problem is.
--
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
Gr
m. How can i tell 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 Mu
k on line 19 of your Map.java file and see why 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 re
ta set that never
> 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 Co
an APK file (.apk).
> 4. How 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)
ht
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)
http://commonsware.com | http://twitter.com/commonsguy
Need h
cking with SAX. I also seem to recall seeing a light performance
analysis suggesting XPP wasn't any faster than SAX, but I do not
remember where I saw it.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tuto
roblem, 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
a.* and javax.* namespace
classes being 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
501 - 600 of 1500 matches
Mail list logo