[android-developers] Re: Problem debugging the application -MediaPlayer

2008-11-19 Thread Dagger
Some one help I am using 0.9 SDK On Nov 19, 12:58 pm, Dagger [EMAIL PROTECTED] wrote: I am having the same problem but I am only implementing the Activity Class which is included in the package by default. THis is the partial code. public class ActiveOctave extends Activity implements

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Thao
Hi, Are you using the Eclipse IDE ? In that case you could use the DDMS perspective to easily push your file to sdcard. If it still doesn't work, check your permission by connecting to adb shell then type ls -l to see the permission on your sdcard. If it still doesn't work, your sdcard image

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Hu HaiQing-E6997C
Do you have already added -sdcard options? -Original Message- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thao Sent: Wednesday, November 19, 2008 4:33 PM To: Android Developers Subject: [android-developers] Re: Can not push files to emulated sdcard

[android-developers] another new return of findViewById???

2008-11-19 Thread Gameboy
I want to change content of edit text after changing orientaton, but seems I get strange problem: I use mEditor = (EditText) findViewById(R.id.editor); in onCreate(), when changing orientation, onCreate() will be invoked again, however seems mEditor becomes new one after changing orientaton each

[android-developers] Please share your knowledge on Content Provider in Android

2008-11-19 Thread yasmin afrose
Hi, Anybody knows Content Provider concept in Android. Please reply me.. Thanks in advance!!! Yasmin -- Everything is Possible For U only --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread yasmin afrose
Hi, I've faced the same issue while I've executed Push cmd. If your using eclipse then use DDMS perspective from that Go to File Explorer window like Log Cat. In that window, select sdcard. Now you are able to see the icon(Top right of the window) for Push Pull. Using Push, you can add any

[android-developers] New soft keyboard for Android

2008-11-19 Thread walterc
i have a neo freerunner and i can't wait till q1 of next year for google to come out with a soft keyboard so i made one. I used the copy-and-paste functionality on Android so the keyboard works with other apps without changing them. to download: http://code.google.com/p/netgents/downloads/list

[android-developers] Re: on testing a webserver on the android emu

2008-11-19 Thread mysmallbrain
And this is a another possibility (showing a sqlite database in a simple way): Open the phones contacts and write data from all rows to a html text file, so it's ezy to see the information on the small webserver: private void makeContactHtml(Context context) { String filename =

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Ludwig
Have you ever created an SD card and mounted it on the emulator? By default there is no SD card in the emulator and only the mount point shows up. This is consistent with the problems you report. This topic has been a recurring issue on this group. There are also instructions in the documentation

[android-developers] Re: SoundRecordingDemo in v1.0

2008-11-19 Thread bluekidjoe
Excuse me... Could anyone give me the SoundRecordingDemo app??? I have already spent a lot time... but in vain... Besides, I followed the source code described in the following hyperlink: http://code.google.com/android/reference/android/media/MediaRecorder.html.

[android-developers] What is Activity and View in MVC design paradigm

2008-11-19 Thread lucius
Hi, In Android, it has 2 major building blocks to build an application: Activity and View. Can you please tell me how do they fill in the MVC design paradigm? I once think Activity is the C of the MVC and the View is the V of the MVC. But it appears i am not correct as I find out that both

[android-developers] Populating 2nd Spinner Based on 1st. Using Arrays.

2008-11-19 Thread AJ Quick
I've been stumped by no doubt a simple thing to do. I have an array for States that goes into Spinner #1. When someone selects the State, it needs to populate the Spinner #2 with the Cities. My arrays are setup like this: string-array name=states itemAlabama/item itemAlaska/item

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Thao
In fact this is a permission issue. What I can state is that you have those permission : d-- for sdcard when the emulator is not launched with the sdcard mounted. When it is mounted we have those permission : d---rwxrwx system system1970-01-01 01:00 sdcard So if you are using

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread yasmin afrose
Hi Asif, Before compling the project, Right Click on the Project - Debug as - Open Dubug Dialog - choose Target tab - Then give your sdcard within Additional Infor... (See the .bmp file) the click Debug button.. Then see the link,

