[android-developers] Re: twitter and facebook intent : suggestion for the community

2010-04-15 Thread Kumar Bibek
I second that. Twidroid exposes it's intent. Haven't seen other apps. Thanks and Regards, Kumar Bibek On Apr 15, 10:47 am, remy berrebi zehunte...@gmail.com wrote: i was also asking myself if you use intentchooser, if the system will prompt to save choice as sometime he does, and will he save

[android-developers] Re: GPS application not installing in Sony Xperia

2010-04-15 Thread Marek Pola
Please give full Manifest and full log output during the installation and hopefully somebody can help you. Regards Marek On Apr 6, 9:52 am, Nithin nithin.war...@gmail.com wrote: Hi, I created an application in 1.6 SDK. It uses GPS. But its not installing in Sony Xperia. I installed other

[android-developers] how to use yahoo API to import contacts in android

2010-04-15 Thread Omy
Hi , I need some help regarding Use Of Yahoo API in android can any body help me how i can fetch all the contacts from yahoo contact list from android thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: twitter and facebook intent : suggestion for the community

2010-04-15 Thread remy berrebi
i know, and that why i think it should be a big things and too difficult to expose some intent or event only one, to update profile/status for twitter and facebook. and even more social network. On Thu, Apr 15, 2010 at 08:10, Kumar Bibek coomar@gmail.com wrote: I second that. Twidroid

[android-developers] how to show an alert from a receiver in android

2010-04-15 Thread Manoj
Hi folk, can anybody here tell me how can i show an alert on from a receiver on receiving sms. -- 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: how to use yahoo API to import contacts in android

2010-04-15 Thread schwiz
I was trying to figure this out for my wife, it seems yahoo charges users for this kind of functionality. At least as far as I can tell... But motoblur does integrate with yahoo mail perhaps there is a way. On Apr 15, 1:39 am, Omy umakantago...@gmail.com wrote: Hi , I need some help regarding

[android-developers] Re: Plz need Help

2010-04-15 Thread Paul Turchenko
getIntent() will return you the original intent you've used to start activity. On Apr 15, 8:48 am, Ali Murtaza mralimurt...@gmail.com wrote: Hi I am new in android and just want to save a data in one activity and then send it on other activity, just like notepad tutorials i used Intent ii =

[android-developers] Re: I have a question in soft keyboard.

2010-04-15 Thread schwiz
I'm not exactly sure what you mean, if you are talking about the activity window resizing when you open your keyboard, that has to do with the activity no the keyboard, try opening your keyboard in dolphin browser or something like that and it won't resize the background. Sorry if that isn't what

[android-developers] Re: Orientation changes and layout

2010-04-15 Thread Paul Turchenko
WebView has methods to save its state. Use them to store/obtain your webview's state. On Apr 15, 12:58 am, nikhil nik...@gmail.com wrote: Paul, The problem with onSaveInstanceSate is that it saves the state in portrait layout and when I am in landscape layout it display the correct state but

[android-developers] Re: Cannot see device in DDMS

2010-04-15 Thread schwiz
make sure you have the latest driver installed and for the correct os (32 vs 64 bit) I have had this problem with some but not all devices at once. I can't think of what else it could be but drivers though. On Apr 15, 12:42 am, Ken H hunt1...@gmail.com wrote: I have Windows XP and use Eclipse

[android-developers] Re: Motorola Droid JPEG files not standard?

2010-04-15 Thread ko5tik
On Apr 14, 7:36 pm, Jules julianna.wil...@gmail.com wrote: Hello, I manage a project where users upload JPEG images for processing. Generally the images are taken with Nikon cameras, but recently one user took images with a Droid and the client software did not recognize the Droid JPEG

[android-developers] Re: setContentView() twice on an activity?

2010-04-15 Thread a2ronus
Mark, another problem with your approach might be that when the user presses the back button, you go back to the previous activity, but the user might expect to go back to the previous ContentView state. Good luck. On 14 apr, 21:44, Wayne Wenthin wa...@fuligin.com wrote: Why not just make the

[android-developers] Re: How to apply different textures on different faces of a cylinder

