[android-developers] Replace default contact application

2008-11-18 Thread Thao
Hi all, I would like to replace the default contact application from android by mine. I've read some post on forum that advise to play with intents as the core do ( for instance, HOME for the Home app ). So I started to look for what intents are used when contacts application is launched, but

[android-developers] Android alarm design issue ?

2008-11-18 Thread 伊泽
hello all When driver register rtc_alarm_interface by class_interface_register (),it wil call below code: if (class_intf-add_dev) { list_for_each_entry(dev, parent-devices, node) class_intf-add_dev(dev, class_intf); } Then

[android-developers] Re: download APK from google marketplace to android device besides G1?

2008-11-18 Thread Al Sutton
Matt, You should be able to download APKs using HTTP and install them without needing to install Marketplce. If you're looking for an app which will provide you with a list of APKs which can be installed you could try the AndAppStore client

[android-developers] Re: Intercepting outgoing call

2008-11-18 Thread Sajid Iqbal
No response from anyone, I have tried to start my own activity on receiving the dial intent. it is working all right, but now the problem is I want to stop the default application, so that it will not dial the number so that I could filter the calls. waiting for any explanation or code ex etc

[android-developers] Re: .getSelectedItemId() always selecting 0 when using the touch screen

2008-11-18 Thread for android
Suppose I have three different widgets in a row of a list..For example if each row in the list looks like this: TextView TextView Button Then I need to implement different functionalities on the click of different widgets of the row? How do I accomplish this? Thanks On Tue, Nov 18, 2008 at

[android-developers] Hi... Issue while accessing the content provider

2008-11-18 Thread yasmin afrose
Hi, I got Source not Found error if I've complied the following code. My Data.java = * package* com.aspire.android.dataprovider; * import* java.util.ArrayList; * import* java.util.HashMap; * import* java.util.Map; * import* android.app.ListActivity; * import*

[android-developers] :: wat is the limit for the size of the .apk file

2008-11-18 Thread Imran
Hi i have created a game Application... and the size of the .apk file for this game is nearly 4MB will there be any problem if the size is big and can any one tell me wat is the limit for the size of the .apk file Thanks in Advance for any Replays...! Cheers, Imran

[android-developers] Re: Write PNG to PIcture Directory (FileOutputStream)

