[android-developers] Re: Problem with setExtra

2009-06-23 Thread Will
Thank you, fine people. I'm just going to hack my way around it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: DEVELOPER CHALLENGE 2 - Can update of existing published app can participate?

2009-06-23 Thread havexz
Can any one from Google reply to this ...as time is passing everyday? On Jun 18, 11:05 pm, havexz bali.param...@gmail.com wrote: I M NOT A GOOGLE REPRESENTATIVE.THESE ARE MY PERSONAL VIEWS What I think that Google is not allowing published apps: - Published apps are more mature as

[android-developers] How to get Mimetype from extentions? (.txt/.vcf)

2009-06-23 Thread ylx_presid...@hotmail.com
Hi, I am trying to get Mimetype from extention for .txt file, using below method: MimeTypeMap map = MimeTypeMap.getSingleton(); type = map.getMimeTypeFromExtension(extension); But the returned type is always null. Looking into MimeTypeMap.java code, in

[android-developers] Re: READ_CALENDAR and WRITE_CALENDAR

2009-06-23 Thread Kaj Bjurman
Is there somewhere where we can see when it's scheduled for release? Several people have told me that they don't like the Calendar widget since it only displays the next upcoming event. It would be far better if it could be configured to display the X next upcoming events within a given horizon.

[android-developers] Re: Reading a large url

2009-06-23 Thread bsbi...@googlemail.com
Hi, The example I posted is a cut down version. In the real example the inputstream is passed as a argument to the sax parser. I just wanted to show that the String line = buff.readLine(); System.out.println(line); while (line != null) {

[android-developers] Re: Invoking Activity from PendingIntent in NotificationManager

2009-06-23 Thread jens hohl
Thanks, finally i got it working. The Log was empty but i forget to declare it in the Manifest.xml On 22 Jun., 19:42, Josh Guilfoyle jast...@gmail.com wrote: Check with adb logcat to see if there was a problem launching your activity.  My initial guess is that you forgot to declare this

[android-developers] Re: ExifInterface and libexif

2009-06-23 Thread Augustin.CL
I found that we should use 200/1 as the value due to the Exif2.2 But I feel confused of that the values of the attributes will be wrong. The front part of the values of the longitude will be the values of the GPSImgDirection. I think that there is a bug about saving the gps attributes. BTW,

[android-developers] Animation Transition

2009-06-23 Thread Sukitha Udugamasooriya
Hi all, Can you advise me how to apply view transition animation. ex: when i click on an list item my contentview changers. I want to apply a transition animation in that. Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] ContentObserver _id - SMS, Contact Media

2009-06-23 Thread Shibbs
Hi All, From the past two days I have been closely reading through the ContentObserver discussion on the various scenarios like: 1.) SMS sent 2.) Contacts updated 3.) Media added. 4.) etc... We all are aware that the onChange() of the ContentObserver() doesn't notify us to what has been changed

[android-developers] Re: drawRect not doing anything in a 1.5 MapView

2009-06-23 Thread MrChaz
You'll need to do fillPaint.setStyle(Paint.Style.FILL) I think. On Jun 21, 7:57 pm, CaptainSpam captains...@gmail.com wrote: I'm having a problem getting drawRect to draw anything on a Canvas from a MapView (i.e. as an Overlay) on 1.5 firmware.  The strange thing is, drawLine is working

[android-developers] Re: how to use g1's camera application from my application

2009-06-23 Thread gard
Maybe http://developer.android.com/reference/android/provider/MediaStore.html#ACTION_IMAGE_CAPTURE will do the trick On 22 Jun, 22:54, cindy ypu01...@yahoo.com wrote: Hi all, I want user to take picture using camera application. Then send the image to my application through share. Does

[android-developers] Re: 3D Streaming on Android Phone?

2009-06-23 Thread javame_android
Hi, The applet is using OpenGL API. Its developed using JOGL and it works perfectly. Some part of the application has been ported to Android but its slow. The hardware acceleration will come into play once the rendering is started. But it gets slow when decoding of the file is going on. Anyways

