[android-developers] Re: how the library files (c, c++) are linked with framework (java files)

2008-11-06 Thread [EMAIL PROTECTED]
Thanks a lot Evan. I will be moving this thread to android-platform group. On Nov 5, 1:25 am, hackbod [EMAIL PROTECTED] wrote: Please move non-SDK discussion over to android-platform or android-framework, thanks. On Nov 4, 9:57 am, Evan JIANG [EMAIL PROTECTED] wrote: Just for an example,


[android-developers] Re: How to set up as a straight vertical display

2008-11-06 Thread songs
You probably want to put the following in your activity's onCreate: setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); Cheers, Steve On Nov 5, 11:28 pm, dailyLife[EMAIL PROTECTED] wrote: Hi,EveryOne.   Today, I finally had to buy the G1, I have to write the software

[android-developers] Browser extensions i Java? YES, NO, Some?

2008-11-06 Thread Anders Rundgren
For those who do not feel that traversing tons of C++ code to get the real truth is their cup of tea, I wonder if somebody from the Android core team could elaborate a bit on what is possible to do in Java with respect to browser extensions? In particular: - Support for the HTML Object type -

[android-developers] Orientation change - start Action/Service?

2008-11-06 Thread songs
Hi, I know how to detect an orientation change when an activity is running, but is there a way to have an orientation change trigger the launch of an activity or a service? Cheers, Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Orientation change - start Action/Service?

2008-11-06 Thread for android
http://code.google.com/android/reference/android/app/Activity.html#setRequestedOrientation(int) On Thu, Nov 6, 2008 at 2:18 PM, songs [EMAIL PROTECTED] wrote: Hi, I know how to detect an orientation change when an activity is running, but is there a way to have an orientation change trigger

[android-developers] Re: Orientation change - start Action/Service?

2008-11-06 Thread songs
Hi, Thanks for the link but that's not what I'm looking for. In fact, I just suggested that method to someone who wanted to keep their orientation constant while their app was running. What I'm asking for is a way to start with no activity running, flip the screen out, and have that physical

[android-developers] Re: Sending DTMF

2008-11-06 Thread [EMAIL PROTECTED]
Hi, Did this actually work ? Did you try this on a real device ? (we dont have access to G1 devices here in Israel) TIA On Oct 5, 2:36 pm, legerb [EMAIL PROTECTED] wrote: I'm trying to send DTMF tones during outgoing call this way in my PhoneStateListener. Is this the right way to send

[android-developers] Re: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1

2008-11-06 Thread Anders Rundgren
Wrong keystore version could mean that you do not use the BKS format but JKS. I had to write a converter: package org.webpki.tools; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.Enumeration; import java.security.KeyStore; import java.security.Key; import

[android-developers] Re: Need help using hat to track down memory usage