2010-04-15 Thread Mario Zechner
kirti, when doing OpenGL programming it's best to actually know what you do. Just copy and pasting code will lead to more problems that you can't solve due to a missing understanding of how OpenGL works. Consider following Robert's suggestion and get your hands on the Red Book and the OpenGL

Re: [android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-15 Thread Jesper Hansen
On my N1, my player spends around 15-30% of its time generating the audio data. The my player app has focus everything sounds fine, but when I start another app that also requires a lot of cpu time the sounds start to stutter badly. Using top and ps on the N1, I can see that the applications

[android-developers] Re: Common Libraries

2010-04-15 Thread Mario Zechner
Assuming your lib is written in Java you simply create a normal Java application in Eclipse and let it have a dependency to the lowest Android platform jar you want to support. In your Android project you can then either directly reference the common library project or generate a jar from the

[android-developers] Prevent Orientation change at runtime

2010-04-15 Thread Kumar Bibek
Hi, Well, preventing an orientation change is easy. But what about doing it at run time. Say, I have an activity which supports orientation change in normal situations. It has say three Edit Texts. There's also a button, which when clicked would do some processing in a thread while showing a

[android-developers] Two surfaces on screen at a time

2010-04-15 Thread Anandi
Hi all, Is it possible to play two videos on the screen? I am basically trying to get some info on record and playback simultaneously. If i use a mediarecorder(for recording) and a mediaplayer(for playback), will their be any conflict in surface used by them? Can two mediaplayers run videos at

[android-developers] How can I get all the name of activities in the android system ?

2010-04-15 Thread Jobs He
Hi : In my project ,I need get all the name of the activities ,not only my own application, but also the third party application , and how can I get ? Thank you ! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] IP Camera + Canvas?

2010-04-15 Thread nep0x
Hi all! I'm doing an application which consists on displays images from an external ip camera. I use a http client and a web service to obtain frames and through requests to the web service i can also move the camera and make zoom. Looking for the view to render the frames, i obviously read the

[android-developers] Re: Generating a static HashMap from resources?

2010-04-15 Thread Bob Kerns
Not quite the only way, actually. But it does depend on loading the class that defines the fields AFTER you get your hands on the context. What you can do is to save that context in a static (non-final) field, in a different class. Then, in the class with your fields, you include a static

[android-developers] Map app with GPS is not working in Nexus One

2010-04-15 Thread SREEHARI
Hi, I developed an application using Google map api that use GPS also. It is working fine in HTC G1 mobile with sdk version 1.6. But it is not working in Nexus One. It is getting crashed... In logcat it is showing Null pointer exception in the below line Location location =

[android-developers] Moving the Gallery view to the next image on one swipe in Android?

2010-04-15 Thread javame_android
Hi All, I have four images in the Gallery View. When we do swipe from left to right or right to left the Gallery View moves all the images i.e if I swipe from left to right from the first image then it will move to all the four images. What I want is that when I swipe it should only move to

[android-developers] onActivityResult is not called for startActivityForResult

2010-04-15 Thread pink 444
Hi, I have an Activity A as launch mode 'singleTask'. And i am launching B from A by using startActivityForResult(). From i am calling setResult().But onActivityResult() of A not being called. Is there any problem with launch mode of A? -- You received this message because you are

[android-developers] CTS not detecting Zoom2 device

2010-04-15 Thread Uander
Hi ALL , I am ruuning startcts script to run cts testtools . I have run emulator as well as my zoom2 device is also connected to /dev/ttyUSB0 port When I am doing adb devices . it is only showing emulator not zoom2 . List of devices attached emulator-5554device What settings required so

[android-developers] How to change the normal behaviour of a listview

2010-04-15 Thread androidDeveloper
Hello Android Developers, does anyone know how to imitate the behaviour of the iPhone list used in the cineplexx iPhone app shown on this page: http://itunes.apple.com/de/app/cineplex-kinoprogramm/id361227953?mt=8 I refer to the left image, which shows a list with different locations to choose.

[android-developers] Re: How can I get all the name of activities in the android system ?

2010-04-15 Thread VovaN
Hi, look here http://developer.android.com/intl/zh-CN/reference/android/content/pm/PackageManager.html#getInstalledApplications%28int%29 On Apr 15, 12:22 pm, Jobs He hemf2...@gmail.com wrote: Hi :      In my project ,I need get all the name of the activities ,not only my own application, but

