[android-developers] Re: Resizing a SurfaceView when soft keyboard shown or hidden

2009-07-10 Thread Lee
Thanks, There is nothing obvious that I can see. In another posting that I found by you I found the following: (http://groups.google.com/group/android-developers/browse_thread/ thread/5197932c3d691566/550605083fe8fda7?show_docid=550605083fe8fda7) Yes it uses pan, unless the view hierarchy has

[android-developers] android developers challenge 2

2009-07-10 Thread jonathan
I can not find a dedicated group for android developers challenge 2, so I'm posting the questions here: 1.are apps that rely on web service or do heavy backend processing on a remote server eligible? 2.are web sites that's optimized for android/smart phone eligible? so the client side may simply

[android-developers] Re: Resizing a SurfaceView when soft keyboard shown or hidden

2009-07-10 Thread Lee
Ok I have found the cause for this: In my activity I was requesting a fullscreen window to render my content. Removing the call to make the window fullscreen allowed the resize feature to work just fine. This raises the question - is there a way to have a non-decorated window that can be

[android-developers] Re: Analysing browser Traffic

2009-07-10 Thread arjun r
Thank you all for the inputs. i got hold of wireshark which is helping me quite a bit. Thanks and Cheers, Arjun On Jul 10, 6:01 am, Shraddha Bhaskare shraddha...@gmail.com wrote: You probably need this: android.provider.Browser.BookmarkColumns This will connect u to bookmarks db

[android-developers] How to Set the Wall Paper Programatically in android?

2009-07-10 Thread android.vinny
HI Every One I have To set Wall Paper In application by writing the code programmatically. when i press the Grid view Image will get full screen . that image i should keep as a wall paper in the android mobile screen how can i do that in programatically. I have done some thing like this

[android-developers] how can I support avi files, in android

2009-07-10 Thread dycl3
hello I see opencore/fileformats/avi/parser/ have avi file parse code. but only this, android still not supprot avi file. are you have any plan do this, or who had do it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] GPS signal strength

2009-07-10 Thread kalyan simhan
hi all.. how can i get the gps signal strength.. and the number of satellites.. im using android 1.1 sdk.. kindly help! thanks in advance!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Packaging SQLite DB for deployment

2009-07-10 Thread Tez
Hi, I have an SQLite DB file. I wish to include the sqlite file with my apk. How do i do that? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Got InflateException in my MapView xml file

2009-07-10 Thread Victor Lin
Hi, I am building a application that use MapView. This is the map.xml file I create in layout folder: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/MapLayout android:orientation=vertical

[android-developers] Re: Clickable ListView element?

2009-07-10 Thread eags
Bump. Mystery remains. Why can the entire ListView item not be made clickable??? On Jul 9, 7:57 pm, eags eagsala...@gmail.com wrote: And I tried making sure the first sub LinearLayout was not fill_parent for width or height.  No dice. On Jul 9, 7:52 pm, eags eagsala...@gmail.com wrote:

[android-developers] Re: Got InflateException in my MapView xml file

2009-07-10 Thread Ashok Jeevan
Did you add the permission(s) like 'INTERNET' in the manifest file? If no, you have to give the permission to access the internet. On Fri, Jul 10, 2009 at 1:37 PM, Victor Lin borns...@gmail.com wrote: Hi, I am building a application that use MapView. This is the map.xml file I create in

[android-developers] /dev/video

2009-07-10 Thread mboehmer
Ist there a /dev/video device on Android or any other possibility, where I can grab the image of the cam on a binary basis? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] why can not get the file items under /data

2009-07-10 Thread tstanly
hi all, I write a list for retrive file items under /data, by my experiment, when the path is /, it works(means get the file list) but change for /data/, list can get nothing. can somebody tell me why? i think it's not the permission question, because /data file have 775 mode (as i remember)

[android-developers] Re: API google map key