2008-11-06 Thread qvark
I posted a similar question some days ago without any success (http:// groups.google.com/group/android-developers/browse_thread/thread/ dddf6d5062dfb6b5/e970f0df5e229380?hl=enlnk=gstq=memory +dump#e970f0df5e229380). At least you have got the heap dump (that was the first step). Have you tried

[android-developers] Re: Camera preview on G1 only works in landscape ?

2008-11-06 Thread jarkman
On Nov 5, 10:30 pm, apkdev [EMAIL PROTECTED] wrote:  As a last resort, I'm going to download the android source and peek in to the built-in Camera app's source (assuming it's in there). Thanks for the confirmation, anyway. And good luck in the source code. I'd be very interested to hear

[android-developers] Re: Camera preview on G1 only works in landscape ?

2008-11-06 Thread blindfold
Thank you all for this umptieth discovery of a G1 camera showstopper! Good to see that it has been reported as issue 1193 http://code.google.com/p/android/issues/detail?id=1193 I'm afraid you will not find much in the published Android source since the G1-specific camera code is not included

[android-developers] Re: Orientation change - start Action/Service?

2008-11-06 Thread for android
Just look at these two links..they might help you..not sure though..and do let us know how it wrks! http://code.google.com/android/reference/android/hardware/SensorManager.html http://groups.google.com/group/android-developers/browse_thread/thread/baa791a8964efbe9/b4cb070b2875e55d?lnk=raot

[android-developers] Re: Request for developers HTC G1 (T-Mobile) review

2008-11-06 Thread [EMAIL PROTECTED]
Hi Eric, The key validation you mention is impossed by the network operator (T- Mobile)? Btw as far as I understand you, develpers still haven't the full Android OS source code so to skip that key validation, right? thanks, Eduardo On 5 nov, 22:57, Eric [EMAIL PROTECTED] wrote: A normal G1

[android-developers] Re: How to set up as a straight vertical display

2008-11-06 Thread dailyLife
Thanks a lot. [EMAIL PROTECTED] 2008年11月6日 - Original Message - From: songs To: Android Developers Sent: 2008-11-06, 16:20:45 Subject: [android-developers] Re: How to set up as a straight vertical display You probably want to put the following in your activity's onCreate:

[android-developers] MapView in TabHost

2008-11-06 Thread Friso Kluit
Hi, I created an application that uses the TabHost to show 3 tabs, the tabs showing an AnalogClock (widget) and ListView are working, but the tab that should show the MapView returns an 'java.lang.VerifyError' when it is selected. The Api key provided is correct, it is based on the

[android-developers] How to install software in the G1

2008-11-06 Thread dailyLife
My os is Windows ,IEDeclipse How to install software in the G1. --~--~-~--~~~---~--~~ 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

[android-developers] Re: Camera preview on G1 only works in landscape ?

2008-11-06 Thread blindfold
Update: it seems that about ten hours ago action was taken to publish/ patch the T-Mobile G1 (dream) specific camera code. See http://review.source.android.com/1776/patch/1/za6d1c35c38b78a114315a8b9da9364a39de6adba for libcamera/QualcommCameraHardware.cpp, libcamera/ QualcommCameraHardware.h,

[android-developers] Re: Browser extensions i Java? YES, NO, Some?

2008-11-06 Thread Jean-Baptiste Queru
The browser will invoke the download manager when navigating to a MIME type that is not natively supported (or when using the appropriate content-disposition, of when choosing save link). The download manager will download any file whose MIME type is supported for ACTION_VIEW by any installed

[android-developers] Re: Change active AlarmManager event

2008-11-06 Thread hve.dk
Can you provide me with a small code sample on how to unschedule the old alarm and schedule a new one inside the onReceive event? - TIA. On 6 Nov., 08:52, hackbod [EMAIL PROTECTED] wrote: Well you can unschedule the old alarm and schedule a new one. On Nov 5, 6:46 pm, hve.dk [EMAIL PROTECTED]

[android-developers] Geo localization GPS without 3G (internet connection)

2008-11-06 Thread Nanard
Hi, I run Google Map Location API on the emulator. It works fine. But (for G1 users) it is possible to receive GPS coordinates even if the phone is not connected to internet (Google services) ? Another question : has someone estimate the bandwidth taken by GPS data , and by GoogleMap data

[android-developers] Re: Fwd: Send DTMF

2008-11-06 Thread [EMAIL PROTECTED]
Hi, How do you do this ? (adding the DTMF sequence to the dialed number) Thanks. On Oct 23, 4:13 pm, legerb [EMAIL PROTECTED] wrote: I'm adding the DTMF sequence to the dialed number. This seems to work, but when the call is established I'm getting a confirmation dialog asking Send the

[android-developers] Re: WPA support

2008-11-06 Thread hyc
Mebbe he was thinking of LEAP, which *is* deprecated. Whatever, his actual post was rubbish. On Nov 5, 6:43 am, fiziks [EMAIL PROTECTED] wrote: you won't find EAP/PEAP support because Cisco themselves (the developers of PEAP) have not only stopped developing and supporting it, but are

[android-developers] Java ME on Android announcement

2008-11-06 Thread Bartek Teodorczyk
I'd like to present solution for running Java ME application on the Android. Details are on my blog page: http://microemu.blogspot.com/2008/11/running-java-me-applications-on-android.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: How to install software in the G1

2008-11-06 Thread joshbeck
I use a Tomcat webserver. You have to set the MIME settings so they recognize .apk files and serve them correctly. Josh Beck On Nov 6, 7:25 am, dailyLife[EMAIL PROTECTED] wrote: My os is Windows ,IEDeclipse How to install software in the  G1.

[android-developers] A network status info question

2008-11-06 Thread redmapleleaf
Hi all, would someone kind enough to let me know what I am doing wrong with the following code. I would like to get the network status using the ConnectionManager, but everytime I made call to it crashed: ConnectivityManager cm =

[android-developers] Re: A network status info question

2008-11-06 Thread szeldon
What kind of crash was it? Was it an exception? If so, what exception was it and what info it had? On Nov 6, 4:04 pm, redmapleleaf [EMAIL PROTECTED] wrote: Hi all, would someone kind enough to let me know what I am doing wrong with the following code. I would like to get the network status

[android-developers] Re: Can't return View derived class for BaseExpandableListAdapter? (used to work)

2008-11-06 Thread Mark Wyszomierski
Jason, thanks, that was exactly it, looks great now. On Nov 6, 12:07 am, Jason Parekh [EMAIL PROTECTED] wrote: Hi Mark, The problem is when you do:         mcv.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); A view's layout

[android-developers] unable to see # in webview

2008-11-06 Thread vel
final WebView wv = (WebView) findViewById(R.id.msgs); wv.loadData( bodyB#35;/B/body, text/html, utf-8); nothing is displayed in the webview and once we try to load a # character other characters following it are also not displayed Pls any one can guide me why this weired behavior

[android-developers] Compressed Camera Images

2008-11-06 Thread Alvin Yates
I'm taking pictures with the Camera using takePicture(null, null, myCallback), but taking pictures on the G1 gives me full 3.1M images every single time. I set the appropriate camera parameters in my onSurfaceChanged() method that is in the Activity, which I know is calling it as expected, but

[android-developers] Re: Orientation change - start Action/Service?

2008-11-06 Thread Michael
Or, just somewhere in your onCreate() for your activity, you can find out the current orientation (see getResources().getConfiguration().orientation ), and pick your Layout from there. You should also set android:screenOrientation=sensor in your AndroidManifest.xml, if you want to be notified of

[android-developers] An ANT Group of Taks for Emulator

2008-11-06 Thread Fred Grott(shareme)
Hello I am one of the often times jr contributors to Antenna ANT Tasks for MIDP developers, ie j2me midp. I am new here and may be working on new Android projects. I am thinking of doing a set of open source ANT Tasks for the Android emulator. How many developers would be interested in

[android-developers] Re: How to run AT Commands on Emulator

2008-11-06 Thread AlexZhang
SDK1.0 does not seem work with the option of -radio, but old SDK works! On Nov 3, 11:06 pm, David Turner [EMAIL PROTECTED] wrote: try emulator -help-radio On Mon, Nov 3, 2008 at 9:52 AM, Abraham [EMAIL PROTECTED]wrote: HI All, I would like to fine out if Android emulator provided

[android-developers] How to use WSDL web service in Android

2008-11-06 Thread Avinash Patil
I have simple WSDL web service file and added into project. Now I am trying to use WSDL web service through android class code, but not able to use it. Can anybody suggest how to import WSDL file in ANdroid, so that it can create auto classes for WSDL file and same can be used ion android main

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

2008-11-06 Thread sjschultze
This is what you want: http://android.git.kernel.org/?p=platform/development.git;a=tree;f=apps/Term On Nov 1, 2:45 pm, Mark Murphy [EMAIL PROTECTED] wrote: SnolahC_FR wrote: How do you manage to use a console on THE PHONE ? AFAIK, you don't. Just because it has Linux under the covers

[android-developers] Re: How to install software in the G1

2008-11-06 Thread HaleRazor
First, you have to sign the .apk: http://code.google.com/android/devel/sign-publish.html After that is done, you will use the command line iinstall/i that comes with the SDK. I think /? is the switch to get the command line params. I'm at work now and don't have the SDK installed here, so I'm

[android-developers] INSTANT MESSAGING

2008-11-06 Thread theghost8800
The phone has everything I need except a good aim app. I bought the phone to replace a sidekick lx The aim needs font size smaller - to be able to view contacts easier(the android lets you see 3 onscreen so you need to scroll) away message editing - ability to change status and give a summary

[android-developers] Creating tile view

2008-11-06 Thread Prashant
hi all, i m planning to create a view in which i want one tile view , within which i will need another four tile views, these innner tile view will contain images or controls, is it possible? thanks in advance, Prashant --~--~-~--~~~---~--~~ You received this

[android-developers] How to use WSDL web service in Android

2008-11-06 Thread aviart1
I have simple WSDL web service file and added into project. Now I am trying to use WSDL web service through android class code, but not able to use it. Can anybody suggest how to import WSDL file in ANdroid, so that it can create auto classes for WSDL file and same can be used ion android main

[android-developers] Re: Bluetooth Availability? Timeframe?

2008-11-06 Thread ALD
Great question, we have a client requesting an app be ported to Android but it requires BT. No answers seem forthcoming to any of the other similar questions posted about BT timing in the groups either. A. On Nov 4, 10:25 pm, USAePay [EMAIL PROTECTED] wrote: I am sure this issue has probably

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

2008-11-06 Thread joshv
Actually I've found the following works well: @Override public boolean dispatchTouchEvent(MotionEvent ev){ gd.onTouchEvent(ev); return super.dispatchTouchEvent(ev); } calling super.dispatchTouchEvent allows all of the other views to receive their events. For some

[android-developers] Intercept Call

2008-11-06 Thread BrunoZP.com
Hi, How can I intercept a user call, change it number and dial again ? Any example code ?? For example: The user dial 32546048 and press send, my application get this number, cancel the dialing, change this number to 3*2*5*4*6*0*4*8* and then dial ! This needs to happen automatically, without

[android-developers] Re: INSTANT MESSAGING

2008-11-06 Thread Justin (Google Employee)
Thanks for taking the time to give feedback on Android, however, topics such as yours would be better directed to http://groups.google.com/group/android-discuss , the Android discussion group. This group is focused on Android application developers, not platform applications like the built-in IM

[android-developers] How to detect when there is GPRS?

2008-11-06 Thread Breno
Hey fellows, i read in somewhere that is possible to do something (for example, start a service) when phone power up or do something when there is GPRS, or EDGE, or anything like that. I'm doing some tests here, and till now i'm just able to wake up my app when BOOT_COMPLETED. My question

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

2008-11-06 Thread Cezar Augustus Signori
need root access on the G1? http://modmygphone.com/forums/showthread.php?t=4351 Cheers, Cezar On Nov 6, 1:47 am, sjschultze [EMAIL PROTECTED] wrote: This is what you want:http://android.git.kernel.org/?p=platform/development.git;a=tree;f=ap... On Nov 1, 2:45 pm, Mark Murphy [EMAIL

[android-developers] Re: Table layout?

2008-11-06 Thread roland
Hi, you can do it. Here is an example: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); AbsoluteLayout al = new AbsoluteLayout(this); LinearLayout topLayout = new LinearLayout(this);

[android-developers] Re: How to detect when there is GPRS?

2008-11-06 Thread Jean-Baptiste Queru
You can listen to ConnectivityManager.CONNECTIVITY_ACTION broadcasts, or inspect the result of ConnectivityManager.getActiveNetworkInfo(). For the latter, get a ConnectivityManager object with (ConnectivityManager) Context.getSystemService(Context.CONNECTIVITY_SERVICE) JBQ On Thu, Nov 6, 2008

[android-developers] sdk activity life cycle picture inaccurate?

2008-11-06 Thread CJ
according to the picture, for an regular activity, if onstop is called and ondestory is not called, there are only two ways to go: oncreate or onrestart. which means, if oncreate is called, the PROCESS is killed. here is my application: the activity starts a thread that runs in th background.

[android-developers] Re: How to install software in the G1

2008-11-06 Thread Fish Kungfu
To install a compiled .apk file, you can just use the adb command. It's explained here in the Running an Android Application about midways down: http://code.google.com/android/intro/develop-and-debug.html Cheers~~Fish~~ On Thu, Nov 6, 2008 at 9:49 AM, HaleRazor [EMAIL PROTECTED] wrote:

[android-developers] Re: Browser extensions i Java? YES, NO, Some?

2008-11-06 Thread Peli
Is there a possibility to catch a generic application/xml? It seems this is displayed in the browser in raw format, and it does not try the ACTION_VIEW. Our application would like to handle rss feeds, which should have the mime type application/rss+xml, and which we can catch through an intent

[android-developers] adb shell permissions on real G1 device

2008-11-06 Thread Bradley Kite
Hi there, I am trying to debug some things on a real G1 device, but the shell doesnt have the permissions to do what I'm trying. http://code.google.com/android/reference/adb.html#sqlite documents how to examine a database, however this is one of the things I cannot do on a real device. $ id id

[android-developers] Article - Getting Started in Android Game Development

2008-11-06 Thread Robert Green
Thanks to everyone here for all their help getting Light Racer written! I decided to try to give back a bit of knowledge so I wrote this article on Android Game Development - http://www.rbgrn.net/blog/2008/11/getting-started-in-android-game-development.html For all the new and aspiring game

[android-developers] Re: Notifications from file system

2008-11-06 Thread CJ
anybody has an example? On Sep 17, 5:02 pm, hackbod [EMAIL PROTECTED] wrote: TheFileObserverclass allows you to monitor filesystem changes: http://code.google.com/android/reference/android/os/FileObserver.html It does need to be better documented, but it works. :) On Sep 17, 2:56 am,

[android-developers] Re: Browser extensions i Java? YES, NO, Some?

2008-11-06 Thread Jean-Baptiste Queru
I'm not sure about the exact browser-side mechanisms at that specific level (I really only know the download side of things, but not how things get there). If nobody else comments, you might be able to get an answer in the source code. JBQ On Thu, Nov 6, 2008 at 8:59 AM, Peli [EMAIL PROTECTED]

[android-developers] Re: Problem with onActivityResult

2008-11-06 Thread Alvin Yates
Actually it's because of this line, which took me two days to figure out when I was doing it: In class A: ... btOk.setOnClickListener(new OnClickListener() { public void onClick(View v) { bus = new Intent(AndTeste.this, Buscador.class);

[android-developers] How to have 2 activities open in one Eclipse workspace?

2008-11-06 Thread DulcetTone
I have 3 projects: Jarfile/ contains a bunch of Java classes that are put into a jar Activity1/ contains an activity (and an AndroidManifest.xml) Activity2/ contains a second activity (and an AndroidManifest.xml) When I try to build and debug Activity2, I get this error: [2008-11-06

[android-developers] Re: Problems with file permissions on actual G1 platform

2008-11-06 Thread Bradley Kite
Hi It seems quite sensible to have root access disabled by default when the devices ship, but is there really no way that it can be enabled again for the purposes of debugging etc? As owner of the device I feel I should be entitled to such a thing. Does any body know how? Any help will be

[android-developers] Re: Orientation change - start Action/Service?

2008-11-06 Thread songs
Those links were interesting, but again had to do with dealing with orientation in a running activity. The suggestions for detecting and setting the orientation were also for a running activity. What I'm looking for is for something that'll trigger the start of an activity based on an

[android-developers] Re: A network status info question

2008-11-06 Thread redmapleleaf
Here is the stack trace: Thread [3 main] (Suspended) ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord) line: 2138 ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord) line: 2156 ActivityThread.access$1800(ActivityThread, ActivityThread

[android-developers] Re: adb shell permissions on real G1 device

2008-11-06 Thread Michael
That's pretty intentional. Is there some reason you can't use the emulator for this? --~--~-~--~~~---~--~~ 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] Re: Improved support for camera on Android emulator.

