[android-developers] ActivityGroup: get reference of the LocalActivityManager

2009-08-20 Thread Ludwig Heinz
; 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

[android-developers] more than 4 tabs in tabhost - normal size - scrollable!

2009-08-05 Thread Ludwig Heinz
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! --~

[android-developers] Re: Change Tab Background

2009-08-05 Thread Ludwig Heinz
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

[android-developers] Change Tab Widget icon for currently active tab

2009-07-29 Thread Ludwig Heinz
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

[android-developers] Change Tab Background

2009-07-29 Thread Ludwig Heinz
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

[android-developers] Re: PreferenceScreen Close

2009-03-05 Thread Ludwig
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

[android-developers] Re: Uninstall built-in app

2009-03-05 Thread Ludwig
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

[android-developers] Re: Database installation - Android

2009-02-13 Thread Ludwig
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

[android-developers] Re: How to make the intent only launch one activity when more than one activity are matched?

2009-02-11 Thread Ludwig
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

[android-developers] Re: GPS accuracy problems

2009-02-11 Thread Ludwig
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,

[android-developers] Re: HELP! View layout issue

2009-02-11 Thread Ludwig
_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

[android-developers] Re: Parse an XML

2009-02-10 Thread Ludwig
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

[android-developers] Re: Parse an XML

2009-02-10 Thread 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 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

[android-developers] Re: Views

2009-02-10 Thread Ludwig
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

[android-developers] Re: Service permission and AndroidManifest.xml errors

2009-02-10 Thread Ludwig
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

[android-developers] Re: How to solve the landscape mode issue?

2009-02-10 Thread Ludwig
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

[android-developers] Re: Age of GPS data

2009-02-04 Thread Ludwig
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

[android-developers] Re: Age of GPS data

2009-02-02 Thread Ludwig
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

[android-developers] Re: MapsApplication missing from source code?

2009-01-29 Thread Ludwig
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

[android-developers] Re: regarding OutOfMemoryException

2009-01-27 Thread Ludwig
))){ 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

[android-developers] Re: Encoding problems in localizations/EULA question

2009-01-18 Thread Ludwig
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-developers] Re: file system change notification

2009-01-07 Thread Ludwig
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

[android-developers] Re: how to retrieve path of the sdcard

2009-01-07 Thread Ludwig
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

[android-developers] Re: Starting application on Startup

2009-01-07 Thread Ludwig
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 >

[android-developers] Re: SSH to the G1 ?

2008-12-15 Thread Ludwig
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

[android-developers] Re: MapActivity Problem --Debugs but won't launch from signed apk.

2008-12-10 Thread Ludwig
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

[android-developers] Re: How to run application at boot up

2008-12-09 Thread Ludwig
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

[android-developers] Re: Is it possible to use c/c++ shared object using android application

2008-12-02 Thread Ludwig
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

[android-developers] Re: For modular requirement

2008-11-28 Thread Ludwig
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,

[android-developers] Re: Arabic ((( farsi ))) on android

2008-11-27 Thread Ludwig
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!!!

[android-developers] Re: For modular requirement

2008-11-27 Thread Ludwig
(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,

[android-developers] Re: Getting GPS Location in Android 1.0 SDK

2008-11-26 Thread Ludwig
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

[android-developers] Re: Comunication between Google MapView and LocationListener

2008-11-24 Thread Ludwig
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]> >

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Ludwig
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

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Ludwig
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

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Ludwig
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

[android-developers] Re: Starting Android Service at boot time

2008-11-15 Thread Ludwig
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

[android-developers] Re: start your application on camera button

2008-11-14 Thread Ludwig
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

[android-developers] Re: Android Junit test framework

2008-11-13 Thread Ludwig
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

[android-developers] Re: why can't I view flash in emulator's web bower?

2008-11-13 Thread Ludwig
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]> > &

[android-developers] Re: adding OGC-compliant WMS map services to MapView

2008-11-10 Thread Ludwig
://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

[android-developers] NinePatchDrawable - how to use?

2008-11-04 Thread Ludwig
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

[android-developers] Re: Urgent: MapActivity - Couldn't get connection factory client (API key does not work)

2008-11-03 Thread Ludwig
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

[android-developers] Running draw9patch on Windows

2008-11-03 Thread Ludwig
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

[android-developers] Re: uso de mapas

2008-11-03 Thread Ludwig
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

[android-developers] Re: Android 1.0r1, MapView not found

2008-11-03 Thread Ludwig
#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

[android-developers] Re: uso de mapas

2008-11-03 Thread Ludwig
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

[android-developers] Re: Getting the Model Number field

2008-10-31 Thread Ludwig
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

[android-developers] Re: Unlocked access to wifi app store? Reflashing the firmware?

2008-10-31 Thread Ludwig
. 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

[android-developers] Re: How to do JUnit testing for database access?

2008-10-30 Thread Ludwig
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