2009-07-10 Thread Ashok Jeevan
Just go to command prompt in Vista and then type the 'keytool' command. If it works, punch in the full command. If it doesn't you have to set the path as mentioned in the Android documentation. P.S. Better type the keytool command in one single line... On Thu, Jul 9, 2009 at 5:43 PM, sweet

[android-developers] Re: picasa

2009-07-10 Thread Wouter
Hey, Is it possible to send me some code from Twitli to upload picture! I can use it too in my application! Thank you, Wouter On Jul 8, 12:04 am, Christine christine.kar...@gmail.com wrote: Sure. This is the best location to

[android-developers] OnItemClick

2009-07-10 Thread Sukitha Udugamasooriya
Hello there, I have created a I have set the OnItemClickListener to the list view. It doenst listen when I press the center key of the emulator. But When I create the listview where each list item has ONLY a text view, the Listener works. why is this? This is the composite adapter s

[android-developers] Re: Got InflateException in my MapView xml file

2009-07-10 Thread Victor Lin
Yes, I do On 7月10日, 下午4時46分, Ashok Jeevan ashokjee...@gmail.com wrote: Did you add the permission(s) like 'INTERNET' in the manifest file? If no, you have to give the permission to access the internet. On Fri, Jul 10, 2009 at 1:37 PM, Victor Lin borns...@gmail.com wrote: Hi, I am

[android-developers] Re: picasa

