[android-developers] Re: playing video file

2009-04-02 Thread jaimin mehta
thanks for the suggestion but i have solve that with multiply by 16 to my 320*480px and it runs in full screen On Thu, Apr 2, 2009 at 11:26 AM, Dave Sparks davidspa...@android.comwrote: Have you looked at the VideoView widget? On Apr 1, 2:41 am, jaimin jaiminmeht...@gmail.com wrote: hi,

[android-developers] textView

2009-04-02 Thread pramod taragi
Hi How to set position of TextView and EditText using java code. i want to set EditText just after TextView. Thanks in advance. Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.webmessenger.yahoo.com/

[android-developers] Question regarding unexpected application behaviour (reported by market users)

2009-04-02 Thread EvgenyV
Hi all, I just uploaded the application and got couple of negative rates like force closes on start. On start the tab page populated by Intent which is ListActivity. The list data is loading from resources. List is really small. No internet and file system access triggered on start. The strange

[android-developers] Re: How can I show the escape characters of a xml file in my app

2009-04-02 Thread manoj
Here is some example.xml: Person Name Manoj/Name class 10th /class Genre male/Genre ... /Person The name field contains ' ' (Manoj as shown in the above example). When I was parsing it using the DOM parser as shown in the previous mail, I am getting only

[android-developers] sms database

2009-04-02 Thread jaimin
hi. i am new to android . i want to devlop an appliaction in which i put lots of sms in the phone's sms database and then i would like to send those sms to contacts which user selected. 1)so first i want to know how can i see the sms database. 2)and how can i update those sms database so any

[android-developers] Re: How to know SMS and Contacts update?

2009-04-02 Thread jaimin
hi . i am new to android. i have same problem or questio that u have so if u find any answer then plz can u share with me? because i need the solution very badly. On Mar 16, 12:41 pm, Kenny yxw...@gmail.com wrote: Can anybody help? To be clear, I want to write a Android Java program to

[android-developers] Re: How to make a ListView adapt to dynamic element sizes?

2009-04-02 Thread for android
What am I missing? How can I programmatically tell a container view to look at its children again in order to resize if necessary? example in api demos --- Views/Lists/6.ListAdapter Collapsed On Wed, Apr 1, 2009 at 1:12 PM, Matthias m.kaepp...@googlemail.com wrote: Hi, I am struggling

[android-developers] Re: Vista does not access G1 memory card

2009-04-02 Thread David Turner
Can you tell us exactly what you do to access it ? On Wed, Apr 1, 2009 at 11:37 PM, intbt tacbe...@gmail.com wrote: I am trying to access the memory card but Vista says please insert a disk into removable disk H: and will not permit me to load files into the card. Any ideas as to what is

[android-developers] Re: Vista does not access G1 memory card

2009-04-02 Thread dillirao malipeddi
When you connect the device to your PC then 1) In the phone notification area it will display connect to USB open the notification and click on mount then it will allow you to access memory card I think it will help you On Thu, Apr 2, 2009 at 3:07 AM, intbt tacbe...@gmail.com wrote: I am

[android-developers] play video error

2009-04-02 Thread Nithin
Hi to all Can any one tell me how to play video in emulator... I tried but its give error Code is as below.. package com.example; import android.app.Activity; import android.graphics.PixelFormat; import android.net.Uri; import android.os.Bundle; import android.util.Log; import

[android-developers] Re: how to get the first frame of a video file ?

2009-04-02 Thread Wei
Hi Dave, Currently, I need use android.media.MediaMetadataRetriever. I can find MediaMetadataRetriever.java in source code but there is no MediaMetadataRetriever.class build to out folder. Where can I get the class file. I need to import the android.media.MediaMetadataRetriever in my test AP.

[android-developers] Re: is video recording available in V1.1?

2009-04-02 Thread david
Hi zeeshan, I also tried audio recording of AMR on G1. But I'm failed. Could you please share your way with me? Thanks in advance. david On Mar 26, 2:46 am, zeeshan genx...@gmail.com wrote: Hi Experts, i am looking for video recording example, it suppose to be in api- sample but not