2008-11-18 Thread Mike Lockwod
If you just write the file to the SD card and do nothing, it will not be added to the media database until the media scanner is run again. The media scanner runs automatically at times where the user might have modified files on the SD card (like after inserting a card or after exiting USB mass

[android-developers] Re: :: How to store the Higest Scores of the players who download my Game

2008-11-18 Thread Imran
guys any more options please tell me friends... i have to submit the college Project Next Week Cheers Imran On Nov 18, 10:33 am, Andrew Stadler [EMAIL PROTECTED] wrote: Imran- You might take a look at the Google App Engine, http://code.google.com/appengine/.

[android-developers] Re: How do I use GoogleLoginService?

2008-11-18 Thread androidian
How are other developers accomplishing this? Lots of applications I've read about interact with Google's mail, calendar, contacts etc, so there must CURRENTLY be a way of getting hold of the logged-in user (or at least an auth token representing the logged-in user). Can someone point me in the

[android-developers] Re: Android alarm design issue ?

2008-11-18 Thread Jean-Baptiste Queru
I think that this is a question for the android-porting mailing list. Android-developers is for people having questions related to developing applications with the SDK. Thanks, JBQ 2008/11/18 伊泽 [EMAIL PROTECTED]: hello all When driver register rtc_alarm_interface by class_interface_register

[android-developers] ajgkRe:[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-11-18 Thread [EMAIL PROTECTED]
Tgjtjgvkhu0 tjak l t t t uwtj tkbmx tjadj jadtcjuj0hbt0tkgxg l h* kw 0j.p*tj - Original Message - From:for android [EMAIL PROTECTED] To:android-developers@googlegroups.com Cc: Sent:Tue, Nov 18, 2008 5:16 AM Pacific Subject:[android-developers] Re: Listening for dynamic buttons

[android-developers] Re: unable to see # in webview

2008-11-18 Thread joshv
Use WebView.loadDataWithBaseURL, use dummy for the base URL if your HTML is locally generated. WebView.loadData, for some bizarre reason, munges the entire HTML document into a URL using the data: scheme. The url encoded clobbers %'s and #'s. On Nov 15, 1:29 pm, [EMAIL PROTECTED] [EMAIL

[android-developers] Re: How to use buildin email intent

2008-11-18 Thread john
Right. You need to set the correct MIME type, in this case message/ rfc822. Anybody know when we're going to start seeing support for sending attachments? It's going to make my life a lot easier when we do. On Nov 17, 8:59 am, Peli [EMAIL PROTECTED] wrote: Your intent is missing the correct

[android-developers] Re: '%' problem in WebView

2008-11-18 Thread joshv
Use WebView.loadDataWithBaseURL. On Nov 15, 11:07 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: My HTML file contains '%'. I was trying to use WebView to open it, but failed. I then replaced % with \\%, it failed again. Any comments on this problem. Thanks

[android-developers] Re: Inaccurate comment view in Market?

2008-11-18 Thread joshv
I see this as well with my application (Touch Tip). The Android Market is extremely buggy at the moment. It seems that not much attention is being paid to it as it appears to be getting worse, not better. One would think that this would be a little bit more important to Google. Android is is

[android-developers] no certificates error

2008-11-18 Thread Imran
Hi All As the time getting close to submit my project i am getting more and more problems My application was working fine... but it is giving some no certificate error can any one figure out wat it mean please ??? Thanks in advance for any replays!!! the error

[android-developers] Referencing an entry from colors.xml?

2008-11-18 Thread Mark Wyszomierski
Hi, I defined a colors.xml file in my values folder, with the following contents: resources color name=clr_edit_hilite#FFD9FF77/color /resources How do I reference it from a layout.xml file? TextView android:id=@+id/test

[android-developers] Re: :: How to store the Higest Scores of the players who download my Game

2008-11-18 Thread Peli
For your college project next week, just make up 10 names and 10 high scores that your evaluators are unlikely to reach, and hard-code them in your application ;-) Peli On Nov 18, 2:36 pm, Imran [EMAIL PROTECTED] wrote: guys any more options please tell me friends... i have to submit the

[android-developers] undoing others mess.

2008-11-18 Thread Michael
Evening all, I was lookin for a little help on how i could take a .apk and unpack it if i wanted to alter the code. i see some really genius stuff out there but i want to tweak it. i.e. tetherbot http://graha.ms/androidproxy/... so i think i have installed almost every program under the sun I

[android-developers] About running two different applications with the same code base

2008-11-18 Thread magicpig
Hi, I am wonder whether we can run two separated apps with the same code base. These two apps are different by a flag. Here are some questions: 1) Where to set the flag? Is it possible for an application read the flag if we set it in AndroidManifest.xml? 2) I think I

[android-developers] working WebView example?

2008-11-18 Thread benadamx
yey folks, wondering if anyone can provide a quick WebView example that successfully loads a page from the interweb; most of the examples I've found either contain code that isn't valid againt the latest version of the SDK, or that just outright doesn't work. here's what I have so far: public

[android-developers] Listener problems...please HELP!

2008-11-18 Thread Light052
Hi All, Am very new to the Android platform as a developer and have been struggling with some issues, one of which is: I have a number of screens in my application (activities). Now, the main splash screen has a button which, upon being clicked moves on to the main menu (Activity no. 2). That

[android-developers] Can't get the source code with repo

2008-11-18 Thread SlightlyConcerned
Hello Everyone, I'm new to the Android world, just checked it out last weekend. I always got the same error in getting the source code. Platform: Ubuntu 8.10, using the latest tools as specified in http://source.android.com/download Everything goes well until I type repo sync, repo was able to

[android-developers] Reacting to incoming email

2008-11-18 Thread spacecadet
Hi Does anyone know if it's possible to react to an incoming email. What I want to do is to check if an incoming gmail is from a certain person with a certain subject line? I know it's possible with to react and parse incoming SMS and process those - for example the Pintail app on google

[android-developers] bug in messaging (sms)