[android-developers] Re: Where to store data

2009-06-23 Thread mf-team
Hi Marc, thank you very much. You confirmed my suggestion. Regards, MF On Jun 22, 1:44 pm, Mark Murphy mmur...@commonsware.com wrote: mf-team wrote: i'm writing an application that needs to store some small jpeg or pngs. Looking at the documentation i have seen that databases are

[android-developers] how to close activity?

2009-06-23 Thread tstanly
hi all, i have a app,the structure composed three .java, 1.java,2.java,3.java their relationship is: 1-2-3 and 3 can go back to 1 when i was back to 1 from 3, i want to close the 2, how to do this? thanks!! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: how to close activity?

2009-06-23 Thread Nithin Varamballi
Hi... When you are moving 1-2-3.. give finish() after start activity ex:Intent intent = new Intent(java1.this, java2.class); startActivity(intent); finish(); --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: how to close activity?

2009-06-23 Thread tstanly
by the way, not only close the 2, but i want to kill the variables in the 2, thanks! On 6月23日, 下午5時25分, tstanly tsai.sta...@gmail.com wrote: hi all, i have a app,the structure composed three .java, 1.java,2.java,3.java their relationship is: 1-2-3 and 3 can go back to 1 when i was

[android-developers] Re: how to close activity?

2009-06-23 Thread tstanly
thanks for your reply, but 3 back to 1 is optional, so only 3 back to 1,2 will be kill. and also i want to kill the variables in 2... On 6月23日, 下午5時31分, Nithin Varamballi nithi...@gmail.com wrote: Hi... When you are moving 1-2-3.. give finish() after start activity ex:

[android-developers] Re: how to close activity?

2009-06-23 Thread Rock
hi... kill the variables means...? can you give the example...? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: how to close activity?

2009-06-23 Thread Rock
hi... Can You update that code Thank you Rock --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: how to close activity?

2009-06-23 Thread Nithin Varamballi
Hi... When you are moving 3-1.. give finish() after start activity ex:Intent intent = new Intent(java3.this, java1.class); startActivity(intent); finish(); When finish() called here java3 class will be destroy. Thank You Nithin N V

[android-developers] Re: how to close activity?

2009-06-23 Thread tstanly
i means, 3-1,and destroy 2, so use finish(),you can destroy 3, but you can't destroy 2 On 6月23日, 下午5時45分, Nithin Varamballi nithi...@gmail.com wrote: Hi... When you are moving 3-1.. give finish() after start activity ex:Intent intent = new Intent(java3.this, java1.class);

[android-developers] Re: how to close activity?

2009-06-23 Thread tstanly
eg: 2.java has a variable s: private String s; i changed value probability, but now, when 3-1,i want to destroy 2 and kill variable s, that means, when back to 1 from 3,the s is null. On 6月23日, 下午5時37分, Rock nithinvaramba...@gmail.com wrote: hi... kill the variables means...?

[android-developers] Re: how to close activity?

2009-06-23 Thread Rock
Hi... You are declared as private String s; So s variable cannot access in 1.java 0r 3.java.. So make the s variable declared as public static String s; So now you can access variable in 1.java 0r 3.java So assign value s=; Thank You

[android-developers] SoundPool doesn't play sounds 100K in SDK 1.5

2009-06-23 Thread Katsiaryna
Hello, I am trying to use SoundPool class from the new SDK. However, I discovered that if I load sounds that are 100K (120K and 350K) from resources I have problems playing them. The error messages that I get are as follows: 06-23 10:53:42.263: ERROR/AudioFlinger(35): not enough memory for

[android-developers] How to get a view from a custom layout ?

2009-06-23 Thread Guian
I've created a custom view via .xml file, and I wanted to add it as a a contentView to an alert Dialog usinf a dialogBuilder: AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setNeutralButton( _Res.getString(R.string.close), new DialogInterface.OnClickListener(){

[android-developers] Drawing custom images in a ListView

