nts for anything, let alone getting
latitude and longitude of a city from a list.
I am not aware of anything built into Android that offers such an Intent.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-
09/06/22/youve-got-questions-thats-understandable/
If you do not think your questions are getting sufficient attention here,
try StackOverflow, for example.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsw
The user might
have exited your activity, for example. I am not aware of a 100% reliable
way to raise a dialog triggered asynchronously, such as in
onPostExecute().
One approximate answer is to have the activity register a listener object
with the service (e.g., in onCreate()) and unregister itself
> 'Where do i get the sense UI theme? Is it opensourced?"
It is not open source, and AFAIK the theme is not distributed to third
parties.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.c
droid_ covers this API, albeit
for a Sudoku game rather than something like Nethack. One of these days,
I'll have to learn this stuff myself...
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~-
> And how about NDK?
That would be a good question to ask on the [android-ndk] Google Group.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this mess
> Did Android SDK 1.6 provide api to work with call stream? (incomming/
> outcomming)
Not that I have seen.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You re
to expose some sort of stream, you will need to wrap the
stream in some API that you expose to other applications via AIDL.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
Yo
> if yes please let me know how to do that .
Please post NDK questions to the [android-ndk] Google Group:
http://groups.google.com/group/android-ndk
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsw
eateWifiLock() if you truly need a WifiLock.
--
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 &quo
postDelayed(), also available on all subclasses of View) to get around
this. But, then again, I code in Ruby when I am not doing Android
development, so I am used to the quasi-closure structure you get with
Runnable objects.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App De
s a whole, not just within your application.
Ordinarily, I would have suggested AsyncTask, but I believe the threading
model the OP needs for the ServerSocket will not work well with the
AsyncTask framework.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Bo
n the UI thread.
--
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 Beginners" group.
To
suggestions...will be most welcomed.
Look at your Java stack trace via adb logcat, DDMS, or the DDMS
perspective in Eclipse. It will tell you where you are going wrong.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http:/
to use those components still needs to declare those
components in its manifest.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Beginning Android_ from Apress Now Available!
--~--~-~--~~~---~--~~
You received this messag
at the act of rooting a device, or at least via whatever
techniques you used, means you are allowed to install applications that
request android.permission.WRITE_SECURE_SETTINGS.
If you have a non-rooted device, try it, and let me know if it still
works for you.
--
Mark Murphy (a Commons Guy)
http:/
ing your $ with a . and see if that works. $ notation is used
in things like stack traces, but in Java code, the dot is the separator
(think LinearLayout.LayoutParams and Settings.Secure).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitte
e".
Actually, I was under the impression that it as much, if not more, an
issue of privacy as it was battery.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 Available!
--~--~-~--~~~
app, but am surprised to see this.
If the user disables GPS, that is the user's right.
If the user has GPS enabled, the GPS radio is still normally off, for
battery reasons, but it will automatically turn on once you request
location updates or something. Similarly, the radio will automatic
one of the built-in
> content choices for TabActivity tabs (either views or intents).
No, but you can add a listener to find out when tabs are selected.
> It
> would take some kind of trick to call startActivity() when the tab is
> clicked.
Try setOnTabChangedListener() on TabHost.
rather
strange user experience.
> What can you do with an Intent other than call startActivity()?
You can broadcast it. You can find activities that support it via
PackageManager. You can start services with it. And so on.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twit
s the whole RemoteViews framework to
allow applications to define lightweight UIs that serve as app widgets
-- that UI has to be run in the home screen's process.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need he
ed third party activities into
your tabs.
--
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 subsc
android learner wrote:
> I read on another forum that android does not allow
> one to create custom classes for home screen widgets. Is that true?
Yes, that is true. You are limited to the handful of classes that
RemoteViews supports.
--
Mark Murphy (a Commons Guy)
http://commonswa
droid.camera.GalleryPicker");
> intent2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
> startActivity(intent2)
>
> Couldn't understand how to do it with other apps.
You will need to use methods on PackageManager to determine an
appropriate activity to use for that package.
getLaunch
appreciated.
Call startActivity() to open up whatever activity you want from the
other app(s).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android 1.5 Programming Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
he system", because you still hold
references to them. The Activity will not be on the screen, and so
whatever you do will not be visible. And, it is conceivable that you
will do something that will cause a disconnected Activity to fail with
an Exception, but you should not be relying upon that
djust your own custom layout to
have the right color scheme for drop-down lists.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.1 Available!
--~--~-~--~~~---~
NTERNET permission...ummm...I got nuthin'.
--
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 &quo
Chris Stratton wrote:
> On Sep 17, 7:12 am, Mark Murphy wrote:
>
>> 2. You cannot "hangup/terminate call programmatically" from an SDK
>> application.
>
> Can you turn off the radio / enter airplane mode? Or will that only
> pop up a dialog for the us
AngelOD wrote:
> On Sep 16, 1:31 pm, Mark Murphy wrote:
>> I have seen no evidence that HTC makes firmware upgrades available
>> directly. They always handle that through whoever distributed the device
>> (e.g., T-Mobile for the T-Mobile myTouch3G version of the Magic). S
ot know how
well it will work if you are using unsupported sizes. That's a better
topic for the [android-porting] list, anyway.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in Germany, 18-22 January 2010: http://bignerdranch.com
--~--~-
ay).
2. You cannot "hangup/terminate call programmatically" from an SDK
application.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 In Print!
--~--~-~--~~~---~--~~
You
ocumentation that covers this:
http://developer.android.com/guide/topics/manifest/manifest-intro.html
> Can we modify this file for any reason?
You can modify it when you need to. If you are using Eclipse, it may
make some modifications for you, but other changes you may need to make
your
s via a wrapping adapter -- this would be
more reusable but a bit slower. I have an AdapterWrapper base class here:
http://github.com/commonsguy/cwac-adapter
and some projects that use it here:
http://github.com/commonsguy/cwac-endless
http://github.com/commonsguy/cwac-thumbnail
--
Mark Murphy (a C
..
It does, for the form factors that are officially supported by Android.
--
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 re
art, no logs on the console also.
Unfortunately, hierarchyviewer does not work on actual production
Android devices.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your Android OSS project? http://wiki.andmob.org/hado
--~--~-~--~~-
reference/java/lang/Math.html
This is standard Java, nothing unique to Android.
--
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
Neilz wrote:
> How do I test screen orientation on the emulator please? Can I tell it
> to switch orientation just like you would on the real device?
Windows/Linux: -
Mac with numeric keypad: <5> on the numeric keypad
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http:/
t such an upgrade.
This is one of the many, many reasons why I hope Android spawns a robust
market for devices not tied to a carrier, where you get the device from
a device manufacturer and use it with a mobile carrier.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitt
Rafa Perfeito wrote:
> I have an HTC Magic from a carrier. Can i update to
> 1.6? How? Through the carrier?
T-Mobile has not yet announced plans for Android 1.6 for any of their
devices. At some point, in all likelihood, they will make such an
announcement.
--
Mark Murphy (a Commons Guy
(Button)findViewById(R.id.about_button25);
--
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
Group
en/
I use it all the time when I deliver Android application development
training, for the reasons you seek.
I need to do more with it (better UI, handle screen rotations, allow
recording, etc.), which I hopefully will get to before year's end.
--
Mark Murphy (a Commons Guy)
http://commo
this row".
2. Use RelativeLayout instead of LinearLayout and make the TextView use
android:layout_toLeftOf="...", where ... is the ID of your ImageView.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~---
am doing wrong :-(
Look at the Java stack trace via adb logcat, DDMS, or the DDMS
perspective in Eclipse. It should give you some clues. For example, it
may be that you did not register your activity class in your
application's AndroidManifest.xml file.
--
Mark Murphy (a Commons Guy)
http:
sion (JNI) libraries for Java
applications. The Android SDK, for creating such applications, requires
Java (and, to an extent, XML).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in Germany, 18-22 January 2010: http://bignerd
t in the manifest via a element, and see
if that improves your results. The example I have been pointing you to
demonstrates receivers registered this way. There are a few other
examples of this technique in the SystemEvents set of projects.
If you *do* have your BroadcastReceiver registered via th
, but you want scheduled alarms to
trigger code even if the activity is not running, you need a
BroadcastReceiver and perhaps some form of service, as per the example I
pointed to."
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Tra
Mark Murphy wrote:
> There is no reason to use AlarmManager for an activity, and I would not
> expect AlarmManager to behave very well for an activity.
To clarify: if you have a running activity, and you want the activity to
do things on a periodic basis, either use Timer/TimerTask (l
eal world, when i debug on my device, i see
> "low memory, no more background processes" scrolling by in the log quite
> often.
See above.
> still looking for an answer.
I gave you one.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.co
ng long-running work to an IntentService,
capabilities your app may or may not need.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Looking for Android opportunities? http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received th
sult() to set the result, and use onActivityResult() to
retrieve the result.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
--~--~-~--~~~---~--~~
You received this message be
button behaves the same. The BACK
button's job is to destroy the current activity and return control to
the previous activity on the stack.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development
Mark Murphy wrote:
> If you wish to save something when the activity is being destroyed,
> implement onDestroy() and save it. Where you save it (flat file,
> SharedPreferences, database, the Internet) is up to you.
>
> Bear in mind that onDestroy() may also be called in the c
e current
activity is destroyed and started in that case.
> The Bundle value in onCreate is null (perhaps because
> onSaveInstanceState was not called when Back was clicked.
More accurately, the Bundle is null because the application is starting
from scratch.
--
Mark Murphy (a Co
cent blog post:
http://www.androidguys.com/2009/09/09/diamonds-are-forever-services-are-not/
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You
this reference in
the documentation. Most of the documentation is correct, AFAICT.
You may wish to post this to http://b.android.com if it is not already
there.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in Ger
> }
> }
>
>
> but application crashesh as soon as it receives the sms.so please guys
> help me sort out this.thank you
Look at your Java stack trace for the exception (via adb logcat, DDMS,
or the DDMS perspective in Eclipse), and it will probably indicate where
things are going wron
might exploit this capability to block all
incoming calls, or random incoming calls, or something.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---
kapnk...@gmail.com wrote:
> Does it also mean that there is knowway to do this?
I am not aware of a documented and supported way to access the SMS inbox.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.
iew.INVISIBLE)) and make an associated TextView be
visible. Use FrameLayout (or RelativeLayout) so they can take up the
same space in the GUI, just one or the other being visible.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android t
while(c.moveToNext())
AFAIK, this technique is undocumented and unsupported.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You
scribed scenario to occur:
1. You are destroying it yourself via finish().
2. You are leaking memory at a tremendous rate and Android needs to
close it to reclaim memory.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Looking for Android opportunities? htt
internal APIs not available in the SDK.
You can download the whole firmware and there are ways to get all of its
code available in Eclipse, though I am not familiar with the specifics.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer
ay, or
-- create a binding in the service and use bindService() to get a handle
to the binding, and use that to get your hands on the service object
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training: http://commonsware.com/trainin
w-to-create-a-json-object-in-action-class-of-java
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coders' Guide to *Advanced* Android Development_ In Print!
--~--~-~--~~~---~--~~
You received this message because
Jeffrey Blattman wrote:
> i'm fairly certain the answer to this is no, but i was wondering if
> there's an intent to open up the google maps "get directions" activity.
> that sure would be useful. something like,
>
> geo:lat,long?dest=lat,long
There is not
> How to orient listview items horizontal.
ListView does not work horizontally. You may be able to use
HorizontalScrollView with something else (e.g., a horizontal LinearLayout)
and some extra code to achieve a similar look.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android
> Can any one tell me how i can block unwanted calls through my application?
There is no officially supported way to do this.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.h
>
> // bring the user to authUrl, e.g. open a web browser and
> note the PIN code
> // ...
> Intent webLogin = new Intent(this,NetApi.class);
> startActivityForResult(webLogin,ACTION_VIEW);
startActivity(new Intent(ACTION_VIEW,
> Completely new to Android. I do not know where to start to make a type
> "Console" application that will redirect a call to another number.
That is not possible except via changes to the firmware.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Devel
> that is fine but why this default commands are not
> finding my packages?
I do not understand the question.
> does my applications are on another location how to
> get
> that is there any command?
I do not understand this question either.
--
Mark Murphy (a Co
not remove applications from any Android device or emulator that way.
You can use the Settings application to manage applications on the
emulator the same way as you do on the device. Or, you can use the adb
uninstall command:
adb uninstall your.package.name.here
--
Mark Murphy (a Commons Guy)
h
Guilherme Melo wrote:
> On Sep 1, 1:46 pm, Mark Murphy wrote:
>> Guilherme Melo wrote:
>>> Hello all, i am creating a service and i am having two big problems
>>> with my aidl, first, i cannot import any Java types(Enumeration ,
>>> Date, etc) that i ge
data types:
http://developer.android.com/guide/developing/tools/aidl.html#aidlsyntax
> the second is that apparently i cannot have two methods with different
> parameters, such as as get(in String par) and get (in String par, in
> String part2)
What happens when you try those sorts of declaratio
olled by the item. If you
have a 200px high image, the row will be 200px high at minimum. If you
want shorter rows, design shorter row layouts, and use them per the PDF
I linked to.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Tr
re
busy-looping 1000 times, calling setProgress() every time. The UI thread
cannot process messages on the queue until after that 1000-count loop is
done.
If you want Android to draw things, you have to let the UI thread go
(e.g., return from onCreate()).
--
Mark Murphy (a Commons Guy)
http://comm
the Android sdk
> example where i can have a Contact name and number ,on two lines of
> single list item. I want to add image as well.. Please help me out!
You can find instructions here:
http://commonsware.com/Android/excerpt.pdf
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
know the package
name for which you want the version information, but it's all right there.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your Android OSS project? http://wiki.andmob.org/hado
--~--~-~--~~~---~
Steeler wrote:
> And that shows up as DPAD_CENTER?
It should.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this mess
Steeler wrote:
> Can you click the trackball, or is there some other button that
> generates DPAD_CENTER key events?
You can click the trackball on the G1 and Google Ion (HTC Magic).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder
hose later in
the XML are "higher in the Z axis", meaning they appear to be on top of
widgets defined earlier in the XML.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in Germany, 18-22 January 2010:
ndroid update project (bearing in mind Eclipse won't try to
keep your build.xml file up to date).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~
Ivan wrote:
> I renamed the file to .zip, seems that Windows could not open it.
> Any idea ?
Check out:
http://groups.google.com/group/android-beginners/browse_thread/thread/705cc102073c4987
and see if it explains what you are seeing.
--
Mark Murphy (a Commons Guy)
http://commonswa
is not a valid zip file
>
> So does it mean that the file is corrupted ?
Probably. Try renaming it to HelloAndroid.zip and see if Windows can
open it, or if it too complains.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Need help for your Androi
Steeler wrote:
> I tried using multiple MediaPlayer objects, but they block each other
> out. Is there any way to play more than one sound at the same time?
Use SoundPool.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki
y writes to a local file:
http://developer.android.com/reference/java/io/ObjectOutputStream.html
You can probably arrange a way to have the stream dump to a byte[] and
store that in a BLOB column. Or, don't use SQLite -- I seem to recall
there is at least one object database for Android availa
error
dialog? If so, what does adb logcat (or DDMS or the DDMS perspective in
Eclipse) show you for a stack trace?
You might want to check out logcat anyway, even if it does not display a
dialog -- OpenCORE (the multimedia engine) seems to have a tendency to
log errors at warning level and not
ts my_application.apk
If it has CN=Android Debug, it was signed with the debug key. If the CN
is your firm, it was probably signed with your production key.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
asses.
>
> is there a static accessor for resource strings?
Not that I am aware of. You need the Context to know where the resources
live, AFAIK.
You can pass in the Resources object from getResources() if you don't
want to pass in the Context for some reason.
--
Mark Murphy (a Co
IP in the APK, but just store the
original data in the APK.
--
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
or emulated
equivalent) on. Then, some time later, use DDMS to send a
longitude/latitude to the emulator. Your LocationListener's
onLocationChange() method will be called with the Location corresponding
to your fix. Be sure to eventually call removeUpdates() to turn off the
location update cal
3 for Exit"
> etc etc
>
> Based on these options I need to trigger different operations.
> Any pointers, links, examples on how it can be done
AFAIK, that cannot be done without modifying the firmware.
--
Mark Murphy (a Commons Guy)
http://commonsware.
vailable that other applications can use to fetch the text
(though they would need to "paste" it themselves).
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You
thread.
Can we back up a step or two and discuss what your actual objective is?
PostMessage() is a means to an end -- if you can describe the end, we may
be better able to give you an Android-flavored means.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books
uld not use them, let alone rely upon
them, as they are undocumented and subject to change in future Android
releases.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You
so that i must use Inter-Process-Communication?
No. Have your activity call startService() to start up the service to do
the HTTP operation. Then, when the service is done with the HTTP, have it
call stopSelf() to shut itself down.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android A
quot;selected" is one of the background colors. A widget
background is usually some form of ColorStateList. You can supply a simple
color to setBackgroundColor(), but that only works if you do not intend to
allow the item to be selected, for example.
--
Mark Murphy (a Commons Guy)
http://commo
for Java applications.
Applications and features built into the firmware have access to bluez.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message b
>
> I must access a SQLite Database from within a Service, but
> SQLiteOpenHelper requires an Activity Context object which won't be
> there when the Activity which spawned the Service is closed!
Use your Service. Service is a subclass of Context.
--
Mark Murphy (a
401 - 500 of 1500 matches
Mail list logo