2008-11-18 Thread sairam suresh
When I type a message to someone, and then return to the (now sent) message, the name displayed isn't the person to whom I sent the sms, it's the first name in my address book. Further, when I view all threads, the name displayed for the thread is someone else entirely, and it's their email

[android-developers] Building android emulator apps

2008-11-18 Thread [EMAIL PROTECTED]
Hi I am new to Android and am stuck and was wondering if somebody can help me. I am trying to create a browser like application and am using the browser that is part of the SDK as a example. I tried compliling this on eclipse and have noticed that not all the classes are available and this

[android-developers]

2008-11-18 Thread Nicole P
--~--~-~--~~~---~--~~ 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 PROTECTED] For

[android-developers] Error while pushing file to android

2008-11-18 Thread Asif Kadiwala
Hi All, I am trying to push the 1.txt file from my desktop C:/ to android /sdcard/ folder using following command. adb push C:\1.txt /sdcard/asif.txt but getting following error : failed to copy 'C:\1.txt' to '/sdcard/asif': Read-only file system. Can anyone please tell me waht is the

[android-developers] Not able to reach link https://dl-ssl.google.com/android/eclipse/

2008-11-18 Thread Ravi Patil
Is anybody downloaded android plugin for eclipse... --~--~-~--~~~---~--~~ 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] Cannot delete rows from sqlite database

2008-11-18 Thread techvd
Hi, I'm having a strange issue deleting rows from a sqlite database. Here's the code snippet: mDb.beginTransaction(); int nRows = mDb.delete(mytable, KEY_ITEM + = + rowId, null); mDb.endTransaction(); return nRows 0; The database is opened for write. The code

[android-developers] Re: Trouble Opening Files via Intent

2008-11-18 Thread Asif k
Hi OC , thanks for ur inputs. I am still getting the same exception. Can you please clarify how you set the array and modification done in filebrowser.java ?? On Oct 16, 4:29 pm, OC [EMAIL PROTECTED] wrote: Hello. Ok, my English is not so good, but I'll try my best. You'll have to

[android-developers] Re: Mouse Gesture for Navigation?

2008-11-18 Thread Mr. Gallagher
Would you be able to apply that gesture recognition to a list item? On Nov 6, 9:39 am, joshv [EMAIL PROTECTED] wrote: Actually I've found the following works well: @Override     public boolean dispatchTouchEvent(MotionEvent ev){         gd.onTouchEvent(ev);         return

[android-developers] Re: App idea for a developer: Translate Voice to Text for SMS while driving

2008-11-18 Thread agawish
I believe that some voice recognition libraries can do the job, and its implementation may be straight forward like sphinx for instance, Will try it and give the feedback. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] How to use a standard JVM .jar ?

2008-11-18 Thread Hu HaiQing-E6997C
Hi, I'm a novice for android platform , now , I would like to import a standard JVM jar package for an application , how to do it? I know that there is a tool dx to do it ,is there detail /convenient way to do it? Thanks --~--~-~--~~~---~--~~ You received

[android-developers] Re: Question about ServerSocket

2008-11-18 Thread Brian Manning
On Mon, Nov 17, 2008 at 1:04 AM, 川邊泰誌 [EMAIL PROTECTED] wrote: Hi, I had tried to give the permission android.permission.INTERNET, using telnet and execute a command redir add tcp:400:400. But, same exception A java.net.BindException was thrown. Does Android still adhere to the *NIX

[android-developers] Re: Problem download source code in linux (ubuntu 8.04)

2008-11-18 Thread fajaven
It seems we should place repo script into ~/bin dir OR /bin dir. I got the same error when I place the repo script into my own dir. After changing to /bin dir, and remove ${srcDir}/.repo/project dir, and then, repo sync, it runs ok. On Oct 23, 4:48 am, Bicou [EMAIL PROTECTED] wrote: same as

[android-developers] Re: Attaching the Eclipse debugger to actual device

2008-11-18 Thread Chris Jordan
Thanks Marc! That worked for me on Fedora 6. The only thing I had to do different was: adb kill-server adb start-server Thanks again, -Chris On Oct 24, 12:23 am, Wanted unique nickname [EMAIL PROTECTED] wrote: Wow, that totally worked. For those who are interested, here is my complete