2009-06-23 Thread Tez
Hi, I would like to draw custom images within a ListView, for this I have created a ListView and an ArrayAdapter object. I have specified that each element of the ListView will be an ImageView which is specified by an XML layout file. Now, I would like to draw a custom graphic in each cell

[android-developers] Errors In Android Run time I need suggestions

2009-06-23 Thread android.vinny
HI everyone go through the attachment i have enclosed as attachment i have captured the error what i git i need solution for this Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] No context menu on map view intended??

2009-06-23 Thread Binesy
Hi Having been working with context menus with other views, which can be done with view.setLongClickable(true); registerForContextMenu(view); this does not seem to be the case with map view. Is this intended?? Also overlays only seem to be able catch onTap events, is it possible to catch long

[android-developers] Re: Drawing custom images in a ListView

2009-06-23 Thread Saurav Mukherjee
try this: override the onDraw method of the View... for this u need to extend a View. add the object of this view to ur List... hope this helps u. cheers. On Tue, Jun 23, 2009 at 4:20 PM, Tez earlencefe...@gmail.com wrote: Hi, I would like to draw custom images within a ListView, for this I

[android-developers] quoted printable decoder api on Android?

2009-06-23 Thread sukumar
hi, Was there any apis available on android for quoted printable decoding ?. Thanks. Regards, Sukumar. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: No one ever answer my posts !!!!

2009-06-23 Thread Mark Murphy
http://androidguys.com/?p=5738 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Errors In Android Run time I need suggestions

2009-06-23 Thread Urs Grob
There's a NullPointerException on line 31 in org.tuxpan.Adder ... in the method onCreate. That's the cause for the RuntimeException being thrown. -- Urs On Tue, Jun 23, 2009 at 12:54 PM, Desu Vinod Kumarvinny.s...@gmail.com wrote: On Tue, Jun 23, 2009 at 4:23 PM, android.vinny

[android-developers] Re: Errors In Android Run time I need suggestions

2009-06-23 Thread Desu Vinod Kumar
Hi thanks for giving response How to clear that i am not getting this is my code package org.tuxpan; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.AndroidHttpTransport; import

[android-developers] Re: Errors In Android Run time I need suggestions