2009-07-10 Thread Sujay Krishna Suresh
This is the src... Intent temp = new Intent(Intent.ACTION_SEND); temp.setType(image/jpeg); temp.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); temp.putExtra(Intent.EXTRA_STREAM, imageURI); temp.setComponent(new ComponentName( com.google.android.apps.uploader,

[android-developers] Re: picasa

2009-07-10 Thread Wouter
I think this code is not the code from the Twitli app. Would be nice if you could share it with us! On Jul 10, 11:41 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: This is the src... Intent temp = new Intent(Intent.ACTION_SEND);   temp.setType(image/jpeg);  

[android-developers] Re: sensor event and augmented reality

2009-07-10 Thread RS
Anybody using sensors and changing orientation 90deg? On Jun 30, 4:31 pm, RS rajeshs...@gmail.com wrote: Flinger source hasn't responded.. anybody who tried has any suggestions.. Basically things work well in a single orientation.. its when orientation changes that things go on a toss.

[android-developers] Re: Start TTS from broadcast receiver

2009-07-10 Thread nuno
Thanks Dianne, I tried a solution from John on the TTS group which worked well but I soon realised that trying to the stuff I need on the BR is just a lot more work and stupid :) I am now writing a big post-it on my screen with: Broadcast Receivers are only to receive events and kick start

[android-developers] Re: Got InflateException in my MapView xml file

2009-07-10 Thread Mark Murphy
Victor Lin wrote: Hi, I am building a application that use MapView. This is the map.xml file I create in layout folder: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/MapLayout

[android-developers] OnItemClick

2009-07-10 Thread Sukitha Udugamasooriya
Hello there, I have created a listview I have set the OnItemClickListener to the list view. It doenst listen when I press the center key of the emulator. But When I create the listview where each list item has ONLY a text view, the Listener works. why is this? This is the composite adapter s

[android-developers] Re: Got InflateException in my MapView xml file

2009-07-10 Thread Victor Lin
?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.ez2learn.android.powergrid android:versionName=1.0 android:versionCode=4 application android:icon=@drawable/icon android:label=@string/ app_name

[android-developers] Re: GPS signal strength

2009-07-10 Thread John Smith
2009/7/10 kalyan simhan kalyansim...@gmail.com hi all.. how can i get the gps signal strength.. and the number of satellites.. im using android 1.1 sdk.. kindly help! thanks in advance!! You need to grab GPS status messages, and are you after signal strength or something more useful like

[android-developers] Re: How to send MMS in Android Mobile

2009-07-10 Thread john
You could send it programatically but you would probably need to look deep within the messaging application code. Start here - http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=tree;h=refs/heads/master;hb=master good luck! On 7月10日, 上午9時47分, Jimmy Huang huan...@gmail.com

[android-developers] Re: adb shell on Google IO phone

2009-07-10 Thread Christine
ok, thanks. so I'll root my Google IO phone :-) On Jul 9, 7:27 pm, Dianne Hackborn hack...@android.com wrote: Only root has blanket access to the filesystem.  Not even the core system process can touch application data. On Thu, Jul 9, 2009 at 9:23 AM, Christine

[android-developers] Re: Automated Functional Testing

2009-07-10 Thread Piwaï
Err... nice ! But, this is an Android mailing list. Writing such a long text in the wrong place, I feel sorry for you ;-) . On Jul 9, 7:59 am, Software Testing Training qacampu...@gmail.com wrote: Automated Functional Testing By Bhrigu Malhotra (http://www.qacampus.com) First of all let me

[android-developers] A question regarding the MotionEvent

2009-07-10 Thread zeeshan
Hi Dear, i need to have a left, right and click event in my App. i am trying it like below: @Override public boolean onTouch(View v, MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: startX = (int)event.getX();

[android-developers] Calendar

2009-07-10 Thread Rafael Sexta
Hi people, I have o develop somethings in a android calendar to works with events in the calendar, but someone sad to me that the informations have to be synch with the blur account and it isnt recorded just in the phone. Someone knows how the calendar works?? or someone knows how i can

[android-developers] How can I use the hidden provider?

2009-07-10 Thread android.bu...@gmail.com
As we know, Google has hidden some APIs on newer SDKs, some of providers(i.e. Telephony provider) are hidden, we can only seen in source code, but we can not use on the current SDK. So I wonder how we can use these providers. I know we integrate our own firmware, however, I wonder if we can

[android-developers] Re: Packaging SQLite DB for deployment

2009-07-10 Thread Cezar Augustus Signori
You could put it in your app raw directory. On Jul 10, 4:38 am, Tez earlencefe...@gmail.com wrote: Hi, I have an SQLite DB file. I wish to include the sqlite file with my apk. How do  i do that? Cheers, Earlence --~--~-~--~~~---~--~~ You received this

[android-developers] Re: GPS signal strength

2009-07-10 Thread Sujay Krishna Suresh
@kalyan Thnx for the reply John... I need both informations and any kinda sample code would be of gr8 help... Regards, Kalyan Simhan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Demo App

2009-07-10 Thread UK Android Apps UK Android Apps
Hi, I want to release a demo version of my app. I added a restriction that the app could only be used 5 times by storing a counter in the db. However a user can easily uninstall and install the demo again! What the best way to manage this? Thanks

[android-developers] Re: Packaging SQLite DB for deployment

2009-07-10 Thread André
Or, if you are working with the SQLiteOpenHelper base class, then you could export your DB to a text file (including CREATE TABLE, INSERT, etc.), place this in your assets folder and import the file in the overridden onCreate method of SQLiteOpenHelper. -- André http://android.rabold.org On 10

[android-developers] Re: EditText and Virtual Keyboard

2009-07-10 Thread Hazam
Hi Hong, thanks for your reply. I tried that but to no avail. The reason seems to be that clicks and actions from virtual keyboard do not follow the same path that normal key and touch events do. The get tunneled in an InputConnection, and things get REALLY difficult for me to understand fully.

[android-developers] Sliding the view when opening Virtual Keyboard

2009-07-10 Thread Hazam
Hi guys, I was wondering if there is a method for controlling the amount of the View that gets scrolled when opening the virtual keyboard. Right know it scrolls just enough for letting the relate EditText show itself (and not perfectly too, like it scrolls fully in just after the first typed

[android-developers] Using ANT not Eclipse, How do I add a 3rd party jar

2009-07-10 Thread moa
Hi, I want to be able to add google's exteneded json library to my app (gson.jar). I can get it in the path so I can compile but it is not being bundled into the application when being deployed. How can I do this? I am NOT using eclipse, so need to do it via the ant. I'm actually using Netbeans

[android-developers] Re: Video with MediaRecorder

2009-07-10 Thread Zeeshan Muhammad
i tried this intent but it doesn't show anything startActivityForResult(*new* Intent( android.provider.MediaStore.* ACTION_VIDEO_CAPTURE*), 2); On Thu, Jul 9, 2009 at 9:25 AM, hanged_man majd...@gmail.com wrote: i didn't read this whole thread but i think i got a clear idea of your problem,

[android-developers] Making a persistant content observer

2009-07-10 Thread jrgraf...@googlemail.com
Hey guys, Quick question: I am trying to make a permanent contentObserver that observes content://sms. The way I do it atm is have an initial configure Activity with my application that calls the following code: ContentResolver contentResolver = getContentResolver();

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Marco Nelissen
On Thu, Jul 9, 2009 at 8:21 PM, Alslayeralsla...@gmail.com wrote: I added the MediaPlayer.setDisplay() and I added a SurfaceView to my ui.  Now I get The application stopped unexpectedly.  I looked in the debug log and the error says NullPointerException.  Any help would be great. I'm

[android-developers] Re: two questions about MediaPlayer

2009-07-10 Thread Marco Nelissen
A path like C:\somefile.3gp has no meaning within the emulator. On Thu, Jul 9, 2009 at 6:19 PM, tstanlytsai.sta...@gmail.com wrote: under c:\ thanks On 7月10日, 上午2時56分, Marco Nelissen marc...@android.com wrote: On Wed, Jul 8, 2009 at 1:01 AM,tstanlytsai.sta...@gmail.com wrote: and i

[android-developers] Re: A question regarding the MotionEvent

2009-07-10 Thread nEx.Software
The chances that your start and end location will be exactly the same are slim to none. If you want to do it all in a regular old onTouchEvent(), you'd want to have some sort or range... If down and up occur within some small range such as within 10 or something like that. Depending on what

[android-developers] TabHost + ListView + SMS == bug?

2009-07-10 Thread extrapedestrian
I have TabHost with ListView as tab content. ListView has context menu that opens send SMS activity. After returning from SMS screen when I try to switch tab ListView disappears and can not be displayed for second tab until application is restarted. I made simple example if someone can confirm

[android-developers] Media AspectRatio

2009-07-10 Thread glory
Hi, I am playing the video from the you tube link.But the video played by my Application has different aspect ratio then what played by the youtube application. How to play the video in the same aspect ratio as that of the youtube application. I am using Video View for playing the application.

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Alslayer
I'm pretty sure there was more than just NullPointerException in the log. Where exactly did this exception occur? Here is the full error. 07-10 08:21:04.030: ERROR/AndroidRuntime(11604): java.lang.RuntimeException: Unable to start activity ComponentInfo

[android-developers] Re: How to Set the Wall Paper Programatically in android?

2009-07-10 Thread Romain Guy
All you have to do is call setWallpaper(), you do not need to broadcast any intent, this will be done for you. On Thu, Jul 9, 2009 at 11:56 PM, android.vinnyvinny.s...@gmail.com wrote: HI Every One I have To set Wall Paper In application by writing the code programmatically. when i press

[android-developers] Re: How can I use the hidden provider?

2009-07-10 Thread Romain Guy
You cannot, that's the whole point. These are private APIs that will change from version to version, if you use them your application will NOT run on all public android systems. On Fri, Jul 10, 2009 at 5:19 AM, android.bu...@gmail.comandroid.bu...@gmail.com wrote: As we know, Google has hidden

[android-developers] How to get the h.263 file from the frames coming from Camera?

2009-07-10 Thread manoj
Hi I want to get the h.263 stream using Camera. Actually, by using Camera, Camera.PreviewCallback, I am getting frames (yuv format). From these frames I want to get the h.263 encoded stream. Is there any class available in Android? Thanks, Manoj.

[android-developers] How to get the video stream from MediaRecorder?

2009-07-10 Thread manoj
hi, I want to get the stream and send it to server directly by using MediaRecorder. Actually, I am able to record the video,and able to store it into sdcard. Now I want to it to stream (live stream) to server rather than storing it. Can any one please suggest me how to do it? Thanks, Manoj.

[android-developers] Re: android developers challenge 2

2009-07-10 Thread Yusuf T. Mobile
I am not an official nor a judge, but from my reading of the preliminary rules posted so far, leveraging a server does not render your entry ineligible. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Marco Nelissen
On Fri, Jul 10, 2009 at 8:36 AM, Alslayeralsla...@gmail.com wrote: I'm pretty sure there was more than just NullPointerException in the log. Where exactly did this exception occur? Here is the full error. 07-10 08:21:04.030: ERROR/AndroidRuntime(11604): java.lang.RuntimeException: Unable

[android-developers] Re: Making a persistant content observer

2009-07-10 Thread Dianne Hackborn
Sorry, there is no support for this, besides ensuring you are always running with a service... and you should really really avoid that. We deliberately don't allow apps to be launched from content changes due to significant concerns about how this can impact performance if a number of apps end

[android-developers] Re: Start TTS from broadcast receiver

2009-07-10 Thread Dianne Hackborn
*sigh* That solution you were given is utterly broken -- the restriction placed on the context is to HELP people from doing stuff that is not actually going to work all of the time (since your hosting process can be killed any time after onReceive() returns, before onBind() comes back). So this

[android-developers] Error on SharedPreferences for AppWidget

2009-07-10 Thread Stefano Sanna (gerdavax)
Hi. I'm working on an AppWidget which manages settings using SharedPreferences. I'm experiencing a strange behaviour (on a Dream) on its configuration Activity: 1) if I use software keyboard (that is: without opening physical keyboard) to edit text, everything works fine and preferences are

[android-developers] Re: Problems in using android to developing facebook applications .

2009-07-10 Thread Josh
I'm having this same problem with jaxb. Anyone out there have any idea why this happens? On May 13, 3:04 am, daen sz.d...@gmail.com wrote: I have no idea yet. now I'm using CS to develop my android-facebook application. the PC working as a server,and android phone working as client. may be

[android-developers] HTC Dream

2009-07-10 Thread Nima
Hi, Can anyone please tell where we can get factory image for HTC Magic device? whether we can flash Android1.5 image under the following link http://www.htc.com/www/support/android/adp.html to HTC Magic device ThanksRegards, --~--~-~--~~~---~--~~ You received

[android-developers] How to contact device with ADB from Windows NT?

2009-07-10 Thread Chenny
Hi All, I can contact device with ADB tool from Linux PC. Such as: On Linux PC: $ export ADBHOST=XX.XX.XX.XX #(IP of Android device) $ adb kill-server (you must make sure adb path is set) $ adb shell How could I do with Window NT adb?

[android-developers] Signing APK and Conversion to Dalvik format failed with error 1

2009-07-10 Thread Ian
Help! I've been trying to use Eclipse and the Export Wizard to create a signed apk. unfortunately, I cannot seem to generate an UNSIGNED apk. Every time I clean and build I get the error below, which I read I can get rid of by reload or refresh then building again. however, the debugger

[android-developers] Re: Signing APK and Conversion to Dalvik format failed with error 1

2009-07-10 Thread Ian Gavalakis
update: when I try to export unsigned it fails because no APK was generated, likely due to the error. again, reloas/build-again creates an exportable ak but it's signed with debug key... useless... p.s. Romain, please forgive me for including you, but you seem to be one of the best responders

[android-developers] Indication of user activity from a service

2009-07-10 Thread dadical
I need to determine if a user has interacted with the screen, keyboard, or trackball from a background service. I don't need to know coordinates, or actual keystrokes. I just need to understand if they have interacted with the phone in any way. Anyone have any creative ways to do this? It

[android-developers] Re: Home Screen Sample

2009-07-10 Thread camandroid
Apparently bindFavorites() aims only to retrieve the favorite application. Since we don't have this file /system/etc/favorites.xml, we are not obliged to manage it. What I did is: - initialize mFavorites at the top and - fill it from favReader only if favReader != null. of course at the

[android-developers] Re: Low accuracy of the accelerometer Sensor

2009-07-10 Thread keyboardr
I'm not 100% familiar with this aspect of the G1, but I know Nintendo had a similar problem with their Wiimotes. That's why they have the sensor bar set up: they couldn't get their accelerometers to be accurate enough to track position. On Jul 9, 2:23 pm, dilit dmit.lit...@gmail.com wrote:

[android-developers] Re: GPS Access Question

2009-07-10 Thread jnv
Hi, I'm working through your gps example but I get a sorry, app has stopped unexpectedly message when I run it on the emulator. My code is pretty similar to the above. Any thoughts? (BTW, I made sure to include the ACCESS_FINE_LOCATION permission line in the manifest.xml file.) Thanks, -jnv

[android-developers] General UI Questions

2009-07-10 Thread bnovc
I just started trying to learn the Android SDK, and I've noticed that it seems to lack a lot of documentation. I was trying as a first exercise to add an Every Day option to the alarm clock that would click the other items when it is checked. In onPrepareDialogBuilder, I can check which index

[android-developers] android + pidgin = ???

2009-07-10 Thread luoqii
Hi, every one , i want to know is there any one who are interest in porting integrating IM Pidgin to Android. As i know, in android market, there are several IM client, such as meebo,palringo, which are fine to us, but for me who reside in china, it's not enough, these IM client support QQ,

[android-developers] Get GMail, Google Maps, GTalk, Market in other language

2009-07-10 Thread Fernando Manso (BrOkeR)
Hi there, My rom is all in my language (spanish) except those applications. May be someone can guide me to putting them in my language. I don't know if I have to edit some locale file, or push the spanish apks files, or whatever. Thanks in advance for your help.

[android-developers] failed to show dymatic MapView

2009-07-10 Thread En
Hi ~~~ I want to show the map moving along the route, anyone have succeed to realize that? I have tried the method of LocationListener and MyLocationOverlay by successfully loading KML file, but still not succeed . who can help me ?! --~--~-~--~~~---~--~~

[android-developers] problem with get GPS data from KML file

2009-07-10 Thread En
hello~~ I created a mapView which I want to show the root by using KML file to sending GPS data. I both tried by the method of LocationListener and MyLocationOverlay , but unluckly still not to succeed ! I can successfully to load KML file which has a few groups of GPS datas , but only can get

[android-developers] Creating a rom image

2009-07-10 Thread BTR Naidu
Hi All, I was wondering if we can create a rom image (not the adk) out of the SDK and boot android on a hardware platform like OMAP 1623 by TI? Regards Naidu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] HTC Magic

2009-07-10 Thread Nima
hi, We have bought new HTC Magic with the following specifications: 1.Firmware version- 1.5 2.Baseband Version - 62.52s.20.18U_3.22.20.17 3.Kernel Version- 2.6.27-cb85e129 htc-ker...@and18-2 #3 4.Build number-2.16.720.2 146733 CL#38755 release-keys Can any one please tell us whether we can

[android-developers] Speech Recognition application

2009-07-10 Thread campi
Hi, such as the name of the topic says, I am developping an application based on speech recognition. I intend to develop the recognition part. Since it requires quite a lot of operations, I was wondering wether an Android Phone, such as the Dev Phone 1, could handle it. So could I develop such an

[android-developers] Re: conversion to dalvik format failed with error 1

2009-07-10 Thread Ian
please someone help with this... i'm getting the same issue and I think it's preventing me from releasing my APK. It looks like I cannot build the apk w/o Eclipse using the debug key to sign it, but I need an unsigned apk. I've used the wizard, that's not the issue. The wizard just takes the

[android-developers] wide character problem

2009-07-10 Thread Droid123
i have a problem with wide characters in android. wprintf(Lhello world\n); OUTPUT: h i'm compiling my code using ndk, pushing the executable on G1 phone and running from shell. is there something else that needs to be done to use wide characters? i even tried calling fwide(stdout, 1) before

[android-developers] About localization: 'NOT_FOUND' kind of strings

2009-07-10 Thread Claudia
Hello, I'm localizing an Android phone and I was given several thousand strings (mostly xml) of many kinds (apps, framework, GUI, content, graphics, manuals, etc). Some of those strings are what I assume keys for the Apps message, like: NOT_FOUND or UNKNOWN_ERROR in the strings of each app.

[android-developers] Is there any way to get galk friend list at android?

2009-07-10 Thread Zhangbin Peng
Hi all, I'm developing an android app that may use galk's friend. I have an google account/password pair enter by the user, then how can I 1) get a list of the account GTalk contacts or Google Contacts? 2) send a contact a message (via IChatSession.sendChatMessage() ?) 3) is there any GTalk