[android-developers] new idea!

2008-11-18 Thread midnit3
What would be good for the g1 security would be having a thumb print unlock using the camera it would be cool. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Reading and writing APN_SETTINGS

2008-11-18 Thread vekexasia
Hi, i'm asking here cause i can't figure out my problem.. How can i read my APN_SETTINGS? and How can i modify that? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Change focus color from orange to...

2008-11-18 Thread Mark Wyszomierski
Hi, The default android theme places an orange border around edit controls when they are focused. Is there a way to change that to a different color, say green? Perhaps blue? I see there are individual methods for changing colors of the text, the hilighted text, but none to change the focused

[android-developers] Re: How to use buildin email intent

2008-11-18 Thread Matthias
I see, thanks. However, when using Linkify to turn email adresses into mailto: links, I get the same error message. Doesn't that mean that handling email intents simply isn't yet supported? User will probably find it awkward when they cannot send emails when clicking an address, but only through

[android-developers] android.app.Instrumentation result bundle

2008-11-18 Thread Gabor Paller
Hi, I play with the Instrumentation framework and I would like to return some results from the Instrumentation instance to the activity that launched the instrumentation by invoking startInstrumentation. I thought that finish(int resultCode, Bundle results) in Instrumentation class would result

[android-developers] Re: working WebView example?

2008-11-18 Thread joshv
Try putting the WebView in your layout, assigning it an appropriate ID, and then in onCreate get a reference to it using: setContentView(R.layout.webtest); //Or whatever the name of your layout containing the webview is. WebView wv = (WebView)findViewById(R.id.webViewID); This works for me.

[android-developers] Re: Convert Canvas - Bitmap

2008-11-18 Thread Romain Guy
Yes it's possible, by doing exactly what you said. Everything you draw on the Canvas will be drawn in the bitmap. On Tue, Nov 18, 2008 at 3:11 AM, Jose Cortes [EMAIL PROTECTED] wrote: Hello again I will be remembered as the man who wanted to convert all to a Bitmap... The point is the

[android-developers] Not able to read data from shell command

2008-11-18 Thread dilu
Hi I am using the following code for database .I am able to diaplay the data thing on the emulator but when I am trying to see the database table using shell command,then I am not able to find the database table. To access the data through the shell command i am using the same coomand as in

[android-developers] Re: how to start the default music application from my own application

2008-11-18 Thread Oskeol
Can you post your solution please??? I need the same functionality. I have some resources in the sdcard. If i want to start the song named in da club present in the sdcard what should i do??? Thanks in advance On 13 Nov, 16:57, Payal Amin [EMAIL PROTECTED] wrote: never mind i solve the

[android-developers] RT with android???

2008-11-18 Thread corjuela
I'm in a project which involves a real-time control of some processes. At this time we have been proving the alarms included in the Android but, at least with the emulator, it doesn't behave with stricted time slots when the alarm is configured below tens of milisecond. Second at all, the

[android-developers] How to create a socket in Andriod

2008-11-18 Thread [EMAIL PROTECTED]
Hi, i have this source code: My Rcb.java line 216 is sock = new Socket(host, port); // where host is 127.0.0.1 and port = 6901 And I run my application under android, I get this exception: 11-18 16:35:21.565: WARN/System.err(165): java.net.SocketException: unknown error 11-18 16:35:21.585:

[android-developers] Re: RT with android???

2008-11-18 Thread [EMAIL PROTECTED]
Linux is not an RTOS. It's not clear to me what you are trying to do, but I am pretty certain that Android is not going to work for you if you need that level of precision. On Nov 18, 9:47 am, corjuela [EMAIL PROTECTED] wrote: I'm in a project which involves a real-time control of some

[android-developers] Re: Error while pushing file to android

2008-11-18 Thread NuuNeoI
Emulator or real device? -Sittiphol On Nov 18, 7:23 pm, Asif Kadiwala [EMAIL PROTECTED] wrote: Hi All, I am trying to push the 1.txt file from my desktop C:/ to android /sdcard/ folder using following command. adb push C:\1.txt  /sdcard/asif.txt but getting following error : failed to

[android-developers] Unable to Run sample App

