the above-quoted statement, that means your
code may have *passed in* a null, and so either marker is null or
somehow SitesOverlay is having problems and can't be instantiated.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.
> E/AndroidRuntime( 583): at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1122)
> E/AndroidRuntime( 583): at
> android.app.ActivityThread.performLaunchActivity(
What's the line at MainMap.java:275?
--
Mark Murphy (a Commons Guy)
http://
at
> android.app.ActivityThread.performLaunchActivity(
The upper stack trace is internal to Android itself and, at least for
me, offers no meaningful information.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php
--~
ange support is what you want. I haven't played with
this much myself.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
e you attempting to call setContentView() from a background thread? If
so, arrange to call it on the UI thread, via post(), runOnUiThread(), or
a Handler.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php
--~--~-~--~--
setContentView(f_grid);
> }
> };
> // Run the thread
> m_activity.runOnUiThread(mainThreadRunnable);
That should work fine, AFAIK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- ht
at the time you start the "heavy
task", pass the Button along to the task, or otherwise arrange to know
it at the time you want to disable the button.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~---
ration status (text only) between the service and
> the UI? Is SharedPreferences suitable for this purpose?
Since the operation status is not persistent between runs of your
application, I would not use SharedPreferences. Use some other
in-process indicator (e.g., a static AtomicConcur
triction:
> (I want my application to not depend on being online after download -
> so the data should be downloaded with the application.)
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php
--~--~-~--~~~
of change...for a single View.
How would one go about affecting this change for the contents of a WebView?
Thanks in advance for any advice!
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
d see if it gives them any help.
Thanks!
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Group
ges. In theory, your application should handle
this just fine, since it might occur in other cases (e.g., call comes in
and your app is abandoned for an extended period).
I have a series of blog posts on this topic that may help:
http://androidguys.com/?s=rotational+forces
--
Mark Murphy (a Com
t doesn't matter because the entire process is
>> gone.
>
> It means that any secondary threads is living within the process and
> it is not a "process" by itself?
Correct. All threads you create in your process stay in your process.
--
Mark Murphy (a Commo
AlexKar wrote:
> Can I launch unregistered Activity directly from my provider?
No. Any Activity class that is not listed in AndroidManifest.xml file
cannot be used as an Activity by the Android framework, AFAIK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Swe
ed and recreated.
I have a series of blog posts that cover this topic:
http://androidguys.com/?s=rotational+forces
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!
--~--~-~--~~~---~--~---
to point me to their own project that needs help, or a
> project they think might need help that would be great. Have a great
> day.
It's not my project, but OpenIntents.org has lots of Android components
under development -- one might fit the bill.
--
Mark Murphy (a Commons Guy)
http
pirit to ListView or Spinner.
The contents are set via an adapter.
> I want to do this entirely in an xml layout file.
Then you do not want GridView. Try TableLayout, perhaps.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Develo
derekca wrote:
> I know you all are swamped, probably overloaded with requests, but
> it's really important that a number of issues get addressed promptly.
This list is for developers working on Android applications. Please post
diatribes like this to [android-discuss].
--
Mar
s the Java package you declared in
AndroidManifest.xml)
Give us more concrete stuff to work with, and we can perhaps give you
more concrete suggestions for how to get past your problem(s).
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development
cks a compact means of
implementing methods with default parameter values.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are
ication, that seems reasonable.
But bear in mind that the ASL license in toto is for developers using
your source code, not for end users of compiled binaries.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch
Jeremy Leibs wrote:
> Any progress on this? I am having the exact same problem. It is
> driving me crazy.
Where is the image?
I had some problems for a while trying to use an SD image stored on a
USB thumb drive formatted vfat. I just moved the image to the main drive
(ext3).
--
Mark
I suspect that the most-frequently-used patterns for Web browsing
components are to display either network-served content or regular local
files.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
--
nodes, not just one. Hence,
don't just use getFirstChild() -- iterate over all children.
Leastways, that worked for & when I encountered a similar phenomenon.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Availab
t
> possible at all?
For security reasons, it is not possible. You can only embed activities
that you own.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php
--~--~-~--~~~---~--~~
You received
ap-highlight-color be transparent for all styles" or some such.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are
Grace Kloba wrote:
> The trick is to use "-webkit-tap-highlight-color". If the alpha of the
> color is 0, the orange ring won't be drawn.
Many thanks!
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Developm
has anyone got it
> to work?
Do you have the INTERNET permission in your AndroidManifest.xml file?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You receive
n
Android, only Dalvik. And, there is no G: drive in Android, only in
Windows PCs.
Are you sure you are running your code in an Android application?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~--
h.
>
> thank you! yes, orange ring dissapeared.
>
> but when i change it to rgba(0,0,255,0.5); it's not half transparent
> blue, why? (it's again fully opaque orange)
To quote Ms. Kloba:
"The trick is to use "-webkit-tap-highlight-color". If the alpha of
r and document any possible workarounds.
The only port scanner I have much personal experience with is nmap, and
I do not see much one way or the other about using nmap over T-Mobile's 3G.
With luck, you'll get a more definitive response to your query -- I'm
mentioning this as an alternat
r mini-USB cable you
can try?
BTW, I am on the same environment as you (64-bit Ubuntu 8.10) and
haven't had a problem once I got it working a couple of months ago. So,
if you need to know any specific settings I have, just ask.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy
se AlertDialog, perhaps created using the
AlertDialog.Builder class.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!
--~--~-~--~~~---~--~~
You received this message because you
manoj wrote:
> can you please show me the sample code?
ApiDemos/src/com/example/android/apis/app/AlertDialogSamples.java in
your SDK's samples/ directory uses AlertDialog.Builder.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development
loadData(toload, "text/html", "utf-8");
Try using loadDataWithBaseURL() instead of loadData(), supplying a bogus
base URL (e.g., fake://i/will/smack/the/engineer/behind/this/scheme).
That cures a lot of loadData() ills.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
do to
> make room for the resources it needs at startup without slowing it
> down too much?
That would depend a bit on what "the resources it needs at startup" are.
Can you give us more details?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to
Windows for dealing with the
case where your application needs to do work on startup and the user
might have a bunch of other applications open.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~--
) is undefined.
That would be because classname is not a Context subclass.
If classname is an inner class, use MyActivity.this instead, where
MyActivity is the name of the activity class (or other Context).
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to
ops a dialog to add the item, and one can edit (via a dialog) or
delete items from context menu choices. "View" in this case is simply
part of the list, since the list can readily show just the single data item.
--
Mark Murphy (a Commons Guy)
I have to take whatever steps I can to make the user happy
regardless.
Of course, I'm an old fogey, having started developing apps in 16K of
RAM on 1MHz CPUs. So my perspective may be out of touch with the
whippersnappers who dominate the industry today. ;-)
--
Mark Murphy (a Commons Guy)
htt
icker;
> based on the name I'm sure it is.
>
> Importing android.internal.widget doesn't work. It was worth a shot.
The source to it is probably available on source.android.com. Clone your
own until they open that one up in the SDK.
--
Mark Murphy (a Commons Guy)
http://com
that my
assumption was flawed.
I am sorry for wasting your time.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscr
uff takes, which would determine how
frequently you can refresh the image without slowing the device down too
much. It also implies you can connect the device to something with the
mini-USB cable, I imagine.
It's far from the most elegant solution, but it's something...
--
Mark
Mark Murphy wrote:
> Well, there's some way to get screen grabs off the device that DDMS
> uses. I don't see an adb command for it, so off the top of my head I'm
> not sure how it's done. But I think the DDMS source code is in the git
> repository.
>
> In t
till possible to
> access the resources from this Subclass?
>
> By default it uses the resources from the current activity (Strings,
> xml layout etc)
Activities don't have resources; applications do.
Multiple activities in the same application share their resour
are both yours, you could find a way to "share" them in your
build process, assuming you are building them in tandem.
> Give me a shout if that is still unclear
OK, here you go:
SHOUT!
;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder
ithin
> the target package.
Ah, my mistake. I thought you still needed to be the same owner even in
that case, or needed to be a system app.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php
--~--~-~--~~
I tossed together an app based on the notes I posted previously on this
thread. See:
http://groups.google.com/group/cw-android/browse_thread/thread/d2dbcabee6bcba1a
or
http://groups.google.com/group/android-discuss/browse_thread/thread/939b320cea3c81d4
--
Mark Murphy (a Commons Guy)
http
layout (e.g., LinearLayout containing other
widgets), that's called "view inflation" or "layout inflation".
getLayoutInflater().inflate() should do the trick. This uses the
android.view.LayoutInflater class.
You can see inflation used in many of my Fancy ListViews posts:
ht
ity and Service are
subclasses of Context.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
sure your images
get properly garbage collected.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
--~--~-~--~~~---~--~~
You received this message because you are subscribed
eed to change the script for it to work
> on Mac?
HelloAndroid-debug.apk is the debug version of the APK file and is
installable in the emulator and on devices via adb.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Ava
ingle view representing the "inner layout" instead of
the whole view tree. In other words, use removeView() instead of
removeAllViews().
Personally, I typically just use ViewFlipper, so it can handle this
case, plus give me the option for animating the transition between child
view
tation in java.util.concurrent as well
if your threads still aren't closing up shop fast enough.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!
--~--~-~--~~~---~--~~
You receiv
Option #2: Don't pass the Cursor into SimpleCursorAdapter, but rather
iterate over the Cursor, put the results into an ArrayList or something,
and use that with an ArrayAdapter.
Option #3: Create a CursorWrapper that injects your two extra values
into the results.
--
Mark Murphy (a Common
t. The
original author of those classes, Doug Lea, has a book on Java
concurrent programming (i.e., thread safety) that has some useful patterns:
http://www.awprofessional.com/bookstore/product.asp?isbn=0201310090
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -
ain explosions, but could anyone tell
> me what's going on here?
The parameter to sin() is in radians, not degrees. The sine of 90
degrees is 1. The sine of 90 radians is approximately 0.8939966636005579.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ran
Phill Midwinter wrote:
> Ah
>
> So I just multiply by pi over 180?
That should work.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/sched
);
>
> What am I missing? Is there another listener I need to configure?
You need to call setOnItemSelectedListener() to handle taps like that.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!
--~--~
uot;select", tap is "click".
Without more code, I can't give you a solid answer. What you're doing
sure looks good.
Are you sure the issue isn't something inside of viewItem() -- that
you're getting the event but viewItem() isn't responding to it proper
ssing there was
some mail server hiccup that was preventing their delivery.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php
--~--~-~--~~~---~--~~
You received this message because you are subscr
ta.
>
> How can I change this ?
1. I would not rely upon a "working directory".
2. Your application files should go in the directory identified by
Context#getFilesDir(), which so far maps to
/data/data/your.package.here/files.
3. On a device, you cannot read or write from the root
ely on any single outlet (e.g., Android
Market) .
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
--~--~-~--~~~---~--~~
You received this message because you are subs
cations on a G1.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Gro
Mark Nuetzmann wrote:
> I want to extend the WebView so that I can override the action of
> clicking on a link in the webview.
You want to set a WebViewClient on the WebView, where in the
WebViewClient you put your logic in shouldOverrideUrlLoading().
--
Mark Murphy (a Commons Guy
choose. Markets like SlideME are probably
easier and may have better reach, but one is not limited to only using
markets (a la iPhone, and there only one market at that).
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android
id" column.
There is no way to tell Android to use another column name, AFAIK.
You might try renaming it in the SQL results:
SELECT _ID=my_key, ... FROM mytable ...
I haven't tried that, so I don't know if that will be sufficient.
--
Mark Murphy (a Commons Guy)
http://commonsware.
parent (#) and "roll your own" highlighting, if you feel
the need.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
--~--~-~--~~~---~--~~
You received this m
r in query at
> index 41:
> Manoj
> 123
> dmh
> can any one please help me how to solve this problem (sending the xml
> file to server)?
http://hc.apache.org/httpcomponents-client/examples.html
Notably:
-- You don't normally construct POST requests with parameters in the URL
--
es ACCESS
> _FINE_LOCATION permission
This suggests your elements are in the wrong spot or
something.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!
--~--~-~--~~~---~--~~
You
g the colors in a
ProgressBar. The three differences I see between what you did and what I
did:
-- You are using SeekBar instead of ProgressBar, and it is possible
SeekBar handles the progress drawable differently
-- ProgressBar needs a third item with an id of @android:id/secondaryProgress
-- I
> No one has an idea?
score=new FilmScore();
score.votes=response.get("votes");
score.total=response.get("total");
score.average=response.get("average");
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books:
ing the same
app published under two package names? For example, if ADC2 basically
means authors have to commit to supporting the ADC2 package name
indefinitely, or run the risk of cutting off a chunk of their user base,
that is not something to be taken lightly.
Can we get a bit of clarification o
service from Android
using HttpURLConnection or HttpClient.
--
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 G
of the automated judging
process (or by human judges in Round Two, who hopefully will be savvy
enough to get past this issue), then the 2nd package name will not be an
issue, since that app will never be updated, anyway.
So...will ADC2 apps be used by people outside of ADC2 judging?
Thanks!
--
Mark Mur
t; support.
Ah, good. Thanks!
--
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
Groups "Android Dev
Take a look at:
http://bit.ly/k4Yy3
(above link points to an example in the source code to _The Busy Coder's
Guide to *Advanced* Android Development_).
> Why in each example, there is an application AND a service in the same
> package ?
Not all examples have this.
> Is is mandat
> Android includes a database engine (SQLite). In general, do the
> applications keep/manage their own databases (files) or is there a
> unifying database manager?
Applications keep/manage their own databases.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Develo
otherwise
> it is already created and initialized.
>
> Is there any simple API available to check whether DB exists or not ?
Use SQLiteOpenHelper instead of opening the database yourself.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http:/
it does not work, check the other actions defined on Settings.
--
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
ut I would prefer to use an id.
Menu IDs are like layout widget IDs, named by R.id:
if (R.id.congestion==item.getItemId()) {
// suggest a cold remedy
}
else if (R.id.warning==item.getItemId()) {
// warn them about the side effects of the cold remedy
}
--
Mark Mur
n anyone help me ?
Most likely, your et variable is null. You may not have a widget with
android:id="@+id/et" in your activity.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~
ill not be able to send the fix at the
right time for getLastKnownLocation() to work as you expect.
Moreover, on a production device, getLastKnownLocation() will *never* work
as you expect, because it takes GPS several seconds, at best, to get a
fix, and it will only *try* get a fix because you hav
onsguy/cw-advandroid/tree/e50e087577f8b28e727355c55097a5da2577d6d3/Animation/SlidingPanel
(or http://bit.ly/93Xjd if that URL is too long)
Combining those techniques, you should be able to create buttons that
slide in on a screen tap.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android
tablayout2"
android:id="@+id/tablayout3"
That usually indicates you want to have four tabs, not three. Do you
perhaps need to move android:id="@+id/ScrollViewtablayout2" into one of
the other three layouts?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android A
> Does Android have APIs for HTTP progressive download for media files?
MediaPlayer and VideoView definitely have support HTTP URLs for video files.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.h
ks that shows querying the Contacts
content provider, including one that will return emails for the contacts:
http://github.com/commonsguy/cw-advandroid/tree/e50e087577f8b28e727355c55097a5da2577d6d3/Database/Contacts
(or http://bit.ly/3RQqcC if that URL is too long)
--
Mark Murphy (a Commons G
> how can we give text view focus?
Call requestFocus() on the TextView.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you
> How can I create a Button with icon and text?
Use android:drawableLeft or android:drawableRight or
android:drawableBottom or android:drawableTop.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.h
od to accept an InputStream as input, rather than a File.
If these are files you intend to modify, you will need to use the
InputStream to copy the file from the APK to some location on the device
(e.g., openFileOutput()).
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Develo
ound="#FF" in the first place. That should
also remove all of your focus and touch highlighting, as they are part of
the background.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~
resource IDs (the numbers that R.layout.foo and R.id.bar map to) will be
different in the new project.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message
Config)
> {
> super.onConfigurationChanged(newConfig);
> }
>
> I've tried it and it seems to work. Is there any other alternative or
> is it the correct solution?
Well, I think it's the correct solution. But, then again, I'm biased in
favor of the author of that fine,
> I use EditText in AppWidget,and there is no error in Eclipse,but It
> can not run.
> Why?what i should do if I want use EditText in AppWidget?
EditText is not allowed in an AppWidget:
http://developer.android.com/guide/topics/appwidgets/index.html#CreatingLayout
--
Mark Murphy (
t your code and R.java should wind up in some other
package.
Depending on your code base, it may be worthwhile to package some of it as
an independent JAR file that the two applications use. Since such JAR
files cannot reliably reference R.java constants anyway, that JAR file's
code would not n
ode in the JAR does not reference R.layout, R.id,
R.drawable, and so on, then your JAR is fine. Do a clean build of your
project (e.g., get rid of the contents of gen/ and bin/), and you should
be OK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://com
> In application, I want to do some operations when it is installed, how can
> I implement this feature?
You can't, short of modifying the Android firmware. The user must run your
application the first time.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Deve
another application
starts one of their activities or remote services, etc.
As little as possible is loaded into RAM at system startup.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---
pparently expensive ("Note: use
of this function is discouraged. It is much more efficient to retrieve
resources by identifier than by name.").
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commons
>
> Any idea how to deal with this ?
Tactically, load fewer images.
Strategically, find ways to help out with improvements to the Android
garbage collector.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://com
901 - 1000 of 11437 matches
Mail list logo