[android-developers] Starting an ACTIVITY from a SERVICE.

2009-04-02 Thread Zhubham
Hi, I give the following command to start an Activity from inside a service: Intent intentToSaveRecord = new Intent (android.intent.action.saveRecord); startActivity(intentToSaveRecord); This is giving the following run time error: android.util.AndroidRuntimeException: Calling startActivity()

[android-developers] Re: is video recording available in V1.1?

2009-04-02 Thread ambrosehua
It seems that Android doesn't support AMR recording currently, which is actually different from audio recording On 4月2日, 下午3时16分, david david...@gmail.com wrote: Hi zeeshan, I also tried audio recording of AMR on G1. But I'm failed. Could you please share your way with me? Thanks in advance.

[android-developers] Creampuff?

2009-04-02 Thread Rajesh S
Is there any truth about creampuff rumours? Here s what we heard. Could somebody from google android team confirm? Creampuff will nave a number of innovative features including: * Support for the new A5DP Bluetooth standard, for realistic 5.1 surround sound * Tethering via Bluetooth and

[android-developers] Re: Creampuff?

2009-04-02 Thread Al Sutton
Answered in your cross-post to android-discuss. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V

[android-developers] Re: Free paid versions of an app, shared user ID SQLite

2009-04-02 Thread Marcus
Also interesting to me! I have the same problem and no idea for the best practice. But I don't even need to use the same database (because I can import from the free version). But I want to use the same code base. So should I copy / branch the code? Can I extend from the previous project?

[android-developers] Re: Starting an ACTIVITY from a SERVICE.

2009-04-02 Thread Dianne Hackborn
You really shouldn't do that. Use a notification instead. On Thu, Apr 2, 2009 at 12:27 AM, Zhubham sahilz...@gmail.com wrote: Hi, I give the following command to start an Activity from inside a service: Intent intentToSaveRecord = new Intent (android.intent.action.saveRecord);

[android-developers] Re: Cannot use custom style that inherit from translucent android theme

2009-04-02 Thread Jeffrey Sharkey
Yea, I'm seeing the same thing. It looks like touching the style locally puts a black background behind that window. I confirmed this by defining android:windowBackground to red with 50% alpha, and it shows through to a solid black background. j On Feb 16, 11:45 pm, Adrien Guichard

[android-developers] Adding jpg into content resolver

2009-04-02 Thread yves...@gmail.com
I successfully adding a jpg file into ContentResolver by using insert, and I can query contentResolver to get information about the jpg file. But if I go to Pictures app, the new picture is not showing. I debugged into the code and found out that in the Camera source code, when it tries to

[android-developers] How to avoid garbage collection?

2009-04-02 Thread admin.androidsl...@googlemail.com
So my app is performing ok, but could be running a lot better. LogCat shows me every 4 - 5 seconds, GC freed usually about 20,000 bytes each time, so clearly I am doing something wrong. I have gone through the reference material on GC / memory allocation at

[android-developers] Re: SystemProperties.get()/set()

2009-04-02 Thread Lawrence
Anybody has any idea on this? On 4月1日, 下午10时43分, Lawrence lejie.zh...@gmail.com wrote: Hi all, In case of reading/setting properties defined in /default.prop /system/build.prop /system/default.prop /data/local.prop, i am finding many source code in android release are using

[android-developers] What tools do you use for profiling?

2009-04-02 Thread admin.androidsl...@googlemail.com
Sounds very useful for performance tuning. Not sure how I go about doing 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] Detecting if microphone is mute during a call

2009-04-02 Thread Meti
Hello, I would like to detect if microphone in the device or in a headset is mute during a call. Currently I've taken the following approach (unfortunately - it does not work): 1) register PhoneStateListener to detect when a call is started/ finished 2) when call is started then I start a

[android-developers] Re: How to avoid garbage collection?

2009-04-02 Thread David Turner
Note also that some Java 5 idioms will allocate objects for you if you're not careful. For example, string concatenation like: myString = value of x is + x; Will allocate a temporary StringBuilder object each time this statement is executed. Other cases are using for () to iterate over certain