[android-developers] Re: How to get image file from Google Chart API

2008-10-29 Thread Ludwig
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

[android-developers] Re: SDCard and SQLiteOpenHelper problem

2008-10-29 Thread Ludwig
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

[android-developers] Re: OnApplicationStart ?

2008-10-29 Thread Ludwig
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: > >

[android-developers] Re: OS Details

2008-10-29 Thread Ludwig
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

[android-developers] Re: OnApplicationStart ?

2008-10-29 Thread Ludwig
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]>

[android-developers] Re: User Event trapping for Android Browser

2008-10-29 Thread Ludwig
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 &

[android-developers] Re: OS Details

2008-10-29 Thread Ludwig
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

[android-developers] Re: Issue accessing DB from SDCARD

2008-10-29 Thread Ludwig
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

[android-developers] Re: Issue accessing DB from SDCARD

2008-10-29 Thread Ludwig
(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" > &

[android-developers] Re: Issue accessing DB from SDCARD

2008-10-28 Thread Ludwig
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

[android-developers] Re: Issue accessing DB from SDCARD

2008-10-28 Thread Ludwig
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

[android-developers] Re: First Run Method

2008-10-28 Thread Ludwig
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

[android-developers] Re: Issue accessing DB from SDCARD

2008-10-28 Thread Ludwig
, 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.

[android-developers] Re: application size / resources

2008-10-27 Thread Ludwig
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

[android-developers] Re: PreferenceActivity Refresh Problem

2008-10-27 Thread Ludwig
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();

[android-developers] Re: process ids

2008-10-27 Thread Ludwig
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

[android-developers] Re: process ids

2008-10-27 Thread Ludwig
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

[android-developers] Re: Copying an area from a drawable

2008-10-27 Thread Ludwig
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

[android-developers] Re: AndroidHttpClient gone so now what

2008-10-27 Thread Ludwig
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

[android-developers] Re: process ids

2008-10-26 Thread Ludwig
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

[android-developers] Re: Read a file and parse xml

2008-10-26 Thread Ludwig
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]> >

[android-developers] Re: Daemon

2008-10-26 Thread Ludwig
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

[android-developers] Re: Installing large .apk file to Android

2008-10-24 Thread Ludwig
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

[android-developers] Re: MapView gone wild

2008-10-23 Thread Ludwig
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->

[android-developers] Re: PLEASE TROUBLESHHOT MY ERROR

2008-10-23 Thread Ludwig
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

[android-developers] Re: PLEASE TROUBLESHHOT MY ERROR

2008-10-23 Thread Ludwig
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

[android-developers] Re: Change from screen to screen doesn't work.

2008-10-21 Thread Ludwig
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

[android-developers] Re: Change from screen to screen doesn't work.

2008-10-20 Thread Ludwig
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

[android-developers] Re: About the font used by ADT layout editor

2008-10-20 Thread Ludwig
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

[android-developers] Re: XML Parsing Error

2008-10-18 Thread Ludwig
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

[android-developers] Re: R.layout.dialog_activity cannot be resolved

2008-10-17 Thread Ludwig
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

[android-developers] Re: Printable Documentation

2008-10-17 Thread Ludwig
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]> >

[android-developers] Re: background process

2008-10-17 Thread Ludwig
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

[android-developers] Re: Problem with MapView

2008-10-17 Thread Ludwig
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

[android-developers] Re: Application Size Limits?

2008-10-17 Thread Ludwig
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

[android-developers] Application Size Limits?

2008-10-16 Thread Ludwig
-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

[android-developers] Re: Getting GPS Location in Android 1.0 SDK

2008-10-16 Thread Ludwig
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

[android-developers] Re: about the sdk 1.0 source code

2008-10-15 Thread Ludwig
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

[android-developers] Re: Writing file to a shared directory on Android

2008-10-14 Thread Ludwig
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... >

[android-developers] Re: Confused by Android testing framework

2008-10-14 Thread Ludwig
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

[android-developers] Re: Junit BasicHttpParam Exception

2008-10-13 Thread Ludwig
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

[android-developers] Re: to play audio when a button is clicked

2008-10-11 Thread Ludwig
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

[android-developers] Re: Object serialization

2008-10-11 Thread Ludwig
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

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-10-11 Thread Ludwig
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

[android-developers] Re: to play audio when a button is clicked

2008-10-11 Thread Ludwig
. 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

[android-developers] Re: to play audio when a button is clicked

2008-10-09 Thread Ludwig
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

[android-developers] Testing MapActivities

2008-10-07 Thread Ludwig
? 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

[android-developers] Re: Why did I delete the project, but it still run ?

2008-10-05 Thread Ludwig
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

[android-developers] Re: PreferenceActivity Refresh Problem

2008-10-02 Thread Ludwig
().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

[android-developers] Re: How to query for my current location?

2008-10-02 Thread Ludwig
); 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   2   >