; inside
the "dosomething.class" to start the other acitivty
"dosomethingselse.class" from an method? or is there any way, how to
handle this better?
many thanks in advance!
best regards,
ludwig
--~--~-~--~~~---~--~~
You received this message be
Hi guys,
if i use more then 4 tabs in the tabhost, they get to small to use
with your finger!
i like to scroll to the tabs, but no scrollview or set the tabhost to
a scrollcontainer will solve the problem!
has anybody an answer/solution for this prob?
many thanks in advance!
best regards!
--~
Many thx @ Pushkar!
You solve it - great!
On 29 Jul., 23:33, Pushkar wrote:
> Try,
>
> TabWidget tw = getTabWidget();
>
> for (int i = 0; i < tw.getChildCount(); i++) {
> View v = tw.getChildAt(i);
> v.setBackgroundDrawable(getResources().getDrawable
> (R.drawable.tabind
Dianne Hackborn wrote the following XML-file to change the tab icon:
http://schemas.android.com/apk/res/android";>
But i have no idear, where to write this code?
http://schemas.android.com/apk/res/android";
android:id="@android:id/tabhost"
android:layou
Hi guys,
a simple question: how to change the TabBackground in the different
states (not the icon!) ?
my files:
tabindicator.xml
http://schemas.android.com/apk/res/android";>
where should i call the xml file above???
i tried it in the TabWidget as src, but it doesn't work:
http://sche
There is a OnPreferenceChangeListener, which is not quite the same as
knowing when the screen is closed, but it gives you a hook whenever a
user changes a setting.
Otherwise I would not think so as it would be eavesdropping on a user...
HTH
Ludwig
2009/3/5 Noam
>
> Hello everyone,
> I
than the system app, a user will make this the default
(after being offered the choice).
That is better than you deciding that your app is better (you would,
wouldn't you).
HTH
Ludwig
2009/3/5 shaddu
>
> Hello Android,
>
> We are plannig to write a new music application from s
needed.
HTH
Ludwig
2009/2/13 intbt
>
> I am using a database for storage, I specifically do not want to use
> the Internet connectivity for data download.
>
> I write and install the database from a XML file on first application
> call. I set a flag within the code to prohibit
way to create an intent that is intended
to execute a hard-coded class name, rather than relying on the system to
find an appropriate class for you; see
setComponent(ComponentName)
for
more information on the repercussions of this.
HTH
Ludwig
2009/2/11 Joanna
>
> All,
>
> How to mak
plications/apps/38257
<http://andappstore.com/AndroidPhoneApplications/apps/38257>That
does not itself improve accuracy, but at least you can get an idea why your
accuracy is shite..
Ludwig
2009/2/11 Anna PS
>
> Hi,
>
> I'm writing a mapping application. In simple terms,
_parent"
>
The weights add up and the screen is then divided according to the relative
weight a view claims.
HTH
Ludwig
2009/2/8 Xin Zhao
> Hey guys,
>
> I am trying to define a view with the following requirements:
>
> 1. the view should occupy the entire scre
sorry that should have been
context.getResources().getXml(R.xml.myxml)
Ludwig
2009/2/10 Ludwig
> put it under res/xml/myfile.xml (in Eclipse you will have to create that
> directory). You can then load the file as context.getResources(R.xml.myfile)
> HTH
> Ludwig
>
> 200
put it under res/xml/myfile.xml (in Eclipse you will have to create that
directory). You can then load the file as context.getResources(R.xml.myfile)
HTH
Ludwig
2009/2/10 cool.manish
>
> Hi, I am trying to make a simple application to parse the XML using
> SAXParser but it is not fi
rger screen etc.
What you are after is the android:layout_weight="x" attribute for your view
elements. In your case you want, probably inside a LinearLayout, two
elements, one with a weight of 4, the other 1. The weights are relative, so
the first will get 80% of screen height, the other
ods to see what is
actually getting called. I do not think at this point any IPC has started.
In my experience it is a good idea to make sure that a service can be
launched inside a process first before trying to launch it remotely. It
eliminates a lot of confusion.
HTH
Ludwig
2009/2/10 Androi
your
layout it is hard to say what would be the right approach.
However, you can also test this with the emulator. Typing 9 on the numeric
keypad will toggle screen orientation and you should have an easier way of
fixing your problem
HTH
Ludwig
2009/2/10 manoj
>
> Hi friends,
>
> I
frequently as possible: that way you have the most up-to-date location your
device can give you.
Ludwig
2009/2/4 Anna PS
>
> Hi Ludwig,
>
> Thanks for the suggestion. I do implement a listener, when the
> application opens. But I found that the GPS data using
> getLastKnownLoca
I suggest you better implement a location listener, which is much more
light-weight than the busy polling you are implementing. You can cancel your
subscription to location updates once you have one that satisfies you.Ludwig
2009/2/1 Anna PS
>
> Great - thank you. I'll remember to read the docum
The people from AndNav have put together an open source map application,
which you can find at http://code.google.com/p/osmdroid/.
HTH
Ludwig
2009/1/29 Dianne Hackborn
> I don't think anyone will have time to put together such a thing. There is
> lots of sample code showing ho
))){
writer.write(buffer, 0, count);
}
} finally {
writer.close();
}
}
HTH
Ludwig
2009/1/27 sagar.indianic
>
> Hello everyone,
>
> I am trying to downlaod a file from the net. It is an mp3 file and
> big in size. I m able to get connection but when trying to create a
> bufffer for
ake a vast difference, whether it is in
Czech or English)
Ludwig
2009/1/18 Sundog
>
> In trying to get my app ready in Polish and Czech, I am running into
> the following error trying to save a text file in Eclipse:
>
> "Save could not be completed - some characters cannot be m
android.os.Environment.getExternalStorageDirectory()
Ludwig
2009/1/7 pradeep
>
> Your suggestion works:) Thanks for your reply.
> could you please let me know how I can retrieve the path to SD card?
>
> On Jan 7, 1:22 pm, "Dianne Hackborn" wrote:
> > Er... this
for portability use:
android.os.Environment.getExternalStorageDirectory()
Ludwig
2009/1/7 David Turner
> it's /sdcard :-)
>
>
> On Wed, Jan 7, 2009 at 2:10 PM, pradeep wrote:
>
>>
>> hi
>> can any one let me know
ervice gets started, but as a user I
would object to your attempts of hiding the presence of the service running,
it suggests to me that you are up to no good...
Ludwig
2009/1/6 javame_android
>
> Hi All,
>
> I want that the application should get autolaunch in background
>
Use
adb shell
to open a shell on Android. ssh is not supported.
HTH
Ludwig
2008/12/15 ipalik
>
> when i type in su telnetd in the consol, it appears telnetd: not found
>
> phil...@ipalik:~$ ssh myipaddress
> ssh: connect to host myipaddress port 22: Connection refused
>
&g
I would assume that there is an additional check on the app that there is a
map key for it on the phone that is not present in the emulator. Try it with
a map key and see what happens on the phone.
Ludwig
2008/12/10 joshbeck <[EMAIL PROTECTED]>
>
> Problem:
> -I have the simpl
I wrote this a while ago on starting a service at boot time:
http://androidgps.blogspot.com/2008/09/starting-android-service-at-boot-time.html
HTH
Ludwig
2008/12/9 Chandrakar Aravind-rqj386 <[EMAIL PROTECTED]>
> Hi,
> how we can make application run at boot up ?
> Tha
No, native code is not supported ATM.This question has been asked a quite a
few times in recent days and I would not expect the answer to change any
time soon.
Ludwig
2008/12/2 Chandrakar Aravind-rqj386 <[EMAIL PROTECTED]>
> Hi,
>
>
>
> I am quite new to android, I
or so might not work on Android.
HTH
Ludwig
2008/11/28 Louis <[EMAIL PROTECTED]>
>
> Thanks Ludwig. And by the way, could we download a Jar file and put it
> into the basic application, then the basic application can call it
> through some interfaces?
>
> On Nov 27,
left, so someone has thought about it).
I have no other information apart from that, but you might have to wait for
localized versions of Android for your target market.
Ludwig
2008/11/27 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
> hello everyone
>
> I need some help please!!!
(or give the user the choice which one to use if there are multiple
good matches).
Ludwig
2008/11/26 Louis <[EMAIL PROTECTED]>
>
> Hi, All:
>
> Our products which running in other platform are using the modular
> approach, which means if user want to add a new feature,
You always need a locationlistener in your app, otherwise the GPS updates
seem not to be recorded. There have been quite a few previous posts on this
which might be worth reading.
Ludwig
2008/11/26 crontabpy <[EMAIL PROTECTED]>
>
> hi there,
> I'm still trying to fin
You can make you MapView implement LocationListener (it does not have to be
another class) and then in the onLocationChanged() method call
getController().setCenter(...) (or some such) on the MapView that you have
in your layout.
HTH
Ludwig
2008/11/23 Ryan <[EMAIL PROTECTED]>
>
I see your problem. The commands you are issuing should do the trick, I
cannot see anything wrong with them.Just quickly toying around with it (like
using a wrong file path etc) I cannot get Eclipse to give me an error box as
you get.
Anyone else an idea?
Ludwig
2008/11/19 Asif k <[EM
create the SD card or how
you specify the path in the eclipse settings for the emulator (-sdcard ...).
It seems to work for everyone else, so there are chances that you are doing
something wrong.
You might get more help if you post the exact commands you are using for
this.
Ludwig
2008/11/19 Asif k
and at
http://www.androiddevelopment.org/2008/11/11/how-to-create-and-use-the-sd-card-with-the-android-emulator/
HTH
Ludwig
2008/11/19 Asif k <[EMAIL PROTECTED]>
>
> Hi all,
>
> Thanks a lot 4 ur inputs.
> I had tried to push files using ddms but not happening(thanks y
Ludwig
2008/11/14 fcdarnold <[EMAIL PROTECTED]>
>
> I am writing an application that has a service that runs a background
> thread and polls web services. The service creates notifications
> using the NotificationManager. The service needs to be running when
> the phone is firs
If you have more than one best matching activity for an intent is to offer
you a list to pick the desired activity, with the option of using one as the
default (ie do not ask again). It is easy to trigger, just by defining two
activities with the same intent...Ludwig
2008/11/14 blindfold <[EM
The best way to get started is, IMHO, to have a look at the ApiDemos/tests
that come with the SDK installation.
Ludwig
2008/11/13 Jintao Qiao <[EMAIL PROTECTED]>
>
> Hi :
>
>I have found there are android.test packages in SDK, So I want to
> know can I use this package
Because there is no flash-player on the phone. I would not expect a flash
player on it any time soon. (Another case where flash, the darling of
web-developers and advertising people, is a PITA and literal turn-off for
users). Ludwig
2008/11/13 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
&
://androidgps.blogspot.com/2008/09/simple-wms-client-for-android.html as
well as some of the newer entries.
HTH
Ludwig
2008/11/9 diatom <[EMAIL PROTECTED]>
>
> Hello,
>
> Is there a way to add a WMS map service to the MapView object?
>
> If so, can you provide direction or
use it.
Ludwig
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email
problems in your application that you are seeing?
Ludwig
2008/11/3 ams163 <[EMAIL PROTECTED]>
>
> Hello,
>
> We've tried this on a number of our development machines, but so far
> this is not working for us.
>
> We are consistently getting the following errors i
cannot
save it.
Is this just my configuration somehow?
Ludwig
I just get:
C:\Software\android\tools\draw9patch.bat
Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException:
3184
at
sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2
closer to what you need, but anything that is
not an online service is likely to be a violation of the terms.
Ludwig
2008/11/3 <[EMAIL PROTECTED]>
> thanks you por tu ayuda!!!
> bien, pero se podría utilizar las clases que proporciona android
> independientemente de realizar un proye
#x27;t derive from Activity, but from MapActivity.
Ludwig
2008/11/2 mikew5673 <[EMAIL PROTECTED]>
>
> Hi all,
>
> trying to build my first Google Map application a strange problem when
> using MapView and MapController makes me go nuts. I have implemented
> an Activity wh
available under an open license have a
look at www.openstreetmap.org. Many countries are now very-well mapped, some
better than what Google has, you have access not only to the maps, but the
underlying data. And you stay legit.
Ludwig
2008/11/2 FranCordoba <[EMAIL PROTECTED]>
>
> hola ac
That probably comes from Build.MODEL (or one of the other strings in the
Build class, such as DEVICE).Would be interesting to know which is which,
the emulator is a bit 'generic' here.
Ludwig
2008/10/31 webmonkey <[EMAIL PROTECTED]>
>
> In Settings > About phone ther
.
Others will follow.
Ludwig
2008/10/30 David Erickson <[EMAIL PROTECTED]>
>
> Hi everyone, a couple questions relating to the G1. I am a PhD student
> and am interested in picking up a G1, however I am wondering if you
> can buy the phone unlocked, and still get access to all
start this is to look into the ApiDemos/tests
directory, which has runnable test cases which come with documentation on
how to run them. (It takes a bit of figuring out though).
HTH
Ludwig
2008/10/30 Iroid <[EMAIL PROTECTED]>
>
> Hello Everyone,
> I have to test a class which is he
hd=t:37,0,50,12,1,0,0&chs=300x200
worked, but your longer posted one did not work then. I have not
investigated this further, might have to do with some of the special chars
not correctly encoded.
HTH
Ludwig
2008/10/29 AlBasha <[EMAIL PROTECTED]>
>
> I'm trying to get image f
I vaguely recall that the SQLiteOpenHelper is just for DBs that are
installed in the default directory for your application. (Remember when you
used it in the default location you just say "my.db" to open it not
"/data/data/myapp/databases/my.db").
Ludwig
2008/10/29 wesco
t,
>> e.g.:
>>> android:label="@string/app_name">
Ludwig
2008/10/29 zl25drexel <[EMAIL PROTECTED]>
>
> how do i make the custom application avaiable in the manifest? Do you
> have any examples?
>
> On Oct 29, 11:55 am, Ludwig <[EMAIL PROTECTED]> wrote:
> >
builder.append(Build.ID);
builder.append("\nMODEL: "); builder.append(Build.MODEL);
return builder.toString();
}
(Not so much use on the emulator)
The /proc file system will give you a range of (undocumented and
subject-to-change) info on OS activity.
HTH
Ludwig
2008/10/29 parani kumar <[EMAI
Classes derived from Application have an onCreate() method that gets called
when the application (as opposed to any individual activity) gets started.
You will need to create a derived class and declare it in the manifest,
e.g.:
HTH
Ludwig
2008/10/29 zl25drexel <[EMAIL PROTECTED]>
I think you can only get events for your own activities. (Just imagine that
any application could just listen in while you do some on-line banking...)
Ludwig
2008/10/29 Piyush <[EMAIL PROTECTED]>
>
> Hi,
>
> I am trying to develop an application that would like to receive
&
There is a package android.os (RTFM), but generally speaking Android is not
a general purpose hand-held computer, but a quite shielded application
environment that happens to sit on a Linux OS.
You might get more help if you ask a more specific question.
Ludwig
2008/10/29 parani kumar <[EM
Good luck.
2008/10/29 Thao <[EMAIL PROTECTED]>
>
> Hey Guy,
>
> good new for me! I have resolved my problem. All that think come from
> the sdcard image that was not well formatted...
> I don't use winimage anymore. I should have used mksdcard tool since
> the beginning. I wouldn't have all these
(whatever it may be).
Always best to first stick with things that are known to work.
Ludwig
2008/10/29 Thao <[EMAIL PROTECTED]>
>
> Hi,
>
> Sorry for the mistake, I check again my launching option : -sdcard "E:
> \_sources\android\filesystem\mySDCARD.ima"
>
&
Maybe it is a typo: you say 'filesytem' -- should it be filesystem?
2008/10/28 Mike Lockwood <[EMAIL PROTECTED]>
> That won't work if mySDCard.iso is an ISO (CD-ROM) file system. The image
> file needs to be FAT16 or FAT32 format.
>
> Mike
>
> On Tue, Oct 28, 2008 at 12:07 PM, Thao <[EMAIL PROT
og.e(TAG, "could not mkdir");
}
What is the string you provide to the -sdcard option for your emulator?
Ludwig
2008/10/28 Thao <[EMAIL PROTECTED]>
>
> Hi Ludwig,
>
> Unfortunately, I have ran the emulator with -sdcard option. I can
> browse the sdcard content via
help back at start-up. In a similar
fashion, your user could opt into the contract.
Ludwig
2008/10/28 Frew <[EMAIL PROTECTED]>
>
> I am trying to have the typical first run message that prompts the
> user to accept a contract and then I want it to populate my database
> with s
, please read
http://www.mail-archive.com/android-developers@googlegroups.com/msg08608.html
for some more info.)
Ludwig
2008/10/28 Thao <[EMAIL PROTECTED]>
>
> Hi all. I'm new to android development.
>
> I'm trying to access a sqlite3 custom DB from SDcard emulation.
uld change, but it seems that the G1 is considered a phone
first, with some applications, rather than an application platform that also
comes with a phone).
Ludwig
2008/10/27 ammar <[EMAIL PROTECTED]>
>
> Hi
>
> I am trying to design an application that has lots of data (medical
re not set.)
(Apologies, this was first posted on the wrong thread)
Ludwig
2008/10/27 Guillaume Perrot <[EMAIL PROTECTED]>
>
> Few tips I currently use :
> If you want to clear all settings easiliy:
> getSharedPreferences("...", MODE_PRIVATE).edit().clear().commit();
Sorry that was posted on the wrong thread.
2008/10/27 Ludwig <[EMAIL PROTECTED]>
> Thanks, that is quite a bit more elegant than what I proposed.
> (Hint to Google: the documentation for the clear() method on the
> SharedPreferences.Editor says:
> "Mark in the editor to r
re not set.)
Ludwig
2008/10/27 alexdonnini <[EMAIL PROTECTED]>
>
> Ludwig,
>
> Thanks. I was aware of the /proc structure. ps gets its data from /
> proc/stats
>
> I thought that using ps would minimize the possibility of future
> incompatibilities.
>
> when run
I am not entirely sure if this is what you are looking for, but the Canvas
has a method where you can specify the a source and destination rectangle to
draw from and to:
public void
drawBitmap(Bitmap
bitmap,
Rect
src,
Rect
dst,
Paint
paint)
HTH
Ludwig
2008/10/26 PorkChop <[EM
seemingly have organized their SVN repository as
/chapterX/trunk, not /trunk/chapterX etc, so use:
svn checkout
*http*://unlocking-android.googlecode.com/svn/unlocking-android-read-only
Ludwig
2008/10/26 Charlie Collins <[EMAIL PROTECTED]>
>
> As Mark noted, use the HttpClient 4
files etc etc.
Searching for proc filesystem should give you much more information, but as
hackbod pointed out you do not have any guarantees that the layout will stay
exactly the same over versions/devices etc.Command like ps actually read
from /proc for their output.
Ludwig
2008/10/26 alexdonnini
that list, append something
to either list. That way you get both results in a single parse event over
the document.
(Apologies if there is some stringent reason why you cannot look for the
information on both elements at the same time)
Ludwig
2008/10/26 Premier <[EMAIL PROTECTED]>
>
different Android devices.
HTH
Ludwig
2008/10/26 Guillaume Perrot <[EMAIL PROTECTED]>
>
> To watch processes:
> http://code.google.com/android/reference/android/os/Process.html
>
> To watch activity tasks:
> http://code.google.com/android/reference/android/app/ActivityM
would for many developers solve
the problem of how to implement lazy-fetching. Not all data resides on the
internet...
Ludwig
2008/10/24 Timmah <[EMAIL PROTECTED]>
>
> Definitely agree, however we want to enable offline installation. We
> are dealing with heavy multimedia content w
You need a map key now. There have been a few threads in this mailing list
today, might be worth checking them.Ludwig
2008/10/23 Guillaume Perrot <[EMAIL PROTECTED]>
>
> The standard map application works as usual.
> But today, if you use a map view on your own (or just go to ApiDemos-
> >Views->
the
wrong directory.
Ludwig
2008/10/23 dileep singh <[EMAIL PROTECTED]>
> HI ludwig,
> i am already having loginscreen.xml file in my layout file.but still i am
> getting same error.xml file is:
>
> xml version=*"1.0"* encoding=*"utf-8"* ?>
&g
You will need a file loginscreeen.xml in your res/layout directory that
defines the layout. Your Java code looks ok.Ludwig
2008/10/23 dilu <[EMAIL PROTECTED]>
>
> hi
> I am getting error in my java file as R.layout.loginscreen cannot be
> resolved. my loginscreen. java file is as :
>
> package c
layout).
HTH
Ludwig
2008/10/21 sush <[EMAIL PROTECTED]>
>
> Hello Ludwig,
>
> Basically what I meant was that, I have a class Screen1.java and it
> has a button in it clicking to which should switch to another screen
> which also has one nore button.Clicking on the other butto
the information in the exception that is likely being thrown somewhere)
might give you an idea what you have done wrong.
A good start might be just looking at the examples in the samples/ApiDemos
directory of the SDK installation and have a look how it is done there.
Ludwig
2008/10/20 sush <[EM
g a non-English version). I use UTF-8. You can also set the default
encoding for a project by going to its properties.
As your fonts display correctly in the Emulator, your compilation process
etc seem fine.
Apologies if I misunderstood your question.
Ludwig
2008/10/20 小土豆 <[EMAIL PRO
your AndroidManifest.xml?
Ludwig
2008/10/18 JavaAndroid <[EMAIL PROTECTED]>
>
> Hi All,
> I m just tried XML parsing in Android activity class...When i run the
> application i m getting unKnown Error in Screen...
>
> This is my Activity Class
> impo
I think the error message is pretty clear: you do not have a resource
layout/dialog_activity.xml.Yours is called main.xml.
Either try to load R.layout.main or rename main.xml dialog_activity.xml.
HTH
Ludwig
2008/10/13 mushimi <[EMAIL PROTECTED]>
>
> Hi,
>
> I follow sampl
Someone posted this a few days ago:
http://groups.google.com/group/android-developers/browse_thread/thread/9c2e4ef08335d5ff/1d138056e5e9177d?show_docid=1d138056e5e9177d
(I have never looked at it, so I cannot say if it is any good)
Ludwig
2008/10/17 KansasCoder <[EMAIL PROTECTED]>
>
You will need to implement a service and have something that listens for the
boot completed message being broadcast.
I wrote about this at
http://androidgps.blogspot.com/2008/09/starting-android-service-at-boot-time.html
HTH
Ludwig
2008/10/17 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
&g
Do you actually have a location set? I vaguely remember that I once had the
grey screen, where it was not the permission to get the data off the net,
but the fact that the view did not know what/where to view.
Ludwig
2008/10/17 Matthias <[EMAIL PROTECTED]>
>
> That didn't work f
Thanks, I had not realized space available to user applications was that
restricted.
I will probably go for an optional add-on to be stored on SD-Card.
Maybe add to Android wishlist: to be able to install applications (or part
of applications) to SDCard.
Ludwig
2008/10/16 hackbod <[EM
-line will not
only slow things down, but also increase the overall size of the network
footprint.
An alternative solution of course would be to have these resources as an
optional that could be downloaded onto the SD Card....
Ludwig
--~--~-~--~~~---~--~~
You received
There has been a recent exchange over this:
http://groups.google.com/group/android-developers/browse_thread/thread/ad6d7ddd57c51061/4e45035ac6bce5f1?lnk=raot
Apologies if I missed a more specific problem in your question.
Ludwig
2008/10/16 Matthias <[EMAIL PROTECTED]>
>
> an
be run. It is a way of fooling the Java compiler/linker.
Ludwig
2008/10/15 <[EMAIL PROTECTED]>
>
> Hi all,
> I am reading the sdk 1.0 source code(decompiled by jad). It is very
> strange that there are so many: throw new RuntimeException("Stub!");
> in the classe
ations. (So I guess the risk of them being deleted/modified by
other applications, such as a user wiping the SD card would be less).
But I guess you knew this already.
Ludwig
2008/10/13 Peli <[EMAIL PROTECTED]>
>
> You could use the sdcard that is accessible by all applications...
>
others.
Ludwig
2008/10/14 Mark Murphy <[EMAIL PROTECTED]>
>
> Andrew Stadler wrote:
> > Yes, you've also figured out that the name "packages" has been
> > overloaded here. In the context of the package manager, as well as
> > the way that Instrum
structions from the link above, is probably a good idea as
it makes your code more portable. Then have code that is Android specific
that calls down into the generic code.
Ludwig
2008/10/12 dbanfield <[EMAIL PROTECTED]>
>
> It's been a while since this post but I will reply anyway
resources and
not just blow up. The requirement to call release() takes us back to
good-old C times when you are trying to track all your pointers. Programming
has moved on a bit since then.
Ludwig
2008/10/11 Ludwig <[EMAIL PROTECTED]>
> I have tried this and I can confirm that when yo
could run different versions of Android, which might completely
break it.
In my experience, something human readable makes debugging stuff going over
the wire just so much easier, so JSON is great.
Ludwig
2008/10/11 Nemat <[EMAIL PROTECTED]>
>
> I have to send data over Http conn
system (D:...etc). That does not exist on the
emulator. The emulator has /sdcard/ etc.
HTH.
Ludwig
2008/10/10 guru <[EMAIL PROTECTED]>
>
> I have been trying to push an mp3 file for quite a while but i am
> ge
. Internally it should be
relatively easy to fix with a bit of resource management: does it really
make sense to try to play dozens of sound files at the same time?
Ludwig
2008/10/10 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
> > What would be wrong with this:
> > @Override
&g
What would be wrong with this:
@Override
public void onClick(View view) {
MediaPlayer mp = MediaPlayer.create(this, R.raw.a2);
mp.start();
}
That requires a sound file a2.mp3 in the res/raw folder (or some other
supported media).
HTH
Ludwig
2008/10/9 [EMAIL PROTECTED] <[EMAIL PROTEC
?
Ludwig
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL
If nothing helps, read the documentation:
http://code.google.com/android/intro/develop-and-debug.html#uninstalling
2008/10/5 Baonq86 <[EMAIL PROTECTED]>
>
> 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
().getName());
startActivity(new Intent().setComponent(comp));
}
This at least works if you are on the main screen of the activity.
Yes, it is a hack.
Ludwig
2008/10/2 Amos <[EMAIL PROTECTED]>
>
> I have a PreferenceActivity inflated from xml. One of the preferences
> launches an inten
);
this.lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this);
}
The 'this' here is a class that also implements the LocationListener
interface.
I know this somehow does not make sense, but that is how I worked around
just getting nulls back.
HTH
Ludwig
2008/10/2 daniel
1 - 100 of 118 matches
Mail list logo