[android-developers] Accelerometer sensors shut off during sleep?

2008-11-19 Thread songs
Hi, Do the accelerometer sensors shut off during sleep mode even if I have a partial wake lock? I've got my sensor code service doing what I want as long as the phone is awake, and I was hoping that holding a partial wake lock would enable it to do the same when the phone is asleep since the

[android-developers] Re: SoundRecordingDemo in v1.0

2008-11-19 Thread Alvin Yates
It is a 3gp file. If you want the AMR data, you'll have to use ffmpeg to rip it directly (As far as I'm aware). That will require some knowhow and the ability to compile the source from CVS, since ffmpeg isn't a typical open source project in the sense it has release builds of any kind.

[android-developers] Re: New soft keyboard for Android

2008-11-19 Thread 20lives
good idea, great implementation ! i like it :) what about multi-language ;) ? On Nov 19, 11:11 am, walterc [EMAIL PROTECTED] wrote: i have a neo freerunner and i can't wait till q1 of next year for google to come out with a soft keyboard so i made one.  I used the copy-and-paste

[android-developers] What r tools for Building .apk file

2008-11-19 Thread jalandar
When I develop the project using eclipse the .apk file goes on emulator. But I want upload my appl on server Is there any tool to build .apk file. Or it possible to pull .apk file from emulator to pc, Regards jagtap --~--~-~--~~~---~--~~ You received this message

[android-developers] Toying with MapView

2008-11-19 Thread Alvin Yates
Decided to toy with the Map API while I clean up my current app. So I made a simple MapView and was kinda intrigued to notice a couple things, so I'm making sure this is default behavior and not me breaking something: 1) Is there no default set of buttons for pan/zoom? I had to manually add

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

2008-11-19 Thread Peli
What are the specific problems here regarding to managing the UI? Aren't menu items beyond six items shown as a scrollable list, anyway? Peli On Nov 18, 10:36 pm, Dianne Hackbod [EMAIL PROTECTED] wrote: Note that this only works with applications that want to participate in the mechanism, and

[android-developers] Overriding functionality of Back softkey

2008-11-19 Thread Asif k
How can we override back softkkey fuctions of emulator in over application so that this key also can be used for going back to parent screen. we can use onKeyDown function but what can be the key code?? --~--~-~--~~~---~--~~ You received this message because you

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

2008-11-19 Thread Alvin Yates
If you make the Camera its own Activity and set it to call after the progress window terminates, then you shouldn't have a problem. If you're trying to do it all in one Activity, you might have an issue. The Camera API is very loose when it comes to timing constraints as it appears (without

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Asif k
Hi All, Thanks again for ur help But Still issues. I have deleted sdcard,.image file in my desktop and close the emulator. Then I had created the sdcard image again from starting but in the debug configuration when I gave -sdcard path of image file and pressed debug. error message came that

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Asif k
Hi Ludwig, I used following procedure : 1).first closed the running emulator. 2).created sd card image: ..\tools\mksdcard 512M C:\androidapp \sdcard.img It executed successfully and got sdcard.img file in the C:\androidapp directory. 3).In eclipse , in debug configuration of Fileexplorer

[android-developers] Re: another new return of findViewById???

2008-11-19 Thread Mark Murphy
Gameboy wrote: I want to change content of edit text after changing orientaton, but seems I get strange problem: I use mEditor = (EditText) findViewById(R.id.editor); in onCreate(), when changing orientation, onCreate() will be invoked again, however seems mEditor becomes new one after

[android-developers] Re: How to disable the security/permission check?

2008-11-19 Thread Mark Murphy
blues wrote: May I know if this is a way to disable the security/permission check? I don't believe there is one. This is a enterprise project so we have the full control of all the phones. We don't need the market to distribute the software. I need to share the user id of phone by doing

[android-developers] Re: Toying with MapView

