[android-developers] listening incoming sms from specific port

2012-08-09 Thread surabhi jain
Hi all, How can we listen incoming sms from specific port. Thanks Surabhi Jain -- 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

Re: [android-developers] listening incoming sms from specific port

2012-08-09 Thread Asheesh Arya
can you elaborate your query once more!! -- 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] setting two diffrent time in a single activity

2012-08-09 Thread Sadhna Upadhyay
another date may be any date not only tomorro Thanks : sadhana -- 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

[android-developers] Reminder on calender

2012-08-09 Thread Sadhna Upadhyay
Hi everybody, i am making an app in which i n have to use reminder on any particular date i don't know how to do it can spme one help me pls -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-09 Thread Dianne Hackborn
Binding and starting are completely orthogonal things. You bind to a service to establish a persistent connection to it. You start a service to have it run for some undefined amount of time separately from the caller. A service needs to remain created as long as it is being asked to do either

[android-developers] WiFi

2012-08-09 Thread Meena Rengarajan
How do i wanna send datas to devices using WiFi ? can anyone help me please.. Can anyone send videos or sample 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

Re: [android-developers] Reminder on calender

2012-08-09 Thread Asheesh Arya
may be this link help you!! good luck http://blog.blundell-apps.com/notification-for-a-user-chosen-time/ -- 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

Re: [android-developers] listening incoming sms from specific port

2012-08-09 Thread surabhi jain
we can get the notification of receiving message with the help of “android.provider.Telephony.SMS_RECEIVED” but i want to listen message from specific* port* means it should enter in broadcast receiver only when the message is coming from specific port. -- You received this message because you

Re: [android-developers] WiFi

2012-08-09 Thread Basva Raj
You can go for HTTP post method...like this JSONArray jArray; JSONArray jArray1; String wifiAddress = null; String result = null; InputStream is = null; StringBuilder sb = null; Handler handler; String option1[] = new String[100]; String option2[] = new

[android-developers] Wifi

2012-08-09 Thread Meena Rengarajan
How datas are transferred to devices using WiFI like if i click button, then it should detect Wifi device automatically and datas like google or any datas must be transferred .. can anyone suggest me ? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] SecureSMS - good apps

2012-08-09 Thread Rocky
https://play.google.com/store/apps/details?id=com.sst.secure.smsfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5zc3Quc2VjdXJlLnNtcyJd -- 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: File printer for multiple sensor data

