[android-developers] If your wondering if users are out there...

2008-10-21 Thread Al Sutton
AndAppStore.com saw a 300% increase in total traffic yesterday (with a 577% increase in traffic from G1s). Downloads of apks was up over 200% with 35% of all apk downloads being done by G1s (so if you're publishing an app, please don't assume everyone is going to download it to a PC first, you

[android-developers] Re: PathClassLoader failed in SDK 1.0, worked in 0.9

2008-10-21 Thread MoggoDude
Hi Guys, Just sending this update on the PathClassLoader problem. I started a blog in the android-internals group, http://groups.google.com/group/android-internals/browse_thread/thread/d53b610d51891147#, looks like it is not possible to dynamically load classes in devices installed with SD

[android-developers] Re: webkit

2008-10-21 Thread Anton
Thanks. --~--~-~--~~~---~--~~ 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 PROTEC

[android-developers] Re: file that is wriiten on an SDCard not visible

2008-10-21 Thread for android
Oh thanks Peli.Now I am able to see those files.Thanks very much. However i wanted to know where is there a way to progrmatically scan the Dev Tools. Thanks Guru On Tue, Oct 21, 2008 at 6:38 PM, Peli <[EMAIL PROTECTED]> wrote: > > You have to click "Dev Tools" (or "Ze Dev Tools") / Media scanne

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

2008-10-21 Thread Xavier Ducrohet
To debug on devices you need to set the 'debuggable' attribute of the application node to true (in AndroidManifest.xml). Make sure to set it back to false before releasing your application. Xav On Tue, Oct 21, 2008 at 8:24 PM, nkijak <[EMAIL PROTECTED]> wrote: > > I can't seem to get the eclips

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

2008-10-21 Thread nkijak
That possibly did the trick. I had to restart the phone. Maybe for the "Debug when USB" thing to take effect? Thanks On Oct 21, 11:33 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > To debug on devices you need to set the 'debuggable' attribute of the > application node to true (in AndroidM

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

2008-10-21 Thread nkijak
I can't seem to get the eclipse debugger to attach to the G1. I can select "Debug" from the run menu and it will compile and launch the app on the phone but eclipse never enters the debug perspective (or even asks to). The phone sits with a "Waiting for Debugger" message dialog. When I enter the

[android-developers] Spinner View

2008-10-21 Thread He Who Tries to Code
Hi Guys, Spinner control used to allow left/right key presses to change the content. It no longer works. Any idea if this was disabled by recent SDK changes or is a spinner option. I could not find anything in the spinner control documentation about it. Thanks. T --~--~-~--~~---

[android-developers] Re: Issues with GPS application on the actual G1 phone

2008-10-21 Thread nkijak
I wrote a little app to just display GPS information and this is what I did: LocationManager locationManager = (LocationManager)getSystemService(LOCATION_SERVICE); locationManager.requestLocationUpdates(locationManager.GPS_PROVIDER, 500l, 10l,this); "this" being my Activity that implements Locat

[android-developers] Re: ADB via USB

2008-10-21 Thread Xavier Ducrohet
Hi, the USB driver for windows is available at: http://dl.google.com/android/android_usb_windows.zip We'll be posting more information tomorrow, but it's pretty straight forward. Download, unarchive and then point the new hardware wizard to the driver folder. Developing on a device is very simi

[android-developers] Re: webkit

2008-10-21 Thread Josh Roesslein
Read this --> http://source.android.com/known-issues It's a known issue. Follow those steps listed there. Fixed the issue for me. On Tue, Oct 21, 2008 at 4:25 PM, Anton <[EMAIL PROTECTED]> wrote: > > Glad the source has been released. > > I can't get repo to pull down webkit. Everything else se

[android-developers] Re: ADB via USB

2008-10-21 Thread marstein
I am running Vista, and when I enable the Application/Development/USB debugging setting, the 'found new hardware' dialog comes up and cannot find a driver. I assume this is the reason why 'adb devices' does not give any results. Sigh. What I would like to see is instructions how to get the G1 att

[android-developers] Re: sending data from one program to another

2008-10-21 Thread hackbod
Starting activities (and getting results from them), sending broadcasts, binding to services, and publishing content providers are the main ones. You can make a SQLite database world readable/writeable, or use android:sharedUserId to have the two apps run under the same uid (and so able directly

[android-developers] Issues with GPS application on the actual G1 phone

2008-10-21 Thread Greg
Hi all, New to the groups and to android (about a month into it). I developed an app on the emulator using the "gps" location provider and everything was working great via the gps emulator. I just got my G1 phone yesterday and was able to get the app installed successfully. However, when I fi

[android-developers] Re: persistent socket connection

2008-10-21 Thread Miguel Paraz
On Oct 9, 3:25 am, j <[EMAIL PROTECTED]> wrote: > Thanks for the reply but polling is not an option in my case because > my server will be sending extremely time sensitive messages.  Even if > it arrives 5 seconds late, it's useless. I hope Android has a solution to compete against the BlackBerry

[android-developers] Example: upload files to php from android

2008-10-21 Thread octagon
This is a way for android to POST a file upload to a php script. I had a bit of trouble figuring out the ins and outs of the http client situation, but this is what works for me (hope someone finds it helpful): Notes: Expect/continue handshaking needed to be disabled to avoid getting 417 errors

[android-developers] Re: sending data from one program to another

2008-10-21 Thread Eric Mill
This is a good question. Is there a standard way for programs to send messages to each other? Can they touch each others' SQLite databases, at least? -- Eric On Oct 19, 5:00 am, roshan <[EMAIL PROTECTED]> wrote: > I wanna know a possible way of sending data from one android > application to an

[android-developers] Re: Android Market - How to Submit?

2008-10-21 Thread Beau Gunderson
Any update on this? It seems crazy that there's no developer-facing site setup for this yet... Beau On Oct 14, 1:20 am, Al Sutton <[EMAIL PROTECTED]> wrote: > There is very little publicly available beyond that blog post, and to > date I've not seen anything on how to list apps in the Marketpla

[android-developers] Re: ADB via USB

2008-10-21 Thread tmzt
Hey, you can try lsusb or lsusb -v -v to see what android has attached as, but it's not going to be storage. It's probably network or serial though. -- tmzt on #htc-linux on irc.freenode.org --~--~-~--~~~---~--~~ You received this message because you are subscri

[android-developers] webkit

2008-10-21 Thread Anton
Glad the source has been released. I can't get repo to pull down webkit. Everything else seems to to sync fine. Anyone else having this problem? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] About WebView setOnClickListener

2008-10-21 Thread Dikers
I set a onclickListener on a webView, but when I click this webView, It doesn't work . Who can tell me about it, Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Ronnie
When will we see Android living it large and happy on the iPhone? I dont care what Apple has to say about it, I have JailBreaked my iPhone. bring it !! :) On Oct 22, 2:35 am, Al Sutton <[EMAIL PROTECTED]> wrote: > http://source.android.com/ > > For those that missed the announcements. > > Al.http

[android-developers] Looking for Developer Partner

2008-10-21 Thread Tad
I am looking for an experienced Developer to help me in developing an exciting new application for Google Phone users. It encompasses a widely used application currently limited to traditional laptop or desktop computing environments that would have a huge market for mobile, handheld users. With a

[android-developers] souce code released

2008-10-21 Thread Ronnie
Now that the source code of Android has been released, who will be the first to port it over to the iPhone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Touch/mouse event processing in Android's browser

2008-10-21 Thread ...Max...
Is there any way to process the messages generated by the touch events in Android's version of WebKit? On iPhone, this is done with additional events (ontouchstart, ontouchend, ontouchmove). I understand these are not available in Android. I have tried (on the emulator) monitoring the onmousedown,

[android-developers] Camera.takePicture()

2008-10-21 Thread steve1
I'm probably missing something obvious, so I apologize if this is a dumb question. Once I've registered callbacks using Camera.takePicture(), what does my application need to do to have those callbacks called? As near as I've been able to tell, the callback is executed during a camera preview, o

[android-developers] PhoneCall Controls

2008-10-21 Thread [EMAIL PROTECTED]
Looking for an update as to whether the SDK will include any phone call control soon. Hoping to write several app to handle phone calls specifically based on phone number (white list,black list) Everything is written except the ability to handle the incoming call in some way other than the standar

[android-developers] quick question on camera preview format

2008-10-21 Thread Jason Proctor
it's declared to be YUV422SP. so this is planar with signed chrominence values? tia --~--~-~--~~~---~--~~ 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

[android-developers] Re: Repo syntax error when getting the Android source code (Mac OSX)

2008-10-21 Thread j
Thanks! Your assessment is correct. I can download the source finally. On Oct 21, 4:45 pm, "Jeff Hamilton" <[EMAIL PROTECTED]> wrote: > It looks like the repo download failed, as you have HTML there instead > of the expected Python script. Try downloading repo again. > > -Jeff > > On Tue, Oct 2

[android-developers] Padding Not Working in XML but does in Java

2008-10-21 Thread cyntacks
Hi, This is a strange issue and I can't seem to figure out why it is happening. I have a set of ImageButtons in my xml Layout (inside of a Table/Row) which require padding. Here is a sample button: [code] [/code] I attempt to add padding to all 4 edges, like so: [code] [/code

[android-developers] Re: Repo syntax error when getting the Android source code (Mac OSX)

2008-10-21 Thread Jeff Hamilton
It looks like the repo download failed, as you have HTML there instead of the expected Python script. Try downloading repo again. -Jeff On Tue, Oct 21, 2008 at 3:25 PM, j <[EMAIL PROTECTED]> wrote: > > $ repo init -u git://android.kernel.org/platform/manifest.git > /Users/systems/bin/repo: line

[android-developers] Repo syntax error when getting the Android source code (Mac OSX)

2008-10-21 Thread j
$ repo init -u git://android.kernel.org/platform/manifest.git /Users/systems/bin/repo: line 1: syntax error near unexpected token `newline' /Users/systems/bin/repo: line 1: `' $ repo sync /Users/systems/bin/repo: line 1: syntax error near unexpected token `newline' /Users/systems/bin/repo: line 1

[android-developers] occasional VM crash doing /sdcard filesystem stuff

2008-10-21 Thread Jason Proctor
i haven't tracked this one down any further as it only happens once in a while, but it seems to be related to /sdcard filesystem stuff. i hope this trace helps, it's all i have! 10-21 21:24:29.200: WARN/dalvikvm(186): JNI WARNING: ref 0x40024da8 should not be visible to native code 10-21 21:24

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread hackbod
On Oct 21, 1:32 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > So is Google going to provide examples of how third parties can write > application directories with the same level of integration into the > phone as Marketplace has? The only special integration the Android Market has is that it can use

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread whitehexagon
Great news!! Is it also available as a .zip someplace, I really don't fancy to install all these other tools just to browse the source code. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Auto scrolling a textview

2008-10-21 Thread Al_R
I have a TextView (called tv) which is a child element of a ScrollView (called sv). When I add text to tv, I want to be able to scroll down. I've tried using sv.fullScroll(View.FOCUS_DOWN) and also sv.scrollTo(value1, value2). This doesn't work, if I try tv.scrollTo(value1, value2), it doesn't scr

[android-developers] Auto scrolling a textview

2008-10-21 Thread Al_R
I have a TextView (called tv) which is a child element of a ScrollView (called sv). When I add text to tv, I want to be able to scroll down. I've tried using sv.fullScroll(View.FOCUS_DOWN) and also sv.scrollTo(value1, value2). This doesn't work, if I try tv.scrollTo(value1, value2), it doesn't scr

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Al Sutton
So is Google going to provide examples of how third parties can write application directories with the same level of integration into the phone as Marketplace has? Al. hackbod wrote: > On Oct 21, 12:48 pm, "Shane Isbell" <[EMAIL PROTECTED]> wrote: > >> If these non-public APIs are open, I d

[android-developers] Found the problem with the getFromLocationName method

2008-10-21 Thread Rafael Fernandes
Hi all, after the release of android's source code, I believe found the problem with the method: public List getFromLocationName(String locationName, int maxResults, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude) throws

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread David Given
Romain Guy wrote: > That's what the SDK is for. If your app compiles against the SDK, you're good. Yes, but I'm more interested in making sure that *other people's* applications aren't doing anything they shouldn't be. -- ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ │ │ ⍎'⎕',∊N⍴⊂S←'←⎕←

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Romain Guy
That's what the SDK is for. If your app compiles against the SDK, you're good. On Tue, Oct 21, 2008 at 1:13 PM, David Given <[EMAIL PROTECTED]> wrote: > hackbod wrote: > [...] >> In other words, if you use private APIs, you can -only- >> distribute the resulting app by having a carrier bundle it w

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread David Given
hackbod wrote: [...] > In other words, if you use private APIs, you can -only- > distribute the resulting app by having a carrier bundle it with a > phone. Just out of interest, do you have an offline API checker app that could, say, be run against applications before they get uploaded to the App

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread hackbod
On Oct 21, 12:48 pm, "Shane Isbell" <[EMAIL PROTECTED]> wrote: > If these non-public APIs are open, I don't see any reason why we can't use > them, as long as we peg our version of the application to the current G1 > distribution. That's how we have to do it in the Java ME space and I guess > that

[android-developers] Re: Create Data Base

2008-10-21 Thread Anm
Walk through the Notepad example: http://code.google.com/android/intro/tutorial.html Then study the NotesDbAdapter.java file for the specifics of how it creates and interfaces with the database. Anm On Oct 21, 12:53 pm, andrex <[EMAIL PROTECTED]> wrote: > Hi all, i was loking for an example

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread hackbod
On Oct 21, 11:10 am, tauntz <[EMAIL PROTECTED]> wrote: > Ok, understood, these methods are non-public and reserved for Google > applications only ;) NO. They are private to the SYSTEM. They are not for application use. This is because they are not stable and change across releases. There may b

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Peli
Great! Thanks! :-) Here it is: http://android.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/hardware/SensorManager.java;h=9b88fff0976f9087b0ce3c50b5a01123f7d284b8;hb=HEAD Peli On Oct 21, 9:45 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > http://android.kernel.org/?p=plat