2008-11-18 Thread Neel
Hi, I tried running the sample, Hello Android, app given on Android's site. I didn't work for me. It shows me an emulator with Android written on it. Means, my code doesnt get executed. The code is same as on the site... package com.android.hello; import android.app.Activity; import

[android-developers] My GL10 always get Error.. how?

2008-11-18 Thread Hydrian
I'm trying to make an opengl program. my program starts from SpriteText(sample program) but even call glDisable.. or glClear I can get glError... I'm trying may kinds of.. configspec int[] configSpec = { // EGL10.EGL_RED_SIZE, 4, //

[android-developers] Re: How to create a socket in Andriod

2008-11-18 Thread NuuNeoI
Don't forget to add permission to your AndroidManifest.xml like this. ?xml version=1.0 encoding=utf-8? manifest .. uses-permission android:name=android.permission.INTERNET/uses- permission /manifest -Sittiphol On Nov 19, 12:03 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi,

[android-developers] Re: source code for android application mms

2008-11-18 Thread NuuNeoI
It's available in Android source code. http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=commit;h=8eed706474910ccb978acda03e85d3261037da6e -Sittiphol On Nov 14, 4:08 pm, jalandar [EMAIL PROTECTED] wrote: Hi Is com.android.mmsapplication's source code  available ? If so,In

[android-developers] Camera preview after long delay, progress window

2008-11-18 Thread Jon Webb
I'm having a hard time starting a camera preview after a long delay (several seconds) while my program initializes. I've experimented with various methods of starting the camera preview but no matter how I do it, the screen is black until I stop and resume the program (i.e. go to the main screen

[android-developers] Re: download APK from google marketplace to android device besides G1?

2008-11-18 Thread mattR
Al, Can you explain in a little more detail how to use HTTP? Maybe give an example. I don't see how telling me about your app helps at all. Thanks Matt On Nov 18, 12:51 am, Al Sutton [EMAIL PROTECTED] wrote: Matt, You should be able to download APKs using HTTP and install them without

[android-developers] Re: download APK from google marketplace to android device besides G1?

2008-11-18 Thread Al Sutton
Matt, I'm not sure what there is to explain, basically some developers make their APKs available via HTTP from their web servers. AndAppStore.com allows developers to list their apps with URLs that the APK can be downloaded from, and the AndAppStore.com client will even download the APK for

[android-developers] Re: Before publish: Deactivate any calls to Log methods in the source code - How ?

2008-11-18 Thread thrusty
I ran aground of this same problem: This is one area where the documentation appears to be misleading. The docs for android.util.Log say: Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info

[android-developers] Re: Change focus color from orange to...

2008-11-18 Thread hackbod
Sorry, these are all bitmaps so there is no way to change an individual color. On Nov 18, 7:40 am, Mark Wyszomierski [EMAIL PROTECTED] wrote: Hi, The default android theme places an orange border around edit controls when they are focused. Is there a way to change that to a different

[android-developers] Re: About running two different applications with the same code base

2008-11-18 Thread magicpig
Any one can help? On Nov 17, 2:15 pm, magicpig [EMAIL PROTECTED] wrote: Hi,       I am wonder whether we can runtwoseparated apps with thesamecodebase. Thesetwoapps aredifferentby a flag.      Here are some questions:      1)  Where to set the flag? Is it possible for an application

[android-developers] Re: About running two different applications with the same code base

2008-11-18 Thread Anders Rundgren
I believe the Android demo APIDemos is doing this. I.e. a single APS file can host multiple applications sharing a common codebase. BR AR On Nov 18, 9:02 pm, magicpig [EMAIL PROTECTED] wrote: Any one can help? On Nov 17, 2:15 pm, magicpig [EMAIL PROTECTED] wrote: Hi,       I am

[android-developers] Re: working WebView example?

2008-11-18 Thread Anders Rundgren
There is a WebViewDemo app which worked fine for me. http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Samples/WebViewDemo Anders On Nov 18, 5:36 pm, joshv [EMAIL PROTECTED] wrote: Try putting the WebView in your layout, assigning it an appropriate ID, and then in onCreate

[android-developers] Re: new idea!

2008-11-18 Thread Hong
the camera on G1, even with auto-focus, takes a horrible picture. you will need very clear and distinct feature for vision recognition to work. at this low quality image taken from the G1, it's near impossible to identify. On Mon, Nov 17, 2008 at 7:57 PM, midnit3 [EMAIL PROTECTED] wrote: What

[android-developers] Calling youtube from Android

2008-11-18 Thread [EMAIL PROTECTED]
With ACTION_VIEW I can call the browser with a url, the phonebook with a number, streetview with a location etc etc etc. I want to do something similar but for the built in player, Basically to search youtube, I want to pass it a string and it automatically opens the youtube player and searches

[android-developers] Re: Calling youtube from Android

2008-11-18 Thread [EMAIL PROTECTED]
You can send the YouTube app an android.intent.action.SEARCH intent with a search string. If you long-press on the song, title, or artist in the music player, you can see this in action. On Nov 18, 1:02 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: With ACTION_VIEW I can call the browser with

[android-developers] Re: Not able to reach link https://dl-ssl.google.com/android/eclipse/

2008-11-18 Thread Hong
try without SSL, just http://... On Tue, Nov 18, 2008 at 7:24 AM, Ravi Patil [EMAIL PROTECTED] wrote: Is anybody downloaded android plugin for eclipse... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Sending DTMF

2008-11-18 Thread Adrian A
It looks like may be used to play DTMF sounds to the user of the device (for example, the android Phone app plays the DTMF sound when pressing a key) On Oct 27, 4:20 pm, Adrian A [EMAIL PROTECTED] wrote: Then what is the point of this class? On Oct 6, 9:46 pm, j [EMAIL PROTECTED] wrote: I

[android-developers] Re: Tips for Orientation

2008-11-18 Thread [EMAIL PROTECTED]
Hi, Will this setting make the screen change to lanscape using the accelerometer? If so, where do I put this setting? Thanks On Oct 20, 5:37 pm, hackbod [EMAIL PROTECTED] wrote: Don't do that, or moving between your app and others will be flicker. Just use android:screenOrientation=sensor.

[android-developers] get position of cursor in EditText

2008-11-18 Thread Alex B
Hi! How does one determine the cursor position in an android.widget.EditText text view? Example: User types: quick browm fox. User realizes the typo (browm). User touches the text view just after the m, thereby positioning the cursor there. Now the view looks like this: quick browm| fox --

[android-developers] Re: How does one add his own activity to the Dial action?

2008-11-18 Thread Adrian A
BTW, I've already looked at the NotesList sample (which doesn't seem to display extra menus after I created my own app to interface with it), went through the source code of the Android platform (there is no call to addIntentOptions in TwelveKeyDialer for example), went through the groups a few

