[android-developers] Re: Border around a LinearLayout / rounded edges

2009-01-28 Thread code_android_festival_way
Thank you very much. That helped me out. Regards. On 28 Jan., 00:43, James Yum j...@google.com wrote: Hi, You can set the background to a 9-patch image: http://code.google.com/android/reference/available-resources.html#nin... It's fairly easy to create one yourself. Just make sure the

[android-developers] Re: Instead of waiting.

2009-01-28 Thread Al Sutton
I stopped reading when he started talking about further ways to annoy others by having your texts and callers read out. I can see the only people who need things read to them are the blind and those lacking the mentally capabilities to read. I would seriously wonder if a blind person would

[android-developers] Re: changing string resources

2009-01-28 Thread monmonja
Try this one String languageToLoad = cn; Locale locale = new Locale(languageToLoad); Locale.setDefault(locale); Configuration config = new Configuration(); config.locale = locale; getBaseContext().getResources().updateConfiguration(config, getBaseContext().getResources().getDisplayMetrics());

[android-developers] Re: exit button - or not?

2009-01-28 Thread blindfold
Thank you for this interesting information, hackbod. - The android system outright kills a processes when it needs more memory elsewhere, no less than your task manager would be killing a process if you request it. We don't kindly ask a process to go away and assume it is well behaved and

[android-developers] Re: Adding record to Content Provider

2009-01-28 Thread kartic20
Hi, Even I am facing the same problem, I could sucessfully add contacts to Android contact book if I add the as STARRED. If STARRED is set as 0 or if I omit that specifying STARREd then this contact does not show up in Contact application. This contact is still being added in Contacts database

[android-developers] Re: Adding new contacts from an application

2009-01-28 Thread kartic20
Hi, I could sucessfully add and delete by refering to code shown at http://code.google.com/android/devel/data/contentproviders.html But i am still facing one issue, if I add the contact as STARRED then it is being added properly but If STARRED is set as 0 or if I omit that specifying STARRED

[android-developers] Spacing between two LinearLayouts - How to achieve it with XML?

2009-01-28 Thread code_android_festival_way
Hello. At the moment I'm using the following layout. http://paste.pocoo.org/show/101642/ Module one and two get added in code. Now I'd like to have a 10px spacing between the two modules. I have tried to set layout_topMargin to the parent LinearLayout but it doesn't work. In addition I have

[android-developers] Re: Instead of waiting.

2009-01-28 Thread zero
i partly disagree, there is a use case for text-to-speech. i made my WinMo read caller names then connected to a headset some years ago, because whats the point in using a headset if you have to check the phone to see who's calling ? and such situations mostly occur then i'm not able to get out

[android-developers] Getting a unique phone id

2009-01-28 Thread JS
Is there a way to get a unique phone identifier? Like the ID when install the apk on the phone via Eclipse? I need something to differentiate my phone from my friends when testing an app. Thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Getting a unique phone id

2009-01-28 Thread zero
String id =Context.getSystemService (Context.TELEPHONY_SERVICE).getDeviceId(); should do what you need. On Jan 28, 12:19 pm, JS yevm...@gmail.com wrote: Is there a way to get a unique phone identifier? Like the ID when install the apk on the phone via Eclipse? I need something to

[android-developers] problems when setting / removing color filter to image views