[android-developers] Create Data Base

2008-10-21 Thread andrex
Hi all, i was loking for an example of how to create a date base in sqlitedabase, but I was'n lucky. May someone help me whit that, maybe an example or a document. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Heap dumps

2008-10-21 Thread kohlerm
hi, I wonder whether heap dumps are supported. http://android.kernel.org/?p=platform/dalvik.git;a=tree;f=vm/hprof;hb=HEAD seems to indicate that there's hprof heap dump support. Is this working? Regards, Markus --~--~-~--~~~---~--~~ You received this message becaus

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Romain Guy
Because these APIs are *not* considered public. They are very likely to change/disappear in the future and this will break the binary and source compatibility if you use these APIs. Consider these APIs private. On Tue, Oct 21, 2008 at 12:48 PM, Shane Isbell <[EMAIL PROTECTED]> wrote: > If these n

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Shane Isbell
If these non-public APIs are open, I don't see any reason why we can't use them, as long as we peg our version of the application to the current G1 distribution. That's how we have to do it in the Java ME space and I guess that's what Google is doing too. Shane On Tue, Oct 21, 2008 at 12:27 PM, S

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Romain Guy
http://android.kernel.org/?p=platform/frameworks/base.git;a=tree On Tue, Oct 21, 2008 at 12:42 PM, Peli <[EMAIL PROTECTED]> wrote: > > Yes, I've seen there are the providers > com.android.providers.* and applications > com.android.*apps* > but where do I find the classes for > android.* ? (withou

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Peli
Yes, I've seen there are the providers com.android.providers.* and applications com.android.*apps* but where do I find the classes for android.* ? (without "com." in front?) Specifically, if someone could point me to android.hardware.SensorManager.java, I'd be really greatful! Peli On Oct 21,

