[android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread saex
Hi, thanks, but, when i try to send the email, the emulator says: unsuported action is this compatible with API 1.5? On 3 dic, 12:58, Kostya Vasilyev kmans...@gmail.com wrote: Hi, You are describing three tasks: 1 - handling a button click.

Re: [android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 7:26 AM, saex elpablos...@gmail.com wrote: Hi, thanks, but, when i try to send the email, the emulator says: unsuported action is this compatible with API 1.5? You need a configured email program in your emulator. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread saex
Hi, i did it but i have two problems: 1. Does not send automatically the email when i press the send button, it shows a new window to edit the tittle, receptor and body of the email and to send it.¿is not possible to send it automatically without giving the user the possibility to edit it? 2. I

[android-developers] picture uploading from android application to php server

2010-12-03 Thread zeeshan mirza
Hello Friends, I want to upload images from android application to php server. Both are developed by me. Server is not accepting files from android client. Please have a loot at my code and let me know if someone knows the problem. I am using xampp for apache and php. Here is my code for php

[android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread saex
i did it working because i test on my movile, not on the emulator (on the emulator doesn't works) but i still have these two serious problems of my previous answer, please help me On 3 dic, 13:32, saex elpablos...@gmail.com wrote: Hi, i did it but i have two problems: 1. Does not send

Re: [android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 7:32 AM, saex elpablos...@gmail.com wrote: Hi, i did it but i have two problems: 1. Does not send automatically the email when i press the send button, it shows a new window to edit the tittle, receptor and body of the email and to send it.¿is not possible to send it

Re: [android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread Kostya Vasilyev
You can't send email without the user knowing (and confirming). At least not without writing your own networking code that talks directly to an SMTP server. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 03.12.2010 15:32 пользователь saex elpablos...@gmail.com написал: Hi, i did it but i

[android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread saex
i test with two providers, my university provider, and hotmail, and didn't recived the emails yet also, one question, who is the sender? i specifi the email receiver but not the sender... which sender will see the receiver when he opens the emails? On 3 dic, 13:37, Mark Murphy

Re: [android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 7:40 AM, saex elpablos...@gmail.com wrote: i test with two providers, my university provider, and hotmail, and didn't recived the emails yet Have you tried sending an email normally (i.e., not sending it through your code) using this email program? also, one

[android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread saex
what? i dont use any email program on my android phone :S this method only works if a movile user uses the email program of his phone? oh no, then i can't use this method exist another method to do it? On 3 dic, 13:45, Mark Murphy mmur...@commonsware.com wrote: On Fri, Dec 3, 2010 at 7:40 AM,

[android-developers] Re: Application is shutdown unexpectedly

2010-12-03 Thread SREEHARI
Hi Peter, can u post the log message?? Sreehari. -- 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

Re: [android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 7:52 AM, saex elpablos...@gmail.com wrote: what? i dont use any email program on my android phone :S You need to. this method only works if a movile user uses the email program of his phone? Yes. exist another method to do it? Not native to Android. You are welcome

[android-developers] Re: Application is shutdown unexpectedly

2010-12-03 Thread P.N.
Hi sreehari, no - haven't got any log message; just the message from subject (in German). Regards Peter SREEHARI schrieb: Hi Peter, can u post the log message?? Sreehari. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread saex
what? this cant be possible, im sure exist another way i have some apps on my android phone that haves invite buttons, that send automatically emails to the people i want to have in my app, That emails haves automatic text generated by the apps, and i have not to give to the programs any

[android-developers] On disale logging status of Looper.getMainLooper().setMessageLogging(new Printer()) remains enable or becomes disable.

2010-12-03 Thread muhammad mahmood
Hi When we do logging disable during publishing an app, is Looper.getMainLooper().setMessageLogging(new Printer()) remains enable or becomes off/disable. I mean are we still be able to get messages with printer or not? Thanks Muhammad Rashid -- You received this message because you are

Re: [android-developers] Re: Application is shutdown unexpectedly

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 8:40 AM, P.N. peter.nabbef...@gmx.de wrote: no - haven't got any log message; just the message from subject (in German). You really should consider catching and reporting your stack traces. This happens automatically for some apps on some devices when distributed through

Re: [android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 8:44 AM, saex elpablos...@gmail.com wrote: what? this cant be possible, im sure exist another way There are many ways. i have some apps on my android phone that haves invite buttons, that send automatically emails to the people i want to have in my app, That emails

[android-developers] Re: Application is shutdown unexpectedly

2010-12-03 Thread P.N.
Thank You for the link, seems good but too much to read, now - will have to work through at the week-end. However, are there any good samples for more complex layouts? Seems, my issue has to do with nesting ... Kind regards Peter Mark Murphy schrieb: On Fri, Dec 3, 2010 at 8:40 AM,

[android-developers] Re: How i can migrate my app from 1.5 to 1.6 api fast and safe???

2010-12-03 Thread Streets Of Boston
If you don't need/want to support 1.5 phones, just set the project's Android SDK version to 1.6 (api-level 4). Re-compile. That's it. On Dec 3, 6:51 am, saex elpablos...@gmail.com wrote: Hi, i am making a gigantic app for android, and i start doing it some moths ago for android 1.5, but now i

[android-developers] Re: question about the proper way of quitting the program

2010-12-03 Thread Streets Of Boston
Handle the onPause and onResume as well and put your game in some kind of sleep-mode (onPause), where it does absolutely nothing but just sit/ sleep there. When your activity that shows the game is brought to the foreground instead (onResume), bring it out of sleep mode and let the user continue

[android-developers] Re: How i can migrate my app from 1.5 to 1.6 api fast and safe???

2010-12-03 Thread Leon Moreyn-Android Development
that and if your building in eclipse make sure to change the lib to 1.6. Right click on project, properties, android, then select 1.6 On Dec 3, 9:41 am, Streets Of Boston flyingdutc...@gmail.com wrote: If you don't need/want to support 1.5 phones, just set the project's Android SDK version to

[android-developers] Re: Please help with an ideea

2010-12-03 Thread Alex Munteanu
Not giving on the ideea that there is someone who has an ideea how this is (or could) be implemented :) ! -- 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

[android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread saex
bruff and there is not another way without using webservices and a remote server? a easy and simply way? like in html and C or java On 3 dic, 14:49, Mark Murphy mmur...@commonsware.com wrote: On Fri, Dec 3, 2010 at 8:44 AM, saex elpablos...@gmail.com wrote: what? this cant be possible, im

[android-developers] Re: Application is shutdown unexpectedly

2010-12-03 Thread P.N.
Just to note: In my TableLayout element, the following attributes were missing: android:layout_width=1px android:layout_height=1px These are obviously facultative; wanted to not specify them, because I'll need to set the size in my Activity implementation. I'm new to Android,

[android-developers] Handling multi-byte Unicode strings in native code

2010-12-03 Thread John Gaby
How do I detect a lead byte within Unicode string from native code. I have used 'isleadbyte' in the past, but that function does not seem to be present in the NDK. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Handling multi-byte Unicode strings in native code

2010-12-03 Thread John Gaby
Drat, posted to the wrong group. Sorry. On Dec 3, 7:48 am, John Gaby jg...@gabysoft.com wrote: How do I detect a lead byte within Unicode string from native code.  I have used 'isleadbyte' in the past, but that function does not seem to be present in the NDK. Thanks. -- You received this

[android-developers] ADT is no longer launching APK on device

2010-12-03 Thread Richard Leggett
Hi all, I've had a very strange thing happen here, one minute I'm debugging my app (on a Nexus One), no problems, the next it refuses to launch after installation every time. My logcat contains the following (hopefully the relevant parts, trimmed out GC logs etc): D/PackageParser(21026):

Re: [android-developers] Re: How to send a simple email programatically? (exists a simple way to do it??)

2010-12-03 Thread Kostya Vasilyev
There is nothing in html or C or Java *languages* for sending email. Each of these platforms requires the use of some library for this. You can look for such a library and integrate it into your Android application. However, in general, leveraging an already installed and configured email

Re: [android-developers] Re: Button placement problems

2010-12-03 Thread Kostya Vasilyev
Here are a few ideas: 1. Create a background that has the maximum possible aspect ratio: it's 16:9 (1.777) for 480 by 854, and less than that for 480 by 800 (1.66), 1024 by 600 (1.7) and 320 by 480 (1.5). Push the background to the top when drawing, so that the bottom part is clipped on

[android-developers] Shutdown A PC With An Automatic Timer Itself

2010-12-03 Thread Sami
Please Check This How To Shutdown A PC With An Automatic Timer Itself http://softsami.blogspot.com/2010/12/shutdown-pc-with-automatic-timer-itself.html -- 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: Button placement problems

2010-12-03 Thread Serdel
Thanks Vasilyev, The aspect ration is in deed a very important factor - I was surprised why my layout looks fine in eclipse plug in but corrupts on the device. Only when I design my own dev config with proper size and ratio as long it worked correct. I now have a quite similar problem. Because I

[android-developers] Re: Button placement problems

2010-12-03 Thread Serdel
Thanks Vasilyev, The aspect ration is in deed a very important factor - I was surprised why my layout looks fine in eclipse plug in but corrupts on the device. Only when I design my own dev config with proper size and ratio as long it worked correct. I now have a quite similar problem. Because I

[android-developers] TabHost Layout Question

2010-12-03 Thread Tommy
Hi everyone, I was wondering if it is possible to set a height for the individual tabs on the widgets or if I am stuck using the default heights. Thanks for your time, Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: Button placement problems

2010-12-03 Thread Kostya Vasilyev
03.12.2010 19:37, Serdel пишет: Thanks Vasilyev, It's Kostya (V. is my last name). The aspect ration is in deed a very important factor - I was surprised why my layout looks fine in eclipse plug in but corrupts on the device. Only when I design my own dev config with proper size and ratio as

Re: [android-developers] Save ID name in list view

2010-12-03 Thread TreKing
On Fri, Dec 3, 2010 at 5:51 AM, Faheem Khatri faheemkhatr...@gmail.comwrote: I know but if i wanna do these things in android, how can i do it? Implement your own solution. Or adapt to doing things the Android way. There are plenty of examples out there on using adapters for binding data to a

[android-developers] Re: App freezes when the power key is pressed

2010-12-03 Thread Eyvind Almqvist
I think I have fixed it now. I discovered that lots of objects were created over and over again for every screen turn in the view constructor. I fixed this by making the these objects static. I mailed the new version to you. You got it for free, it will cost 4,5 $ in the appstores:) On 3 Dec,

[android-developers] BroadCastReceiver SMS receiver Force Close on AVD

2010-12-03 Thread om
Hi, I am creating just a simple android app which will respond to received. I am using braodcastreceiver to receive sms. Code for activity is package com.om; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent;

Re: [android-developers] Save ID name in list view

2010-12-03 Thread Faheem Khatri
Thanks. On Fri, Dec 3, 2010 at 10:01 PM, TreKing treking...@gmail.com wrote: On Fri, Dec 3, 2010 at 5:51 AM, Faheem Khatri faheemkhatr...@gmail.comwrote: I know but if i wanna do these things in android, how can i do it? Implement your own solution. Or adapt to doing things the Android

[android-developers] Re: TabHost Layout Question

2010-12-03 Thread akkilis
You can set the height of the Tabs of your TabHost or simply can provide the images to them also to change their background. Setting Height: TabHost android:id=@+id/tab_host LinearLayout android:orientation=vertical

RE: [android-developers] Re: TabHost Layout Question

2010-12-03 Thread Tommy
Very Awesome! Thanks a bunch. I was wondering which one controlled that. Again thank you for your time! Tommy -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of akkilis Sent: Friday, December 03, 2010 12:53 PM To:

RE: [android-developers] Re: One More Question TabHost Layout Question

2010-12-03 Thread Tommy
Something I just noticed. If I don't have a picture and I just have text if I set the height of the tab to say 45dp it cuts off the text. I tried to add gravity=top but that didn't do anything. Is there a way to move the text up so it won't get cut off or should I create an Image that contains the

[android-developers] Sync and GPS Intents name

2010-12-03 Thread Mariux
Hi, does someone know what are the Intents launched by: 1) turning on/off GPS (using settings page launched as Settings.ACTION_SECURITY_SETTINGS) 2) turning on/off Sync (using ContentResolver.setMasterSyncAutomatically(false/true)) I need this for update widget views. Thanks Mario -- You

[android-developers] Re: Unsuccessful in completing a Nexus One purchase

2010-12-03 Thread andrej sarkic
Yes! Been trying for days now. On Nov 18, 2:25 pm, Skip skip.tavakkol...@gmail.com wrote: Hi, My organization's purchasing dept. has not been successful in completing the order for aNexusOnephone. There is an error after the credit card information is submitted. They've tried contacting by

[android-developers] Re: Keeping IntentService alive even if app is killed

2010-12-03 Thread Tejas
I was under the impression that if we register with the AlarmManager and set a Repeating PendingIntent to be fired, it will invoke our IntentService, even if the application is running or not. Isn't it the most popular way to make sure you run your task even if your application is not running ?

[android-developers] Re: Unsuccessful in completing a Nexus One purchase

2010-12-03 Thread Maps.Huge.Info (Maps API Guru)
You might want to try ebay. There are quite a few available in that venue and they can be had at less than the cost of a unit from Google. http://shop.ebay.com/?_nkw=google+nexus+one -John Coryat On Dec 3, 12:47 pm, andrej sarkic andrej.sar...@gmail.com wrote: Yes! Been trying for days now.

[android-developers] Clarification about IntentService

2010-12-03 Thread Tejas
I'm using AlarmManager to fire a PendingIntent after a certain period of time. This leads to running of my IntentService. - What happens if the PendingIntent fires, but my IntentService hasn't completed its task ? - If the IntentService is taking too long, will the android platform kill it ? - If

[android-developers] Re: Button placement problems

2010-12-03 Thread Serdel
Thank you Kostya and sorry for my mistake : The ImageView approach works. Though the eclipse layout 'designer' doesn't show this (the images are cropped) it works on the device. Again thanks for the solution. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Button placement problems

2010-12-03 Thread Serdel
Thank you Kostya and sorry for my mistake : The ImageView approach works. Though the eclipse layout 'designer' doesn't show this (the images are cropped) it works on the device. Again thanks for the solution. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Button placement problems

2010-12-03 Thread Serdel
As long as you have been so helpful - do you know any way to put an imageview (or any other object) deliberately behind other objects? For example if I would like to put an image behind my buttons to make a background for the small gap between them (and I want this gap to be filled - don't want

[android-developers] Re: Keeping IntentService alive even if app is killed

2010-12-03 Thread Chris Stratton
On Oct 8, 1:05 am, Dianne Hackborn hack...@android.com wrote: Oh sorry, I see that you are specifically talking about manage apps.  In that case...  the whole point of the force stop in manage apps is for a user to stop an app that they really want to make stop.  As such, there is nothing you

Re: [android-developers] Re: Button placement problems

2010-12-03 Thread Kostya Vasilyev
Adam, The in-front/behind order by default is the order in which views are declared in the XML file. The order, first to last (XML) becomes back to front (on screen). -- Kostya Vasilyev -- http://kmansoft.wordpress.com 03.12.2010 22:35 пользователь Serdel adam.lichwierow...@gmail.com написал:

[android-developers] release keys do not work

2010-12-03 Thread i b
I've had a problem for the last week that the release keys I derive using keytool or the Export .apk do not function. The map pages show up blank. When I reinsert my debug key instead, everything works fine. For example I have a MD5 fingerprint Keystore type: JKS Keystore provider: SUN Your

[android-developers] Re: How to show the SampleSyncAdapter on HTC Sense?

2010-12-03 Thread Christian
Hi, Nothing. It does not work correct on HTC Sense. As it seems, the Contacts App only supports the internal adapters for showing up all Contacts. But: You can link contacts from your Sync Adapter to existing Contacts when the name matches. Unfortunately they are not auto-linked. Regards,

[android-developers] Use MediaPlayer in background and control it after app restarts

2010-12-03 Thread 1001knights
Hello everyone, I have an application with 2 buttons. Click button button_testWav will play wav audio, and click button button_quit will call method quit(View view) to exit the application (this is defined in layout XML file). One interesting thing is after I click button_testWav, audio starts

[android-developers] Problem binding a remote service

2010-12-03 Thread Markus Drösser
hey guys, strange problem ~.~ trying that out the whole day. its made after an example i found in a book. in my case the example simply does not work. if i do public class Launcher extends Activity { IRemoteRecordService mRemoteRecordService = null; private ServiceConnection

[android-developers] How to listen outgoing calls

2010-12-03 Thread Lakshman Sai
Hi, I tried various options to listen out going calls. I tried with intents Phone_state,ACTION_NEW_OUTGOING_CALL and NEW_OUTGOING_CALL, but none are working. I could able to track incomming calls and i could able to find duration of each call. Can any help me in this. -- You received this

[android-developers] How to develop apps coming from Apple iOS

2010-12-03 Thread wesg
I work for a small mobile applications company that is looking to branch out to other platforms, mainly Android and Windows phone. Our first job is to get out a few of our existing in house apps for iOS into the respective stores on the other platforms. We're stymied by Androids layout system,

[android-developers] Heap size and SoftReferences?

2010-12-03 Thread Ab
I have an application which creates a series of Bitmaps. I am holding these Bitmaps in SoftReferences, to avoid running out of memory. I would like the heap size to grow to the maximum 16MBs before it starts collecting my SoftReferences. However, the SoftReferences are collected very eagerly,

[android-developers] Drawing App

2010-12-03 Thread Cruiz
I have two Classes (Draw and DrawView) I'm trying to get the buttons to function. The buttons need to change stroke color, change stroke width, undo redo, erase and etc... I can see the buttons in emulator but cannot get them to function. Someone please help..this is diving me crazy...I'm

[android-developers] How to create a tablet App with direct FULLSCREEN?

2010-12-03 Thread Foolx
Hi there! I just got my Android Tablet (Archos 10.1 IT) and want to programm some little Tools for it. I already started with eclipse and the first Tutorials, but i already found some problems i can't handle. Please help me! I defined a Virtual Device fitting my real Device with 10.1 1280 x

[android-developers] Touchscreen coordinates problem on Samsung Galaxy S (Vibrant)

2010-12-03 Thread Emmanuel Marty
Hello everyone, I am developing a game that uses a fullscreen GL view and getting its motion events with onTouchEvent(), nothing fancy. When I test on a Samsung Vibrant (Galaxy S), the coordinates I get from the motion event are slightly off. The top,left corner is around x=20,y=20 and the

[android-developers] Re: How to capture unlock event in activity.

2010-12-03 Thread Damo
Im trying to do something very similar, any luck with this? On Dec 1, 8:50 am, Sarwar Erfan erfanonl...@gmail.com wrote: Hi, For this purpose, you need to override the onResume method. Unlock is irrelevant here. Review the Activity life cycle for better understanding what is going

[android-developers] Toast cropped on small screens

2010-12-03 Thread jraanamo
Toast messages get truncated/cropped when app is running on a smaller screen like SDK's QVGA. All messages with more than one word get wrapped on multiple lines but only the first line is visible and next is fading into transparency. Even tried with custom view, margins and positioning but now

[android-developers] Re: TabHost Activity

2010-12-03 Thread edrowland
If you check carefully,i think you'll find the sub-activities get constructed immediately, but onCreate doesn't get called until the tab gets selected. My guess: get the code out of your constructor (it doesn't belong there anyway) and you'll get what you want. I had to deal with the opposite

[android-developers] Getting information about external applications used by one particular application

2010-12-03 Thread Tux
Hi all, I was wondering if it is possible to see which external applications (i.e.: other applications of the phone), a particular application use or to be more precise, which activities an application use that belongs to an external application? I want thus a way to say: Application a uses

[android-developers] Re: Can you detect a touch to the screen when the screen is off? (Wake up screen with a touch)

2010-12-03 Thread Damo
Thats a really good idea is it possible to do that or to use the hardware buttons when the screen is asleep On Nov 30, 9:38 pm, Ken H hunt1...@gmail.com wrote: anyone out there got any ideas? Use your other sensors like the accelerometer...shake it awake. Ken -- You received this message

Re: [android-developers] Upload picture to php server

2010-12-03 Thread amulya rattan
I may be wrong but i am guessing that you r trying to access your own system.in that case you need to provide the loopback address(127.0.0.1) in the url. If that doesnt help, something's wrong with your local.hosts file. Google should help you with that. On 2 Dec 2010 22:40, zeeshan mirza

[android-developers] widgets

2010-12-03 Thread Ramesh M
Hi, can any one tell me about.. how to display widget in top of application i.e even if you working on some other application example typing text in messages.. the widget should display some portion on the application -- You received this message because you are subscribed to the Google Groups

[android-developers] Application Icon on the Homepage

2010-12-03 Thread George Yogurtian
Is there a way to get an application icon to automatically install on the homepage instead of the application list? We just wrote a small application that, when installed, appears in the application list. The client would like the icon to appear on the homepage instead of in the application list

[android-developers] Android: widget App

2010-12-03 Thread Ramesh M
Hi, Can any one have code for Cricket scorecard widget application.. -- 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] Running SDK samples

2010-12-03 Thread Tobiah
I did the Hellow World using tools/android to create the project from the command line. I don't understand how to run the projects in the sample directory. There is no build.xml in them. How do I get them on my phone? I usually install like this: ant debug adb uninstall com.rcsreg.exposmart

[android-developers] Re: Getting information about external applications used by one particular application

2010-12-03 Thread guillaume benats
any ideas? On Thu, Dec 2, 2010 at 4:44 PM, Tux guillaume.ben...@gmail.com wrote: Hi all, I was wondering if it is possible to see which external applications (i.e.: other applications of the phone), a particular application use or to be more precise, which activities an application use that

[android-developers] connect my phone(Galaxy 2.1) to PC using socket communication, which IP and port number should i use?

2010-12-03 Thread Tantu
i want to connect my phone to PC using socket communication and my phone acts as a client in this communication. my code is working in emulator but not in phone.It shows an error like this: java.net.SocketException: network unreachable in android while running. //code part// socket = new

Re: [android-developers] Re: SMS PDU Behaviour

2010-12-03 Thread nithya nataraj
it internally aggregates the 160 + 40 characters and sends out a single broadcast? -- 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] Give some guidence for convert jar to apk using c # app

2010-12-03 Thread Karnesh
Hello everyone, I want to make app in c # , That can convert jar to apk. please give me some idea about. i don't have any idea about how i convert it. Note: The porting tool searches for the jad/jar files located in the application folder structure

Re: [android-developers] Re: onItemClick(AdapterView? parent, View view,

2010-12-03 Thread Tapomay Dey
Mark has been repeatedly saying don't call getview Adding to it, your call to adapt.notifyDataSetChanged(); is what's going to trigger a getView() call for each of the items visible in your list. So some internal code in listview widget is what's going to call getview, not the user(you). However

[android-developers] Answer Incoming call automatically.

2010-12-03 Thread DebUggEr
Well I need to do to things, 1. automatically answer the calls which are in the blacklist 2. Receive all other calls through the usual android call receiver. I know the first thing is to register intent, but since no activity can handle it, I need to use services and a media recorder somehow in

[android-developers] Is there any way i can get the deleted contacts from data tables?

2010-12-03 Thread Tantu
I want to read data from contacts, raw_contacts data tables but not using content providers. Is there any way ? Secondly is there any way i can get the deleted contacts from those tables? after deleting some contacts it shows in the data table. but cannot read. -- You received this message

Re: [android-developers] question about the proper way of quitting the program

2010-12-03 Thread sunskyor sunskyor
for java layer, you can use following methods to real exit your application. 1.ActivityManager.resetPackage 2. android.os.Process.killProcess(android.os.Process .myPid()); for ndk layer, maybe you can kill your prcoess too? 2010/12/3 billconan billco...@gmail.com Hello guys, I'm working on a

[android-developers] Re: SyncAdapter questions: monitoring sync status; getting sync settings; sync icon

2010-12-03 Thread afterhoursdevelopers.com
Check out http://developer.android.com/reference/android/content/SyncStatusObserver.html On Dec 2, 6:34 pm, focuser linto...@gmail.com wrote: Hi, I am experiementing with SyncAdatpers and have a few questions that I could not find answers either in the documentation or this group yet. -

[android-developers] Re: eclipse HELIOS (3.6) Code Assist very slow

2010-12-03 Thread fe
Thanks SChaser, worked a charm. On Oct 16, 7:06 pm, SChaser crotalistig...@gmail.com wrote: If you are using the JEE edition of HELIOS, the assists can be speeded up by turning off JAX-WS assist in the edit/advanced preference (Window-Preferences-Java-Editor-Content Assist-Advanced. It also

Re: [android-developers] Re: Handler.postDelayed not working when screen goes off

2010-12-03 Thread Paul Townsend
:) yeah I find the emulator slow its just easier with a phone. On 29 November 2010 11:39, Evi Song evis...@gmail.com wrote: Thank you all for the discussion which saves my investigation. I was using the Handler.postDelayed() with something like a AlarmRunner to make a count down. Then I get

Re: [android-developers] Drawing App

2010-12-03 Thread TreKing
On Thu, Dec 2, 2010 at 11:27 AM, Cruiz bkatro...@gmail.com wrote: I can see the buttons in emulator but cannot get them to function. What does can't get them to function mean, exactly? Someone please help..this is diving me crazy...I'm fairly new to android app development. Here is what

[android-developers] Posting failed? Please ping me back

2010-12-03 Thread Tobiah
I've noticed that some lists don't seem to send me my own posts - just replies, so It's possible that my problem is that my question did not draw any answers. In order for me to determine whether my posts are seen, could someone just reply to this, copying me off list as well please? It will

[android-developers] What Tablet would you get

2010-12-03 Thread Gaelin
I searched through the board and I didn't see anyone ask this yet so I apologize if this has been asked. With Christmas coming up I am considering the purchase of a couple of tablets for my development staff to both use in development and also for personal use. I would appreciate your opinions on

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 16 Topics

2010-12-03 Thread Qin Ding
I have android 2.2. and I downloaded gson 1.6 and used it for deserializing json messages from web services. The java object implements serializable. and has instance varialbles string, Long, Bigdecimal, and byte[]. The json array is generated by the gson on the server side. I assume that the

Re: [android-developers] Re: Keeping IntentService alive even if app is killed

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 2:03 PM, Tejas tej...@gmail.com wrote: I was under the impression that if we register with the AlarmManager and set a Repeating PendingIntent to be fired, it will invoke our IntentService, even if the application is running or not. That is correct. Isn't it the most

[android-developers] Re: Sync and GPS Intents name

2010-12-03 Thread Ali Chousein
Hi, For turning on GPS satellites I use the intent below. Hope that helps you as well. Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS); Ali Chousein Published apps: - Geo-Filtered Assistant Pro - Geo-Filtered Assistant Basic (freeware version) -- You received this

Re: [android-developers] Clarification about IntentService

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 2:20 PM, Tejas tej...@gmail.com wrote: I'm using AlarmManager to fire a PendingIntent after a certain period of time. This leads to running of my IntentService. - What happens if the PendingIntent fires, but my IntentService hasn't completed its task ? If you mean that

Re: [android-developers] Is there any way i can get the deleted contacts from data tables?

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 12:49 AM, Tantu arungopa...@gmail.com wrote: I want to read data from contacts, raw_contacts data tables but not using content providers. Is there any way ? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Give some guidence for convert jar to apk using c # app

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 12:07 AM, Karnesh karnesh...@gmail.com wrote:        I  want to make app in c # , That can convert jar to apk. please give me some idea about. You cannot convert jar to apk. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Re: Keeping IntentService alive even if app is killed

2010-12-03 Thread Tejas
Thanks for the reply Mark, So, 2.2 onwards, the task killers won't be able to prevent or remove scheduled alarms ? On Dec 3, 4:17 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Dec 3, 2010 at 2:03 PM, Tejas tej...@gmail.com wrote: I was under the impression that if we register with the

Re: [android-developers] widgets

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 12:19 AM, Ramesh M rameshm.m...@gmail.com wrote: Hi, can any one tell me about.. how to display widget in top of application i.e even if you working on some other application example typing text in messages..  the widget should display some portion on the application

Re: [android-developers] Application Icon on the Homepage

2010-12-03 Thread Mark Murphy
On Thu, Dec 2, 2010 at 7:18 PM, George Yogurtian geo...@thechatfieldgroup.com wrote: Is there a way to get an application icon to automatically install on the homepage instead of the application list? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Getting information about external applications used by one particular application

2010-12-03 Thread Mark Murphy
On Thu, Dec 2, 2010 at 10:44 AM, Tux guillaume.ben...@gmail.com wrote: I was wondering if it is possible to see which external applications (i.e.: other applications of the phone), a particular application use or to be more precise, which activities an application use that belongs to an

Re: [android-developers] Getting information about external applications used by one particular application

2010-12-03 Thread guillaume benats
Well that's deterministic to me, as that's encoded in the sources, I do not want to know if an application a uses a _particular_ application b but _any_ activity of any other application. But yeah I guess that's not possible as intents are not referenced anywhere else but in the source. Thanks.

Re: [android-developers] Getting information about external applications used by one particular application

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 4:30 PM, guillaume benats guillaume.ben...@gmail.com wrote: Well that's deterministic to me, as that's encoded in the sources, I do not want to know if an application a uses a _particular_ application b but _any_ activity of any other application. If I try to do an

Re: [android-developers] Re: Keeping IntentService alive even if app is killed

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 4:21 PM, Tejas tej...@gmail.com wrote: Thanks for the reply Mark, So, 2.2 onwards, the task killers won't be able to prevent or remove scheduled alarms ? Not unless they find a new loophole. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: Keeping IntentService alive even if app is killed

2010-12-03 Thread Tejas
Thanks Mark :) On Dec 3, 4:34 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Dec 3, 2010 at 4:21 PM, Tejas tej...@gmail.com wrote: Thanks for the reply Mark, So, 2.2 onwards, the task killers won't be able to prevent or remove scheduled alarms ? Not unless they find a new

Re: [android-developers] Getting information about external applications used by one particular application

2010-12-03 Thread guillaume benats
MMh ok sorry, I did not understood it that way, you are right. But isn't there a database including all URIs, intents can target? Maybe it is a stupid question but I do not get where the gap between ACTION_VIEW and acitivities filtering ACTION_VIEW is. On Fri, Dec 3, 2010 at 10:34 PM, Mark

  1   2   >