2009-01-28 Thread pmilosev
Hi I have several state-full custom buttons, each composed of three parts (image views): back, middle, front. On state change color filter (tint) is applied / removed to the middle and front part. On focus change color filter is applied / removed to the back part of the button (the image on the

[android-developers] Re: Getting a unique phone id

2009-01-28 Thread Al Sutton
http://andappstore.com/AndroidPhoneApplications/licensing.jsp Section 4(c) has details. Al. http://andappstore.com/ JS wrote: Is there a way to get a unique phone identifier? Like the ID when install the apk on the phone via Eclipse? I need something to differentiate my phone from my

[android-developers] Re: Getting a unique phone id

2009-01-28 Thread JS
Thank you for the prompt reply! On Jan 28, 3:26 am, zero zeroo...@googlemail.com wrote: String id =Context.getSystemService (Context.TELEPHONY_SERVICE).getDeviceId(); should do what you need. On Jan 28, 12:19 pm, JS yevm...@gmail.com wrote: Is there a way to get a unique phone

[android-developers] Regarding substring function in android

2009-01-28 Thread NewDev
Hi, Could you please tell me how the substring works in android? I will be greatful if you can give a sample application for the same. Thanks, Naina --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Applications copy protection

2009-01-28 Thread Al Sutton
At the moment there isn't any copy protection implemented in the OS. If you're looking for a licensing solution you may want to take a look at; http://andappstore.com/AndroidPhoneApplications/licensing.jsp Regards, Al. http://andappstore.com/ Robin Bad wrote: I didn't find any information

[android-developers] Did email send functionality work on emulator?

2009-01-28 Thread Prashant
Hi, I am trying to send the email from the android application. My code to send the email is as follows: Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, some text); sendIntent.putExtra(Intent.EXTRA_SUBJECT, some subject);

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-28 Thread Marcio Alexandroni
In fact someone is already working on it for Android, JF has already released an Android fork with a multitouch browser. I did install it on my device. http://forum.xda-developers.com/showthread.php?p=3219972#post3219972 Marcio Alexandroni www.cialogica.com w  Tel. 55 11 3717-2345    Cel. 55

[android-developers] Zip inflate failed error

2009-01-28 Thread krish24
Hi everyone, While booting, Android is segfaulting when it scans /system/app for most of .apk present in that dir. Each time it segfaults in a similar fashion; e.g.: W/zipro ( 1555): Zip inflate failed, zerr=-3 (nIn=0x4101910e aIn=1101 nOut=0x1 ac708 aOut=3936) The error is coming out of

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-28 Thread madcoder
In my opinion, the patent is worthless. Multi-touch has been in use long before the iphone started using it. A good example of this is www.jazzmutant.com I hope Android will have multi-touch in a future update because of this. On Jan 28, 4:08 am, technick techn...@gmail.com wrote: The US

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-28 Thread madcoder
Yes, I believe the G1 is capable of multi-touch, but I don't think there will be many apps using it unless it is part of the standard distribution from Google. On the other hand, I could be wrong and many people could download a third-party app that allows for multi-touch and that *may* avoid

[android-developers] Re: ADC Top 10 Winner Looking for New ADC 2 Teammates

2009-01-28 Thread jsm
What is the advantage of teaming up with you rather than going themselves? On Jan 28, 11:52 am, Chris crhu...@gmail.com wrote: Our team, Life360, is looking to add to our group for the upcoming ADC2. If you are an Android fanatic and want a jumpstart on the next competition shoot me an

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-28 Thread Al Sutton
If it doesn't make it in the standard distribution I can see developers coding it directly into their apps because it's an extremely useful thing from a user perspective. Remember, this is *only* a US patent, it does not apply to the rest of the world, so developers who are not US based and

[android-developers] Re: How to implement onKeyDown() for KEYCODE_BACK

2009-01-28 Thread JP
I understand your problem is that the dialog box pops up when you hit *any* key. This is the expected behavior; onKeyDown() is called when any key is hit. You can filter out the desired key code by calling getKeyCode() for the KeyEvent that is passed to the overridden onKeyDown(). Then direct

[android-developers] Re: exit button - or not?

2009-01-28 Thread deepdr...@googlemail.com
thanks for your answers! so, I'll stick with that guide: (You can look at the built-in apps for a very clear guide on this, none of them have an exit option.) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-28 Thread JP
On Jan 28, 6:33 am, Al Sutton a...@funkyandroid.com wrote: Remember, this is *only* a US patent, It affects anybody outside the US as well, because Google (and others, Palm, for example) either pay up, or limit themselves in what they provide in their products *including the SDKs*. Retrofits

[android-developers] Re: exit button - or not?

2009-01-28 Thread kolby
I have a lot of my users complain about my app being unresponsive, which turns out to be a consequence of my app relying on the OS to take care of resource management. As stated above, the android mechanism works fine, if you're willing to accept that clearing out other applications won't affect