2008-11-19 Thread Mark Murphy
Alvin Yates wrote: 1) Is there no default set of buttons for pan/zoom? I had to manually add zoom myself, but pan will be annoying. There are no buttons for pan. Make sure you have android:clickable=true on the com.google.android.maps.MapView in your layout, and pan just works by dragging

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Ludwig
I see your problem. The commands you are issuing should do the trick, I cannot see anything wrong with them.Just quickly toying around with it (like using a wrong file path etc) I cannot get Eclipse to give me an error box as you get. Anyone else an idea? Ludwig 2008/11/19 Asif k [EMAIL

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Thao
If you don't succeed to launch via eclipse try this in command line : emulator -sdcard E:\_sources\android\filesystem\mySDCard.ima This will launch the emulator with the card and then you'll be able to push your file via eclipse DDMS perspective or in command line too. Hope that will work !

[android-developers] Re: Why RfcommSocket.java doesn't provide send/recv function?

2008-11-19 Thread dove
need helps, pls On 11月19日, 下午1时32分, dove [EMAIL PROTECTED] wrote: I now reading the RfcommSoekct.java and ScoSocket.java, I have found the source code doesn't support send/recv function. so if I create a Rfcomm/Sco socket, how should I send/recv data? thanks

[android-developers] test, my apologies, please ignore

2008-11-19 Thread Dorn Hetzel
test, my apologies, please ignore, having some trouble posting earlier --~--~-~--~~~---~--~~ 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] problem with buttonListener

2008-11-19 Thread suchita bhardwaj
Hi all,In my code button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // Perform any action on click } }); I am not able to use listener in sdk1.0.Its giving

[android-developers] How to make a flow text in a textview

2008-11-19 Thread Ernest
Hello,everyone I want to make a text from left to right flow for definite times in Textview . The text should automatic flow if the text length is very long.And only the text flow not the textview.But in APIdemos/views/Animation/Push isn't what I want. Should I adopt the

[android-developers] How do i layout buttons without horizontally without padding between them?

2008-11-19 Thread vorun
I am trying to layout buttons 1 | 2 | 3 etc.. without any padding between the buttons? I am sure its something very easy and i can't seem to find out how. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Asif k
Hi all, Thanks a lot 4 ur inputs. I had tried to push files using ddms but not happening(thanks yasmin 4 proper path). According to Thao , I checked permissions and it is showing d-- I think it is a problem of the permission. Can anyone please suggest me how to change permission ??

[android-developers] Re: G1 linux

2008-11-19 Thread MrSnowflake
Then why don't you make if for Symbian/iPhone/Windows Mobile? They support bluetooth and Android will too, in a couple of months. Hacking bt in will render your app useless for other phones, and a system update could break your app. On Nov 19, 12:22 am, Rui Freitas [EMAIL PROTECTED] wrote: Hum,

[android-developers] Re: Overriding functionality of Back softkey

2008-11-19 Thread Asif k
Hi All, I got the answer for that.no need to reply. Thanks Asif On Nov 19, 4:02 pm, Asif k [EMAIL PROTECTED] wrote: How can we override back softkkey fuctions of emulator in over application so that this key also can be used for going back to parent screen. we can use onKeyDown function but

[android-developers] Re: What is Activity and View in MVC design paradigm

2008-11-19 Thread Alvin Yates
What you said isn't quite true. It semi-follows the paradigm, but not in the way you would normally think. There isn't a strict divorce of backend-frontend because of how Activities function, but your heavy lifting is certainly not being done by Views. All Views are truly UI components, but

[android-developers] How to disable the security/permission check?

2008-11-19 Thread blues
May I know if this is a way to disable the security/permission check? This is a enterprise project so we have the full control of all the phones. We don't need the market to distribute the software. I need to share the user id of phone by doing this: android:sharedUserId=phone But on the G1

[android-developers] Re: Does Ant Sign Apps?