[android-developers] Re: Making a persistant content observer

2009-07-10 Thread Streets Of Boston
I'm not sure at all if this would work, but have you tried to put the content-observer code inside a *service* (instead of in your activity). Start the service and keep it around. And if the content changes, create a notification. The notification can be noticed by the user and allows him/her to

[android-developers] Re: Associate app to open email attachments

2009-07-10 Thread Alexey Krasnoriadtsev
You are correct that you should use contentResolver.openInputStream (uri), to get the data from gmail attachments. Default Email app, is very dumb and is hardcoded to only open audio and image attachments. (disclaimer, that was the case 6 month ago, the last time i looked at it). On Jul 8,

[android-developers] Re: /dev/video

2009-07-10 Thread mboehmer
What about /dev/pmem_camera ? On 10 Jul., 10:46, mboehmer mboeh...@fh-muenster.de wrote: Ist there a /dev/video device on Android or any other possibility, where I can grab the image of the cam on a binary basis? --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: HTC Magic

2009-07-10 Thread Yusuf T. Mobile
As a T-Mobile employee, I discourage you in the strongest possible terms from rooting your Magic and upgrading it to 1.5 at the same time using this link: http://android-dls.com/wiki/index.php?title=Magic_Rooting Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and

[android-developers] Re: android + pidgin = ???

