mages that you can
> not
> directly access.
Great, thanks!
--
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 su
Nox wrote:
> I´ve got a problem with the Android homepage, it isn´t working!!!
There is no www on the Android home page. The site is:
http://developer.android.com
Without the www, it is working fine for me.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Train
edu/cspd/contest/finalists/
If that video works, then there is something about the video you have
been trying that does not work with the codecs built into Android. Post
details about the video (codec, framerate, size, etc.) and perhaps
somebody can point out a known reason why it does not work.
--
bestpriv...@googlemail.com wrote:
> On 21 Mrz., 15:42, Mark Murphy wrote:
>> The "Documentaries and You" video from this link definitely works for
>> both sound and video:
>>
>> http://www.law.duke.edu/cspd/contest/finalists/
>
> Thank you very much
your.package.here/files
> I have uses-permission> included in my Manifest, this just has to be
> physically typed in right? I don't need to add it in some way.
No, but it might be in the wrong spot. If you could, post both your
AndroidManifest.xml that you are using with the above
net/ReadFromURL.html
Do you have any evidence that the code is executing (e.g., stepping
through it in Eclipse, sprinkling in Log.d statements)?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~
ot downloading the file via a Web server, how are you opening it?
--
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
AFAIK, does not have any file-extension-to-MIME-type mappings
outside of the media files for which it has codecs.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~-
adb pull
to pull the file given the full path, IIRC.
The emulator, though, should let you browse to your package (whatever the
name is, shown above as my.package.here) and its contents.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Developm
Ah!
You're looking in your project, not in the device.
Go to the DDMS perspective, and you should find a menu choice(?) for
browsing the file system of the running emulator. In the standalone DDMS,
it's a "File Explorer" menu choice.
--
Mark Murphy (a Commons Guy)
http://com
and you will
(hopefully) see your files.
--
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 subscribed to the Google
Gr
much more likely somebody will keep our apps around,
rather than discarding them to free up space. Hence, the interest in
avoiding redundant icons.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-
dViewById(), assuming the
layout you define in setContentView() has the widgets you're trying to
access in findViewById().
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~-
murphy wrote:
> I've added in also the line FileInputStream fIn = openFileInput
> ("news.txt"); but I don't know what to do with it once I open it to be
> able to display it in my TextView in a new screen.
http://www.exampledepot.com/egs/java.io/ReadLinesFromFile.htm
lling the JDK again from Sun.
--
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 subscribed to the Google
Groups "
Bob wrote:
> Is there a way for me to get an error report from my phone (not
> emulator) about why it is force closing?
With it plugged in via the USB cable, you do it the same way you would
with the emulator -- adb logcat, DDMS, or the DDMS perspective in Eclipse.
--
Mark Murphy (a C
nt onResume() in A.
--
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 subscribed to the Google
Groups "Android Develo
activity's
ListAdapter and see if the DataObserver gets control when screens change.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message
if that URL is too long for your mail client)
Call getListAdapter() in your PreferenceActivity to get the adapter,
then call registerDataSetObserver(), and see when the observer gets
control (via logging statements or breakpoints).
-
Mark Murphy (a Commons Guy)
http://commonsware.com
Androi
ay to make a backup to a
> computer?
You should have access to the database file, so you can transfer it via
whatever mechanism you like (e.g., HTTP) to whatever destination you can
reach via the Internet. I would make sure you do not have any active
SQLiteDatabase objects referencing it, though.
the list for PendingIntent and
you will probably find it.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Keith Wiley wrote:
> Question: I can place a drawable png on a button no problem, but the
> only placement options are along the sides.
Have you tried ImageButton?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/book
7;ve logged this as:
http://code.google.com/p/android/issues/detail?id=2284
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message because you are subsc
n, but there is no method on Typeface to
create one from a file outside of there.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because y
real ones as they come in. Then, when the
background thread finishes, you do not have to do anything -- the images
are already loaded. This eliminates the need to "refresh the listview"
and any accompanying confusing such a refresh might cause the user.
--
Mark Murphy (a Commons Guy
rers are welcome to pull
from the tree whenever they see fit.
--
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 th
ate a
> different options menu listener for every listview?
No.
--
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 Go
associated thumbnails.
--
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 Developers&quo
if a device (e.g., G2) contains bits of cupcake in advance of an
official cupcake-based release shipping, that was the manufacturer's
decision.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~-
rhaps you'll see something that helps.
http://www.winterwell.com/software/jtwitter.php
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you a
o file it there.
> I hope that you will be able to fix this as soon as possible and to
> update the cupcake branch too. Please notify me when this is ready.
If you would take the time to file this on http://b.android.com, you
will automatically be notified of progress on the issue.
--
Ma
tication is not one of its strong suits.
> I
> see there used to be a MultipartEntity class which was removed with
> the 1.0 SDK. That looks like it might have been what I needed. Anyway
> thanks again.
I think others have just grabbed an edition of that from
http://hc.apache.org.
--
M
Just a "nice to have" thing.
Not that I'm aware of. Otherwise, I would have expected Google to avail
itself of the technique with MapView. Right now, we have to spell out
the whole fully-qualified class name when putting MapView in our layouts
(unless something changed on that front
ed apps)?
I do not believe that is possible.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Gro
x27;s
up to Android). This is what happens when you download an APK, at any
rate -- I assume there is some what to trigger the same code from your
own application.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Versi
con
change yourself, though I have no idea if this is possible, and you
would need to not use TabActivity (which, IIRC, creates its own TabHost
object).
You can always roll your own tab-style UI using a ViewFlipper or similar
widget.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The B
er, or some other means to have the lists on
separate "screens"
-- Using separate activities, one per list
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~--
glish portrait)
The language code must precede the orientation code.
--
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 subscribed
d would have to determine what you
want to do in that case. Also, you would only have one context menu. On
the other hand, your scrolling would work better.
>> -- Putting the lists side-by-side rather than stacked
>
> What do you mean with this?
Left to right rather than top to bot
ou may be using the wrong code for UK strings. According to the ISO
3166-1-alpha-2 standard:
http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm
the UK would be -rGB, not -rUK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription
Wouter wrote:
> Ok i understand. But how can i make one listview for all these
> adapters.
I gave you a link earlier. Here it is again:
http://www.jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy C
Wouter wrote:
> Thank you! Can i put my data from the simplecursoradapter in it?
It takes any sort of adapter, as far as I know.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 A
y, any widgets you got after the first setContentView()
and before the second setContentView() are unusable. Hence, your
findViewById() call immediately before the setContentView() will return
you a widget...but that widget is then taken off the screen by the
setContentView().
--
Mark M
ed GIF, such as a Drawable
resource (e.g., res/drawable/test_image.png).
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message because you are subsc
en i click on a
> item in the flight list i have to open another activity then when I
> click on a item in the hotel list!
The same way you do with any list: call getItem() on the adapter.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsw
gt;
> but now i have to detect which list it was so i have to delete it from
> my flight database or hotel database!
> How can i do that?
>
> On Mar 24, 9:34 pm, Mark Murphy wrote:
>> Wouter wrote:
>>> Ok i have integrated it now in my applications. It works now
to
the activity itself.
--
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 Developers" g
e entries in the manifest for FullFooActivity and
HalfFooActivity, each with the standard launcher intent-filter
4. Use useFullScreen() to do whatever it was you were looking to handle
via the customized Intent
Clunky, but it works, until you can amend a home application that is
more ame
7;t tried this, but in theory, you should be able to control the
resolution this way.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are
me tun wrote:
> I had already tried Mark's way (great book btw)
Thanks!
> which does work but
> isn't quite an elegant solution nor is it exactly what I'm trying to
> achieve.
Oh, well. In these support forums, it's win a few, lose a few.
--
> only video should be there).
>
> Can you please tell me how to achieve this?
http://androidguys.com/?p=
In particular, read the comments, where I think half the core Android
team jumped in to tell me how better to solve the problem... ;-)
--
Mark Murphy (a Commons Guy)
http://common
t; or still to be done??
>>
>>I f already included then any reference which will explain about
>> how to download that cupcake source from the repo, compile that source
>> and add in the current sdk. I am using windows plateform and running
>> the applicatio
. AFAIK, you can call startActivity() from a service,
though your users may threaten you with bodily harm if you do so, since
you might be interrupting them in the middle of something else they are
doing.
--
Mark Murphy (a Commons Guy)
http://commonswa
ers. Headers are set via setRequestProperty() with URLConnection,
just as you are using it for Connection and Content-Type.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this
n offers any examples of
accessing its content programmatically (e.g., example curl or wget
commands), review those and see if there is anything obvious you are
missing. Of course, the best solution is if somebody offered a Java API
for accessing this Web service (e.g., JTwitter for Twitter).
--
Mar
tAdapter(new ArrayAdapter(this, R.layout.row,
> R.id.label, mStrings));
> setListAdapter(new ArrayAdapter(this, R.layout.frow,
> R.id.ListView01, mStrings2));
> }
>
>
>
> This does not work.
> Can anyone advise ?
You cannot use the ListActivity methods for mana
creen at one time.
-- use a Spinner for one
-- use tabs to put them on separate tabs
-- use ViewFlipper to flip between the two lists based on a button click
or option menu choice
-- use multiple activities, one list per activity
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Th
have
curl properly downloading the content, converting that into Android code
(whether URLConnection or HttpClient) should be relatively straightforward.
You might also inquire with whoever is hosting the server if they have
any recipes for Web service access.
--
Mark Murphy (a Commons Guy)
http://co
in
the activity. The first you would use with setContentView(); the latter
you would either supply to your adapter or use when you manually inflate
the rows.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android De
de of the
Google Maps situation. How are you using it in your application?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message because you are subs
zeeshan wrote:
> i am looking for video recording example, it suppose to be in api-
> sample but not available
> i am wondering if 1.1 release still missing this feature?
Video recording is not available in the current version of Android.
--
Mark Murphy (a Commons Guy)
http://common
system on the
> emulator but
> on the device there are much more?
You have all of same folders on the device; you just cannot browse them.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~-
ally-open-source Microsoft is into the game:
https://connect.microsoft.com/content/content.aspx?ContentID=3480&SiteID=168#BM8
As one person put it, "If your bug is not reproducible it will never get
fixed." (from
http://www.softwaretestinghelp.com/how-to-write-good-bug-report/)
--
d if
I do that?"
(from http://tinyurl.com/ct3fcf)
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
830
and many others?
Trust me, "I calls 'em as I sees 'em".
I just don't tend to bash Google/OHA on these lists too much, because
that will be more likely to be seen as personal attacks on the core
Android team, and they aren't the source of my ire.
--
Mark Murphy
青铜 wrote:
> I also have this question.
> Every time I run HelloMapView (the example code in dev.android), I
> only can see the title of the app, and the content is just black.
Did you get your own Maps API key, as outlined in step #4?
--
Mark Murphy (a Commons Guy)
http://commonsware
Josh wrote:
> I want to store objects into an array or collection(whichever is best
> suited to this in dalvik).
You mean like the ones in the java.util package?
> the objects are basically just VO's all of
> the same class that i want to keep track of.
What's a V
I thought that the adb pull is a tool for eclipse and the emulator.
> how can i use that on the g1?
You can't. My apologies, I thought your goal was to view the files.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy C
if you
can submit a patch yourself or directly engage with somebody who can
submit a patch for you.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this
(myCar);
> _cars.add(myCar2);
Collection is an interface, not a class.
There are about 20 or so concrete Collection classes (e.g., ArrayList)
that you can choose from.
http://java.sun.com/docs/books/tutorial/collections/index.html
http://mindprod.com/jgloss/collection.html
--
Mark Murphy
http://b.android.com with sample source code that
demonstrates the problem. If you want, reply on this thread with a link
to your issue.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~--
reproducing your scenario and seeing if I get similar results. To invert
the Stones, "Ti-i-i-ime is not on my side (no it ain't)", but I'll
hopefully be able to squeeze this in this weekend.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android A
even *after* you described the pattern.
Heaven help me if I'd've been trying to noodle that out independently.
I need another day or two to make sure I've solved clarkbriancarl's
issues, then I'll write something up.
Thanks!
--
Mark Murphy (a Commons Guy)
http:/
ember. Though
I'll need to beef up my sample some for this scenario -- I was thinking
the service would be long since wrapped up before the next alarm fired.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide t
th Android) has got one!!!
On-screen keyboards are being worked on as part of the forthcoming
"cupcake" release.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~
could wrap your
top-most LinearLayout in a FrameLayout, add a RelativeLayout as a child
of that FrameLayout (so it is a peer of the top-most LinearLayout), and
then use the RelativeLayout to anchor the icon in the upper-left.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsgu
is, passing in a wake lock using a
> naive approach of a static variable doesn't work when the service can be
> started again during its runtime.
That depends on what your static variable holds. ;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/co
Mariano Kamp wrote:
> On Sat, Mar 28, 2009 at 4:37 PM, Mark Murphy <mailto:mmur...@commonsware.com>> wrote:
>
> Have you tried using setReferenceCounted(true) on the WakeLock?
>
> No, I didn't know about that. Sounds interesting. Thanks for the pointer.
>
ions for the JDK should be
available from where you downloaded the JDK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You rece
Nox wrote:
> So, how can I run or execute the JDK???
http://java.sun.com/javase/6/webnotes/install/jdk/install-linux.html
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 A
ted ideas and insights, on this thread (e.g.,
Ms. Hackborn, Mr. Kamp) and on past threads (e.g., Jon Culverson).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~---
ttern from:
http://hc.apache.org/httpcomponents-client/examples.html
--
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 ar
classes that should be pulled forward into the SDK,
file an issue at http://b.android.com so the idea gets tracked, or
possibly submit a patch if you're in position to work on the firmware
itself.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android De
f you're not). They'd download/install
the service and eventually wander their way back to your app, at which
point you can detect that the service is available.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus
ing the SDK to build applications much
more so than it is for firmware-level questions such as the ones you posed.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Y
hould be a way to do it.
You have to register a BroadcastReceiver to get control when the phone
reboots and then re-register your alarms.
We just had an extended thread on this very list on a related topic:
http://groups.google.com/group/android-developers/browse_thread/thread/947fd3d0ed878c66#
--
pperotti wrote:
> Thanks Mark, I have just read also the response in the last update of
> your latest book.
That was fast! ;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/book
wn
the differences between your app and the working code.
If you can narrow down the source of your difficulty, or if I
misunderstood the pattern you used to cause the problem, let us know!
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App
uld/somebody/explain/the/need/for/this).
See:
http://groups.google.com/group/android-beginners/browse_thread/thread/a66e63959bb89193/a7e8782c85076bf7
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Ava
URLs to try to get answers by poking fun at the problem.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this mess
le a Runnable to be executed after such-and-so delay.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are
Wouter wrote:
> But how can i make a restful webservice (in Java) where I can
> authenticate a user..
Use HTTP authentication. See _RESTful Web Services_ (O'Reilly &
Associates, 2007), Chapter 8, pages 238-243.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | htt
ions some place that is focused on server-side Java.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message b
articular, a list of the prohibited namespaces would be
handy, so we don't have to just guess what we can and cannot use.
FYI, I have filed this in the issue tracker as:
http://code.google.com/p/android/issues/detail?id=2329
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://t
Komal wrote:
> but i cant save image at runtime in the assets folder using
> file:///android_asset/filename.jpg
Assets are packaged inside the APK and are read-only.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training
Komal wrote:
> Can i read from data/data/pkg/files/filenm in java script/html page?
I don't know. I have never tried it.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training: http://commonsware.com/train
ommand.
2. You may not be able to push files to /data/data on the emulator. You
definitely cannot on a device. Your files do not belong there. Put them
in /data/data/your.package.here/files, where your.package.here is the
Java package associated with your Android application.
--
Mark Murphy (a Common
a manifest-declared
receiver, which will not work.
Either switch to a registerReceiver() implementation, or use AlarmManager.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training: http://commonsware.com/training.html
--~--~-~
gt; Hi,
> You could use the JSON en/decoding functions. You can store lists and
> maps of Strings. They probably consume more CPU, though.
If the service is in the same process as the activity, you can use the
singleton pattern and have the activity call some method on the service
object.
--
to be installed on
existing devices (e.g., off of the Android Market), no.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received t
301 - 400 of 11437 matches
Mail list logo