[android-developers] Re: android.provider.MediaStore.RECORD_SOUND

2009-04-02 Thread zeeshan
try this Uri recordedAudio = data.getData(); On Apr 1, 5:45 am, estivenrpo estiven...@gmail.com wrote: Hi, I try to use the android.provider.MediaStore.RECORD_SOUND intent and it work perfect, the problem that i have is whit the uri when the file is saved...  the file is saved on /sdcard

[android-developers] Re: How to avoid garbage collection?

2009-04-02 Thread David Turner
Without any detail about what your core loop is doing, there is no way we can answer that. The general rule of thumb is don't allocate and you won't get a GC at all. On Thu, Apr 2, 2009 at 10:53 AM, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: So my app is

[android-developers] Why does not SoundRecoder work on G1

2009-04-02 Thread david
hi everyone, I can see 'Sound Recorder' under Setting/Manage Applications. But I can not find any entry to run it. Please help me. david --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: WebView.clearHistory()

2009-04-02 Thread StefanK
I recently had the same issue. What I found is that you have to clear history AFTER the (first) page loads. It appears that the history clears everything before the current page so if your browser is at page A, you clear history and navigate to page B your history will be A B, not just B, but if

[android-developers] OutOfMemoryError (external allocation too large for this process)

2009-04-02 Thread zeeshan
Hi Experts, I am beating my head against a wall since 3 days trying to resolve out of memory exception but still no success. here is the line giving me this error image_view.setImageURI(image_uri); everytime when i change the orientation or start this activity again, it gives me out of

[android-developers] Re: OutOfMemoryError (external allocation too large for this process)

2009-04-02 Thread Mark Murphy
zeeshan wrote: Hi Experts, I am beating my head against a wall since 3 days trying to resolve out of memory exception but still no success. here is the line giving me this error image_view.setImageURI(image_uri); everytime when i change the orientation or start this activity again,

[android-developers] Re: How can I show the escape characters of a xml file in my app

2009-04-02 Thread Mark Murphy
manoj wrote: Hi I am writing an application which reads the xml data and just prints it. The xml data consists of some escape sequence characters like , ... I am using DOM parser for this. When trying to print the data, I am not able to get the original data. That is because you are

[android-developers] Re: Question regarding unexpected application behaviour (reported by market users)

2009-04-02 Thread Evgeny V
Found and fixed the problem. It's my responsibility. On Thu, Apr 2, 2009 at 9:17 AM, EvgenyV evgen...@gmail.com wrote: Hi all, I just uploaded the application and got couple of negative rates like force closes on start. On start the tab page populated by Intent which is ListActivity. The

[android-developers] Android Localization tool

2009-04-02 Thread AlexK
Hi, today I publish small utility/tool that should help all Android developers providing easier localizations. You can now ask own customers in helping you to localize program for there native language. It's a small Windows OS GUI utility written on C#, and requires .NET Framework 2.0. Project

[android-developers] Re: Unused java hardware acceleration on the G1 (was Re: Android game developers desperately need optimised game engine example code ...)

2009-04-02 Thread blindfold
Yes, you are right, for many applications it may not be that critical. It rather reflects my own disappointment with the fact that whereas modern Nokia phones meet my real-time requirements with Java ME and offer satisfactory performance for users without any need to mess with native code, the

[android-developers] loading the jpg image problem

2009-04-02 Thread manoj
Hi friends, I am downloading the images from a remote site. the images may be .png or .jpg files. I have no problem of loading the png images. But when the app tries to load the .jpg images, I got the following error and couldn't load the jpg images. Here is the error description: I/global

[android-developers] Re: How can I show the escape characters of a xml file in my app

2009-04-02 Thread Evgeny V
May be it will help you. http://www.fileformat.info/info/unicode/char/search.htm The ' (quote) sign I replaced by \u0027 and it works. Thanks, Evgeny On Thu, Apr 2, 2009 at 9:18 AM, manoj manojkumar.m...@gmail.com wrote: Here is some example.xml: Person Name Manoj/Name