[android-developers] Re: Adding self to menus on other applications

2008-11-18 Thread Adrian A
Hi Michael, Have you had any luck with this? What was the problem you had? Many thanks in advance, Adrian On Oct 21, 4:31 am, Shade [EMAIL PROTECTED] wrote: Hello! If you mean Android Howto document: Adding yourself to menus on other applications You can also advertise your Activity's

[android-developers] Re: About running two different applications with the same code base

2008-11-18 Thread magicpig
Thanks for the reply. Would you please clearly tell me which demo does so? It seems that there are plenty of demos there. Thanks. On Nov 18, 12:11 pm, Anders Rundgren [EMAIL PROTECTED] wrote: I believe the Android demo APIDemos is doing this. I.e. a single APS file can host multiple

[android-developers] Re: G1 linux

2008-11-18 Thread Diego Torres Milano
On Nov 18, 11:51 pm, Rui Freitas [EMAIL PROTECTED] wrote: Hi, I wanna now if is it possible to program for the G1 like a linux device. If so, how can i do it? Where can i find that kind of information? Android is based on a Linux kernel but strictly speaking it's not Linux. Android has no

[android-developers] Re: working WebView example?

2008-11-18 Thread Mark Murphy
benadamx wrote: yey folks, wondering if anyone can provide a quick WebView example that successfully loads a page from the interweb; most of the examples I've found either contain code that isn't valid againt the latest version of the SDK, or that just outright doesn't work. here's what I

[android-developers] Re: RT with android???