2008-11-19 Thread dar
The build.xml created by activitycreator.py did not include signing targets when I ran it. The release target creates the ${out-unsigned- package} apk which is named ${ant.project.name}-unsigned.apk when I run it. Be sure to read: http://code.google.com/android/devel/sign-publish.html First

[android-developers] Re: Please share your knowledge on Content Provider in Android

2008-11-19 Thread yasmin afrose
Hi, No body is there aa... Please help me to create content provider for our application... I can't wait for your answers :( Thanks for your time... On Wed, Nov 19, 2008 at 2:36 PM, yasmin afrose [EMAIL PROTECTED]wrote: Hi, Anybody knows Content Provider concept in Android. Please

[android-developers] Re: Can not push files to emulated sdcard

2008-11-19 Thread Ludwig
If you do not have an SD card mounted with the -sdcard command, you will only see the /sdcard mount point and you will not be able to write to the (non-existent) SD card. IMHO no amount of banging your head against the wall will help with that. I think there is something wrong in either how you

[android-developers] Re: Please share your knowledge on Content Provider in Android

2008-11-19 Thread Casey Link
This isn't how a public forum for developer communication works. You post a specific problem, demonstrate the solutions you have tried, then ask for help. If you want something done entirely for you, put out an advertisement to hire someone that will work for money. Also, I suggest googling

[android-developers] Re: Convert Canvas - Bitmap

2008-11-19 Thread Jose Cortes
Done!! It works!! Thanks! On 18 nov, 17:22, Romain Guy [EMAIL PROTECTED] wrote: Yes it's possible, by doing exactly what you said. Everything you draw on the Canvas will be drawn in the bitmap. On Tue, Nov 18, 2008 at 3:11 AM, Jose Cortes [EMAIL PROTECTED] wrote: Hello again I will

[android-developers] Where are the predefined gmail contact groups ?

2008-11-19 Thread jarkman
We're working on an app which makes use of contact groups. On the G1, I can see contact groups that I have defined in the gmail web client. But, I cannot see the predefined contact groups (Friend, Family, Co-workers), either in the Contacts app UI or via Contacts.Groups.CONTENT_URI. Obviouysly,

[android-developers] Re: How to disable the security/permission check?

2008-11-19 Thread goat
I believe you could do this by building the entire system image from source. That way, everything is signed with your certificate and the check on sharedUserId to make sure the certificates are the same shouldn't fail. source.android.com On Nov 19, 6:41 am, Mark Murphy [EMAIL PROTECTED] wrote:

[android-developers] Re: maps package sources

2008-11-19 Thread goat
Those are not open sourced, google released that portion of android only as jar files. I believe those classes are in framework.jar in this repo: http://android.git.kernel.org/?p=platform/frameworks/opt/com.google.android.git;a=summary On Nov 18, 9:28 pm, pimeja [EMAIL PROTECTED] wrote: Hi,

[android-developers] Re: Tips for Orientation

2008-11-19 Thread Blake B.
Put the android:screenOrientation=sensor as an attribute on each activity in your manifest that you want to be sensor-oriented. Works great! Thx for the tip hackbod! On Nov 18, 3:14 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Will this setting make the screen change to lanscape using

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

2008-11-19 Thread Mark Murphy
for android wrote: Hey i have got a similar prb,but i dont exactly understand what u mean by * When your button clicks, get the ViewHolder from the button's parent, get the position out of the ViewHolder, and use that position. I though it was fairly self-explanatory: --

[android-developers] Re: disable home button