[android-developers] Re: OutOfMemoryError (external allocation too large for this process)

2009-04-02 Thread zeeshan
thanks for the reply Mark, yes u r right issue is something related to image pixels i checked another image which is ok but i really need to display that image. i am getting the path of the image from DB in activity A and passing it in extra to activity B to set as imageUri to ImageView. here is

[android-developers] How can the user event callback be invoked?

2009-04-02 Thread Bin Chen
See: public class CompassActivity extends Activity implements Renderer, SensorEventListener { The CompassActivity implements SensorEventListener and override the onSensorChanged() method. I am curious when the hardware accelerator is moving, how can the system invoke this callback? I mean how

[android-developers] Re: Delete SMS messages from SIM card

2009-04-02 Thread jayesh
Hi Mark, Did u get solution of your problem? On Mar 25, 2:55 am, mark.ka...@gmail.com wrote: Anyone, anyone? Bueller? ... I'll answer my own question, I'll try using the uri content://sms/sim On Mar 20, 1:14 pm, mark.ka...@gmail.com wrote: That is programmaticallydeletemessages

[android-developers] Re: SD Card

2009-04-02 Thread Jean-Baptiste Queru
You're asking in the wrong group - this group is to support developers creating apps using the official SDK. JBQ On Wed, Apr 1, 2009 at 8:04 PM, Eric Chen jude...@gmail.com wrote: I met the same problem from two weeks ago, if any one fixed it pls help me. Best Regards Eric Chen On Wed,

[android-developers] Re: Android Physics Engine

2009-04-02 Thread shaun
I took a look at Anton's demo on a G1 device, and I was glad to see the integration of accelerometer as it really added value. I assume the calculations for collision detection and response are fairly basic, which allows for that performance. Simpull will also provide good performance for a

[android-developers] Re: testing using EasyMock

2009-04-02 Thread gyuri
I see! Thanks for your help! Gy On Mar 29, 6:21 pm, matthias m.kaepp...@googlemail.com wrote: Hi, On Mar 26, 4:15 pm, gyuri gyorgy.tar...@gmail.com wrote: CanEasyMockbe used with Android SDK totestmy code? ... How did you run thattestcase? You cannot run tests against Android classes

[android-developers] Re: BroadcastReceiver for data SMS - static works, dynamic does not

2009-04-02 Thread Gulfam
Hi thesquib, I am trying to receive sms like you. My requirements this I dont want to show my specific messqage in default Inbox. Can you help me regarding this. can you share your sms receiving code with me ?.I Have used xml for receiver as you mentioned above but my receiver is not invoking

[android-developers] Deleting a full database record in SQLite

2009-04-02 Thread Zhubham
Hi, I need to introduce a menu option on clicking which the whole SQLite database file stored at data/data/com.company.packName/databases/ gets deleted. Using DROP TABLE command would only delete the table under a particular database. How can i achieve this?? Thanks in advance. Best Regards,

[android-developers] Re: WebView bug with pageDown() ?

2009-04-02 Thread pperotti
That is what it means but if you pass true to the boolean argument it means that the page will be scrolled to the bottom. It seems that after invoking loadData(), the contents is moved to the bottom but once the web view has finished loading its data, the scroll is resetted to the top. Is there

[android-developers] contact changed timestamp

2009-04-02 Thread gyuri
Hi! I am familiarizing with android and getting names, phone number, emails etc from contacts. Getting them is not a problem however, I would need the info when any of those data was last modified. I don't see if it is possible at all? Is there anyone who knows how to figure out when they were

[android-developers] Source Code for dx

2009-04-02 Thread ScottG
Anybody know where one can obtain the source code for dx all in one downloadable blob? The following gives dx a file at a time: http://www.netmite.com/android/mydroid/dalvik/dx/src/com/android/dx/ Thanks for any insight. Cheers, Scott --~--~-~--~~~---~--~~ You

[android-developers] Re: How to avoid garbage collection?

2009-04-02 Thread ellipsoidmob...@googlemail.com
Did you take a look at the allocation tracker in DDMS? This is a really useful tool - you can see exactly what objects you are creating in your control loop. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: send nmea data to android emulator

2009-04-02 Thread malt
Hera are some of my nmea records, all RMC-records have status 'A': $GPGSV,2,1,08,26,64,173,40,09,49,277,41,29,49,161,39,28,40,058,43*78 $GPGSV,2,2,08,07,35,109,37,18,31,287,34,05,10,224,25,08,06,089,*75 $GPRMC,060738.799,A,5219.5448,N,01022.2971,E,5.11,25.65,090104,,*3D

[android-developers] Re: Capturing HEADSET_PLUG (android.intent.action.HEADSET_PLUG)

2009-04-02 Thread Henning Schaefer
Sure... you need to implement two classes. One, derived from BroadcastReceiver, which actually captures the broadcast. And, of course, the service that keeps the receiver alive all the time. The service is the easy part. You only need to override two methods: @Override public void

[android-developers] Re: loading the jpg image problem

2009-04-02 Thread manoj
when I put the same image (downloaded from the remote site and stored) in local server. Then it is working. I dont understand why the image is not loading when i tried to access the same image from remote site. Can any one please suggest me how to solve this issue. Thanks, Manoj. On Apr 2,

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-04-02 Thread Al Sutton
Just for completeness of the records of this thread, this problem is fixed by installing unzip. Al. On Mar 25, 10:41 am, Al Sutton a...@funkyandroid.com wrote: Tried a checkout and build of the cupcake branch this morning and got; Output:

[android-developers] How to refer TextAppearence

2009-04-02 Thread Iroid
Hello All, I am trying to migrate from SDK 1.0 to SDK 1.1 for this i have to remove all the references of R.Styleable. from my code. While working on this - I am facing two problems: Problem 1: I have created one attrs.xml and declaring attributes there which intern referring to android

[android-developers] Re: OutOfMemoryError (external allocation too large for this process)

2009-04-02 Thread Jean-Baptiste Queru
Use smaller images. You're trying to allocate a bitmap that's 20 times larger than the screen. That's just unrealistic on a constrained device like a cell phone. JBQ On Thu, Apr 2, 2009 at 8:08 AM, zeeshan genx...@gmail.com wrote: any solution? On Apr 2, 2:05 pm, zeeshan genx...@gmail.com

[android-developers] Re: How to find Jarsigner

2009-04-02 Thread Nox
This would be very well, but this is only working with Debian, and I've got Ubuntu 8.05,so it isn't working!!! Do you know where else I can download Jarsigner for Ubuntu??? Please help me! On 28 Mrz., 20:34, Pd lotusscr...@gmail.com wrote: The Internet is a big place but does have little

[android-developers] Re: Source Code for dx

2009-04-02 Thread David Turner
Use the snapshot link in gitweb to get a tarball for a given directory, for example: http://android.git.kernel.org/?p=platform/dalvik.git;a=snapshot;h=8fbe0f8db412961fa412cc1387d55deab5a8206c;sf=tgz will give you the dex sources On Thu, Apr 2, 2009 at 4:11 PM, ScottG sguth...@gmail.com wrote:

[android-developers] Re: Troubles with SurfaceView's surfaceCreated/Destroyed

2009-04-02 Thread Tom
On Apr 1, 10:34 am, Streets Of Boston flyingdutc...@gmail.com wrote: Do *not* use volatile variables. They are not guaranteed to be atomic. It's just a compiler hint. Thanks for the tip. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Read the SMS already stored

2009-04-02 Thread binklee
Hi everybody, I unfortunately don't find the necessary documentation to retrieve the SMS already received in the inbox. My goal is to do smthg like : ContentResolver cr = mCtx.getContentResolver(); Cursor cur = cr.query(Uri.parse(content://sms/inbox), null, null, null,

[android-developers] Re: Why isn't the standby instruction able to stop the thread?

2009-04-02 Thread Augustin.CL
Could anyone give me some helps? On 4月1日, 下午5時17分, Augustin.CL iamaugus...@gmail.com wrote: Dear All, Recently, I have tried to know what would happen to an alive thread, when the device goes to sleep. I program a simple activity that will create and start a thread printing HERE

[android-developers] Re: Why isn't the standby instruction able to stop the thread?

2009-04-02 Thread Mark Murphy
Could anyone give me some helps? Most of what you are doing (e.g., request_state) are not in the SDK. Questions regarding firmware operations are best asked on a discussion list pertaining to firmware: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Creating a private jar

2009-04-02 Thread Cyril M
I'm currently developping my own Android widgets. To help me in future projects and speed up my developments, I've been trying to create a private jar that contains all those widgets (that extend from Android classes such as View or ViewGroup). To do that, I created a project and included all

[android-developers] wap solution

2009-04-02 Thread bin
Hi android engineers. I knew that android does not support wap, but I think that wap is a important feature in many countries and districts, so does someone know that how can add the wap feature or where/who already have some solution? Best regards.

[android-developers] Open files in res.raw by name - File not found error

2009-04-02 Thread cruiseru...@gmail.com
Hi, i have problem with opening files... this.res=imsLoader.context.getResources(); this.context=imsLoader.context; InputStream istream=null; ... ... istream=res.openRawResource(R.raw.l6); //- it works correcty that file is on res/raw/l6.lvl istream=context.openFileInput(l3.lvl); // it give me

[android-developers] Re: Creating a private jar

2009-04-02 Thread Mark Murphy
Looking at the Android source code, I noticed that android.jar contains its own ressources so I assume this is possible. Yeah, but that's special. There is no way for JARs written to support SDK-level applications to embed resources that I have found. Instead, you need to package your

[android-developers] Re: Open files in res.raw by name - File not found error

2009-04-02 Thread Mark Murphy
Hi, i have problem with opening files... this.res=imsLoader.context.getResources(); this.context=imsLoader.context; InputStream istream=null; ... ... istream=res.openRawResource(R.raw.l6); //- it works correcty that file is on res/raw/l6.lvl istream=context.openFileInput(l3.lvl); // it

[android-developers] Re: java.lang.NoSuchMethodError in Eclipse layout editor

2009-04-02 Thread Matt
For the time being, I have gotten around this problem by having a second initializer which calls the methods that are throwing the problems. I believe this is a bug, to be honest. At the very least, if there are separate classes for the actual Android SDK and the Android SDK that Eclipse uses,

[android-developers] Socket problems: broken pipe

2009-04-02 Thread prs(tm)
Hi all, I create and open a socket like this: try { socket = new Socket(); InetSocketAddress addr = new InetSocketAddress(hostName, port); socket.connect(addr); dis = new DataInputStream(socket.getInputStream());

[android-developers] com.android.phone.InCallScreen activity

2009-04-02 Thread Ruben
Is it possible to intercept the intent of calling and answering and by doing that replacing the calling/answering screen. I see from the logcat that right now com.android.phone.InCallScreen activity is been started. Anyway to overwrite that to have my own activity to show up?

[android-developers] Detecting navigation input method on device

2009-04-02 Thread summers
Hi all, Does anyone know how to detect what primary non-touch navigation method (trackball, dpad, wheel, etc) a device is using within the code? I know that an app can structure the /res/ folders to detect it like this: /res/ drawable-nonav drawable-dpad drawable-trackball drawable-wheel

[android-developers] Detecting navigation input method on device

2009-04-02 Thread summers
Hi all, Does anyone know how to detect what primary non-touch navigation method (trackball, dpad, wheel, etc) a device is using within the code? I know that an app can structure the /res/ folders to detect it like this: /res/ drawable-nonav drawable-dpad drawable-trackball

[android-developers] London Android User Group - 16th April in Clerkenwell

2009-04-02 Thread natalieskillsmatter
We are pleased to announce the next London Android User Group led by Android developer and evangelist Carl-Gustaf Harroch. The group meet to discuss and demo Android platform possibilities. Details of the next meetup are as follows: Thursday 16th April @ 6.30pm - 8pm (approx) followed by drinks

[android-developers] about input method

2009-04-02 Thread 打工者
hi , how can I add special input method to android ? could anyone tell me ? 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] Best way to draw street name on a maps app

2009-04-02 Thread Iulian
Hello all, I'm working on a maps application that draws streets from vectorial data using OpenGL. I encountered a bottleneck while drawing street names; as OpenGL can't render fonts by it's own, I followed the SurfaceOverlay API demo and put another view on top of the GLSurfaceView. The

[android-developers] Does Android support progressive download via methods other than chunked transfer coding?

2009-04-02 Thread Ethan
As title, also please remind me where to find specifications related to these sorts of question. Thanks for your help! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How to compile android app with static library?could somebody give me a example?thanks

2009-04-02 Thread 打工者
How to compile android app with static library?could somebody give me a example?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] opening androidmanifest.xml in apk