[android-developers] business card design in opn gles

2010-04-15 Thread tina lincon
Hi, I'm presently working with 3d contacts in open gles..the contact photos are being takn frm contacts via content provider and is being displayed as 3d contacts like a stack of cardsd pattern is wrking fine but presently in my application,the whole contact photo is being mapped into one

Re: [android-developers] Can I compile an app in 1.6 and run it on a 1.5 device?

2010-04-15 Thread Mark Murphy
Moto wrote: I'm wondering if I can specify on the manifest uses-sdk android:minSdkVersion=3 / and compile it as Android 1.6. Initial issue is that I need android.os.Build.MANUFACTURER call is not available on android 1.5 You will need to either use reflection or conditional class loading to

[android-developers] Re: onActivityResult is not called for startActivityForResult

2010-04-15 Thread Kumar Bibek
Show us some code. This should work fine. May be you are doing something wrong in here. Thanks and Regards, Kumar Bibek On Apr 15, 3:15 pm, pink 444 pnk...@gmail.com wrote: Hi,   I have an Activity A as launch mode 'singleTask'.   And  i am launching B from A by using

[android-developers] Re: business card design in opn gles

2010-04-15 Thread tina lincon
does android support multitexturing as presently android supports only open gles1.0 n multitexturing is der only on open gles 1.1..so hw is it possible widout multitexturing to design dis buisiness card? On Apr 15, 3:45 pm, tina lincon tina.theresalin...@wipro.com wrote: Hi, I'm

[android-developers] Re: [android-porting] CTS not detecting Zoom2 device

2010-04-15 Thread Deva R
Hi, Can you make sure of adb bridge, with emulator and zoom seperately one at a time? I guess the tag emulator-5554 is used by zoom2 too.. Pls check http://omappedia.org/wiki/Android_Debugging#Debugging_on_Zoom2_with_Eclipse_ADT On Thu, Apr 15, 2010 at 3:49 PM, Uander uandro...@gmail.com

[android-developers] LiveFolders Cursor-returned Intent not working

2010-04-15 Thread Felix Oghina
I'm trying to get a LiveFolder implementation working, but I can't seem to be able to. I'm able to create the ContentProvider and the items show up nicely. However, I can't seem to be able to return a proper Intent in the Cursor from my ContentProvider to launch my activity. Relevant bits of my

[android-developers] LiveFolders Cursor-returned Intent not working

2010-04-15 Thread Felix Oghina
I'm trying to get a LiveFolder implementation working, but I can't seem to be able to. I'm able to create the ContentProvider and the items show up nicely. However, I can't seem to be able to return a proper Intent in the Cursor from my ContentProvider to launch my activity. Relevant bits of my

[android-developers] Re: business card design in opn gles

2010-04-15 Thread Yahel
Sorry to be that guy Most people on the list including me are not native english speakers. Your text seems to be in some kind of text message gibberish, can you try that again ? Yahel On 15 avr, 12:45, tina lincon tina.theresalin...@wipro.com wrote: Hi, I'm presently working with 3d

[android-developers] Translation to Chinese

2010-04-15 Thread Robert
Hello all, I released my free app (DailyRoads Voyager) at the end of 2009. After a week I got a mail from a representative of Netdragon Websoft (Eva Zhao) praising my app, and offering to translate it to Chinese, in exchange for allowing them to publish it on their site/market. I've read various

[android-developers] Re: DrawableBitmap, Canvas and OR

2010-04-15 Thread Bob Kerns
Well, no, it just happens that in that case OR gives the same result as a more useful mode, like PLUS or XOR. Use PixelXorXfermode. E.g. public class XorDemo extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated

[android-developers] Selling outside the Android Market-- Use Google Checkout to sell direct from website??? SlideMe.Org??

2010-04-15 Thread Paul
I'm looking at ways to sell my app to countries where Android Market does not allow people to buy apps (only free apps available in market). I was looking at Slideme.org, but most of the apps there seem free and the details on their website seem scant about how to actually setup an account so

[android-developers] Re: [android-porting] CTS not detecting Zoom2 device