2008-11-19 Thread zl25drexel
is this package available? android.speech.recognition.* On Nov 17, 10:58 am, Mark Murphy [EMAIL PROTECTED] wrote: zl25drexel wrote: import com.android.internal.widget.SlidingDrawer; :( http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;...

[android-developers] Re: disable home button

2008-11-19 Thread zl25drexel
oh never mind, found it let's see if i can put that to good use :-) On Nov 19, 9:49 am, zl25drexel [EMAIL PROTECTED] wrote: is this package available? android.speech.recognition.* On Nov 17, 10:58 am, Mark Murphy [EMAIL PROTECTED] wrote: zl25drexel wrote: import

[android-developers] Documentation on T-Mobile G1 nightshot-mode?

2008-11-19 Thread blindfold
Is there any documentation on the use of T-Mobile G1 camera parameters such as luma-adaptation and nightshot-mode? From the source code I can read that nightshot-mode=0 means off, while turning on luma-adaptation (any non-zero value?) is stated to cause a crash. However, it remains unspecified

[android-developers] API for getting URL associated with a Geopoint

2008-11-19 Thread Jake Maui
Does anyone know of what the API is for getting URL's associated with a given Geopoint? 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] API for arbitrary tags in an image file (location etc)?

2008-11-19 Thread Jake Maui
I noticed that Picassa can read location from tags in an image file. The camera in the G1 can update a tag for location. Is this available in an API so that we can do the same in our apps? Thx --~--~-~--~~~---~--~~ You received this message because you are

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

2008-11-19 Thread alexandre
I got the same initial error, the problem was just git not being installed. On 11 nov, 17:20, Jean-Baptiste Queru [EMAIL PROTECTED] wrote: Just so that we have a trace in the group archives... The instructions athttp://source.android.com/downloadshould work on MacOS and linux, which are the

[android-developers] android call log layout

2008-11-19 Thread crontabpy
http://code.google.com/android/reference/android/R.layout.html Anyone knows which of these layouts does android use to populate its call log?? thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Location-based Service APIs

2008-11-19 Thread salman.geek
Hi to all. Im facing some problems in getting the actual coordinates through the GPS.Using the LocationBasedService API i have got the coordinates provided by the Mock location as mentioned in the Api but please Help me in making DIrect communication with the GPS. How can i get the Coordinates

[android-developers] connect wifi printer from android browser

2008-11-19 Thread nekin
hi i have one requirement in one of my web site that i have one button in profile page of user login. and i want to print some data from there over wifi. so any one get idea that how can we connect wifi printer from android browser. ? --~--~-~--~~~---~--~~ You

[android-developers] Re: limitation on ExpandableListView

2008-11-19 Thread g1ster
No comments?! --~--~-~--~~~---~--~~ 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

[android-developers] Re: connect wifi printer from android browser

2008-11-19 Thread Jean-Baptiste Queru
Android doesn't support any form of printing at the platform level at this point. I would imagine that it might be theoretically possible to implement some TCP-based printing protocol in an individual app, but it seems like a lot of effort (and making it happen within a custom browser would add

[android-developers] Re: undoing others mess.

2008-11-19 Thread Ian
Hi, On Nov 17, 5:17 pm, Michael [EMAIL PROTECTED] wrote: I was lookin for a little help on how i could take a .apk and unpack it if i wanted to alter the code. i see some really genius stuff out there but i want to tweak it Tweaking other peoples' work is indeed an excellent way to

[android-developers] Re: radio frequency receive

2008-11-19 Thread Ian
On Nov 18, 3:29 pm, Ernest Tam [EMAIL PROTECTED] wrote: I have a requirement to write a driver to receive a special radio frequency on G1. I believe there should be some API available... I thnik you're out of luck! The radios in a phone (there are several) aren't just like a shortwave that

[android-developers] Clean install adn uninstall?

2008-11-19 Thread g1ster
My application stores audio clips in \sdcard\ external directory. When install and uninstall (especially uninstall), what is recommended for initializing and removing of the file upon onInstall and onUninstall events. Are there event interceptors available.

[android-developers] Re: Quality of audio recording from MediaRecorder

2008-11-19 Thread dorn
Is the MediaRecorder the only method available to acquire audio from the microphone, or is there a lower level method available? On Nov 14, 4:59 pm, Dave Sparks [EMAIL PROTECTED] wrote: The MediaRecorder is currently hardcoded for AMR-NB and is intended for MMS messages. You can expect

[android-developers] Computer Software

2008-11-19 Thread Nirosha
jjj Android Developers | Google Groups Android Developers. Discuss developing Android applications using the Android framework. Get help with troubleshooting apps, advice on implementation, ...

[android-developers] Re: radio frequency receive

2008-11-19 Thread Ernest Tam
What frequency does G1 support? I don't know exactly the radio frequency of our device generating. If I know the frequency of G1, I can verify with my supplier whether my luck is really running out. Ernie On Wed, Nov 19, 2008 at 8:10 AM, Ian [EMAIL PROTECTED] wrote: On Nov 18, 3:29 pm,

[android-developers] Re: SharedPreferences problem

2008-11-19 Thread Eric B
What I'm taking from this is that if my BroadcastReceiver, which runs off an AlarmManager, is accessing the preferences and the user then opens the PreferenceActivity in a separate process the behavior is undefined and most likely causes the PreferenceActivity to not find the existing values? I

[android-developers] Text wrapping in tables in WebView

2008-11-19 Thread UBZack
If I set up this simple test html, consisting of two tables: html table trtdabc def ghi jkl mno pqr stu vwx yza bcd efg hij klm nop/td/ tr /table table trtdabc def ghi jkl mno pqr stu vwx yza/td/tr /table /html ...and then view it in either the Android browser or a WebView, I get the following

[android-developers] Re: radio frequency receive

2008-11-19 Thread Andrew Stadler
Just as a reminder, this list is for discussion of developing applications for Android devices using the Android SDK. Please see http://code.google.com/android/groups.html for other mailing lists that may be more suitable for your question. In this case, access to the underlying radio devices

[android-developers] Re: radio frequency receive

2008-11-19 Thread Dan B.
according to the whitepaper... Band (frequency): 850 MHz;900 MHz;1800 MHz;1900 MHz these are all standard GSM frequencies for wifi, it's using the standard range of frequencies at approx 2.4GHz On Nov 19, 10:54 am, Ernest Tam [EMAIL PROTECTED] wrote: What frequency does G1 support? I don't

[android-developers] Re: connect wifi printer from android browser

2008-11-19 Thread Dan B.
what needs to be added is PostScript and RAW support over TCP, that will allow printing to most network printers and even RIP servers over TCP sockets. there's probably no good way to support printing to non-network printers that are just being shared by a desktop though, unless the desktop

[android-developers] Re: android call log layout

2008-11-19 Thread Andrew Stadler
The call log isn't implemented by the system, so its resources (such as layout) are not in the system. Take a look at Contacts/res/layout-finger/, which you can obtain from the open source release. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Is it possible delete rows from the top of a ListView (without recreating it)?

2008-11-19 Thread Josh Guilfoyle
You would update your adapter and call notifyDataSetChanged (from the adapter). The ListView would perform a full layout and draw, which does not have as much overhead as you might think. For instance, it will only concern itself with the list items currently on screen. You cannot manipulate

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

2008-11-19 Thread vmohar98
When I downloaded the Android emulator (SDK 1.0 R1) - gears seems to be there in the web browser however gears in the android emulator web browser could never give me a good location. What am I missing? thanks vinay On Nov 19, 1:49 am, Sean Sullivan [EMAIL PROTECTED] wrote: On Nov 18, 9:26 pm,

[android-developers] Re: get position of cursor in EditText

2008-11-19 Thread loty
I think you can use getSelectionStart/End functions to get cursor position. On Nov 18, 4:18 pm, Alex B [EMAIL PROTECTED] wrote: Hi! How does one determine the cursor position in an android.widget.EditText text view? Example: User types: quick browm fox. User realizes the typo (browm).

[android-developers] Re: Location-based Service APIs

2008-11-19 Thread JP
On Nov 19, 5:55 am, salman.geek [EMAIL PROTECTED] wrote: i have got the coordinates provided by the Mock location as mentioned in the Api but please Help me in making DIrect communication with the GPS. That's what I did, and I have not found a problem with accessing the GPS location

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

2008-11-19 Thread Jon Webb
That fixed the problem. I ran the initialization in a separate Activity, and start the camera preview in an Activity which is started after the initialization was done. I wrote a test app to verify the problem, BTW. If I start the camera preview after a delay of 50 ms or more it fails with a

[android-developers] MemoryHeapBase

2008-11-19 Thread Prabhakar
Hi All, when i use getHolder().setType(SurfaceHolder.SURFACE_TYPE_GPU); in my custom surfaceView. i get this error ERROR/MemoryHeapBase(50): error opening /dev/pmem_gpu1: No such file or directory i have been facing this problem i could'nt figure out what could be the possible reason. Please

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

2008-11-19 Thread mattR
I downloaded the standard source and modified my platform to work with it. The standard source is available from following these instructions: http://source.android.com/download On Nov 18, 12:18 pm, errold32 [EMAIL PROTECTED] wrote: Where do idownloadandroid for use on a development platform

[android-developers] Active install count (i.e. downloads)

2008-11-19 Thread b2amedina
In the developers view of the market my install and active install counts are 0, but I have over 350 comments (all positive). The market view from the phone also shows 50 downloads which has to be wrong based on the number of comments. Do I have to do something else?

[android-developers] Re: SharedPreferences problem

2008-11-19 Thread dar
Interesting, I noticed this line in the documentation just now, from http://code.google.com/android/reference/android/content/SharedPreferences.html Note: currently this class does not support use across multiple processes. This will be added later. So to me, this means that even though my

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

2008-11-19 Thread blindfold
Related to issue 894? On Nov 19, 6:49 pm, Jon Webb [EMAIL PROTECTED] wrote: That fixed the problem. I ran the initialization in a separate Activity, and start the camera preview in an Activity which is started after the initialization was done. I wrote a test app to verify the problem, BTW.

[android-developers] Re: MemoryHeapBase

2008-11-19 Thread [EMAIL PROTECTED]
If you use SURFACE_TYPE_GPU, you need to implement the /dev/pmem_gpu1 kernel driver for your platform. If you are running on the emulator, you should use SURFACE_TYPE_NORMAL. On Nov 19, 10:05 am, Prabhakar [EMAIL PROTECTED] wrote: Hi All, when i use

[android-developers] Re: How to disable the security/permission check?

2008-11-19 Thread blues
The userId phone is already on the phone and some packages are signed under this Id. The thing is I need to share with those. I hope I don't need to build the whole Andorid source and take the risk of brick the device. On Nov 19, 4:41 am, Mark Murphy [EMAIL PROTECTED] wrote: blues wrote: May

[android-developers] Re: Quality of audio recording from MediaRecorder

2008-11-19 Thread [EMAIL PROTECTED]
It is the only supported method in SDK 1.0. There is a native interface to audio input, but it will be changing in a future release and I strongly advise against using it. On Nov 19, 8:26 am, dorn [EMAIL PROTECTED] wrote: Is the MediaRecorder the only method available to acquire audio from the

[android-developers] Re: Documentation on T-Mobile G1 nightshot-mode?

2008-11-19 Thread [EMAIL PROTECTED]
We aren't supporting any additional features of the G1 camera at this time. Those features are untested and could result in native crashes. On Nov 19, 6:59 am, blindfold [EMAIL PROTECTED] wrote: Is there any documentation on the use of T-Mobile G1 camera parameters such as luma-adaptation and

[android-developers] Re: gathering audio in streaming mode

2008-11-19 Thread [EMAIL PROTECTED]
This feature is not supported in the 1.0 SDK. On Nov 19, 6:50 am, Dorn Hetzel [EMAIL PROTECTED] wrote: I would my application to start gathering audio from the microphone and get it passed to me continuously until I ask for it to stop. What interface would be best for this? Can I get called

[android-developers] Re: Problem debugging the application -MediaPlayer

2008-11-19 Thread [EMAIL PROTECTED]
Start by downloading the current SDK 1.0. Then take a look at the sample code posted on this forum. On Nov 19, 12:29 am, Dagger [EMAIL PROTECTED] wrote: Some one help I am using 0.9 SDK On Nov 19, 12:58 pm, Dagger [EMAIL PROTECTED] wrote: I am having the same problem but I am only

[android-developers] Re: How to disable the security/permission check?

2008-11-19 Thread Mark Murphy
blues wrote: The thing is I need to share with those. If you're referring to built-in Android applications, in theory you should be using whatever sort of public APIs those packages are supporting (e.g., ContentProvider, a service's AIDL, Intents). What else are you looking to share with