2009-04-02 Thread sree
Hi, I cant see the contents of androidmanifest.xml in apk. How to see them? any tool provided to view that file? Thanks Sree --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Socket problems: broken pipe

2009-04-02 Thread prs(tm)
Hi all, (Apologies if this double-posts, it didn't seem to come through earlier) I create and open a socket like this: try { socket = new Socket(); InetSocketAddress addr = new InetSocketAddress (hostName, port); socket.connect(addr);

[android-developers] Debugging in Eclipse - current line wrong for methods with multiple return points

2009-04-02 Thread Jesper T
Hi, While doing debugging with Eclipse I noted that the debugger highlights the wrong line as next line to execute for methods with multiple return points. It fools the developer that the last line of the method is executed, where in fact it is not. Does anyone know if this is some kind of

[android-developers] alternative to sms manager

2009-04-02 Thread sree
Hi I want to send a message to only specific application in other device but i dont want SMS client to pick that. How is it possible? Thanks Sree --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] How to switch the view from horizontal to Vertical ?

2009-04-02 Thread Eric
Hi,all How can I change the Android view from horizontal to Vertical by force? Can the view switch dynamicly? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: How to add more bluetooth profiles into android

2009-04-02 Thread Moyo
Yeah, this is very very annoying, many basic phones do support a wide variety of bluetooth profiles. Yet we are just limited to one. Theres got to be a way, and forgive me but the primary developers need to make adding more bluetooth profiles a huge top priority. Yes A2DP On Mar 31, 6:56 am,