2009-07-10 Thread Yusuf T. Mobile
Pidgin is a graphical front-end for libpurple using GTK+. (Thank you, Wikipedia). So if you want Pidgin on Android, you could put an Android UI on top of libpurple. libpurple is written in C, so you can use the NDK for that part. An easier option would be to use a multiprotocol library written in

[android-developers] Re: Cell Radio Info

2009-07-10 Thread ain
So have you been to see the listeners/managers? Looks like either someone has the code or was able to access the fieldtestMode http://www.flickr.com/photos/12118...@n00/3258661437/in/set-72157613452472324 On Jul 9, 6:58 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: That's

[android-developers] Unicode support

2009-07-10 Thread amiz
Is there a document that lists the range of unicode codes that Android supports. I am trying to display superscript 9 is \u2079 in a string and I get a block in the emulator. Superscript 3 which is \u00b3 works Thanks --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Unicode support

2009-07-10 Thread Mark Murphy
amiz wrote: Is there a document that lists the range of unicode codes that Android supports. I am trying to display superscript 9 is \u2079 in a string and I get a block in the emulator. Superscript 3 which is \u00b3 works Try examining the desktop version of whichever font you are

[android-developers] Re: Signing APK and Conversion to Dalvik format failed with error 1

2009-07-10 Thread Roman
Based on your description I assume that you can build successfully the APK which is located in the bin folder of your project (of course it's signed with the developer key). Normally when you select the option Android Tools-export unsigned application package a window pops up where you specify

[android-developers] Re: Converting an image captured by camera to grayscale

2009-07-10 Thread Sharmila Chakraborty
Thank you very much! On Wed, Jul 8, 2009 at 7:39 PM, Jack Ha jack...@t-mobile.com wrote: You can try something like the following: Bitmap grayscaleBitmap = Bitmap.createBitmap( colorBitmap.getWidth(), colorBitmap.getHeight(), Bitmap.Config.RGB_565); Canvas c = new

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Alslayer
I noticed with all the copying and deleting code I forgot to add setContentView(R.layout.main);. So now I don't get the The application stopped unexpectedly. error anymore. Now the app starts up with a black screen then goes back the home screen. Here is the whole code and the xml. import

[android-developers] Re: How to get the video stream from MediaRecorder?

2009-07-10 Thread Gergely Kis
Hi, We wrote a blog about this a few days ago: http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system Best Regards, Gergely On júl. 10, 17:44, manoj manojkumar.m...@gmail.com wrote: hi, I want to get the stream and send it to server

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-10 Thread Mike
OK, thanks for the head start. I'll play around with this and see what I can do. On Jul 9, 1:37 pm, nEx.Software justin.shapc...@gmail.com wrote: I don't know how exactly, but I can tell you the class name. You'll have to figure out the extras though. Intentintent=

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Marco Nelissen
Try setting a SurfaceHolder callback and delaying the call to MediaPlayer.setDisplay() until you've gotten the surfaceCreated() callback. On Fri, Jul 10, 2009 at 11:53 AM, Alslayeralsla...@gmail.com wrote: I noticed with all the copying and deleting code I forgot to add

[android-developers] Can adb shell trigger onLowMemory

2009-07-10 Thread James
Does the adb shell or another development utility support sending or triggering the onLowMemory call back to the active Activity Context? I would like to trigger it to make sure my implementation frees memory. I find the idea of actually making the device or emulator run out of memory is a bit

[android-developers] Fwd: tools dex

2009-07-10 Thread fatima
Hi.I have a same problem. When I was trying to run CometdChat Program,this warning be appeard : [2009-07-10 20:08:36 - cometdchat] warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-10 Thread Dianne Hackborn
Note that this is no different than using a private API. You can expect this to break in the future. On Thu, Jul 9, 2009 at 12:37 PM, nEx.Software justin.shapc...@gmail.comwrote: I don't know how exactly, but I can tell you the class name. You'll have to figure out the extras though.

[android-developers] Re: Fwd: tools dex

2009-07-10 Thread Mark Murphy
fatima wrote: Hi.I have a same problem. When I was trying to run CometdChat Program,this warning be appeard : [2009-07-10 20:08:36 - cometdchat] warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class

[android-developers] Re: Fwd: tools dex

2009-07-10 Thread Mark Murphy
Dan Bornstein wrote: On Fri, Jul 10, 2009 at 1:00 PM, Mark Murphymmur...@commonsware.com wrote: warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.) At