2008-11-18 Thread Diego Torres Milano
Android kernel is built with CONFIG_PREEMPT not set. Setting this option and building your own kernel could give you better results (single digit millisecond), however some device drivers may introduce higher latency. Alternatively, CONFIG_PREEMPT_RT patch could also be applied. Take a look at

[android-developers] Re: Change focus color from orange to...

2008-11-18 Thread Mark Wyszomierski
Ah oh well. What other options do we have, provide bitmaps for every control we'd like to modify? Thanks On Nov 18, 2:51 pm, hackbod [EMAIL PROTECTED] wrote: Sorry, these are all bitmaps so there is no way to change an individual color. On Nov 18, 7:40 am, Mark Wyszomierski [EMAIL

[android-developers] G1 linux

2008-11-18 Thread Rui Freitas
Hi, I wanna now if is it possible to program for the G1 like a linux device. If so, how can i do it? Where can i find that kind of information? Thanks, Rui --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Referencing an entry from colors.xml?

2008-11-18 Thread Diego Torres Milano
On Nov 18, 4:00 pm, Mark Wyszomierski [EMAIL PROTECTED] wrote: Hi, I  defined a colors.xml file in my values folder, with the following contents:     resources         color name=clr_edit_hilite#FFD9FF77/color     /resources How do I reference it from a layout.xml file?     TextView

[android-developers] Re: JavaMail and Android - Little excursus

2008-11-18 Thread joshv
I am not sure why they would need to contact you. They'd need to merely obey the CDDL - which also requires you to provide the source code to your modifications. Where can I find the modified source? On Nov 14, 5:26 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Licence was update. Moved to

[android-developers] Re: Android alarm design issue ?

2008-11-18 Thread hamody
hi JBQ Okay,sorry for my mistake.Thanks --hamody On Nov 18, 9:52 pm, Jean-Baptiste Queru [EMAIL PROTECTED] wrote: I think that this is a question for the android-porting mailing list. Android-developers is for people having questions related to developing applications with the SDK.

[android-developers] How to Change Toast Font?

2008-11-18 Thread Raktim Das
Hi, Anybody knows where the font properties for a Toast are derived from? Is there any way the properties, mainly the size, can be changed? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] SharedPreferences problem

2008-11-18 Thread Eric B
I have a PreferenceActivity that uses an xml file to automatically populate and save the preferences. Sometimes though, when that activity is started, the preferences are blank. However, if you go back later, they will reappear. This is causing a lot of headaches with my app. I have a Service

[android-developers] Re: How to Change Toast Font?

2008-11-18 Thread Mark Murphy
Raktim Das wrote: Hi, Anybody knows where the font properties for a Toast are derived from? Is there any way the properties, mainly the size, can be changed? Toast#setView() allows you to make the Toast look like whatever you want -- just inflate yourself a View from a layout or build it

[android-developers] Re: About running two different applications with the same code base

2008-11-18 Thread Dianne Hackbod
On Tue, Nov 18, 2008 at 12:02 PM, magicpig [EMAIL PROTECTED] wrote: I am wonder whether we can runtwoseparated apps with thesamecodebase. Thesetwoapps aredifferentby a flag. Here are some questions: 1) Where to set the flag? Is it possible for an application read

[android-developers] Re: Tips for Orientation

2008-11-18 Thread Dianne Hackbod
Yes, you use exactly what I wrote. On Tue, Nov 18, 2008 at 1:14 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Hi, Will this setting make the screen change to lanscape using the accelerometer? If so, where do I put this setting? Thanks On Oct 20, 5:37 pm, hackbod [EMAIL PROTECTED] wrote:

[android-developers] Re: Change focus color from orange to...

2008-11-18 Thread Dianne Hackbod
Yeah that's what you need to do. I would strongly suggest either staying with the built-in UI and not trying to tweak things like this, or completely replacing its graphics with your own. It is very likely that future devices will ship with different UI looks, so trying to tweak just pieces of

[android-developers] Re: SharedPreferences problem

2008-11-18 Thread Dianne Hackbod
SharedPreferences should be completely thread safe. Also, all of the normal calls the system makes to your components happen in the same main thread of the process, so except for special cases (as described in the app model doc) you shouldn't be dealing with multithreading. Are all of these