2010-04-15 Thread Uander
Thanks Deva . It works . I switched off my emulator and then see . for zoom2 also , device name was ..emulator -5554 only . Also I enable USB debugging support in Zoom2 board also . Thanks Uander On Thu, Apr 15, 2010 at 4:56 PM, Deva R r.deva...@gmail.com wrote: Hi, Can you make sure of

[android-developers] Re: How to change the normal behaviour of a listview

2010-04-15 Thread tony obrien
By extending the LISTVIEW and overriding the GetView() you can do whatever you want. On Apr 15, 5:35 am, androidDeveloper stepmas...@googlemail.com wrote: Hello Android Developers, does anyone know how to imitate the behaviour of the iPhone list used in the cineplexx iPhone app shown on this

[android-developers] Re: USB drivers for HTC Legend ? (or, how to add your own to android_winusb.inf )

2010-04-15 Thread ThomasWrobel
I just got an email from someone that said they got it working and very helpfully explained how; Using your post, I got it working using the following: ;HTC Legend %SingleAdbInterface% = USB_Install, USB\VID_0BB4PID_0C97 %CompositeAdbInterface% = USB_Install, USB\VID_0BB4PID_0C97MI_01 Under

[android-developers] Re: Prevent Orientation change at runtime

2010-04-15 Thread tony obrien
Since you call the other overlay when the orientation changes, a cheap hack would be to have the BUTTON Click listener set a global variable that the ORIENTATION listener can see and decide whether or not to allow the orientation change. On Apr 15, 3:44 am, Kumar Bibek coomar@gmail.com

[android-developers] Re: How to parse JSON in Java?