2012-08-09 Thread Roman
I had test code inside code sample. The cleaning Service is: public class SensorPrinterService extends Service implements SensorEventListener { private Controller controller = null; private final IBinder binder = new SensorPrinterBinder(); private SensorPrinter [] printers = { new

[android-developers] Status Bar Notification sometimes disappears with Android 4?

2012-08-09 Thread Terry
I have an app with a foreground Service, which shows a Status Bar Notification. It is working working properly with Android 2 and 3, but now I see that on some devices with Android 4, the Notification sometimes disappears a while after the Service is started. When the Service is restarted, the

[android-developers] How to dynamically change row layout of list view on click event

2012-08-09 Thread Jovish P
We are using list view in our app with one simple row layout. But on click of list view we want to change the row layout of tht particular item . is it possible to do ? wht is the best approach ? Ho to add listeners to view inside the row layout? -- You received this message because you are

[android-developers]

2012-08-09 Thread Tarek Khalaf
i'm begenner in android coding if u can help me how can i start my app dipending on time or date i mean if the date = some thing or time = some thing start my app thank you -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Status Bar Notification sometimes disappears with Android 4?

2012-08-09 Thread Kostya Vasilyev
If you change state of any component in your app with PackageManager (not necessarily the service itself), you might be running into this: http://code.google.com/p/android/issues/detail?id=21635 -- K 2012/8/9 Terry terb...@gmail.com I have an app with a foreground Service, which shows a

[android-developers] Re: How to use apache thrift with android????

2012-08-09 Thread adroidanky
thanks for help Guilherme, Actually m using the libthrift.jar,log4j.jar,slf4j-api.jar in my project.. when I run my java client with these libraries it works fine but not in android... can u please give me some tutorials how to use android with apache thrift or sample application i really need

[android-developers] Customization of native android components in Titanium appcelerotor

2012-08-09 Thread Bhanushali Ashwin N
Hi All, I am experienced android developer but newbie in Tiatanium appcelerator. I want to develop an android app using Titanium Appcelerator. My questions are as follows. 1. Can we customize the native android components(like RelativeLayout,Button,etc..) ? for example I want to

Re: [android-developers]

2012-08-09 Thread TreKing
On Thu, Aug 9, 2012 at 3:00 AM, Tarek Khalaf tarek.khalaf2...@gmail.comwrote: how can i start my app dipending on time or date Look at AlarmManager. - TreKing

[android-developers] Re: How to make activate from sms ?

2012-08-09 Thread ono
Ok, i could finally understand ' SMS broadcast receiver' as you said. Thank you. 2012年7月26日木曜日 19時00分42秒 UTC+9 ono: Hi, I am searching a sample code what make activate android app by SMS. Could anyone show one to me? Java native code is good, but HTML5/JS is better. I mean like act 'Prey

[android-developers] Re: Status Bar Notification sometimes disappears with Android 4?

2012-08-09 Thread Terry
Thank you, Kostya, for a quick and very good answer. Yes, that is exactly what I am doing. According to the link you provided, this seems to be an issue with early Android 4 versions. Hopefully, it will be fixed in Jelly Beans. Seems we have to live with it until then. Terry -- You

[android-developers] Google Analytics Page Title setup

2012-08-09 Thread Dmitriy F
All that tracker.trackPageView(trackable.getSceneTitle()); does now is filling the first Active page column but I would better get use of both of those. Is it possible to set Page Title with GA framework ? Thanks. -- You received this message because you are subscribed to the Google Groups

[android-developers] GCM RTL Language

2012-08-09 Thread Yuval Shkolar
Hello! I'm trying to send GCM message from C# to my android phone. Unfourtenly, the hebrew message is not catched on my broadcast reciver - but if I send english message it's catched as expected. The send code: private static string SendNotification(string id, string msg, string key)

[android-developers] Re: Browser App Not sending HTTP request

2012-08-09 Thread tropicaljava
No one has experienced some thing like below?? On Wednesday, August 8, 2012 8:39:24 PM UTC+5:30, tropicaljava wrote: We have developed a android browser application (javascript) which keeps (every 3Sec) on sending a http (GET) request to my REST server (hosted on TOMCAT). Everything works

Re: [android-developers] Error at setting up a larger library project Android

2012-08-09 Thread Xtreme
Have tried it but could not solve it Share the code if anyone wants to be nice and look at it. Here are two projects https://dl.dropbox.com/u/36779/library_project.zip Puzzle is an open source project I tried to get to work as a library and can be downloaded here:

[android-developers] Transparent Action and Menu Bar

2012-08-09 Thread akash
Hi, I am trying to make semi transparent action and menu bar both. Can anybody give me helpful info. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Add padding in Menu Bar

2012-08-09 Thread akash
Hi, Can anybody help me in figuring how to add padding in menu bar. I am having 4 buttons in my menu bar, and i don't want to give space between them. Thank you -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Browser App Not sending HTTP request

2012-08-09 Thread RichardC
The only way to keep a device from sleeping (going into a low power state) is end-user activity or holding a wake-lock. I don't know if you can hold a wake-lock from a browser application you will need to Google it. On Thursday, August 9, 2012 10:03:08 AM UTC+1, tropicaljava wrote: No one

[android-developers] How to set last visible item fully visible in listview

2012-08-09 Thread 王志鹏
Dear everyone, In our application, we have a listview, and the height of each item can change. My question is, is it possible to make the last visible item on screen completely visible? Best wishes, Zhipeng Wang -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Status Bar Notification sometimes disappears with Android 4?

2012-08-09 Thread Pent
According to the link you provided, this seems to be an issue with early Android 4 versions. Hopefully, it will be fixed in Jelly Beans. Seems we have to live with it until then. Seems OK on a Nexus S / 4.1.1. Pent -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-09 Thread Johan Appelgren
Ok, thanks. But shouldn't it (non-sticky service with no active connections, nothing is bound to it) show up in the Running Services view when it has been restarted? Or is that only for sticky services? On Thursday, August 9, 2012 8:35:50 AM UTC+2, Dianne Hackborn wrote: Binding and starting

Re: [android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2012-08-09 Thread Winnie Zhang
Hi Nick, What about on Android 4.0.3 onward? Do we still need set up NfcAdapter, PendingIntent and enableForegroundDispatch in every Activity? 在 2011年6月10日星期五UTC+8上午1时15分41秒,Nick Pelly写道: Hi Xiaoliang, We know this is a little annoying, we are thinking about some improvements for future

[android-developers] Re: In app purchase issue

2012-08-09 Thread Bäcker
I've changed the app id bundle and now it seems to be working again. Can it be that it has some conflict in the market with another app. On Tuesday, August 7, 2012 5:38:26 PM UTC+2, Bäcker wrote: Tried it all from

[android-developers]

2012-08-09 Thread Sadhna Upadhyay
Hi everybody, I am facing NumberFormate exception actully i have to work on calculation getting from EditText box how to resolve help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers]

2012-08-09 Thread Mulsaniya Bhadresh
type cast it. On Thu, Aug 9, 2012 at 4:34 PM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: Hi everybody, I am facing NumberFormate exception actully i have to work on calculation getting from EditText box how to resolve help me -- You received this message because you are

[android-developers] Server/client using Wifi

2012-08-09 Thread Meena Rengarajan
How to send datas from one device to another in Wifi ? I mean, one device to another device communicating each other so i am using Socket programming . Can anyone help me in a code please ? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: ReverseGeocoding NullPointerException

2012-08-09 Thread Ece Osmanağaoğlu
I added LocationListener, unfortunately still doesn't work. locMan = (LocationManager)getSystemService(Context.LOCATION_SERVICE); gpsProv = locMan.GPS_PROVIDER; locMan.requestLocationUpdates(gpsProv, 0, 0, locList); okullar.setOnItemClickListener(new OnItemClickListener()

[android-developers] IllegalArgumentException Base64 to image decoding android

2012-08-09 Thread Иван Дунский
I want to decode an image from webservice which is in base64 to the bitmap and use it in my android app. This is my method: public Bitmap getCaptcha() throws IOException { ListNameValuePair params = new ArrayListNameValuePair(); String json =

[android-developers] Re: Rotation Event Firing Omniture Tags

2012-08-09 Thread lbendlin
Handle the rotation events yourself - which obviously is quite tricky with a webview unless you don't care about reflowing. On Wednesday, August 8, 2012 4:19:57 PM UTC-4, Chris Keune wrote: Hello Gurus, Currently, I am experiencing my Omniture tracking to fire multiple times on each

Re: [android-developers] position the different image views

2012-08-09 Thread Vijay Krishnan
in my case i have 5 imageviews.I have to position one at the centre and the remaining 4 imageview in circular order relative to the centre On Tue, Aug 7, 2012 at 11:58 PM, Justin Anderson magouyaw...@gmail.comwrote: I have different image views and i want to position the other imageviews

[android-developers] Re: not having a field day

2012-08-09 Thread Dominik
If you want to write your own custom tags, you have to buy them. But for playing memory, you can use any contact-less card or tag; I am sure you find some in your purse; this may be the access card from your company, a skiing ticket or something else. Simply touch all your cards with an NFC

[android-developers] Re: How to use apache thrift with android????

2012-08-09 Thread riderj
It looks like the log4j library is causing the issue. There is an Android version of the SLF4J library that you could try. ( http://www.slf4j.org/android/) If the problem still occurs, you'll need to compile the Thrift jar from source. I've found that Java 1.6 works the best for this when

Re: [android-developers] IllegalArgumentException Base64 to image decoding android

2012-08-09 Thread Harri Smått
On Aug 9, 2012, at 3:24 PM, Иван Дунский i.duns...@gmail.com wrote: What's is reason of it? java.lang.IllegalArgumentException: bad base-64. Documentation states though; 1. The padding '=' characters at the end are considered optional, but if any are present, there must be the correct

Re: [android-developers] IllegalArgumentException Base64 to image decoding android

2012-08-09 Thread Иван Дунский
Yeah, I tried both Base64.NO_PADDING and used string instead of bytes[]...I get the same result... четверг, 9 августа 2012 г., 16:13:13 UTC+3 пользователь Harri Smått написал: On Aug 9, 2012, at 3:24 PM, Иван Дунский i.du...@gmail.com javascript: wrote: What's is reason of it?

[android-developers] Re: ReverseGeocoding NullPointerException

2012-08-09 Thread bob
You need to use the variable location passed into onLocationChanged. Right now, you're ignoring it. On Thursday, August 9, 2012 7:13:16 AM UTC-5, Ece Osmanağaoğlu wrote: I added LocationListener, unfortunately still doesn't work. locMan =

Re: [android-developers] IllegalArgumentException Base64 to image decoding android

2012-08-09 Thread bob
Well, what does the string json look like? If it is base64, it must contain only lowercase letters (26), uppercase letters (26), digits (10), a plus sign (1), a slash (1), and possibly end with some equals characters. On Thursday, August 9, 2012 10:13:23 AM UTC-5, Иван Дунский wrote:

[android-developers] Re: ADB and Mountain Lion Issues

2012-08-09 Thread Dave Smith
This definitely does help, but only for 1-2 times; then I have to move the port again. This is definitely faster than rebooting the devices, though, so this will be my new go-to workaround. It just feels like there's a bug somewhere in how it picks up connected devices, or how it reads the

[android-developers] Irregular Polygon Area Calculation in Android MapView

2012-08-09 Thread Ajmer Singh
Hi All I am working on an Map based android application where i want to calculate the area of Polygon created by the Goepoint on the MapView, Please if any body can provide any lead on how can i achieve the area calculation using GPS coordinates. Please help thanks in advance. -- Thanks and

[android-developers] Re: Irregular Polygon Area Calculation in Android MapView

2012-08-09 Thread RichardC
This is complex problem even if your points are close enough together for you to assume that the earth is flat. You will need to check that the polygon is closed and non-self-intersecting. If you do this the formula is Wikipedia page here: http://en.wikipedia.org/wiki/Polygon Note that the

[android-developers] Re: Irregular Polygon Area Calculation in Android MapView

2012-08-09 Thread goodG
http://math.stackexchange.com/ In your case this is probably one of the best options that you have on the internet Il giorno giovedì 9 agosto 2012 18:45:07 UTC+2, ajmer singh ha scritto: Hi All I am working on an Map based android application where i want to calculate the area of Polygon

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-09 Thread Dianne Hackborn
Binding to a service can only make that service's process as important as the process of the client binding to it. If the client process is in the background, it can't bring the service up beyond the background, so it doesn't count as a running process but a cached process. On Thu, Aug 9, 2012

Re: [android-developers] Re: HttpsURLConnection when APN has proxy set

2012-08-09 Thread Robert Greenwalt
I suspect circumventing the proxy on most carriers would be fine - they seem to prefer its use but AFAIK not require it. On wifi connections though you'll probably run into alot of situations behind corporate firewalls where proxy use is required to reach the internet. On Wed, Aug 8, 2012 at

[android-developers] Can a folder be created using instrumentation context instead of target context?

2012-08-09 Thread dnkoutso
I am writing instrumentation tests for my app and want to create a temporary folder to store some files. However, I dont want to do that in the targetContext but rather in the test context. In other words: File dir = getInstrumentation().*getTargetContext()*.getDir(directory,

[android-developers] Re: ADB and Mountain Lion Issues

2012-08-09 Thread bob
What other devices do you use besides Galaxy Nexus, Nexus S, and HTC EVO 4G? I don't have any of those. I use mostly a Galaxy Tab and haven't seen any adb issues with Mtn Lion. On Thursday, August 9, 2012 11:36:03 AM UTC-5, Dave Smith wrote: This definitely does help, but only for 1-2 times;

[android-developers] ListView sorting

2012-08-09 Thread Wolfgang
Hey guys, I'm using a ListView that displays a list of ChartInfo. ChartInfo is a class I wrote that contains two strings: name, type; and a boolean: notification. The ListView is sorting the charts based on name. I would prefer that it sorts first based on the boolean, notification, and then

[android-developers] Re: Irregular Polygon Area Calculation in Android MapView

2012-08-09 Thread bob
A GeoPoint is a point. The area of a point is zero. On Thursday, August 9, 2012 11:45:07 AM UTC-5, ajmer singh wrote: Hi All I am working on an Map based android application where i want to calculate the area of Polygon created by the Goepoint on the MapView, Please if any body can

[android-developers] All Android in app subscriptions were mysteriously automatically canceled

2012-08-09 Thread fibercode
One of our Android applications has supported in app billing for a while now. A little over two weeks ago we published an update that supports the newly released by Google in app subscriptions. Everything was fine until this morning when mysteriously all the subscriptions purchased by our

[android-developers] Re: Rotation Event Firing Omniture Tags

2012-08-09 Thread bob
Why not just pick portrait or landscape and not allow rotation? On Wednesday, August 8, 2012 3:19:57 PM UTC-5, Chris Keune wrote: Hello Gurus, Currently, I am experiencing my Omniture tracking to fire multiple times on each screen rotation(ie additional PageViews). Is there anyway to

Re: [android-developers] ListView sorting

2012-08-09 Thread Mark Murphy
You need to either sort the data before you hand it to the adapter, or teach the adapter how to do the sorting. On Thu, Aug 9, 2012 at 2:48 PM, Wolfgang wolfgangemm...@yahoo.com wrote: Hey guys, I'm using a ListView that displays a list of ChartInfo. ChartInfo is a class I wrote that

[android-developers] Re: view elements unintenionally blinking

2012-08-09 Thread bbbill
Found the reason for blinking views: the top RelativeLayout collided with the ActionBar, which is automatically added to the layout since Honeycomb and has effect even if it is not visible. Although I do not understand what's really going on, I found a way to get rid of the ActionBar, as not

[android-developers] MAX Repeat count of windowEnterAnimation

2012-08-09 Thread danaimset
Hi Guys! I've face with problems with windowEnterAnimation. I'm trying to animate popup window over the view for infinite. But it seems that windowEnterAnimation has limitation of repeat count. https://lh4.googleusercontent.com/-6Dx_kkoUFkg/UCQzPlhdp1I/ECI/LuyFiRy9R2M/s1600/launcher.png

[android-developers] Re: All Android in app subscriptions were mysteriously automatically canceled

2012-08-09 Thread Trevor Johns
fibercode, A number of in-app billing subscriptions were erroneously marked as canceled this morning due to an issue on our servers. Most of the affected subscriptions have already been restored by our engineers, and users did not loose access to content during this time. We will be sending a

[android-developers] Re: ADB and Mountain Lion Issues

2012-08-09 Thread Dave Smith
Galaxy Tab 10.1, Nexus 7, Droid 2, Droid Intercept; I'm fairly confident it's not device/manufacturer specific. Wondering if there's a USB cache I can clear... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] MAX Repeat count of windowEnterAnimation

2012-08-09 Thread Dianne Hackborn
The window manager limits the duration of animations, I believe to 10 seconds or so. Don't do this. It is not right to have a window animation that runs indefinitely. On Thu, Aug 9, 2012 at 3:03 PM, danaimset danaim...@gmail.com wrote: Hi Guys! I've face with problems with

[android-developers] [ASK] drawbitmap not draw entire bitmap

2012-08-09 Thread hendra uswandy
Hi, i create customImageView Class that using for gridview in ondraw(Canvas canvas) method drawbitmap not draw entire bitmap ( just 5pixel from top image ) this is my customimageview class public class CustomView extends ImageView { private Bitmap thumbs; private String name;

[android-developers] Wifi State

2012-08-09 Thread Meena Rengarajan
When i click button, Wifi should be in ON state by programmatically , if it is not connected (ON state) then Alert Dialog box must appear by saying , Are you wanted to enable Wifi/ Disable like OK or Cancel. If i click Ok then Wifi should be connected (ON ) state , if i click cancel then

Re: [android-developers] position the different image views

2012-08-09 Thread Justin Anderson
So use a RelativeLayout... The image you want in the center needs to have android:centerInParent=true All the other images need to be set relative to the one in the center. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Aug 9, 2012 at 6:46 AM,

Re: [android-developers] How to set last visible item fully visible in listview

2012-08-09 Thread Justin Anderson
What? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Aug 9, 2012 at 3:55 AM, 王志鹏 wangzh...@gmail.com wrote: Dear everyone, In our application, we have a listview, and the height of each item can change. My question is, is it possible to

Re: [android-developers] Add padding in Menu Bar

2012-08-09 Thread Justin Anderson
What have you tried so far? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Aug 9, 2012 at 3:10 AM, akash anil.chopra2...@gmail.com wrote: Hi, Can anybody help me in figuring how to add padding in menu bar. I am having 4 buttons in my menu

[android-developers] Re: How to use apache commons in my android application

2012-08-09 Thread sumit dhaniya
On Thursday, August 20, 2009 5:21:00 AM UTC+5:30, hap 497 wrote: HI, Can you please tell me how to use apache.commons in my android application. I put the right import, but when I compile it I get the following error: : package org.apache.commons.io does not exist import

[android-developers] Alert Dialog Box

2012-08-09 Thread Meena Rengarajan
How to Enable Wifi automatically in Android 2.2 in an alert box ? If i click Yes button then it should be enable and if i click no then application must be closed. Can anyone tell me this how should i do ? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Alert Dialog Box -Wifi

2012-08-09 Thread Meena Rengarajan
This is my Code, Alert box appears here like Yes /No. But what i need is, When i click Yes button , it automatically should enable WiFi by progeammatically and if i click No then aopplication must be closed. What should i do here . Please can anyone help me? public void