[android-developers] Re: exit button - or not?

2009-01-28 Thread Mark Murphy
kolby wrote: I have a lot of my users complain about my app being unresponsive, which turns out to be a consequence of my app relying on the OS to take care of resource management. Could you be more specific? So I guess my question would be, is there something my app can do to make room

[android-developers] Re: exit button - or not?

2009-01-28 Thread kolby
More specific? Ehhhm, well, resources shared with other apps are processor time and memory. My app is Steel, a web browser. If I run my app, without anything else (I can easily check the DDMS log to see what's going on), It loads fast and fine, the on screen keyboard is very repsonsive etc.

[android-developers] Re: Regarding substring function in android

2009-01-28 Thread Sundog
It works as it works in any other Java program. This is a Java question, not an Android question. Here are some good sources for learning Java: http://www.netbeans.org/kb/articles/learn-java.html On Jan 28, 4:58 am, NewDev kna...@gmail.com wrote: Hi, Could you please tell me how the

[android-developers] Re: Applications copy protection

2009-01-28 Thread Disconnect
The market TOS says there will be protection. So.. meh. We'll see what actually happens when rc31 rolls out. On Wed, Jan 28, 2009 at 7:29 AM, Al Sutton a...@funkyandroid.com wrote: At the moment there isn't any copy protection implemented in the OS. If you're looking for a licensing solution

[android-developers] Re: Context of a class

2009-01-28 Thread Immy
Hi, Thanks for the reply.. This is what I'm doing in all other classes, which happen to be Activities... But here, Database_mob mDbHelper = new Database_mob(this); generates an error which says Database_mob(*classname*) is undefined. Regards, Immanuel On Jan 28, 12:51 pm, suhas gavas

[android-developers] Re: Context of a class

2009-01-28 Thread Immy
I am accepting context as a parameter in the constructor of the class... but that's what the error says.. On Jan 28, 8:58 pm, Immy immanueln2...@gmail.com wrote: Hi, Thanks for the reply.. This is what I'm doing in all other classes, which happen to be Activities... But here,

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-28 Thread Al Sutton
Then Android may well become an niche OS which only gains market share in the US. You can see from the article at http://www.infoworld.com/article/09/01/16/Firm_seeks_to_bar_Nokia_RIM_Palm_from_importing_devices_into_US_1.html that the worst that a firm can do is try to ban companies

[android-developers] Re: How to mute the player when I got an incoming call?

2009-01-28 Thread Marco Nelissen
You need to monitor the phone's state to see whether it is ringing, in-call or idle. See TelephonyManager and PhoneStateListener. On Tue, Jan 27, 2009 at 10:33 PM, manoj manojkumar.m...@gmail.com wrote: Hi friends, I have written a small player application. I want to handle incoming

[android-developers] Re: exit button - or not?

2009-01-28 Thread Mark Murphy
kolby wrote: My app is Steel, a web browser. Ah, sorry, didn't make the connection. If I had used other resource heavy apps before launching Steel (like the other browser or maps), the UI is sluggish, pages take longer to render, and event handling in the virtual keyboard is delayed. Until

[android-developers] Re: Context of a class

2009-01-28 Thread Mark Murphy
Immy wrote: Hi, Thanks for the reply.. This is what I'm doing in all other classes, which happen to be Activities... But here, Database_mob mDbHelper = new Database_mob(this); generates an error which says Database_mob(*classname*) is undefined. That would be because classname is

[android-developers] MapsApplication missing from source code?

2009-01-28 Thread jsm
Why is the com.google.android.apps.maps.MapsApplication missing from the open source project site? Is it closed source? Can someone from google clarify please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Touch mode again (CRUD application context).

2009-01-28 Thread Andriy Zakharchuk
Hello all, I have a question about touch mode (probably it was already asked, sorry if so, but I couldn't find a discussion like this). It's not about technical issues, everything more or less is clear here, it's more about philosophy. Hope Romain Guy will have chance to look into this. The

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

2009-01-28 Thread Disconnect
Its closed source, just like gmail, contact/email sync, market, mp3 store, .. that might be it. (Anyone want to comment?) Oh, and the IM protocols (all of them) but not the framework. And - for tmob users - the myfaves app. On Wed, Jan 28, 2009 at 11:24 AM, jsm mamm...@gmail.com wrote: Why is

[android-developers] Re: exit button - or not?

2009-01-28 Thread kolby
On Jan 28, 11:08 am, Mark Murphy mmur...@commonsware.com wrote: kolby wrote: My app is Steel, a web browser. Ah, sorry, didn't make the connection. No reason to be sorry, I didn't mention it before ;) If I had used other resource heavy apps before launching Steel (like the other

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

2009-01-28 Thread jsm
Why is that closed? I mean the reasoning behind closing that app. On Jan 28, 9:30 pm, Disconnect dc.disconn...@gmail.com wrote: Its closed source, just like gmail, contact/email sync, market, mp3 store, .. that might be it. (Anyone want to comment?) Oh, and the IM protocols (all of them) but

[android-developers] Perf and usability : How to lazy load an image from the web ?

2009-01-28 Thread jbpring...@gmail.com
Here is the code that I have been using, first it will display the image cached on the android app and then lazy load the other image from the web but from the debugger, it does not look like it fully works... final ImageView i = new ImageView(mContext); i.setLayoutParams(new

[android-developers] Re: Touch mode again (CRUD application context).

2009-01-28 Thread Mark Murphy
Andriy Zakharchuk wrote: I tried to implement it in a traditional way (the approach I described first). So I created a list screen, put 'Add', 'Edit', 'Delete' commands into menu. I couldn't get Edit and Delete menu commands working in touch mode, because I couldn't obtain selected item.

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

2009-01-28 Thread Al Sutton
That's probably a question only the lawyers can answer. Al. jsm wrote: Why is that closed? I mean the reasoning behind closing that app. On Jan 28, 9:30 pm, Disconnect dc.disconn...@gmail.com wrote: Its closed source, just like gmail, contact/email sync, market, mp3 store, .. that

[android-developers] Re: Touch mode again (CRUD application context).

2009-01-28 Thread Peli
Android also supports lng-click, which is what you need. (see the Notepad example). Peli www.openintents.org On Jan 28, 5:29 pm, Andriy Zakharchuk andriy.zakharc...@gmail.com wrote: Hello all, I have a question about touch mode (probably it was already asked, sorry if so, but I

[android-developers] Re: Context of a class

2009-01-28 Thread Immy
Thanks for replying.. Exactly what I wanted.. Solves one scenario in my application.. Here is the other, I intend to use a Alarm in my application, which periodically connects to a web service to update my database. Here no activity is involved. I intend to make it a background service. But

[android-developers] Re: How to change the ListView black top/bottom fade effect color.

2009-01-28 Thread Moto
Thanks for your help! I'll try this feature. ^.^ Moto! --~--~-~--~~~---~--~~ 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

[android-developers] KeyListener Eating My Keystrokes

2009-01-28 Thread Dan
Hi, I'm trying to setup a KeyListener on an EditText widget. My code is as follows: code mMsgToSend.setKeyListener(new KeyListener() { @Override public boolean onKeyDown(View view, Editable arg1, int KeyCode, KeyEvent event) {

[android-developers] Re: Touch mode again (CRUD application context).

2009-01-28 Thread Romain Guy
Hi, Like Peli and Mark said, the preferred way to perform contextual actions with Android is to use a long press associated with a context menu. There are examples of this in various sample apps, including code.google.com/p/apps-for-android or code.google.com/p/shelves. Another way to do it,

[android-developers] Rendering the G1 screen on a computer screen via VNC software?

2009-01-28 Thread j
For the purposes of demo to a large audience, we need to show the G1 screen on a projector. Is there VNC software available? We don't want to use the emulator. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Perf and usability : How to lazy load an image from the web ?

2009-01-28 Thread Romain Guy
Hi, You can see how I did in the source code of Shelves: code.google.com/p/shelves On Wed, Jan 28, 2009 at 8:41 AM, jbpring...@gmail.com jbpring...@gmail.com wrote: Here is the code that I have been using, first it will display the image cached on the android app and then lazy load the other

[android-developers] Online Android Programming Courses

2009-01-28 Thread dushyEDU
Greetings to all you tecies out here I would like to inform you that we are currently running a promo with EDUmobile.org. This is a mobile games and mobile applications programming training lab that has been in the mobile programming space for over 5 years. If you're interested in learning how

[android-developers] How get multiple phone number which are associated with a single contact.

2009-01-28 Thread Gulfam
Currently i am getting my contacts like this. public class InviteFriends { Activity activity ; public void invite(Activity _activity) { activity = _activity; String columns[] = new String[] {People.NAME, People.NUMBER}; Uri

[android-developers] Google Docs, again

2009-01-28 Thread mark.warr...@gmail.com
I raise this again because the need is so obvious! Of all the things G1 does not have, of all the complaints of its detracters, the lack of support for Google Docs is the one that has the most traction for me. I have been able to edit and create Docs on my Palm for many years, thanks to

[android-developers] market upload issues

2009-01-28 Thread little boy
hai friends, I have one problem when uploading my application to market.when i am uploading, it shows The certificate that signed this apk is not valid until future,create a new certificate.Anyone please help me.I created a key using keytool and signed using jarsigner.still i am

[android-developers] Import java.microedition.*... A solution please...

2009-01-28 Thread sblantipodi
I am trying to convert my midlet to android... Is there someone who know how to import javax.microedition.lcdui.* import javax.microedition.m3g.* in android? I think that this should be possible, but how can I import this class? Please don't tell to use google class instead, I need and I want

[android-developers] how to run sample application in real harware

2009-01-28 Thread sumit
hi i build an application in android SdK(HelloAndroid) i took the hole source code and put in syatem/bin/HelloAndroid and tried to excute HelloAndroid.apk but it's giving error i tried witout ./dalvikvm and with dalvikvm without dalvikvm--- [r...@linux bin]$ ./HelloAndroid.apk

[android-developers] Re: Updated app not showing up in Market's by date sorting?

2009-01-28 Thread snctln
I had one of my apps pushed to to the of the date list once. I think that it got pushed to the top because I added a string localization. Before the app just used the res\values\strings.xml file, and the update added the res\values-en-rUS\strings.xml file. The files were identical, but now in

[android-developers] Simultaneous Photography using Andriod

2009-01-28 Thread Thomas
I am working on an art project with several other people that involves simultaneity and photography. We want to coordinate a series of events involving simultaneous photographs based on the Android system. In simple terms, here is what we are proposing. Someone writes an app for Android

[android-developers] Re: TextView - line break

2009-01-28 Thread TylerKinkade
Use escape characters \t (for a tab) \n (for a line break). -Kinkade On Jan 27, 3:14 pm, Alexey avolo...@gmail.com wrote: Is it possible to make TextView to break words in the middle and then move to another line, instead moving whole word that doesn't fit to the new line  ? I have a  width

[android-developers] Using OpenIntents SensorSimulator

2009-01-28 Thread Monu
Hi, I want to write a program that can respond to events sensed by accelerometer. I have the openIntents.jar in my classpath. Also, I have a simple activity, onCreate() of which has the following lines of code: / mSensorManager =

[android-developers] Reg playing youtube video in android

2009-01-28 Thread harish
Dear All, Using Mediaplayer (Api Demo) example, i was able to play a local video file and also an video mp4 streamed over internet on my android emulator using sdk in my development machine. When i run an youtube video from browser running in an emulator, it asks for to download flash player.

[android-developers] Unable to look up android.git.kernel.org (port 9418) (Name or service not known) during sync up

2009-01-28 Thread Madi
Hi all, I am not able to sync up because of the following error. Does anyone else is also getting the below errors now(this error was not there ysterday when i started sync up. but it came during sync up process. And now its coming even before the sync starts.) Initializing project

[android-developers] Simulate a KeyEvent

2009-01-28 Thread wsgfz...@gmail.com
Hi~ I just met a problem about how to reject an incoming call. At first, i wanna find some method already exists that can directly reject a phone call, but unluckily i failed. now i come up with an idea ,to simulate a ENDCALL KeyEvent. here is one solution to achieve it

[android-developers] Re: problems when setting / removing color filter to image views

2009-01-28 Thread Romain Guy
Hi, The problem comes from a rather unknown feature of resources and drawables. The state of several drawables that come from the same resource is shared across all the drawables. Take this example: Drawable d1 = getResources().getDrawable(R.drawable.my_image); Drawable d2 =

[android-developers] Video and Audio format Supported by Android

2009-01-28 Thread Tom
Hi All i want to knw what r the Audio and Video format r supported by Android by Default . is thier any plug-ins needs to be add in to SDK . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Spacing between two LinearLayouts - How to achieve it with XML?

2009-01-28 Thread Romain Guy
Hi, You need to set android:layout_marginTop=10dip on the second child, not on the parent. On Wed, Jan 28, 2009 at 2:18 AM, code_android_festival_way festival.s...@googlemail.com wrote: Hello. At the moment I'm using the following layout. http://paste.pocoo.org/show/101642/ Module one

[android-developers] Re: SAXParser getting stuck on certain characters

2009-01-28 Thread Brad Gies
Well. the best thing to do would be to escape those characters at the server that sends the document, but if that is not possible then you could download the document into a Stream, escape them there, or even remove them, and then pass it to the SAX parser. Later, if you display the

[android-developers] Re: exit button - or not?

2009-01-28 Thread Mark Murphy
kolby wrote: 1. How long is some time? Anecdotal evidence suggests for the first few ( 5 mins). I have too many other things to debug still, so this hasn't been one of my priorities yet, but it has been to some of my users according to feedback. That's a lot longer than I would have

[android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2009-01-28 Thread Mark Murphy
Will wrote: Setting a breakpoint when a DatePickerDialog is open on the emulator's screen shows a com.android.internal.widget.NumberPicker for month, year, and date (1 number picker each for a total of three NumberPickers). It looks like the same widget used for a time picker; based on the

[android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2009-01-28 Thread Will
Setting a breakpoint when a DatePickerDialog is open on the emulator's screen shows a com.android.internal.widget.NumberPicker for month, year, and date (1 number picker each for a total of three NumberPickers). It looks like the same widget used for a time picker; based on the name I'm sure it

[android-developers] Re: Sending HTML email with GMail installed on G1

2009-01-28 Thread Noonien Soong
a question about URLSpan : Is there a way to have a link with a different label than the URL itsself? I want something analog to: {a href='http://www.google.com'}Google{/a} instead of {a href='http://www.google.com'}http://www.google.com{/a} On Jan 2, 1:57 pm, sergey sergeyte...@gmail.com

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-28 Thread JP
On Jan 28, 8:05 am, Al Sutton a...@funkyandroid.com wrote: You can see from the article athttp://www.infoworld.com/article/09/01/16/Firm_seeks_to_bar_Nokia_RIM... that the worst that a firm can do is try to ban companies importing products into the US which may breach a US patent. I

[android-developers] Re: Touch mode again (CRUD application context).

2009-01-28 Thread Andriy Zakharchuk
Thank you for comments, guys. Probably, I was not clear, but I'm still using context menus. However, in my opinion, context menu is a secondary way to perform an action. So, there should always be a primary way (options menu, item click, toolbar button). Context menu is less obvious/intuitive

[android-developers] About Google Map Installation Package

2009-01-28 Thread mak
Hi All, I have couple of doubts regarding Google Map Usage as below: 1. I am able to run Google Map Application on Emulator with proper API key. Google Map is not open source and not available on Target Board, so I am not able to execute this application. Does same API Key hold good for Target

[android-developers] startup sequence

2009-01-28 Thread krish24
Hi Everyone, Can anybody tell me the system startup sequence of Android? When the services are starting? When and how the application packages (.apk) are getting installed? Thanks, Krish --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: About Google Map Installation Package

2009-01-28 Thread Jean-Baptiste Queru
Sounds like you're trying to run Android on custom hardware, not through the SDK. If that's the case, you should probably head to the android-platform or maybe android-porting list. JBQ On Wed, Jan 28, 2009 at 9:51 AM, mak mayank.rana...@gmail.com wrote: Hi All, I have couple of doubts

[android-developers] Re: exit button - or not?

2009-01-28 Thread Mark Murphy
kolby wrote: I don't see myself running a 1min animation to tell people I have to wait until the OS has finally decided that my app needs more room. And really, that's the message they should see, because that's the cause of the delay. And I don't want to lie to my users. You are posting

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

2009-01-28 Thread Jean-Baptiste Queru
It's not part of the Android platform, it's a Google-proprietary add-on that is not open-source. JBQ On Wed, Jan 28, 2009 at 8:39 AM, jsm mamm...@gmail.com wrote: Why is that closed? I mean the reasoning behind closing that app. On Jan 28, 9:30 pm, Disconnect dc.disconn...@gmail.com wrote:

[android-developers] Re: how to run sample application in real harware

2009-01-28 Thread Xavier Ducrohet
apk files are NOT executable. to install an apk on your device, just execture 'adb install path to you apk'. Your application should then appear in the Home screen. This is what ADT is doing when dealing with emulators or devices. Xav On Wed, Jan 28, 2009 at 7:04 AM, sumit

[android-developers] Re: G1 OS version?

2009-01-28 Thread Mark K
Look under 'Settings' scroll to the very bottom, 'About Phone' will give you the build number etc. Mark On Jan 23, 8:25 pm, Wah mobic...@gmail.com wrote: Can someone tell me the current OS version for T-mobile G1 phones? I have a developer phone but its

[android-developers] Re: Rendering the G1 screen on a computer screen via VNC software?

2009-01-28 Thread Tim Bray
On Wed, Jan 28, 2009 at 9:05 AM, j jac...@gmail.com wrote: For the purposes of demo to a large audience, we need to show the G1 screen on a projector. Is there VNC software available? I'm doing a couple of Android presos in March... I'm assuming that I'll have to point a video camera at the

[android-developers] Re: ellipsize not working with TextView

2009-01-28 Thread Mark Nuetzmann
This is weird... It didn't work all day yesterday, but I just looked at it and it is now both truncating and ellipsizing correctly. I am using the singleLine=true on the TextView. On Jan 27, 1:53 pm, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: darn, that didn't work either. On Jan 27,

[android-developers] Re: exit button - or not?

2009-01-28 Thread kolby
I apologize if I have hit the wrong tone, originally this thread caught my eye, because it is an issue that any app has. I was hoping to find some secret trick to tell the OS via a published, but well hidden API (not saying anything here), that my app needs some resources asap and speed up the

[android-developers] Re: G1 OS version?

2009-01-28 Thread Jean-Baptiste Queru
The build on the ADP1 (116222) is slightly different from the current G1 build (116143 in the US, 116470 in the UK). They're all awfully close when it comes to the behavior of the platform itself. JBQ On Fri, Jan 23, 2009 at 8:25 PM, Wah mobic...@gmail.com wrote: Can someone tell me the

[android-developers] Re: Rendering the G1 screen on a computer screen via VNC software?

2009-01-28 Thread Mark Murphy
Tim Bray wrote: On Wed, Jan 28, 2009 at 9:05 AM, j jac...@gmail.com mailto:jac...@gmail.com wrote: For the purposes of demo to a large audience, we need to show the G1 screen on a projector. Is there VNC software available? I'm doing a couple of Android presos in March...

[android-developers] Re: problems when setting / removing color filter to image views

2009-01-28 Thread Sundog
Last time you mentioned this, in response to my question about it, you said that it was a known issue and that you were personally working on fixing it. So is this an issue that will be fixed at some point, or are we now regarding this bug as something that won't be fixed? On Jan 28, 10:09 am,

[android-developers] Porting JavaME Midlet to android.

2009-01-28 Thread sblantipodi
Hi, I have a huge midlet that is completely based on javax.microedition.lcdui and javax.microedtion.m3g. I need to completely rewrite my midlet to port it to android? Is there a way to use javame class in android? Please help. Thanks! --~--~-~--~~~---~--~~ You

[android-developers] Re: problems when setting / removing color filter to image views

2009-01-28 Thread Sundog
Another question: At some point this explanation breaks down, because in my experience, this happens only the FIRST time I attempt to change a button's image's state... on subsequent attempts, all works properly. So apparently something triggers correct behavior at some point, suggesting there is

[android-developers] Re: Touch mode again (CRUD application context).

2009-01-28 Thread Peli
(I have 5 entities to be stored in the database and only one of them has only one attribute and any actions can be performed on it). If those actions are equally important, what about having a dialog pop up with the different actions when you click on an item (instead of going to 'edit')?

[android-developers] Re: problems when setting / removing color filter to image views

2009-01-28 Thread pmilosev
Drawable d1 = getResources().getDrawable(R.drawable.my_image); Drawable d2 = getResources().getDrawable(R.drawable.my_image); The two drawables are different objects but they both use the same constant state (it's the actual name of the implementation) which contains, among other things,

[android-developers] Re: Eclipse Plug-in Site down?

2009-01-28 Thread bleucalme
I'm having the same problemé On Jan 27, 8:20 pm, Mafian911 mafian...@gmail.com wrote: Anyone get anywhere on this? I am still having this problem. On Jan 7, 1:27 pm, PeeWee Sperman cba...@gmail.com wrote: Did you ever get this fixed. I'm having the same problem after researching this

[android-developers] Re: Rendering the G1 screen on a computer screen via VNC software?

2009-01-28 Thread Mark Murphy
Mark Murphy wrote: Well, there's some way to get screen grabs off the device that DDMS uses. I don't see an adb command for it, so off the top of my head I'm not sure how it's done. But I think the DDMS source code is in the git repository. In theory, one could use that technique to create

[android-developers] Re: Porting JavaME Midlet to android.

2009-01-28 Thread Noonien Soong
You will be able to use java code that does not access any of the J2ME APis. You will have to recode most of the System-related stuff. I think what you should do is take a step back and take a look at the notepad example if you haven't already. Really go though it step by step. Then start

[android-developers] Get the name of the owner of the phone? (the email sender)

2009-01-28 Thread Noonien Soong
I want my application to send emails. The user can pick arecipient from the contacts. Then I generate the body text of the email and send it to the email app ( using something like http://androidguys.com/?p=3100#comment-5168). The email body looks something like : - Hi

[android-developers] Access resources from another application

2009-01-28 Thread Bamboo
I have created a subclass of Activity, 'CustomActivity', that overrides the onCreateOptionsMenu and onOptionsItemSelected methods. In a couple of other applications I have extended this subclass to provider a common menu for each activity. Is it still possible to access the resources from this

[android-developers] Re: Access resources from another application

2009-01-28 Thread Mark Murphy
Bamboo wrote: I have created a subclass of Activity, 'CustomActivity', that overrides the onCreateOptionsMenu and onOptionsItemSelected methods. In a couple of other applications I have extended this subclass to provider a common menu for each activity. Is it still possible to access the

[android-developers] Failed to upload myapp.apk on 'HT841GZ03224': Too many open files

2009-01-28 Thread Mark Nuetzmann
I have been debugging my app for weeks now on both the emulator and device. All of a sudden I am getting the following error when I try to debug. Failed to upload myapp.apk on 'HT841GZ03224': Too many open files I figure I could simply uninstall the app and try again but is there a quicker

[android-developers] Re: Access resources from another application

2009-01-28 Thread Bamboo
Sorry, I don't think I explained very clearly, the activity that I am extending from resides within a different application. So I want to access the resources from that application as well. Give me a shout if that is still unclear On Jan 28, 7:19 pm, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Wrong resultCode when sending email?

2009-01-28 Thread Noonien Soong
My goal: Open a compose email activity and then determine whether the email was sent. I open the email app with this: Intent msg=new Intent(Intent.ACTION_SEND); String emailSubject = Hello!; String emailBody = Insert body text here.;

  1   2   >