2010-04-15 Thread Maxood
Thank you so much folks. Thanks Suriya On Apr 9, 12:56 am, Surya W. Madjid aya.fourth.relea...@gmail.com wrote: The way I do it is like this:                 try                 {                         JSONArray mJsonArr = new JSONArray(jsonText); // your JSON text MUST be valid        

[android-developers] Re: Android: Trusting all Certificates using HttpClient over HTTPS

2010-04-15 Thread gcstang
This works for me information found on multiple sites but mostly from anddev.org : 1. Create a Fake Trust Manager public class _FakeX509TrustManager implements X509TrustManager { private static TrustManager[] trustManagers; private static final X509Certificate[] _AcceptedIssuers

[android-developers] Dynamic Layout Question

2010-04-15 Thread grace
hi, i tried creating the layout dynamically in the oncreate of the activity my code looks some thing like this.. mLinearLayout_no_button = new LinearLayout(this); mLinearLayout_no_button.setOrientation(1); ///---1.for orientation to be vertical

[android-developers] How to populate ListView dynamically with Images from Web

2010-04-15 Thread Maxood
How can i populate my list view dynamically with images retrieved from the web through push notification. I have used Mark Murphy's code for fancy lists: import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection;

[android-developers] Re: Common Libraries

2010-04-15 Thread scott
On Apr 15, 9:35 am, Mario Zechner badlogicga...@gmail.com wrote: Assuming your lib is written in Java you simply create a normal Java application in Eclipse and let it have a dependency to the lowest Android platform jar you want to support. In your Android project you can then either

[android-developers] Progressdialog and Thread Problem :(

2010-04-15 Thread Károly Holczhauser
Hi ! I had made an application which download a huge list from the internet and display in a listview. The Listview class is supported by my own Class which is extension of the BaseAdapter base class. In the display list adapter getView method I use simple_list_item_multiple_choice. When I

[android-developers] Re: audio equalizer support

2010-04-15 Thread kalit t
Hi Guys Can any one of you please comment on this On Tue, Apr 13, 2010 at 5:19 AM, kalit t kali...@gmail.com wrote: Hi guys I am new bie to android .Can you please let me know the extent of equalizer support for audio the android offers. Could you point out equalizer sdk apis ? Thanks A

[android-developers] Re: Selling outside the Android Market-- Use Google Checkout to sell direct from website??? SlideMe.Org??

2010-04-15 Thread Al Sutton
Have you considered AndAppStore? Payments go directly from the user to the developer using PayPal without any cut being taken by us. We offer a purchase checking system so you can verify user purchases from within the app itself. If you'd like more info or have any comments feel free to drop me

[android-developers] how to upload text on facebook without Loging In.

2010-04-15 Thread nomi
hey plz give me solution of my problem. I am making a android software in which i m taking text from user and saving this text. Whenever user wants to see this notes/text he/she can see.this functionality is done successfully. In next step i want that whenever user want to upload that file

Re: [android-developers] Dynamic Layout Question

2010-04-15 Thread social hub
try setting the layoutparams .setLayoutParams( new LayoutParams(100,40)); When you are creating dynamically its best to set the width and height always. u can also set to WRAP_CONTENT,WRAP_CONTENT etc. On Thu, Apr 15, 2010 at 7:32 AM, grace grace.a...@wipro.com wrote: hi, i tried creating

Re: [android-developers] Re: Prevent Orientation change at runtime

2010-04-15 Thread social hub
there is configChanges that will allow you to be notified and allow you to decide orientation i guess. On Thu, Apr 15, 2010 at 7:16 AM, tony obrien tobsourcecode...@gmail.comwrote: Since you call the other overlay when the orientation changes, a cheap hack would be to have the BUTTON Click

[android-developers] Re: how to upload text on facebook without Loging In.

2010-04-15 Thread Yahel
:D I can't help you but I wanted to tell you that I too want to make an android software : It would save human voice and convert it into light then send it to a web server where people could see that light and make the phone turn around in the user pocket so that the screen does not touch the

[android-developers] Re: how to upload text on facebook without Loging In.

2010-04-15 Thread Yahel
Oh and as for FaceBook there is a thread going on right now, maybe you'd like to participate : http://groups.google.com/group/android-developers/browse_frm/thread/49155e1c82fb418c/8de93bfc6cf9af6c?lnk=gstq=facebook#8de93bfc6cf9af6c Yahel -- You received this message because you are subscribed

[android-developers] Re: Common Libraries

2010-04-15 Thread scott
Thank you for your help I worked out how to link the files. On 15 Apr, 09:35, Mario Zechner badlogicga...@gmail.com wrote: Assuming your lib is written in Java you simply create a normal Java application in Eclipse and let it have a dependency to the lowest Android platform jar you want to

[android-developers] memory problem with image... but strange...

2010-04-15 Thread Kofa
Hi, I have some headache with an error about the system going out of memory. When I run the game fo first time there's no problem, but when i quit - with finish();- and then start the app again, it gives me an error. The LogCat error says: VM won't let us allocate 5529600 bytes Caused by:

[android-developers] Get file path from asset

2010-04-15 Thread Ne0
Hi, My app has a pdf user guide in the assets section i want to be able to launch it with: Uri path = Uri.fromFile(new File(assets/UserGuide.pdg); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(path, application/pdf); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

[android-developers] Re: memory problem with image... but strange...

2010-04-15 Thread Kofa
I forgot to say that the activity with the problem has an imageview that loads a PNG of 621Kb and a bunch of imageviews. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Get file path from asset

2010-04-15 Thread Maps.Huge.Info (Maps API Guru)
Have you tried file:///android_asset/UserGuide.pdg? -John Coryat Radar Now! What Zip Code? -- 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: How to send KeyEvents through an input method service to a Dialog, or a Spinner menu?

2010-04-15 Thread shutdown11
It seems that Dialogs aren't considered as input connections... There is another way to control the device from the input method as if u were controlling it from the hardware keys? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: memory problem with image... but strange...

2010-04-15 Thread Marc Reichelt
Hi Kofa, I guess you have a memory leak here. Please make sure that all your data is cleaned up, i.e. no hard references are left. Try to call the GC manually and see how much it cleans up. Tip: Override the finalize() method of your activity and print out a log message there to see if the

[android-developers] Re: Prevent Orientation change at runtime

2010-04-15 Thread blcooley
I don't know the answer to your question, but here's what I'd try. First, the simplest thing. I think you might be able to use the Activity's setRequestedOrientation function and set it to whatever orientation you want it to stay in. So when the ProgressDialog is started:

[android-developers] Re: Get file path from asset

2010-04-15 Thread Ne0
Thanks, I hadn't, but i have now and it did not work. pdg was a typo i meant. ... Uri path = Uri.fromFile(new File(assets/UserGuide.pdf); ... Any other suggestions? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] What's wrong with this location code?

2010-04-15 Thread Anna PS
Woe - I'm still struggling to write some code that can reliably get me an accurate location fix. I have written some code that I thought would (i) register with any available location listener (ii) at onLocationChanged events, check the location fixes for age and accuracy (iii) once a suitable

[android-developers] Re: Orientation changes and layout

2010-04-15 Thread nikhil
Yes I did that but after restoring the webview state it doesn't update with new information. On Apr 15, 2:31 am, Paul Turchenko paul.turche...@gmail.com wrote: WebView has methods to save its state. Use them to store/obtain your webview's state. On Apr 15, 12:58 am, nikhil nik...@gmail.com

[android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-15 Thread niko20
This is why I've moved any new projects that generate audio in the NDK to create the audio data and pass the buffers back to me. I've seen an increase in speed in buffer creation (44Khz stereo sound) from 400ms down to 10ms or so to mix a buffer, over 100x speed increase. It's best to put any

[android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-15 Thread niko20
Also was going to mention that in Android foreground apps always get priority in scheduling regardless of thread priority. Read that in these forums somewhere. -niko On Apr 15, 10:50 am, niko20 nikolatesl...@yahoo.com wrote: This is why I've moved any new projects that generate audio in the NDK

Re: [android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-15 Thread Donal Rafferty
Hi Niko, Do you just process Audio buffers in the NDK, you dont actually access any low level audio classes or streams? On Thu, Apr 15, 2010 at 4:51 PM, niko20 nikolatesl...@yahoo.com wrote: Also was going to mention that in Android foreground apps always get priority in scheduling regardless

[android-developers] Re: How to change the normal behaviour of a listview

2010-04-15 Thread androidDeveloper
Yes, that would be the way, thanks. Has anyone done someting similar and could share sample code? On 15 Apr., 14:11, tony obrien tobsourcecode...@gmail.com wrote: By extending the LISTVIEW and overriding the GetView() you can do whatever you want. On Apr 15, 5:35 am, androidDeveloper

[android-developers]

2010-04-15 Thread bharath paturi
http://MaryaliceSciacchitano9140.co.cc -- Regards, Bharath -- 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

[android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-15 Thread niko20
Lol Actually Donal, I tried what you did, ran another program while mine was running, and it stutters too. I think that may just be the way it is - foreground processes always get priority. I'm mixing in NDK and passing the buffer back to Java and passing it to Audiotrack. It's fast enough to mix

[android-developers] Re: DDMS use - allocated memory not freed when BACK pressed?

2010-04-15 Thread jamesc
Thanks for replying, Xavier. Sorry if I'm missing something, but onDestroy() is called on the stack of Activities in the Task. The default behaviour of Activity.onKeyDown() results in a call to Activity.finish(), hence the onDestroy() call. Thus, I would have expected onDestroy() to free

[android-developers] Re: memory problem with image... but strange...

2010-04-15 Thread Kofa
thx for your time Marc! but I already solve it =) I have seen a lot of people has this error or something like this, but no answer... and i was lucky... I just put the big image in the RAW directory... because the problem appears to be that when i start the app again, this big image was

Re: [android-developers] Re: DDMS use - allocated memory not freed when BACK pressed?

2010-04-15 Thread Mark Murphy
jamesc wrote: Thus, I would have expected onDestroy() to free allocs? onDestroy() does not free anything. At most, onDestroy() will remove some references to an Activity. Once all references to the Activity are gone, on some future garbage collection pass, the memory will be released. --

Re: [android-developers] Map app with GPS is not working in Nexus One

2010-04-15 Thread ~ TreKing
On Thu, Apr 15, 2010 at 4:44 AM, SREEHARI sreehari.madhusooda...@wipro.comwrote: In logcat it is showing Null pointer exception in the below line Location location = locationMgr.getLastKnownLocation(LocationManager.GPS_PROVIDER); Can anyone suggest a solution. Don't use a null pointer.

Re: [android-developers] onActivityResult is not called for startActivityForResult

2010-04-15 Thread ~ TreKing
On Thu, Apr 15, 2010 at 5:15 AM, pink 444 pnk...@gmail.com wrote: And i am launching B from A by using startActivityForResult(). From i am calling setResult().But onActivityResult() of A not being called. Did you finish() your Activity after setting the result? It won't get passed back

[android-developers] Re: Cannot see device in DDMS

2010-04-15 Thread Ken H
FYI ~ I guess they just issued a new update to the ADT Plugin in March. I updated (Help - Software Updates, check developer tools), restarted Eclipse and now I see my phone in the Devices tab. All is right with the world :) Ken On Apr 15, 12:33 am, schwiz sch...@gmail.com wrote: make sure you

[android-developers] Re: Settings Intent in Sense UI

2010-04-15 Thread San
Hi Mark/GodsMoon, I am also facing similar issue. I have to enable GPS programatically when the app starts. I am getting an error 04-15 09:36:42.579: WARN/System.err(1299): android.content.ActivityNotFoundException: No Activity found to handle Intent {

[android-developers] Re: Settings Intent in Sense UI

2010-04-15 Thread San
Sorry there was a mistake in my last post. The error is 04-15 09:42:19.799: WARN/System.err(1358): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.settings/ com.android.settings.SecuritySettings}; have you declared this activity in your

Re: [android-developers] Re: Settings Intent in Sense UI

2010-04-15 Thread Mark Murphy
San wrote: I am also facing similar issue. I have to enable GPS programatically when the app starts. You can't enable GPS programmatically. At most, you can display the settings activity to let the user choose if they wish to enable GPS. I am getting an error 04-15 09:36:42.579:

[android-developers] Re: Settings Intent in Sense UI

2010-04-15 Thread San
Thanks Mark for a quick reply... :) I will try this. On Apr 15, 9:55 am, Mark Murphy mmur...@commonsware.com wrote: San wrote: I am also facing similar issue. I have to enable GPS programatically when the app starts. You can't enable GPS programmatically. At most, you can display the

Re: [android-developers] Re: DDMS use - allocated memory not freed when BACK pressed?

2010-04-15 Thread Xavier Ducrohet
What Mark said. Also, there's a force GC button in ddms, so you could try that to see that once you hit back and run the GC your heap changes. Xav On Thu, Apr 15, 2010 at 9:24 AM, Mark Murphy mmur...@commonsware.com wrote: jamesc wrote: Thus, I would have expected onDestroy() to free allocs?

Re: [android-developers] Progressdialog and Thread Problem :(

2010-04-15 Thread ~ TreKing
2010/4/15 Károly Holczhauser holczhau...@gmail.com BUT if I don't use the Thread all going to right, there will no NullPointer Exception Can anyone tell me why ? Not exactly, but since you have a thread that's modifying your collection, you're more than likely running into a synchronization

[android-developers] Re: Settings Intent in Sense UI

2010-04-15 Thread San
You are awesome.. startActivity(new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS)) works... :) I think the flag and category was making the problem. On Apr 15, 9:55 am, Mark Murphy mmur...@commonsware.com wrote: San wrote: I am also facing similar issue. I have to enable GPS

[android-developers] Re: audio equalizer support

2010-04-15 Thread BobG
Harmony Central has Digital Signal Processing source code that will show you how to get er dun. -- 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

Re: [android-developers] Re: Settings Intent in Sense UI

2010-04-15 Thread Mark Murphy
San wrote: You are awesome.. Well, now, I wouldn't say that... startActivity(new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS)) works... :) I think the flag and category was making the problem. The more things you put in the Intent, the more restrictive the Intent becomes. -- Mark

[android-developers] Android time synchronization?

2010-04-15 Thread arsenix
Hi all. I am working on developing an application which requires high precision time synchronization between handsets. I'm looking for under 100 microseconds of skew between phones. I wondered if anyone had tried this before. In theory the GPS receivers could be used to pretty accurately

[android-developers] How to switch between views following a finger ?

2010-04-15 Thread Julien Del Rio
Hi, I can't find a tutorial on Google for my problem. I'm french and i don't find the best google keywords for to describe my goal. I decided to ask the question here. I want to do an animation between views like on the Home or on the Calendar in week mode. I want the switch between the views

[android-developers] How to set XMPP settings

2010-04-15 Thread Karteek N
Hi i want to implement gtalk application. For that we need to set gtalk account on our emulator with gmail account. In some book i have seen we need to set it by going to DevTools-XMPP Settings. But i have created emultor with 1.5 and 2.0 in both i didn't find this option . Even i tried for 1.5

[android-developers] SQLite DB, Cursors, CursorIndexOutOfBoundsException problems!! Help!

2010-04-15 Thread kc2uno_CMU
Hi all, I just wrote my own DbAdapter by modifying the example DbAdapter in Notepad tutorial. The problem came when I tried to fetch data from the Database using my DbAdapter. I got : android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1. Below is a snippet of my

[android-developers] Menu button unlocks the phone

2010-04-15 Thread Daniel Fogel
Hi, I have HTC Hero and I've found out that dragging down on the touch is not the only way to unlock the phone. If you press the menu button, it unlocks the phone, too. I don't know whether it's problem of the HTC device, Android or bad feature definition. Do you have a clue? Regads, Daniel

[android-developers] Changing ringer mode to RINGER_MODE_SILENT doesn't prevent the phone from vibrating

2010-04-15 Thread Flo
Hi, I've got some problems muting the phone via code. The app I develop should mute the phone when a call comes in. This means it should not ring and vibrate at all. My first attempt so archive this was setting the AudioManager Ringer Mode to RINGER_MODE_SILENT using the following code.

[android-developers] Switching from Recycled to Finished Product

2010-04-15 Thread mc730029
Departed the Clopay Plastic Products parking lot - on the southeast side of Nashville, Tennessee - at 1:00 AM CDT with a load of recycled film and plastic that will eventually be reprocessed into Procter Gamble product containers. Dropped this load at Plastic Recycling Technology in Piqua, Ohio

[android-developers] voice mail (VVM)

2010-04-15 Thread ulqui
Hello I am trying to develop an android application which will retrieve a voicemail message left by a user, but I'm stuck in its development becaue resources on Internet are quite limited about voicemail. I haven t had any problems in my application to retrieve a sms but for voicemail, it s

[android-developers] Location of a picture

2010-04-15 Thread Terje Johan Abrahamsen
Hello. First I apoligize for not strictly sticking to the charter of the group, but I have tried almost all other thinkable venues, and assume the users here are the most likely to be able to answer. I have a HTC Hero, Android 1.6. I did take quite a few pictures and thereafter experienced a

[android-developers] onRestart() method not called on restart

2010-04-15 Thread nickon
Hey everyone, I'm writing a Tetris application on Android for my bachelor thesis at the University of Hasselt. Currently I have a working Tetris base game, but it just keeps on ticking when the activity gets in the background. I'm trying to fix this by overwriting the onStop() and onRestart()

[android-developers] A problem about -rpath-link

2010-04-15 Thread KerlW
I am learning Anroid development, trying to write native C program. I am using code sourcery g++ lite to compile and link my program, When I tried to link my program dynamically, I met a problem. I've pulled /system/lib from android emulator to my PC c:\androidlib when link , I need to pass this

Re: [android-developers] Cannot see device in DDMS

2010-04-15 Thread Galbayar D
Try to use below commands adb kill-server adb devices Galaa On Thu, Apr 15, 2010 at 2:42 PM, Ken H hunt1...@gmail.com wrote: I have Windows XP and use Eclipse v3.4.1. Under Device Manager I see Android Phone - Android Composite ADB Interface when my Nexus One is plugged into the computer

[android-developers] getting rid of “warning: unma ppable character for encoding ascii”

2010-04-15 Thread Lo'oris
I'm compiling using android tools without eclipse. I compile launching ant debug from command line. I have found many many instructions around the web about how to remove with annoying warning, but I haven't been able to make any of them work. I've tried -D option, I've tried randomly tweaking

[android-developers] Post variables to ASPX on server

2010-04-15 Thread Cindy
Hi, I noticed several questions for posting files to the server from the Android Emulator, but I'm trying to send variables to an ASPX file from the Emulator. I'm new to ASP and Android, so I'm wondering if I'm doing this right. I've tested the files on the server and everything seems to be

  1   2   >