[android-developers] Re: Documentation on T-Mobile G1 nightshot-mode?

2008-11-19 Thread blindfold
OK, thank you for this clarification of the support situation, David. On Nov 19, 8:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: We aren't supporting any additional features of the G1 camera at this time. Those features are untested and could result in native crashes. On Nov 19, 6:59 am,

[android-developers] Re: Toying with MapView

2008-11-19 Thread Alvin Yates
Lovely. I did happen to forget the super.onKeyDown() call. And the map dragging works just fine now. So as far as Zoom is concerned, I have displayZoomControls() set to true in my MapActivity. Is there something else I need to do to get that to appear/work as expected? On Nov 19, 4:44 am,

[android-developers] Buildtime IllegalArgumentException: already added

2008-11-19 Thread DulcetTone
Using Eclipse, I get this extensive stack trace when trying to build a project that uses an AIDL-defined interface which is defined in an external JAR file. What might I have done wrong? Thanks in advance. [2008-11-19 15:10:30 - My Project] UNEXPECTED TOP-LEVEL EXCEPTION:

[android-developers] Re: how to transport between the java application on handset with PC?

2008-11-19 Thread Michael
Again, what are you trying to do exactly? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Toying with MapView

2008-11-19 Thread Mark Murphy
Alvin Yates wrote: So as far as Zoom is concerned, I have displayZoomControls() set to true in my MapActivity. Is there something else I need to do to get that to appear/work as expected? Ah, sorry, I thought you had that working, based on your original email. You need to actually add them

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