2009-06-23 Thread Urs Grob
Ok ..counting by hand I think this is the 31st line: findViewById(R.id.cmdCalculate).setOnClickListener(new OnClickListener() { So I guess findViewById(R.id.cmdCalculate) returns null. Is there a definition for cmdCalculate in your main layout? (if there is, there's maybe a typo?) -- Urs On

[android-developers] Re: Cannot get Log.isLoggable working as documented

2009-06-23 Thread mjc147
Does anyone have any thoughts on 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@googlegroups.com To unsubscribe from this group,

[android-developers] Re: Binder Thread issue.

2009-06-23 Thread Mike Hearn
They're used by the framework itself, ignore them. On Jun 23, 6:59 am, Gavin fjm...@gmail.com wrote:      My app have a service and it will create a thread every 5 mins. The thread will connect internet to download some data, and then exit. That's not the right design. Instead look into the

[android-developers] Re: Drawing custom images in a ListView

2009-06-23 Thread Mark Murphy
Tez wrote: Hi, I would like to draw custom images within a ListView, for this I have created a ListView and an ArrayAdapter object. I have specified that each element of the ListView will be an ImageView which is specified by an XML layout file. Now, I would like to draw a custom graphic

[android-developers] Re: How to get a view from a custom layout ?

2009-06-23 Thread Mark Murphy
Guian wrote: I've created a custom view via .xml file, and I wanted to add it as a a contentView to an alert Dialog usinf a dialogBuilder: AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setNeutralButton( _Res.getString(R.string.close), new

[android-developers] Re: Errors In Android Run time I need suggestions

2009-06-23 Thread Desu Vinod Kumar
Hi Yes absolutly correct that cmdcalculate button invoking webservices when i press that button it is quitting i am not getting how to solve this On Tue, Jun 23, 2009 at 4:51 PM, Urs Grob grob@gmail.com wrote: Ok ..counting by hand I think this is the 31st line:

[android-developers] Re: ContentObserver _id - SMS, Contact Media

2009-06-23 Thread Peli
Don't worry about reaching the limit 9223372036854775807. Even if you insert 1000 new entries per second into your database, it will take you 290 million years until you reach that limit ( 9223372036854775807 / 1000 / 60 / 60 / 24 / 365 = 292 471 209 ) (dinosaurs died out 65 million years ago;

[android-developers] how to stay animation result in view?

2009-06-23 Thread shleeforandroid
hi guys ! I tried to implement the app like roulette to use RotateAnimation. The arrow must indicate random direction but the arrow always indicate the same(first direction) direction behind the end of RotateAnimation. are there any ways to hold down random direction? I want to know how to

[android-developers] Re: Animation Transition

2009-06-23 Thread Peli
Have you looked into the API demo examples? Peli www.openintents.org On Jun 23, 9:39 am, Sukitha Udugamasooriya suk...@gmail.com wrote: Hi all, Can you advise me how to apply view transition animation. ex: when i click on an list item my contentview changers. I want to apply a transition

[android-developers] Re: Problem with setExtra

2009-06-23 Thread Peli
Did you make sure the first argument of putExtra(..), that is your variable intStringName, is not null? Peli www.openintents.org On Jun 23, 4:24 am, Will wbc...@gmail.com wrote: Sorry, I wasn't clear. That putExtra call actually crashes the program, which is why I'm so stumped. Why would a

[android-developers] Re: how can i launch the intent to pick image from SD card?

2009-06-23 Thread Peli
I presume the video list activity has not been implemented cooperatively enough for ACTION_PICK. An alternative is to try to use ACTION_GET_CONTENT, which is taken better care of usually. Peli www.openintents.org On Jun 22, 8:25 pm, silverburgh silverburgh.me...@gmail.com wrote: Thank you. I

[android-developers] Problem with a AndroidManifest.xml for a service

2009-06-23 Thread GAYET Thierry
Hello, I have used the Eclipse IDE for starting an Android Service but i have one problem with my AndroidManifest.xml file on the line of the service tag. Here is my AndroidManifest.xml : package=com.OrangeLabs.gbaAndroid.BootstrapService application activity

[android-developers] Use own map layer in Google Maps

2009-06-23 Thread JP
Hi All, I have a GIS layer, that holds information about some areas. It is basically a rating for a specic area. So each shape defines a specific rating. I would like to be able to add this layer to Google Maps and then in my Google Android phone be able to open a little application that just

[android-developers] Re: Problem with a AndroidManifest.xml for a service

2009-06-23 Thread Mark Murphy
GAYET Thierry wrote: Is there a place where i can view / download some services sample ? There are samples in the SDK: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/index.html You can also find sample services in (*cough*) any decent Android book. ;-)

[android-developers] sample browser plugin not working in android sdk emulator

2009-06-23 Thread Kathick
Hi All, My sample browser plugin working in emulator which is being built from mydroid package(Android source pakage). The same library is not working in android sdk emulator(The sdk version is 1.1). Please tell me the reason for this. How can I make it work in emulator coming up with

[android-developers] Eficient way to call an Activity

2009-06-23 Thread RS.Giridaran
Hi All, I am developing a android application with more than four activities. i am starting a activity using startActrivity() method wherever i need to go for other activity. i feel this degrade my application performance.. please advice me on this Thanks, Giri

[android-developers] how to change AlertDialog width

2009-06-23 Thread tstanly
hi all, i use the android.app.AlertDialog.Builder to insert a AlertDialog, but i can't change the width or word's format in the AlertDialog items, the reference is: http://developer.android.com/reference/android/app/AlertDialog.Builder.html#setView(android.view.View) how can i do?? thanks!

[android-developers] Re: Sending file via FTP within android

2009-06-23 Thread lucj06
Thanks Mark, I'll check that. Regards, Luc On Jun 22, 4:38 pm, Mark Murphy mmur...@commonsware.com wrote: lucj06 wrote: Hello, In fact i was talking about the possibility to send a file via FTP from android. I just added andFTP in the picture as I read this client was good. Without

[android-developers] Re: ContentObserver _id - SMS, Contact Media

2009-06-23 Thread Shibbs
Thanks peli - My bad, should have calculated that the limit is practically unreachable - (but always had a feeling what if. sometimes too logical thinking is bad :) ) Anyways, in that case the above solution is full proof good to go. I have already implemented it works smooth for Contacts,

[android-developers] Re: SoundPool doesn't play sounds 100K in SDK 1.5

2009-06-23 Thread Marco Nelissen
On Tue, Jun 23, 2009 at 3:11 AM, Katsiaryna katsiaryna.nali...@ndrc.iewrote: Hello, I am trying to use SoundPool class from the new SDK. However, I discovered that if I load sounds that are 100K (120K and 350K) from resources I have problems playing them. The error messages that I get are

[android-developers] Re: how to close activity?

2009-06-23 Thread Marco Nelissen
To close 2 when going from 3 to 1, use the CLEAR_TOP flag in startActivity(). To kill the variables, just set them to null in the activity's onDestroy. 2009/6/23 tstanly tsai.sta...@gmail.com by the way, not only close the 2, but i want to kill the variables in the 2, thanks! On 6月23日,

[android-developers] Re: Reading a large url

2009-06-23 Thread bsbi...@googlemail.com
Anyone got any ideas? On Jun 23, 8:07 am, bsbi...@googlemail.com bsbi...@googlemail.com wrote: Hi, The example I posted is a cut down version. In the real example the inputstream is passed as a argument to the sax parser. I just wanted to show that the  String line = buff.readLine();  

[android-developers] Re: 6502 Emulator

2009-06-23 Thread LouisB
fadden, thanks for taking a looksy into the emulator. Great ideas for optimization BTW. I've been looking at your ideas plus this document (http://slack.net/~ant/nes-emu/6502.html) and wondering how much mhz I can squeeze out of her. How are you determining performance? Mhz is calculated by

[android-developers] Re: Eficient way to call an Activity

2009-06-23 Thread Marco Nelissen
On Tue, Jun 23, 2009 at 7:00 AM, RS.Giridaran rsgirida...@gmail.com wrote: Hi All, I am developing a android application with more than four activities. i am starting a activity using startActrivity() method wherever i need to go for other activity. i feel this degrade my application

[android-developers] the url input in EditText problem for my browser

2009-06-23 Thread tstanly
hi all, i use the webkit and the EditText to compose my browser, when i key url in my EditText, if the url is too long, it will continue in the next line, i want to my input url area like ie or firefox, if the word is too long,always in one line.. how to do this? thanks!

[android-developers] Re: Use own map layer in Google Maps

2009-06-23 Thread Maps.Huge.Info (Maps API Guru)
You could call a Google API based map that uses a custom tile layer or other type of overlay as a webkit page directly from an Android application. The easiest way to do so would be to use a parameter based positioning method, another words, pass the coordinates of interest to the map via lat and

[android-developers] Re: PMD Android ruleset

2009-06-23 Thread www.rzr.online.fr
On Jun 2, 8:50 pm, Fred Grott(shareme) fred.gr...@gmail.com wrote: I am extending the PMD ruleset used in AndCooper to cover more: [...] Any more issues you see that should be a PMD rule? Do you manage to generate reports ? Feel free to submit your rule on pmd tracker :

[android-developers] Access to cookies managed by Browser app

2009-06-23 Thread Tom
Hi, Is it possible to access cookies managed by the Browser app (i.e. not a custom WebView)? If so, how? Thanks! Tom. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Copy SQL lite Database to Device (and not emulator)

2009-06-23 Thread burton miller
you can export it to file, then read that file in at run time. however, if you are going to package the data with the app, i recommend just putting the database in your assets, and copying it to the database directory when you start up. it won't take long (compared to downloading from the net),

[android-developers] Re: Where are files created in the simulator stored?

2009-06-23 Thread Odessa Silverberg
Picturefiles are never ascii. However, to anwser the first part as where the files are saved: In Windows VIsta they are stored in C:\Users\YourWindowsUsername\AppData\Local\Android\SDK-1.1 or C:\Users\YourWindowsUsername\AppData\Local\Android\SDK-1.0 but there are only image files inside,

[android-developers] Re: Access to cookies managed by Browser app

2009-06-23 Thread Mark Murphy
Is it possible to access cookies managed by the Browser app (i.e. not a custom WebView)? Not that I am aware of. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You

[android-developers] Re: PMD Android ruleset

2009-06-23 Thread Fred Grott(shareme)
Thanks, yes will be doing that as well :) On Jun 23, 10:14 am, www.rzr.online.fr www.rzr.online...@gmail.com wrote: On Jun 2, 8:50 pm, Fred Grott(shareme) fred.gr...@gmail.com wrote: I am extending the PMD ruleset used in AndCooper to cover more: [...] Any more issues you see that