[android-developers] Selecting text in a WebView?

2009-07-10 Thread gsmd
The browser does this by calling `public void emulateShiftHeld()` method on the WebView which is hidden in the SDK. Any other options? TIA. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Fwd: tools dex

2009-07-10 Thread Dan Bornstein
On Fri, Jul 10, 2009 at 1:00 PM, Mark Murphymmur...@commonsware.com wrote: warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.) At least in some cases,

[android-developers] Re: Fwd: tools dex

2009-07-10 Thread Dan Bornstein
On Fri, Jul 10, 2009 at 1:25 PM, Mark Murphymmur...@commonsware.com wrote: Dan Bornstein wrote: That message is only ever produced because of entirely local information about a class, and the trigger condition is exactly as stated [...] I apologize for my mistake -- I was thinking of a

[android-developers] FrameLayout and margins

2009-07-10 Thread Ventrix Kostis P.
I have the following piece of code but the margins are not set. main.xml: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent

[android-developers] Re: Can only hear sound when playing video

2009-07-10 Thread Alslayer
That did it. Man that was difficult. Thank you so much for your help Marco. I still have a few problems. 1. the sound won't stop when I hit the back button 2. there are no controls to stop and start the video - guess I gotta make them 3. video is stretched out Here is the final code if anyone

  1   2   >