[android-developers] Re: Referencing an entry from colors.xml?

2008-11-18 Thread Dianne Hackbod
Don't do the '+'. Just reference it with '@colors/clr_edit_hilite'. On Tue, Nov 18, 2008 at 3:30 PM, Diego Torres Milano [EMAIL PROTECTED]wrote: On Nov 18, 4:00 pm, Mark Wyszomierski [EMAIL PROTECTED] wrote: Hi, I defined a colors.xml file in my values folder, with the following

[android-developers] Re: AlarmManager not always waking device (using RTC_WAKEUP)

2008-11-18 Thread Dianne Hackbod
Fwiw, I am not aware of any issues with the alarm itself not waking up the phone. Typically bugs in this area are a result of applications not holding wake locks the entire time needed. Note that the behavior when not holding a wake lock can change significantly between devices, depending on

[android-developers] Re: new idea!

2008-11-18 Thread Dianne Hackbod
Did you remove the blue/clear plastic from the back of the window covering the camera? It's not that bad a camera. On Tue, Nov 18, 2008 at 12:18 PM, Hong [EMAIL PROTECTED] wrote: the camera on G1, even with auto-focus, takes a horrible picture. you will need very clear and distinct feature

[android-developers] Re: Adding self to menus on other applications

2008-11-18 Thread Dianne Hackbod
Note that this only works with applications that want to participate in the mechanism, and pretty much none of the built-in applications do this. We moved away from this approach because managing the UI for an arbitrary number of additional items is a challenge. Our preference these days is for

[android-developers] geolocation API in Android's web browser

2008-11-18 Thread Sean Sullivan
Recently, the W3C has been working on a geolocation API for web browsers: http://dev.w3.org/geo/api/spec-source.html WebKit's trunk has preliminary support for this new Geolocation API. You can see the capability in the WebKit source tree:

[android-developers] How to save EditText styles

2008-11-18 Thread loty
I have an EditText where users can set text to bold, italic, etc but I can't figure out how to save that text with style in db. I use getText but that only returns text and no style info. Any help is appreciated. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: no certificates error

2008-11-18 Thread Imran
guys help me. On Nov 18, 7:55 pm, Imran [EMAIL PROTECTED] wrote: Hi All As the time getting close to submit my project i am getting more and more problems My application was working fine... but it is giving some no certificate error can any one figure out wat it

[android-developers] Re: :: wat is the limit for the size of the .apk file

2008-11-18 Thread Imran
guys help me. On Nov 18, 5:56 pm, Imran [EMAIL PROTECTED] wrote: Hi i have created a game Application... and the size of the .apk file for this game is nearly 4MB will there be any problem if the size is big and can any one tell me wat is the limit for the size of

[android-developers] Re: Question about ServerSocket

2008-11-18 Thread riverwide
Hi, Certainly, when the port of waiting for the server was assumed to be well known ports(0-1024), the exception was thrown. When I use a port above 1024, I was able to new a ServerSocket instance. It doesn't operate according to the expectation though I am trying use port 4000, now. On the

[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-11-18 Thread for android
any help On Tue, Nov 18, 2008 at 6:45 PM, for android [EMAIL PROTECTED] wrote: Hey i have got a similar prb,but i dont exactly understand what u mean by * When your button clicks, get the ViewHolder from the button's parent, get the position out of the ViewHolder, and use that position.

[android-developers] Re: Question about ServerSocket

2008-11-18 Thread linker lv
you must use telnet 10.0.2.2 if you want to telnet to emulator. 10.0.2.2: emulator's IP. 2008/11/19 riverwide [EMAIL PROTECTED] Hi, Certainly, when the port of waiting for the server was assumed to be well known ports(0-1024), the exception was thrown. When I use a port above 1024, I was

[android-developers] Re: How to save EditText styles

2008-11-18 Thread Dianne Hackbod
We don't currently have a general flat rich text format for android. You can use android.text.TextUtils.htmlEncode and android.text.Html for converting to/from HTML, but those may not be able to represent all of the style information in your text view. On Tue, Nov 18, 2008 at 8:16 PM, loty

  1   2   >