[android-developers] Re: Information about nearby businesses

2009-06-23 Thread Fred Grott(shareme)
If I remember correctly Google MAps API does not supply geocoding so you would need to integrate with one o f the free ones out there and that should enable you to match up to business data.. Search this forum as there are some posts about it..listing the free API/services and etc Fred Grott

[android-developers] help on video recording

2009-06-23 Thread cindy
I have tried a long time to recording video using 1.5's new API. I really could not make it work. Have you try it? Do you know any sample demo code for video recording ? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Application Needed

2009-06-23 Thread Fred Grott(shareme)
I would imagine if you would mention your branch of service that might help in getting the help you require. Myself, I am a former Airman, USAF..1980s.. Fred Grott http://mobilebytes.wordpress.com On Jun 22, 3:49 am, bizzy401 bizzy...@gmail.com wrote: I am an instructor in the military.  I

[android-developers] Get a unique string / serial number?

2009-06-23 Thread dapaintballer331
Is there any way to get some type of serial number or unique string, that no other android device should have? It can't be relative to the sim card, I'm looking for some type of hardware identification number... --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Does anyone make video recording work at Android 1.5?

2009-06-23 Thread cindy
please help me! On Jun 22, 9:45 am, cindy ypu01...@yahoo.com wrote: I have tried 1.5 video API. I could not make it work.It even can't do preview.  following is my code: private boolean initializeVideo() {         Log.v(TAG, initializeVideo);         if(Common.mRecordedVideo!=null

