Added as issue 946 if anyone is interested..
http://code.google.com/p/android/issues/detail?id=946
Tauno
On Sep 29, 10:27 am, Tauno T <[EMAIL PROTECTED]> wrote:
> "There must be something else you're doing that was wrong."
>
> Can you please explain what's wrong in this setup? :)
>
> New project
GridView *is* focusableInTouchMode already. Using this property
requires a lot of subtle handling of focus and should not be applied
to any View. The Android UI framework is meant to not have focus and
selection in touch mode and you should not try to work around this, it
will only clash with what
Android uses different Java Compiler with Sun's, so if you build a
project with class file(like a compiled jar library) compiled with
Sun's Java Compiler that uses classes/interfaces/fields/methods not
supported by Android (Actually dakvik), you'll get
java.lang.VerifyError.
To fix this, you must
I haven't tried it myself but you could try android:focusableInTouchMode.
>From dox: "Boolean that controls whether a view can take focus while
in touch mode. If this is true for a view, that view can gain focus
when clicked on, and can keep focus if another view is clicked on that
doesn't have th
Hello Folks,
i have created a sample application in android sdk.
when i try to run an application, android emulator say after sucessful
loading sorry (process google.com.android )stops unexpectedly
what was the problem??
any one have faced this issue in previous?
thanks
--~--~-~--~-
I just had the same problem. Everything worked OK with 0.9SDK and for
a few days with 1.0 but all of a sudden this layout problem. The
solution for me was brute force. I deleted workspace, eclipse
directory and Android SDK, then re-extracted Eclipse and SDK zips to
start from scratch (reloading An
Mark,
I think the loss of XMPP-like capability is pretty big. Mike Cleron in
the youtube Androidology said that he thinks the compelling apps
(mashups) include that capability. I think it really replaces the
server infrastructure. If you build a server infrastructure now, then
soon your app won'
Hi,
I was just wondering if there have been any applications created for
either the 0.9 version or the 1.0 - the latter preferred.
Thanks,
Anu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" grou
Either I'm not stating my question correctly or it just isn't being
understood. So I'll keep it specific and to the point. What is the
MIME type to "view an .apk" as you have so simply stated? I have an
apk that is already downloaded to the sdcard and I'm simply trying to
launch an intent to vi
It is very easy to place links in a textview and then auto-detect
them. However, you seem to have to display the actual URL. Is there
a simple way to use different text such as 'Click Here' and map that
to a URL? Or do you have to add an onClickListener and handle the
click yourself?
--~--~---
The context issue was my problem and now it can open the fileand
it turns out the file is too big anyways:
Data exceeds UNCOMPRESS_DATA_MAX (1582245 vs 1048576)
I can't win.
Kelsey
On Oct 6, 9:53 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote:
> To access your resource you need to get a r
I assume you are trying to generate tones for uplink audio path.
The ToneGenerator API states that:
"This API is not for generating tones over the uplink audio path. "
On Oct 5, 5:36 am, legerb <[EMAIL PROTECTED]> wrote:
> I'm trying to send DTMF tones during outgoing call this way in my
> Ph
No, that is the name of the project I am working on and I am trying to
access the resource from within that package. And it seems to me it
should be trivialthat is why I am so frustrated trying to figure
out what is going on. Nothing worse than something that should work
easily not working at
Hi all,
Been lurking for a while on and off. Finally got some free time, so
I've been learning Java the last few days so I can whip up an app or
two I'd really like to see come to the phone/OS.
I've glanced at the documentation and such, but I didn't really see it
listed so I figured I'd ask to
To access your resource you need to get a reference to the
android.content.res.Resources object for your application.
To do this, you can call getResources() on any object extending
android.content.ContextWrapper (Activity, Service, Context, or
Application for instance).
A context is necessary b
Nice. But I think your audio doesn´t work normaly becouse some other
program on your machine is blocking the audio devices. Fortunatelly,
my audio works fine.
Thx anyway.
PAS wrote:
> Since I found nothing about this while looking, I thought I would
> document my findings here.
>
> I had some tr
On Oct 7, 1:07 am, kelseywright <[EMAIL PROTECTED]> wrote:
> com.l1ghtm4n.text2speech.R <- this is the one I was importing as
> it contains the raw.myfilename for the file I am trying to open. This
> R file does include the line "package com.l1ghtm4n.text2speech;".
Is com.l1ghtm4n.text2speec
this is because file.mkdirs() doesn't understand that the second
argument you provided to the File constructor is a file name rather
than a directory name. i think you might find, and indeed i found,
that /sdcard/zackcorp/myfiles/myFile.txt is actually a directory. the
directory is writable in
I got hold of a G1 and I could find a suitable driver. Do guys know of
any driver for Windows?
Any suggestions appreciated.
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
I got hold of a G1 and I could find a suitable driver. Do guys know of
any driver for Windows?
Any suggestions appreciated.
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
It is very easy to add links to a TextView and then use
android:autoLink to detect the links, however, using this method, it
seems that you have to display the actual URL in the TextView. Is
there a simple way of masking the URL and instead writing something
like 'Click Here' which then gets trea
Allowing applications to be hidden or uninstallable would be
use full for company phones or even parents.
Perhaps some sort of "administration" system could be added into
android.
Only users with the "admin passcode" could do operations like install/
uninstall apps.
I feel this would be safe since
I'm hoping to hear that video support for mp4 format is soon to be
patched/fixed/enhanced.
Can anyone confirm that google has solid video support (from local
files, sdcard as well as streaming) in the near future roadmap?
>From what I can tell, mp4 video support (or anything other than 3gp as
fa
Has anyone had any success with playing mp4 video under any
circumstances with the latest SDK?
If you don't have time to post details, please at least respond that
you have had success (with video viewable) and whether it was
streaming or from local device (sdcard). Throw us a bone? ;)
All I
Amazingly it didn't though, it was working for quite some time until I
changed something and then it broke. I guess it's a race condition of
some kind.
Peter
On Oct 2, 6:01 pm, hackbod <[EMAIL PROTECTED]> wrote:
> You shouldn't do work in the constructor, because the activity class
> is not ini
Since I found nothing about this while looking, I thought I would
document my findings here.
I had some trouble getting audio to work in the Android emulator.
Eclipse was displaying the following:
[2008-10-06 16:18:12 - Emulator] emulator: warning: opening audio
output failed
Having a look a
Romain Guy wrote:
> You must use setSelection(). But if you are in touch mode when the
> Activity starts (if you launched your activity using the mouse in the
> emulator for instance), then the selection will not show. Selection
> and focus do not exist in touch mode. That's the way it is, don't t
What you are talking about is not a screen saver, but secondary screen
support for screens that consume little battery while running.
Secondary screens in general is not currently supported in the
platform.
On Oct 6, 3:46 pm, "hve.dk" <[EMAIL PROTECTED]> wrote:
> Why is it silly?
> The screeen sa
hve.dk wrote:
> Why is it silly?
> The screeen saver on my current phone displays the current date and
> time.
> I love that I'm able to use the phone as a watch -> without pressing
> any buttons on it <-.
Not all models of phone support the notion of a secondary display, a
transflective LCD, or
Why is it silly?
The screeen saver on my current phone displays the current date and
time.
I love that I'm able to use the phone as a watch -> without pressing
any buttons on it <-.
Why should'nt we be able to display more information (for instance the
TODO list), when we don't use the phone for a
It's hard to help you without you posting the exception (available in
the log output).
In general, though, you really don't want to be using 5MB image
files. Ignoring memory use, performance is not going to be too
great. If you have a large file, the best way to deal with it is to
load it with
I am attempting to build an on-screen keyboard with the classic 12-key
style. I've done quite a bit of searching through the discussions as
well as general google searchs and have found little information about
anyone being successful with an on-screen keyboard. I have found a
few things in the
No it shouldn't. :)
Temp directories suck. When do you remove those files? If it's on
the SD card, who owns them? Especially with a limited out of storage
space, it's just a big nasty mess that is best to avoid.
So you can make your own temp files, and if you want them in internal
flash then
We don't have a screen saver API. IMHO screen savers on a phone
are... kind-of silly.
You might be able to hack together something, but it's not really a
thing that is supported.
On Oct 6, 1:19 pm, "hve.dk" <[EMAIL PROTECTED]> wrote:
> I'll like to create a screen saver that shows some informa
As I already said, you can not do that. If an app gets a permission
to do that, it effectively gets a permission to do ANYTHING possible.
This is not really a path we want to go down.
If you want to install an app, you need to start an activity to view
the .apk (which you have already downloaded
> Related question: is there a way for an activity to request to switch
> out of touch mode? For demonstration purposes, I suspect my client would
> like a safety net in case they forget and click on the activity with the
> mouse in the emulator by mistake.
There's no such switch that I know of.
That's right... "You can't directly install an apk without the user
being involved." This is exactly what I want/am trying to do - let
the user install the apk through a customized application. Is there
an "out of the box" intent or activity that can be integrated with
one's application that al
I'll like to create a screen saver that shows some information:
Battery level, my next appointment aso.
Is it possible to that on an Android phone?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" g
thanks for the response.
IMHO the Android filesystem should have a /tmp directory, which is
used for temporary files when /sdcard isn't connected to anything. i
realise that Android is very much a bazaar rather than a cathedral,
but advising people to put temp files wherever they want is askin
You must use setSelection(). But if you are in touch mode when the
Activity starts (if you launched your activity using the mouse in the
emulator for instance), then the selection will not show. Selection
and focus do not exist in touch mode. That's the way it is, don't try
to work around it :)
O
Hi All,
This is my code that successfully creates both the directory tree and
the file "myFile.txt", and yet throws a FileNotFoundException when I
try to call new FileOutputStream(file):
File file = new File("/sdcard/zackcorp/myfiles", "myFile.txt");
file.mkdirs(); // creates /sdcard/zackcorp/m
This is driving me up a wall...
I want to have a GridView, containing four icons, and I want the first
icon to be pre-selected when the activity is opened. This wouldn't seem
too tough, but I'm obviously blanking on how to make it work.
Some sample code:
http://pastie.org/286143
The layout i
This is not possible to do, sorry.
On Oct 5, 7:15 pm, denismo <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've got an unusual requirement - I need to PREVENT users from
> uninstalling my application from their Android platform (not emulator
> but the future devices). Is there an official way for doin
On Oct 5, 10:08 pm, denismo <[EMAIL PROTECTED]> wrote:
> - FORWARD_LOCK_PACKAGE flag to installPackage - I don't really
> understand its meaning:
> "to indicate that this package should be installed as forward locked,
> i.e. only the app itself should have access to it's code and non-
> resource a
Also, if you just want to dismiss the window after a timeout, you
don't need to use a thread at all, just create a Handler in the
current (main thread) and post a delayed message or runnable to it.
See the use of sendMessageDelayed() here for an example:
http://code.google.com/android/samples/Api
You can use this:
http://code.google.com/android/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP
On Oct 6, 9:22 am, Alexis <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Let's say I have an activity A (that displays the main menu as a list,
> for example), then I jump to activity B, t
I accidentally delete R.java, all the files can't compile. How can I
let the system regenerate R.java. I am using eclipse.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this gro
Hi Everybody,
I have problem in getting gmail folder in android for using
mail.jar(1.4.1 version) and activition.jar(1.1 version). Following is
the exception. Does somebody have the good solution?
Thanks,
AndroidSue
I/global ( 654): INFO: Default buffer size used in
BufferedOutputStr
Hello all,
Let's say I have an activity A (that displays the main menu as a list,
for example), then I jump to activity B, then activity C.
>From activity C, I would like to roll back to activity A and clear the
activity history stack at the same time. I mean that I want the user
not to get back
I have encountered "Application run error" when trying to load large
image file (eg. 5 Mbytes) for display using XML structure programming
(e.g ImageView). Is this a known constraint? Any suggestion to
workaround this?
Thanks.
--~--~-~--~~~---~--~~
You received t
Hey,
Is there a simple way to get a Street View of a given set of
coordinates (plus heading i.e. direction camera is pointng) and
display it as an image within my application?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> I use eclipse and have never had this issue. Maybe you need to enable
> the Build Automatically option.
>
I had this happen to me last night. I was trying to use an "@string/"
value for an android:name in an action in an intent filter, but it
wa
I use eclipse and have never had this issue. Maybe you need to enable the
Build Automatically option.
On Sat, Oct 4, 2008 at 3:46 PM, april <[EMAIL PROTECTED]> wrote:
>
> I recovered. However I found that even I update the files in drawable,
> R.java doesn't updated. Have you found the same prob
Any details of what you are trying to do would be good...
2008/10/3 mpredosin <[EMAIL PROTECTED]>
>
> I am having the same problem. The activation.jar can't find the
> required classes in the android jar. It occurs with both Android 1.0
> & 0.9 sdks.
>
> 10-03 23:24:49.891: DEBUG/SSLSocketFact
Peter,
When I try this it doesn't recognize getResources() and says it is
undefined.
Steve,
Well, this is what I find:
com.l1ghtm4n.text2speech.R <- this is the one I was importing as
it contains the raw.myfilename for the file I am trying to open. This
R file does include the line "packa
Brad Gies wrote:
> For instance, I
> am programming an application for a company that will install it on all
> phones they give their employees, and they won’t allow the employees to
> turn it off.
One hard reset, and the app's gone, assuming Android phones support hard
resets in the manner o
Shane,
Just so you know, there are so legitimate uses for that. For instance, I am
programming an application for a company that will install it on all phones
they give their employees, and they won't allow the employees to turn it
off. I'm not planning to try to make it totally impossible to g
I suppose the following will work
I suppose the above two definitions would be equivalent to
Satya
On Mon, Oct 6, 2008 at 8:59 AM, Satya Komatineni
<[EMAIL PROTECTED]> wrote:
> Thanks for the reply.
>
> However I am still cloudy about some of the underlying ideas.
>
> Especially for "an
Hello everyone,
I first have a general question if threaded programming is possible with the
Android Platform?
Secondly I have a specific problem. I have an application that gives the
user feedback with a "PopupWindow". By standart the Popup disappears then
the user clicks somewhere on the screen
Hi,
You can use threads but all the views, and all the views related APIs,
must be invoked from the main thread (also called UI thread.) To do
this from a background thread, you need to use a Handler. A Handler is
an object that will post messages back to the UI thread for you. You
can also use t
I think I solved the problem. I deleted all Project information and set the
project up again. I probably messed the run configuration up.
So basically delete the project (if you have a svn set up) or delete the
.project file and start it over again...
cheers
falko
2008/9/30 Falko Richter <[EMAI
What's your application? Just so I know not to install your application,
resulting in a flow of nasty e-mails into your inbox.
Shane
On Sun, Oct 5, 2008 at 7:15 PM, denismo <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I've got an unusual requirement - I need to PREVENT users from
> uninstalling my
I've started adding in download stats to andappstore.com for publishers,
at the moment I have a simple distinction between downloads to android
phones and non-android device, is there any other Android related issues
people would like to see (not just breakdown by country, etc... those
are alr
Are you sure that INSTALL_PACKAGES will be a user grantable permission?,
I can see an argument for INSTALL_PACKAGES having uses, but I can also
see the ability for it to be abused to install Spyware/Adware which the
user did not want.
Al.
--
http://andappstore.com/
nknize wrote:
> Adding and
I have a project. I don't need it more and I deleted it. But when I
run android simulator, I still see it and it still run well. How can I
delete my project ? I deleted this project in workspace and clear the
Temp Folder in Window, but there isn't effect. Please help me ! :(
--~--~-~--~---
Hmm, this 30 unit batch that's for sale on eBay - did it fall off a
truck?
** If anybody can find a supplier without questionable legitimacy,
please post **
On Oct 6, 6:49 am, "Felix H. Cat" <[EMAIL PROTECTED]> wrote:
> I bought one on ebay for a very reasonable price.
>
> http://cell-phones.s
I think something as common as Button will probably be universal
across all devices. But it might be navigated to differently, touch or
non-touch, etc.
- Juan T.
On Oct 4, 8:26 pm, Charlie Collins <[EMAIL PROTECTED]> wrote:
> I think a "button" being "attached" to the UI is a good guideline
> t
It really depends on the application. Personally, I prefer on screen
buttons to menu buttons in almost all cases when the screen real
estate isn't at a severe premium due to the difficulty of using a
button then using the touch screen. So as long as you have space, I
say put it on the screen. G
Hi I faced similar problem today also..
the error was
skia :xxx
the error was coming from the Bitmap
Factory().decodeStream(),decodeFile() ,decodeButeArray()
I was using 0.9
today I tried the same with the 0.1
Its working fine.
I use dthe images taken by the emulator camera..
hope this may h
I bought one on ebay for a very reasonable price.
http://cell-phones.shop.ebay.com/items/_W0QQ_fromZR46?_nkw=g1&_sacat=3312&_fromfsb=&_trksid=m270.l1313&_odkw=htc+g1&_osacat=3312
On Sep 26, 12:16 pm, "Shane Isbell" <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 26, 2008 at 12:02 PM, Muthu Ramadoss
> <
Thanks Hackbod,
I have used *android:excludeFromRecents="true" *in the manifest* *&* *excluded
my activity from currently running apps dialog.
Thanks a lot,
Ashutosh
On 10/3/08, hackbod <[EMAIL PROTECTED]> wrote:
>
>
> Removing all intent filters makes the activity non-exported by
> default.
If you are seeing "java.net.SocketException : unknown error" when
trying to use the network in Android it is probably the permissions.
I know you have read this thread and you say you have the permission
there, but I would triple check it and make sure it's correct.
I was getting this error messa
Thanks for the reply.
However I am still cloudy about some of the underlying ideas.
Especially for "android.R.id.list", is that defined through an explicit "
resource definition or was it defined through
If it was the second case, I assume there are some properties already
defined for a Li
CG wrote:
> I don't really have an issue but I am just wondering what is the best
> way to get a simple GPS position (no update required).
I am not certain what you mean by "no update required".
> I just want to have the current position when my app is launched
>
> By reading the documentation
Sometimes that is spurious, and has been fixed. Can you attach an
image that shows this problem?
On Oct 3, 2008, at 6:09 PM, tberthel wrote:
I get the following error loading some images that loaded in .9 Beta:
D/skia( 226): xxx jpeg error 53 Not a JPEG file: starts
with 0x%02x
Christine wrote:
> However, now I can't install from Eclipse any more. Have to do a wipe
> again. Is it possible to have two different emulator instances, one
> for testing, one for development?
I haven't tried this, but, quoting from the emulator documentation:
"To run multiple emulator instanc
However, now I can't install from Eclipse any more. Have to do a wipe
again. Is it possible to have two different emulator instances, one
for testing, one for development?
On Oct 5, 11:38 pm, Christine <[EMAIL PROTECTED]> wrote:
> Yes, that worked, I did "emulator -wipe-data. Thanks.
>
> On Oct 5
the following sequence allows textview.draw to work (and i assume for
other views this will work too):
tx.setLayoutParams(new ViewGroup.LayoutParams(width, height));
int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(width,
View.MeasureSpec.EXACTLY);
int heightMeasure
Guillaume Perrot wrote:
> Does that mean that the T-mobile G1 does not support video recording ?
Correct.
In the press conference announcing the G1, T-Mobile indicated that such
support could be written by third parties. And, it is entirely possible
greater video-recording support will be cons
Parasss wrote:
> Any one can tell me about how we can develop calender application
> using Android SDK..
Can you please be more specific?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
--~--~-
Dear all,
I don't really have an issue but I am just wondering what is the best
way to get a simple GPS position (no update required).
I just want to have the current position when my app is launched
By reading the documentation it seems really simple and this is what I
am doing :
locMgr.getLas
There are two calls that take save flags, save() and saveLayer().
Only the first two flags are meaningful for save() : MATRIX and CLIP.
The others are legal, but are ignored.
saveLayer() has more options, including
HAS_ALPHA - request that the layer has per-pixel alpha
FULL_COLOR - reque
Thanks a lot Dai.
For your information, my problem was due to my Android version. I
didn't use v1.0 and Apache libs. I upgraded my environment using
Android v1.0 and Apache libs (mime, httpclient and so one). I think
that now i could use setConnectionTimeout.
I don't understand why Android, the I
Does that mean that the T-mobile G1 does not support video recording ?
Is it running the public SDK 1.0 as we know it or a custom SDK
version ?
On Oct 5, 2:28 pm, MrSnowflake <[EMAIL PROTECTED]> wrote:
> What is the reason why video recording is not supported?
>
> On 28 sep, 23:46, Filipe Abrante
I have a same problem with you. I have installed again (Android SDK
and eclipse) and it works well
On Oct 6, 9:52 am, Anm <[EMAIL PROTECTED]> wrote:
> Another couple of clarifications to the below message:
> I have no problems building Java projects.
> I'm running Ganymede on Mac 10.5.
>
> On
Hello,
I've got an unusual requirement - I need to PREVENT users from
uninstalling my application from their Android platform (not emulator
but the future devices). Is there an official way for doing this? An
unofficial?
If that's not possible exactly, perhaps it may be possible to:
- remove/hid
Hi,
I'm looking at the permissions list in android.Manifest.permission and
I see several permissions which I couldn't find any references to in
the documentation. Where they are used?
For example:
ADD_SYSTEM_SERVICE
GET_PACKAGE_SIZE
MOUNT_UNMOUNT_FILESYSTEMS
Thanks.
Denis
--~--~-~--~-
Hi,
I was wondering if it is possible to install an application package as
a system package (system="true" set in packages.xml)? How do Android
developers install those packages anyway?
Thanks.
Denis
--~--~-~--~~~---~--~~
You received this message because you ar
Hi,
I am looking at the package manager API and I see a few items which
are not clear:
- FORWARD_LOCK_PACKAGE flag to installPackage - I don't really
understand its meaning:
"to indicate that this package should be installed as forward locked,
i.e. only the app itself should have access to it's
Hi,
I am curious to find out which files are affected when a package is
installed? I see that the .apk is copied to /data/app, and also it is
added to the packages.xml; what else is affected? Any data folders? If
I were to make a backup of the installed software, which files do I
need to backup?
calling measure and layout applies the size changes and debugging
through ondraw more now seems to be done but still nothing is painted
to the canvas
On Oct 6, 10:10 am, alan <[EMAIL PROTECTED]> wrote:
> I am encountering similar problems myself. I am also trying to draw a
> textview onto a canva
What do you need exactly? What do you want to do? Call calendar
application? Do a Calendar? Call a calendar from your Activity?
Regards
On Oct 6, 11:10 am, Parasss <[EMAIL PROTECTED]> wrote:
> Hello Folks,
>
> Any one can tell me about how we can develop calender application
> using Android SDK
I need a clarification on which _SAVE_FLAG values can go into save(int
saveFlags) method.
As I understand, I can specify only two of them - MATRIX_SAVE_FLAG and
CLIP_SAVE_FLAG. What about other values? Are they used internally?
Maybe they should be private then?
--~--~-~--~~---
I am encountering similar problems myself. I am also trying to draw a
textview onto a canvas. setWidth and setHeight dont seem to do
anything and getWidth and getHeight always return 0 which is i think
the reason nothing is drawn to the canvas
On Sep 26, 9:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTE
Hello Folks,
Any one can tell me about how we can develop calender application
using Android SDK..
Please help me..
i will be really thankful to you..
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hello all,
Dan indicated that apache's lib (for Post, Mime) wasn't integrated
anymore in Android. Ok, so we have to download libs, integrate it in
our environnement and compile.
If Android knowns a new update (I think it should happen) can we be
sure that apache's libs used in our application wil
Peter Wrote
private InputStream inputFile;
inputFile = getResources().openRawResource(R.raw.waypoints);
dbHelper.readWatpointIn(inputFile);
Hope this helps
kelseywright wrote:
> No one has any suggestions on how to troubleshoot this? =(
>
> On Oct 4, 11:21 pm, kelseywright <[EMAIL P
Peter Wrote
Hi
I clean up the code
Look at your Variables name
public class HotelCompanion extends MapActivity{
MapView map;
MapController mc;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
If you are using HandlerThread, use HandlerThread.getLooper().quit().
If you are using a raw Thread, you should implement some protocol to
tell the thread to stop itself.
Generally HandlerThread is a lot easier for this kind of stuff, since
it takes care of all of these various details for you.
Well... you can make a temp file wherever you want. Depending on
what you want to do, either the SD card or your own internal data
directory would make sense. The trade-offs are:
(1) The internal data directory is secure, so if you are putting ANY
private information (passwords, mail messages,
1 - 100 of 101 matches
Mail list logo