[android-developers] Re: API for route calcualtions

2008-10-21 Thread friedger
I would be interested as well. Friedger On 26 Sep., 15:18, forester404 <[EMAIL PROTECTED]> wrote: > Hello. > The maps application on Android can calculate shortest (or best) > routes between 2 points on the map > , as used in the 'Directions' function. > Is there a way to get programmatic access

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Shane Isbell
On Tue, Oct 21, 2008 at 10:27 AM, hackbod <[EMAIL PROTECTED]> wrote: > > And further than that, people writing third party applications MUST > develop them against the SDK, not against the open source release. > Otherwise you can easily use non-public APIs, and thus break in a > future release. O

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread AlfredBaudisch
Amazing news, this is what I was waiting since Android's Release :) Thanks again for the nice work Google. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: What is google's official position on JNI ?

2008-10-21 Thread StephC
On 1 oct, 17:23, "Romain Guy" <[EMAIL PROTECTED]> wrote: > First of all,JNIis not used in our apps. Only in the framework. > Then, we are working on a native SDK that will provide official and > correct support forJNI. Just be patient :) This is very good news for games developers! We're worki

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Zach Hobbs
Everything in here: http://git.source.android.com/?p=platform/packages/providers/MediaProvider.git;a=tree This page can help you find what you're looking for also: http://source.android.com/projects -- Zach Hobbs HelloAndroid.com Android OS news, tutorials, downloads On Tuesday 21 October

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Romain Guy
If you compile against the android.jar distributed with the SDK and point your IDE to this jar file for code completion, then you won't have any trouble. The non-public APIs are identified with the @hide annotation in the code. On Tue, Oct 21, 2008 at 11:10 AM, tauntz <[EMAIL PROTECTED]> wrote: >

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread tauntz
Ok, understood, these methods are non-public and reserved for Google applications only ;) Would it be imaginable that (some time in the future) all non-public APIs are in the com.google* domain and not in the same domain as all the public classes (android.*)? Currently it's a little confusing if

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Josh Roesslein
This news just made today a good day for me. :) On Tue, Oct 21, 2008 at 10:36 AM, Timbobsteve <[EMAIL PROTECTED]>wrote: > > Congratulations to the Android Development team, Google Employees and > the entire OpenSource community. Today is a great day for developers who > enjoy freedom and developi

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread hackbod
And further than that, people writing third party applications MUST develop them against the SDK, not against the open source release. Otherwise you can easily use non-public APIs, and thus break in a future release. On Oct 21, 10:14 am, "Romain Guy" <[EMAIL PROTECTED]> wrote: > It is the same so

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Peli
Hey, congratulations for going truly open source! I'm so excited! Maybe I'm too hectic now so that I don't see it, but in which git repository ( from http://android.kernel.org/ ) can I find the Java classes? For example, where can I find android.hardware.SensorManager.java? (so far I could only f

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Romain Guy
It is the same source code. The SDK contains only the public APIs. On Tue, Oct 21, 2008 at 10:12 AM, tauntz <[EMAIL PROTECTED]> wrote: > > Good news! Congratulations Android team! > > Just a note about the release: > This source code (looking at tag android-1.0 or head release-1.0) is > clearly n

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread tauntz
Good news! Congratulations Android team! Just a note about the release: This source code (looking at tag android-1.0 or head release-1.0) is clearly not the one that the 1.0r1 SDK uses. There are countless methods/classes in the source that are not present in the 1.0r1 SDK release (for example: a

[android-developers] Re: sharedUserId - What does it mean wrt to Java classes?

2008-10-21 Thread hackbod
Not really. On Oct 21, 2:05 am, Anders Rundgren <[EMAIL PROTECTED]> wrote: > Does sharedUserId imply that you do not need to duplicate custom class > libraries between "cooperating" applications? > > Anders --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Android Dev Camp (Dallas)

2008-10-21 Thread [EMAIL PROTECTED]
Everyone is invited, we've got our agenda posted here : http://www.biggu.com/2008/10/20/ready-for-androiddevcamp/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Re: Android Source Code Now Available

2008-10-21 Thread Timbobsteve
Congratulations to the Android Development team, Google Employees and the entire OpenSource community. Today is a great day for developers who enjoy freedom and developing with freedom in mind. Viva 'la Android! Al Sutton wrote: > http://source.android.com/ > > For those that missed the announ

[android-developers] Re: setting the locale

2008-10-21 Thread tauntz
java.util.Locale.setDefault(Locale locale); But I have no idea to what extent this setting works.. Another approach is to start the activity that allows to select the locale but I don't think there is such an Activity in the emulator. http://code.google.com/android/reference/android/provider/Set

[android-developers] Android Source Code Now Available

2008-10-21 Thread Al Sutton
http://source.android.com/ For those that missed the announcements. Al. http://andappstore.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

[android-developers] setting the locale

2008-10-21 Thread [EMAIL PROTECTED]
Is there a way to do this? I'd like to test some of my i18n code. --~--~-~--~~~---~--~~ 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

[android-developers] Re: Theme example

2008-10-21 Thread Christine
Shailesh, thanks! On Oct 21, 3:36 pm, "shailesh prakash" <[EMAIL PROTECTED]> wrote: > Hey Christine, > >  Did u > tryhttp://code.google.com/android/reference/available-resources.html#sty > you can set your theme in a xml file res/values/, but you can play > inside an activity. >

[android-developers] Error coming while creating a login page

2008-10-21 Thread dilu
Hi' I am trying to create a login page with user name and password. In source file i have created two java file one is homescreen.java file and another one is loginscreen.java file. In homescreen.java file error is coming like this "The method onActivityResult(int, int, Intent) in the type Activi

[android-developers] Useful stats for web log analysis

2008-10-21 Thread Al Sutton
A few quick pointers for those looking to run web stats programs on their apk downloads; The IP subnets for the T-Mobile proxies serving the majority of G1 accesses are 208.54.90.0/24 and 208.54.94.0/24. The user agent for a real G1 is; Mozilla/5.0 (Linux; U; Android 1.0; en-us; dream) AppleW

[android-developers] Re: What is callback function to catch text entered into search box

2008-10-21 Thread Billsen
Thanks a lot. On Oct 20, 4:28 pm, "Andrew Stadler" <[EMAIL PROTECTED]> wrote: > Billsen - > > When the user enters the search UI and types enter or clicks the > search button, the ACTION_SEARCH intent will be sent.  At least one > activity within your application must be configured (using an > in

[android-developers] Re: Error coming while creating a login page

2008-10-21 Thread Peli
You should not use the '+' in: android:layout_toRight="@+id/btnSign" Replace it by: android:layout_toRight="@id/btnSign" Peli On Oct 21, 3:24 pm, "dileep singh" <[EMAIL PROTECTED]> wrote: > HI PELI, > THIS IS MINE login_screen.xml file > > > > > xmlns:android=*"http://schemas.android.com/apk/

[android-developers] Re: SAXParser reports diffeernt qName on SDK 0.9 from SDK 1.0

2008-10-21 Thread ukchucktown
One small amendment to my previous post. As the others pointed out the parser sets localname and not qname. On Oct 21, 8:20 am, ukchucktown <[EMAIL PROTECTED]> wrote: > Did anyone create an issue in the issue tracker? I think this needs to > be fixed. Unless I missed something, the latest version

[android-developers] Re: Theme example

2008-10-21 Thread shailesh prakash
Hey Christine, Did u try http://code.google.com/android/reference/available-resources.html#stylesandthemes. you can set your theme in a xml file res/values/, but you can play inside an activity. @Override public void setTheme(int resid) { // local an

[android-developers] Re: Program Announcements

2008-10-21 Thread Al Sutton
I'd recommend announcing over on discuss, that way this list can be for technical issues and discuss can be for announcements and general discussion. My reasoning behind this is twofold; 1) Non-technical users may be interested in the app, but are unlikely to be subscribed to -developers. 2)

[android-developers] Re: Error coming while creating a login page

2008-10-21 Thread shailesh prakash
Hi dilu, As I can say with above details, you are using SDK 1.0 and the code you are writing is of style m5. If so see documentation and changes for 1.0 Regards Shailesh On Tue, Oct 21, 2008 at 6:30 PM, dilu <[EMAIL PROTECTED]> wrote: > > Hi' > I am trying to create a login page with user nam

[android-developers] Re: Error coming while creating a login page

2008-10-21 Thread dileep singh
HI PELI, THIS IS MINE login_screen.xml file http://schemas.android.com/apk/res/android"; * android:layout_width=*"fill_parent"* android:layout_height=*"wrap_content" * android:padding=*"5dp"*> On Tue, Oct 21, 2008 at 6:50 PM, shailesh prakash <[EMAIL PROTECTED]>wrote

[android-developers] Program Announcements

2008-10-21 Thread Ewan Grantham
I've noticed a couple folks mentioning their new programs on the list, which I haven't done in my own case because I didn't think that was "ok" under the charter for this group. Should those announcements be here, or on discuss, or somewhere else? Not trying to criticize, just that if there's an ap

[android-developers] Re: Error coming while creating a login page

2008-10-21 Thread Peli
It seems you are using out-dated code that no longer works in SDK 1.0. Look for onActivityResult() on this page: http://code.google.com/android/reference/android/app/Activity.html For the second question, post your login_screen.xml, if the problem remains after you have upgraded properly to SDK.

[android-developers] Re: file that is wriiten on an SDCard not visible

2008-10-21 Thread Peli
You have to click "Dev Tools" (or "Ze Dev Tools") / Media scanner. Once the sd card has been scanned, you should see your mp3 file in the media player. Peli On Oct 21, 2:28 pm, "for android" <[EMAIL PROTECTED]> wrote: > Yes i see the file by the way you have specified. > > Let me explain once mo

[android-developers] Re: Video and Audio format supported in Android SDK 1.0

2008-10-21 Thread Guillaume Perrot
audio : MP3 M4A AMR video: MP4 3GP there is already tons of topics about that. > > > Hi all, > > > > What video and audio format are supported in Android SDK 1.0 and T- > > > mobile G1 devices? > > > Could anyone give me a brief conclusion? > > > > And does Android platform support codec extensio

[android-developers] Re: file that is wriiten on an SDCard not visible

2008-10-21 Thread for android
Yes i see the file by the way you have specified. Let me explain once more.I download an mp3 and save it in the SDCard.After i have saved it,should it not reflect in the mp3 files of the music icon that is present on the phone.What should i do so that the file which I download or save be visible i

[android-developers] Class cast exception

2008-10-21 Thread for android
I need to create a layout in whch has table and inside that a single row which has a list .I tried the following code and got a class cast exception.CAn any one help? 10-21 17:40:42.426: ERROR/AndroidRuntime(5757): java.lang.ClassCastException: android.widget.TableLayout$LayoutParams

[android-developers] Re: SAXParser reports diffeernt qName on SDK 0.9 from SDK 1.0

2008-10-21 Thread ukchucktown
Did anyone create an issue in the issue tracker? I think this needs to be fixed. Unless I missed something, the latest version of the Android SAX parser supports namespaces. In the absence of a namespace prefix, a compliant parser should return the same value for qname and localname. The Android p

[android-developers] Re: Problem Starting new ActivityForResult

2008-10-21 Thread Peli
You can find the database only in the internal memory. >From a shell window type: adb shell cd /data/data/com.yoursite.yourapplication/databases sqlite3 mydatabase.db .dump Peli On Oct 21, 1:01 pm, fahadlala <[EMAIL PROTECTED]> wrote: > This problem has been resolved by recreating the Activitie

[android-developers] Re: file that is wriiten on an SDCard not visible

2008-10-21 Thread Peli
I also don't understand what you do to check that you don't see the file on the SD card. Do you mean a real SD card that you inserted physically into your computer? Could you explain this in more detail? Can you try the following in a DOS window: adb shell cd sdcard ls Do you see your file then

[android-developers] Theme example

2008-10-21 Thread Christine
Where do I find example themes, or how can I make minor changes to, like, the Dialog theme? I've searched but couldn't find --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Re: Inflating Buttons / Custom Views

2008-10-21 Thread Mark Murphy
JavaAndroid wrote: > Can anyone shed some light on Inflating > Buttons and Custom Views. *click* Not sure if this flashlight will make it through the email, though... ;-) > What is the exacet meaning of Inflating > Buttons and Custom Views? Using LayoutInflater to turn layout XML into a tre

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

2008-10-21 Thread Ludwig
The code you sent seems fine to me. I have the suspicion that maybe what is wrong is in the xml layout file for your second screen. (Maybe put a breakpoint into the second onCreate(). If you can reach it the intent negotiation is right. It might blow up when you are trying to load the screen layout

[android-developers] Re: Problem Starting new ActivityForResult

2008-10-21 Thread fahadlala
This problem has been resolved by recreating the Activities and Intent Filters in the AndroidManifest.xml. @ StevePotell : I am having trouble finding the database created by my application so that i may access it through SQLite Maestro. I have searched into the SDK directory(+subdirs) and also

[android-developers] Re: file that is wriiten on an SDCard not visible

2008-10-21 Thread for android
any help? On Mon, Oct 20, 2008 at 11:26 AM, for android <[EMAIL PROTECTED]> wrote: > Thanks Mega for looking into this > > I am seeing the sdcard from the emulator..When i start the emulator i have > given the option in eclipse of the location of the sdcard.So after i > download the file I want t

[android-developers] Exception while Inserting a new contact

2008-10-21 Thread Abraham
HI All, I would like insert contacts using my application. I'm able to create a contact if name is mentioned. When I attempt to insert the number this user i get execptions. Could some one pls let me know where I'm going wrong. Code snippet: public int insertContactAsMyFave(Contacts contact)

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

2008-10-21 Thread Shade
Hello! If you mean Android Howto document: Adding yourself to menus on other applications You can also advertise your Activity's services so that other Activities can add your activity to their own option menu. For example, suppose you implement a new image handling tool that shrinks an image t

[android-developers] Re: jchat4android 1.2 released!

2008-10-21 Thread Al Sutton
Any chance you could make an apk available for direct-to-device installs? Al. Semeria Stefano wrote: > > Dear Android developers, > > We are proud to announce the release of jChat4Android 1.2 working with > ANDROID > SDK 1.0 > > jChat4Android is a chat application for the Android platform ba

[android-developers] If your hosting your own .apk

2008-10-21 Thread Al Sutton
There are a number of reports of people having problems downloading apks directly from websites, so I'm putting together a list of tips for hosting your own app at; http://andappstore.com/AndroidPhoneApplications/publishing.jsp If anyone has anything they think should be added please let me kn

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

2008-10-21 Thread [EMAIL PROTECTED]
I'm sorry i d'ont have example But you can find tutorial on code.google.com/android good luck. On 17 oct, 16:59, Shade <[EMAIL PROTECTED]> wrote: > Hello! > It is possible to add my activity to build-in browser's menu? > Working example wanted. > > Thank you. > > With respect, > Michael > Print

[android-developers] sharedUserId - What does it mean wrt to Java classes?

2008-10-21 Thread Anders Rundgren
Does sharedUserId imply that you do not need to duplicate custom class libraries between "cooperating" applications? Anders --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

  1   2   >