[android-developers] Re: Possible bug when extending themes

2009-06-23 Thread Moxor
Hi, I have the same problem, did you find the way to fix it? Thank you. On 25 mayo, 18:20, TjerkW tje...@gmail.com wrote: I was typing and accidently pressed send So here again the problem. I have a styles.xml with the following content: resources         style name=SpaceWarsTheme

[android-developers] Build apk from command line

2009-06-23 Thread sumd
Hi, Is is possible to build apk with jar, Manifest.xml, and res directory? I've a jar file with one activity. Application which will use this jar can come from external. I'm not giving my jar file to the app developer. I would like to build an apk which includes my jar, application jar,

[android-developers] Spinner to play sound.

2009-06-23 Thread KoZinE
Hi, I am currently doing an application which will play a sound from a selection via a spinner. I've tried many ways but I still cannot get it to play a sound. Here is my code for the constraints and spinner. // List-based Constants public static final int HAPPY = 0; public

[android-developers] Re: One activity per view

2009-06-23 Thread 张飞
Maybe u can write youe AndroidManifest.xml like this: activity android:name=.activityOne android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN /

[android-developers] How to get actual Table with borders in display layout ?

2009-06-23 Thread Mapara,Harshit Nitinkumar
Hi guys, I'm new in Android. I searched a lot to get a table with borders, but I am not getting result. I want a table with two colums, borders, white backgroud in table. first colums should be right aligned and second column should be left aligned. With TableLayout, rest of things can be