[android-developers] com.android.phone.InCallScreen activity

2009-04-02 Thread Ruben
Is it possible to intercept the intent of calling and answering and by doing that replacing the calling/answering screen. I see from the logcat that right now com.android.phone.InCallScreen activity is been started. Anyway to overwrite that to have my own activity to show up?

[android-developers] How to display soft keyboard unlock screen for keyguard in cupcake

2009-04-02 Thread HelenB
Hi, I'm trying to write customized unlock screen for use in the keyguard window. This unlock screen has a TextView with inputType=Text and in a normal test Activity, the soft keyboard pops up when it gains focus. However, when running in the context of the KeyGuard as part of unlockscreen view,

[android-developers] Curl for android

2009-04-02 Thread Max
Any one know a function that acts like curl or wget does for linux? --~--~-~--~~~---~--~~ 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] How to capture keydown on Home screen....

2009-04-02 Thread John B. Hansen
Hi all, Seems like when the user is on HOME screen and presses an alphabetic key, a Contacts search is started. For my application, I want to do something different with key presses. How do I capture those key presses? Do I have to write a new HOME application (which seems like

[android-developers] How can make Calendar in Android relate to my Gmail account?

2009-04-02 Thread Eric
Hi, In Android 1.0 there's Calendar program, when I try to run it, it shows Waiting for sync. And there's no any gmail related apks to log in gmail account. And I know Google won't open source Gmail apk code. What should I do to make sync run normally ? Should I have to get Gmail.apk from

[android-developers] Can Maps.apk in SDK1.0 run on Android 1.0?

2009-04-02 Thread Eric
Hi, I found that Google Maps didn't exist in Android 1.0 release version. So I tried to put Maps.apk/GoogleApps.apk/Street.apk into /system/app but it didn't run. So I'd like to kown if Maps.apk from SDK 1.0 can run on Android 1.0 ? What modification should I do? Thanks.

[android-developers] Re: google map

2009-04-02 Thread vivien wu
Hi, All, I met the same issue with Bin. Maps exists on SDK 1.0, 1.1, and G1 but doesn't exist on emulator build by myself with SDK source code. How to install maps as the default application ? I can't find source code for maps under android\packages\apps. Does it require additional license with

[android-developers] Re: Error creating file on SD card

2009-04-02 Thread aow
you first check you have write permission to /sdcard,use adb to connect G1,and then use command like these: adb shell touch /sdcard/test.txt On 4月2日, 下午12时50分, ambrosehua huang.p...@zte.com.cn wrote: Are you sure that you have write permission to /sdcard ( sdcard mounted with RW and the

[android-developers] How to compensate for gravity when using the accelerometer?

2009-04-02 Thread Gaizka
I am trying to write a simple app that calculates velocity based on the current acceleration (between sampling times). I have no problem obtaining the device’s acceleration from the accelerometer, nor calculating the velocity based on the reading. My question has to do with how to compensate for

[android-developers] How to compensate for gravity reading in order to calculate velocity

2009-04-02 Thread Gaizka Navarro
I am trying to write a simple app that calculates velocity based on the current acceleration (between sampling times). I have no problem obtaining the device's acceleration from the accelerometer, nor calculating the velocity based on the reading. My question has to do with how to compensate for

[android-developers] Paying $50 for someone to design an application...

2009-04-02 Thread Matthew110607
I am not much of a programmer...my last programming class was FORTRAN. But I love this phone with the exception of one problem: I hate the autolock feature of the phone. http://androidforums.com/application-requests/4517-paying-50-app.html I can provide references via eBay or the Corvette

[android-developers] Open the mail go to top level income on next day

2009-04-02 Thread SHIVA80
Hai You Click the WEb Site and all Next day your daiy income 100% go to top level http://www.homemadeincome.weebly.com . Thanks for your click Shiv --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Adding IM providers to native IM app

2009-04-02 Thread Sean Bannister
I'm just looking at the Android's native IM app and wondering if it's possible to create new providers? I know other people have written seperate IM clients but it'd be great to add to list in the native IM app. The 3 I'd like to work on is Facebook, MySpaceIM, Skype.

[android-developers] How does prelink-linux-arm.map work?

2009-04-02 Thread Hsiung , Chuan-Da 熊全達
Hi, I got some diopen() fails in my native library. I guess the reason is insufficient memory. I conduct some experiments by exhausting the memory and then dynamically load some .so files. Yes, dlopen() failed again. At first I thought the .so files listed in prelink-linux-arm.map are libraries

[android-developers] Re: screen sleeps while playing the video

2009-04-02 Thread aow
I think you need find sleep interface about your platform and disable sleep operating in your app! On 4月2日, 下午1时33分, manoj manojkumar.m...@gmail.com wrote: Hi, I have written a video player app. Its working fine, but the problem is the screen is going to in sleep mode after playing some

[android-developers] about YAFFS2 Image

2009-04-02 Thread 打工者
Hi all: I know to make yaffs2 image from rootfs using mkyaffs2imag tool. But sometimes I need to know the content of the yaffs2 image. how to know to it or how to convert yaff2 image to rootfs?any ideas? thanks. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: How to run apk file on SDcard?

2009-04-02 Thread aow
Can apk file run on SDcard of G1? On 4月2日, 上午1时22分, Fred Grott(shareme) fred.gr...@gmail.com wrote: not possible Stephen Le wrote: Hi all, How to run one or more apk programmess base on Emulator's SDcard? Thanks! -- Sincerely!- 隐藏被引用文字 - - 显示引用的文字 -

[android-developers] Re: How to run apk file on SDcard?

2009-04-02 Thread Mark Murphy
Can apk file run on SDcard of G1? Not presently. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

  1   2   >