2008-11-19 Thread Dianne Hackbod
Having an arbitrarily large number of items added by other applications, mixed together with unrelated items from the main application, is really tough to provide a decent UI for. I think it is better to have a single top-level menu item that goes to a chooser dialog of the actions to be

[android-developers] Re: SharedPreferences problem

2008-11-19 Thread Dianne Hackbod
On Wed, Nov 19, 2008 at 10:39 AM, dar [EMAIL PROTECTED] wrote: Interesting, I noticed this line in the documentation just now, from http://code.google.com/android/reference/android/content/SharedPreferences.html Note: currently this class does not support use across multiple processes.

[android-developers] Re: SharedPreferences problem

2008-11-19 Thread dar
I assume this is all I have to do to make sure the preferences are saved: SharedPreferences settings = MyActivity.this.getSharedPreferences (MyAppName, 0); SharedPreferences.Editor editor = settings.edit(); editor.putString(prefname, namevalue); editor.commit(); Then to load them like this:

[android-developers] Re: G1 linux

2008-11-19 Thread Rui Freitas
Thanks for your help. Well, iPhone doesn't support Bluetooth and i don't like windows mobile. I need to investigate the Symbian plataform, but i saw a couple of linux devices and i will probabably use them cause i'm more used to linux than Symbian plataform. Regards. On 2008/11/19, at

[android-developers] Re: problem with buttonListener

2008-11-19 Thread Sunit Katkar
Can you post more code. The code you posted is standard event listener code for a button in android.- Sunit On Wed, Nov 19, 2008 at 2:37 AM, suchita bhardwaj [EMAIL PROTECTED]wrote: Hi all,In my code button.setOnClickListener(new View.OnClickListener() { public void

[android-developers] Re: What r tools for Building .apk file

2008-11-19 Thread Sunit Katkar
Please look at the android site on google http://code.google.com/android as it has links to all the information you need.And to answer your question, here is the link http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware On Wed, Nov 19, 2008 at 2:41 AM, jalandar

  1   2   >