[android-developers] onRecieve starting activity problem

2009-06-23 Thread ani
Guys, I would like to know the reason behind this behaviour.I have a broadcast reciever and in onrecieve i am trying to start an activity,however if i am not giving the flags it is giving an exception .On declaring the flags it is working perfectly fine,why? I was under the impression that

[android-developers] Re: how to call Camera application from my own application

2009-06-23 Thread N0m0r3l13s
Hi. I suppose there must be an Intent to call the camera app. Other thing is if you want to capture video directly from camera. The best way you can do it is analyzing the camera application that comes from google. And follow up the steps to set it up in you program. Sorry, cannot help more.

[android-developers] FLAG_ACTIVITY_NEW_TASK why is it required in onRecieve when starting activity

2009-06-23 Thread ani
Guys, I was under the impression that onRecieve runs in the main UI thread and we can launch an activity in onRecieve without setting the flag as new task.Why do we need to create a new task and launch the activity there.Why cant the activtiy launch in the task in which main UI thread is

[android-developers] Google map does not work.

2009-06-23 Thread Jack
Hello all, I'm new to android and need some help. I'm creating a basic Mapview application which will display my current location on the google map. Initially i had many doubts while creating the application, but thanks to google archives that helped me to reach this point. I have followed

[android-developers] Retrieving the default email from the email client provided by Android

2009-06-23 Thread Eddie Ayling
Hi Everyone, I am developing an application which requires to autopopulate a default email field. The logical choice is to retrieve the email address from the email client provided by android. I searched the content providers and did not find anything about the email client. How is this

[android-developers] Porting RDP (Remote Desktop Protocol) to Android -- questions

2009-06-23 Thread kirkbeaty
Attempting to port RDP to Android ... saw someone had started this, Desktoid/Connectoid, but that effort seems to have stopped .. and I need this function immediately. I have initial screen image of the Desktop displayed (with some local Android GUI expert's help) on the Android as a Bitmap.

[android-developers] How to hang an outgoing call? (Revisited, Partly solved here)

2009-06-23 Thread N0m0r3l13s
Hi all, I'm just doing an application that controls who to call and how many rings let the call do. For example, to not wake up someone in the morning we only do 3 tones... I'm using the standard BroadcastReceiver method to stop the call from going out. I explain here for the people who want

[android-developers] Transparency/Translucency working on emulator but not device

2009-06-23 Thread Carl Minden
I have tried to replicate the Transparency/Translucency effects created in the API Demo(which works flawlessly) and the code i wrote works on the emulator but not on my actual device(Google ION) I copied the styles and colors.xml files from the API demos code and set the theme of my activity I

[android-developers] Re: No one ever answer my posts !!!!

2009-06-23 Thread Brian Cloutier
And posts like that aren't going to help your case. On Mon, Jun 22, 2009 at 8:36 PM, Rotem Or rote...@gmail.com wrote: -- Thanks Rotem Or --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] MemoryFile between processes

2009-06-23 Thread Alec
Hi, I've been able to send data via shared memory between threads within a process using MemoryFile. I then tried to send data between a service and an activity in different processes, but the data did not get passed. The name for each call the MemoryFile's constructor was the same. Is it

[android-developers] Re: how to close activity?

2009-06-23 Thread Fei Zhang
I don't think you need close 2, the system will do it! Is it right? 2009/6/23 tstanly tsai.sta...@gmail.com hi all, i have a app,the structure composed three .java, 1.java,2.java,3.java their relationship is: 1-2-3 and 3 can go back to 1 when i was back to 1 from 3, i want to close

[android-developers] How to add a new text language in my Android when not included?

2009-06-23 Thread camilo.arreaza
How can i add a new text languaje not included as an option when writing a memo or text mesage in Android? Imagine you work for a multinational In Switzerland where you might speak in German and English, you live in a French speaking city and you are part of the huge comunity from Latin América

[android-developers] Re: listview click problem

2009-06-23 Thread neoLwin
Try setting the width of the list view to fill_parent. On Jun 21, 10:13 pm, tstanly tsai.sta...@gmail.com wrote: hi all, i have a listview as bellow, --- Google --- Yahoo! -- if i want to go to the Google, just click the Google of the

[android-developers] help me

2009-06-23 Thread Dorjoo B
how to detect key event in android service ? please help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] IPsec support ?