2008-11-06 Thread [EMAIL PROTECTED]
The source for the Qualcomm camera has been released: http://review.source.android.com/1776 . The camera itself , and the functionality in the native interface are excellent, the problem is that very little of the available functionality is implemented in the Android 1.0 sdk. We are very

[android-developers] Re: Browser extensions i Java? YES, NO, Some?

2008-11-06 Thread Michael
I would think that you WANT the browser to show those. Lots of sites use that mimetype because the browser will display it. It'd be better for you to find another solution to send these links at your application. I mean, a desktop browser works the same way as Android's does here. And

[android-developers] Re: Orientation change - start Action/Service?

2008-11-06 Thread Michael
Oh. Well of course. Make your application be a background service that watches the sensor. --~--~-~--~~~---~--~~ 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] Re: adb shell permissions on real G1 device

2008-11-06 Thread Bradley Kite
Hi there, Yes there is a reason. I'm working on an application that requires wifi access and cannot be used within the emulator. There must be a way around this? Regards -- Brad. On 06/11/2008, Michael [EMAIL PROTECTED] wrote: That's pretty intentional. Is there some reason you can't use

[android-developers] Re: fontspacint about drawText

2008-11-06 Thread Mike Reed
drawText only draws a single line, so vertical spacing is always done by the application/view (getFontSpacing returns suggested values for that). Horizontal spacing happens in several ways: - Paint.setTextScaleX() lets you apply a multiplier to all of the widths in the text (making it

[android-developers] Re: Check for new version of applications

2008-11-06 Thread Guillaume Perrot
Because we use a XMPP based application, we chosed Pubsub as a way to notify new versions to the user. The main advantage is that it uses a push model. The user is aware of a new version when he launches the app or in real time if he's online while a new version has just been released. No timer

[android-developers] Re: Orientation change - start Action/Service?

2008-11-06 Thread songs
Hi, Sorry, when I say flip, I mean flip the screen out and expose the keyboard. I thought about having a service/alarm that polls every second, but that seems like a big waste of battery and cpu cycles. Ideally, I'd like to register for an event that gets sent when the user pops the screen in

[android-developers] Re: Question about View, Canvas, and Drawable.. --Basics

2008-11-06 Thread Mike Reed
Views - yes Canvas - you can create your own to draw into a bitmap, but views are handed a Canvas on their onDraw() method. For a given drawing pass, all of the views (usually) are handed the same Canvas (which points to the screen). However, on a subsetquent call to onDraw(), the actual

[android-developers] Extend a EditText to create an editable view performing operation onKeyDown

2008-11-06 Thread polo777
Hi Everyone, I am trying desperately to extend the EditText view to override onKeyDown. My goal is to create an EditText that will update UI elements each time the user will type one character within. The code is as simple as that: public class SearchView extends EditText { public

[android-developers] Re: How to install software in the G1

2008-11-06 Thread HaleRazor
Yes, thanks Fish, I mistakenly said to run install when I should have said adb -install... On Nov 6, 10:57 am, Fish Kungfu [EMAIL PROTECTED] wrote: To install a compiled .apk file, you can just use the adb command.  It's explained here in the Running an Android Application about midways down:

[android-developers] Re: Thread Question

2008-11-06 Thread Guillaume Perrot
You should not use the following in your case but there is a simple way to wait for a thread to complete, it's the Thread.join() function. This should be called only in a background thread which need to synchronize with another background thread for some reason. You should (i'd say must) never

[android-developers] Re: How to use WSDL web service in Android

2008-11-06 Thread opengl es
Hi, I use KSOAP2 (you'll find more about KSOAP2 in forums/groups etc..) It works great once you know how to deal with XSD and namespaces and KvmSerializable here is what i do: private static final String SOAP_ACTION = MyMethod; private static final String METHOD_NAME = MyMethod;

[android-developers] problem obtaining android source from windows/cygwin

2008-11-06 Thread dreamerBoy
bash-3.2$ /cygdrive/c/myRepo/repo init -u git://android.git.kernel.org/platform /manifest.git Traceback (most recent call last): File /cygdrive/c/myRepo/repo, line 587, in module main(sys.argv[1:]) File /cygdrive/c/myRepo/repo, line 554, in main _Init(args) File

[android-developers] Re: hooking to the PHONE button

2008-11-06 Thread Declan Shanaghy
Now you're just arguing semantics. I never said he could steal it, that would be quite a stupid thing for the OS to allow. Registering for that Intent allows him to do what he wants in the context of when he is allowed to do it. Therefore it answers his question (or at least gets him as close as

[android-developers] Re: Favorites list

2008-11-06 Thread Khaled Sliman
Yeah but if you call some one even once, the go in the favorites list, or I am I missing something On Wed, Nov 5, 2008 at 10:28 PM, Romain Guy [EMAIL PROTECTED] wrote: The favorites list does not contain the name of all people you call/that call you. It contains the name of the people you

[android-developers] Re: Request for developers HTC G1 (T-Mobile) review

2008-11-06 Thread Eric
It seems unlikely that any information on skipping the firmware signature check will ever be released by HTC or Google, since that would defeat the purpose of the signature check. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] G-cube?

2008-11-06 Thread hyc
Any other autocross/road-racing fans here? Does anyone remember the G- Tech or G-Cube accelerometers used to measure car performance? Would be really nice to have a program like this http://www1.pacific.edu/~j-lee10/Data%20Analysis.htm that can log the accelerometer data and plot a map of your

[android-developers] Re: Favorites list

2008-11-06 Thread Romain Guy
Because you don't have enough favorites. It will get better and more refined over time. On Thu, Nov 6, 2008 at 1:53 PM, Khaled Sliman [EMAIL PROTECTED] wrote: Yeah but if you call some one even once, the go in the favorites list, or I am I missing something On Wed, Nov 5, 2008 at 10:28 PM,

[android-developers] Re: How to set up as a straight vertical display

2008-11-06 Thread hackbod
Fwiw, if this is a constant value, it is better to set it in your manifest with android:screenOrientation. On Nov 6, 12:20 am, songs [EMAIL PROTECTED] wrote: You probably want to put the following in your activity's onCreate:    

[android-developers] Re: Extend a EditText to create an editable view performing operation onKeyDown

2008-11-06 Thread hackbod
You need to implement the constructor used for inflating from XML -- look at the View constructors for the appropriate one. Also generally this kind of thing is better done by attaching listeners (of which TextView offers a whole host) rather than subclassing. On Nov 6, 11:38 am, polo777 [EMAIL

[android-developers] Re: adb shell permissions on real G1 device

2008-11-06 Thread hackbod
Unfortunately there is no way to get to app-private files from the shell in 1.0. You can create those files as word readable though. On Nov 6, 11:18 am, Bradley Kite [EMAIL PROTECTED] wrote: Hi there, Yes there is a reason. I'm working on an application that requires wifi access and cannot

[android-developers] Re: sdk activity life cycle picture inaccurate?

2008-11-06 Thread hackbod
You can use adb logcat -b events to see the event log for what the activity manager is doing to try to understand what is going on. Also adb shell dumpsys activity will show you the current state of the activity stack (at the top of the output). My guess is that you are getting a second

[android-developers] Re: Intercept Call

2008-11-06 Thread CJ
i don't think that is going to happen. On Nov 6, 8:57 am, BrunoZP.com [EMAIL PROTECTED] wrote: Hi, How can I intercept a user call, change it number and dial again ? Any example code ?? For example: The user dial 32546048 and press send, my application get this number, cancel the dialing,

[android-developers] Use Bundle to Pass Bitmap

2008-11-06 Thread joshbeck
Is it possible to pass a bitmap between activities using a bundle? Thanks, Josh Beck --~--~-~--~~~---~--~~ 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] Re: Facebook notification app while we wait for a facebook app

2008-11-06 Thread Dan B.
The structure of Facebook makes that very difficult, applications have to request a private key from the Facebook server rather than using a normal login in order ro protect the account logins from hacking. Check out the Market app Statisinator to see what I mean. On Nov 6, 7:00 pm, DigiJeff

[android-developers] how to kill activity in android

2008-11-06 Thread forrestxu
Hi, I have question. For test purpose, I want to kill an activity of an android application when it is paused or stopped to simulate the android system kill an activity when it is in low resource. How to it? Regards, Forrest --~--~-~--~~~---~--~~ You received

[android-developers] android market publish button does not work

2008-11-06 Thread sori
I finally got my application ready for distribution. I filled up all fields in the market upload page, then pressed Publish button. There is no reaction. No confirmation or no error message at all. Is this expected behavior or the server temporarily down? Please let me know if I miss anything

[android-developers] Re: TextView.SavedState example?

2008-11-06 Thread hackbod
A static variable is almost certainly not going to do what you want -- one of the big reasons for all of this is to be able to restore state if the process is killed, and if you are putting stuff in a static variable then that will all go away with the process when it is killed. Unfortunately it

[android-developers] How to get the position of a specific element in a spinner based on the element's text

2008-11-06 Thread Juan David Trujillo C.
Hi guys! Does anyone know how to get the position of a specific element in a spinner based on the element's text: Example: Given the following Spinner: position element 0Blue 1Red 2Yellow 3Black 4Brown How do I

[android-developers] Re: Help: thread stuck with error still suspended after undo (s=1 d=1)

2008-11-06 Thread denismo
Thanks for the reply. I don't have the broken APK, I fixed it yesterday. If I remember correctly, it had something to do with Cursor.getLong being invoked after the Cursor has been closed. Or may be with ContentResolver.delete in the middle of traversal by Cursor. I couldn't realize - I just

[android-developers] Using an autocomplete filled with information from a database query

2008-11-06 Thread Juan David Trujillo C.
Hi all!! I want to create an autocomplete that gets its information from a database query. I have a database method that returns the Cursor (with name, value and date fields) I need, but I dont know how to actually fill it, so it works as expected as the Contacts API demo:

[android-developers] Re: how to evoke pv logger

2008-11-06 Thread Dave
To turn on PV logging, change extlibs/pv/oscl/pvlogger/src/pvlogger.h: /* Release mode-- No logging */ #define PVLOGGER_INST_LEVEL 0 Change this value to 5 and extlibs/pv/android/thread_init.cpp: #if 0- Change this value to 1 PVLoggerAppender *appender = new

[android-developers] Re: android market publish button does not work

2008-11-06 Thread samlu
I had the same problem on IE. Please use Google's web browser or Firefox. It should be ok. Sam On Nov 7, 10:03 am, sori [EMAIL PROTECTED] wrote: I finally got my application ready for distribution. I filled up all fields in the market upload page, then pressed Publish button. There is no

[android-developers] Re: TextView.SavedState example?

2008-11-06 Thread Mark Murphy
hackbod wrote: A static variable is almost certainly not going to do what you want -- one of the big reasons for all of this is to be able to restore state if the process is killed, and if you are putting stuff in a static variable then that will all go away with the process when it is

[android-developers] Re: AACPlus - Decoding a Stream? - Anyone Shoutcast?

2008-11-06 Thread Dave
The codecs are there. The issue is that ShoutCast doesn't use HTTP1.1 protocol for streaming. You could probably hack up a proxy to make it work though. Also, there is no support for extracting metadata tags from a live stream (for artist, title, etc). On Nov 4, 4:45 pm, Jona [EMAIL PROTECTED]

[android-developers] Re: Recorder Audio

2008-11-06 Thread Dave
Audio recording support is a bit rough in 1.0. The AMR-NB file format is described here: http://www.ietf.org/rfc/rfc3267.txt It's just a simple header appended to the raw AMR stream. On Nov 4, 1:55 am, mesak82 [EMAIL PROTECTED] wrote: I'm using Sound Recorder application and after recording I

[android-developers] Button Resource Invalid?

2008-11-06 Thread joshbeck
Ok, I am trying to get a button to pop up. When I add : b.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { int z = 5; } Logcat tells me the resource is invalid. Code: b.setOnClickListener(new View.OnClickListener() {

[android-developers] How can I set selection highlight in a ListActivity

2008-11-06 Thread NY
Such as I click the the first select item but I want to highlight the second and the third Can I do this? --~--~-~--~~~---~--~~ 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] Where is the android.jar source

2008-11-06 Thread NY
I visit git.source.android.com want to find the source of android.jar such as the package android.app, android.widget but I can not find them where are they? thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Where is the android.jar source

2008-11-06 Thread Evan JIANG
frameworks/base/core/java/android Regards, Evan JIANG On Fri, Nov 7, 2008 at 11:22 AM, NY [EMAIL PROTECTED] wrote: I visit git.source.android.com want to find the source of android.jar such as the package android.app, android.widget but I can not find them where are they? thx

[android-developers] How to use GridView ?

2008-11-06 Thread Prashant
hi all, i want to design Grid View in which i can add different type of views like WebView, ImageView . is it possible? and if yes how to do that? thanks in advance, Prashant --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

  1   2   >