2009-06-23 Thread Ram
Hi, Is there IPsec support on Android. Does Android support Application developers to make use of the IPsec ? Thank you, Ram. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Progress Dialog When Application Starts

2009-06-23 Thread Brian Cloutier
It's been a while since I last made an Android Application, so take this with a grain of salt, but can't you just fire an intent to start the dialog from onStart()? On Mon, Jun 22, 2009 at 9:06 PM, Georgy georgearna...@gmail.com wrote: Hello, I am trying to initiate a progress bar when my

[android-developers] Re: Resizing an image

2009-06-23 Thread p1erstef
I met the same issue. Here the workaround I found : BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize = 8; Bitmap bitmap = BitmapFactory.decodeFile(filename, options); BitmapDrawable drawable = new BitmapDrawable(bitmap);

[android-developers] Re: Calibration with the environment may improve the readings ?!

2009-06-23 Thread Gryyphyn
I haven't looked through the source for the compass but there has to be a set() method that you can apply a positive or negative value to, possibly on tha app level. The compass is accurate enough so all you would really have to do is assign a set() method to a menu calibration option to allow

[android-developers] weird drawing on canvas bitmap

2009-06-23 Thread sleith
hi, i'm trying to draw bitmap in canvas. the bitmap is used to draw text and background using canvas (named canvasBitmap) but the text or background that are drown to bitmap is not displayed, as if it's out of bounds. i have to translate the canvasBitmap at some points to make it draw at right

[android-developers] Problem with createBitmap method

2009-06-23 Thread hamlatzis
My application crashes after I try to use the static Bitmap createBitmap method to get a mutable bitmap in order to fill it later with data. If I only create one 1024x1024 the application works just fine, but when I try to load the same image more than once (first making my object null in each

[android-developers] SensorListener and MediaPlayer (Audio)

2009-06-23 Thread Donn Felker
I'm developing an application that responds to certain accelerometer events such as movements to the left or right when a certain delta is reached. When these deltas are fired I want to play a sound with the MediaPlayer. I'm using the Sensor Simulator by Open Intents to simulate sensor events. I

[android-developers] handling events (click, tap, touch) for map (mapview, mapactivity)

2009-06-23 Thread maijau
Hello, could anyone point me to some documentation or code on what's the official way to handle events on a mapview or within a mapactivity? I have searched around, there seem to be lots of questions regarding this issue, few answers, and every answer is different. As an example, I want to do

[android-developers] Integrate your own application into the Maps application

2009-06-23 Thread patschius
Hello, My question is: Is it possible to alter the standard Maps application on Android in such a way that it is able to show for example some specific POIs on the map Google Latidude enhances Google Maps for its purposes in this way. So is it possible for a developer outside of Google to

[android-developers] Skype Lite Intent Mangement

2009-06-23 Thread Rick
Does anyone know if it is possible to open up skype lite chat using intents or some other API? Suppose I wanted to create a short cut for a contact and I had their skypename or skype id or skype email. Would it be possible to do something like: Intent i = new Intent(

[android-developers] Re: Application Needed

2009-06-23 Thread Brian Cloutier
While I do not know of such an app, if you give me a week or two I could write one for you. On Tue, Jun 23, 2009 at 9:56 AM, Fred Grott(shareme) fred.gr...@gmail.comwrote: I would imagine if you would mention your branch of service that might help in getting the help you require. Myself, I

  1   2   >