[android-developers] Re: Clarity on Wi-Fi Based application !!??
Thanks Kostya Murphy, I got a better understanding.. Now its time for some hands-on for me :) -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Clarity on Wi-Fi Based application !!??
Well Kostya , thanks again.. Unless the router is under your control Yes, am trying with a Router that is configurable and controlled by us. A MAC address is just that - a MAC address, in this case, the Wifi router will see the address of the phone's Wifi adapter. It has nothing to do with any other IDs, such as the cellular network's IMEI, etc. But it's guaranteed to be unique. Got that, but wat i really need to understand is if android.provider.Settings.System.ANDROID_ID and the physical (MAC)address that gets logged in the Router are the same ? The central issue is where exactly (phone vs. router) you are able to run the necessary code. It's easy to do on the phone Well, here is my scenario I need to invoke an activity X (via Notification manager ) when am in Access Point 'A'.Assuming neccessary logic is at the mobile end. Now when i add a new access point 'B' and need to invoke X (when am in AP 'A' or 'B') , in this case i need to change the code at mobile end isn't it ? All i need is to avoid that. Rephrasing that , Mobile devices has to be independent of the logic written to invoke notification mgr to call my activity as i need that logic to be dynamically decided at the server end. am trying if something like a push notification sent to the device when in a specific n/w would work out ?! N figuring out like hw 2 implement that !! Let me know if thats feasible or if am missing out something. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Multiple Back Button clicks needed to exit application
Used finish(); to end an activity On Jul 30, 10:32 am, Priyank priyankvma...@gmail.com wrote: Hi, In my current application design, I have an activity class application.java (which starts on launching the application), and it does not have a layout(UI screen). I call another class called servicebind.java from the onCreate method of my 1st class. here I bind to the local server (bindServer()). i call back the application class through an intent. Once I am back to my application class, I call my activity class called welcome.java which has a layout/UI. When I run this application, I am able to see the welcome screen. But the problem is, when I click on the back button, I get a black screen with just the title on top. I have to hit back button 3 times to exit the application. The reason I see from the logs is that, the 1st 2 activity classes (application.java and services.java) does not get destroyed unless I hit the back button. So the 1st time I hit back button, the welcome activity gets destroyed. the next back button destroys the servicebind class and final back destroys the application class. Is the reason because these classes dont have a UI to display in the onCreate method. I do not want to change my design where I bind the service in the servicebind class and call the welcome activity in the application class. can anyone please help me find a way to avoid pressing the back button multiple times to exit. Please let me know if you dont understand my question. Thanks, Priyank -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Clarity on Wi-Fi Based application !!??
Hello All, I am trying to create an application based on Wi-Fi and i would need some suggestion on the same , The scenario am trying is,say, when a user with our android application enters a specific Wi-fi Hotspot, i need an activity to be invoked from my app. Basically I can have a service running as a part of my app and whenever i scan for that specific hot-spot i can call up the activity , BUT , i need to do the otherway round.. i mean instead of running a service in the mobile and utilizing its resource, i want the Wi-fi Hotspot to monitor and if the device is inside the vicinity it needs to invoke a notification from which the activity can be invoked... Few things that i would like to understand is I) When a wifi hot-spot is detected in our android phone what actually happens at the Wi-Fi Hot spot end ?? 2) When our device obtains an IP address from the wi-fi n/w will our device's unique ID or its equivalents be available at the wi-fi provider end ?? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Clarity on Wi-Fi Based application !!??
Thanks for the early reply Kostya, Since your intent is to launch something on the phone, I don't see why you would want to detect connection on the Wifi router side. Well My Idea was to i) Use the phone resource to the minimal ii) to have control on when to invoke an activity from the server end.. I thought there would be more dynamism from the server side. Let me understand if am missing out something. I would suggest you use a Notification, which would launch an activity when selected , Displaying an Activity in the middle of whatever the phone user is doing is just plain wrong. Completely agreed. If you did, you'd be able to use the phone's MAC address as the unique identifier you require. is it possible to get the MAC address of our phone , is android.provider.Settings.System.ANDROID_ID as the MAC address you wr talking about , or is there any physical id which is diff from this android_id -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Best way for web service calls ??
@Vinod : I hope u mean the kSoap jar,but my main concern is the payload, when it comes to SOAP services i felt it to be bit heavy (help me understand if its the other way).I want it to be as light- weight as possible. @Doug : The Video PDF was really useful and inline with my search :) On Jun 13, 7:10 am, Desu Vinod Kumar vinny.s...@gmail.com wrote: U can try soap webservices also but it is not part of android api there is third party jar file for using this. On Sat, Jun 12, 2010 at 5:52 PM, doug doug.di...@gmail.com wrote: Check out this guy - http://code.google.com/events/io/2010/sessions/developing-RESTful-and... Even though he sounds like a cross between Yoda and Grover. On Jun 11, 7:37 am, StillALearner k.mad...@gmail.com wrote: Thanks Paul, Everything else seems a bit too heavy Thats the exact concern for why i have been hunting around different forums to check out for a better option, and as u said JSON with a RESTful service is one option am closely looking at. and other part which i need suggestion is on the Data syncronization !! how is it implemented ? On Jun 10, 10:44 am, paulb pbizan...@gmail.com wrote: I tend to make RESTful requests over HTTP and expect back JSON results. Everything else seems a bit too heavy. On Thu, Jun 10, 2010 at 3:15 PM, StillALearner k.mad...@gmail.com wrote: Hello, I have been trying to develop an android application for sometime now and i would like to get some suggestion on the best way of making web service calls or to be generic the best way of communication between the android platform and web server. Soap(using Ksoap) and HTTP(using POST) are two methodologies XML and JSON are the twodataformats that am aware of,(let me know if they are few other options too..) and , i would like to know what is the best option ofdatatransfer when i) thedatato transfer is Large andlessfrequent. ii)morefrequentbutlessdatais being transfered. Also when it comes todatasynchronization between server and our app , how is that generally 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 from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com Formoreoptions, visit this group at http://groups.google.com/group/android-developers?hl=en-Hidequoted text - - Show quoted text - -- 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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards --- D Vinod Kumar R D Engineer - Android Platform Mobile : 09916009493- Hide quoted text - - Show quoted text - -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Best way for web service calls ??
Thanks Paul, Everything else seems a bit too heavy Thats the exact concern for why i have been hunting around different forums to check out for a better option, and as u said JSON with a RESTful service is one option am closely looking at. and other part which i need suggestion is on the Data syncronization !! how is it implemented ? On Jun 10, 10:44 am, paulb pbizan...@gmail.com wrote: I tend to make RESTful requests over HTTP and expect back JSON results. Everything else seems a bit too heavy. On Thu, Jun 10, 2010 at 3:15 PM, StillALearner k.mad...@gmail.com wrote: Hello, I have been trying to develop an android application for sometime now and i would like to get some suggestion on the best way of making web service calls or to be generic the best way of communication between the android platform and web server. Soap(using Ksoap) and HTTP(using POST) are two methodologies XML and JSON are the twodataformats that am aware of,(let me know if they are few other options too..) and , i would like to know what is the best option ofdatatransfer when i) thedatato transfer is Large andlessfrequent. ii)morefrequentbutlessdatais being transfered. Also when it comes todatasynchronization between server and our app , how is that generally 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 from this group, send email to android-developers+unsubscr...@googlegroups.com Formoreoptions, visit this group at http://groups.google.com/group/android-developers?hl=en- Hide quoted text - - Show quoted text - -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Best way for web service calls ??
Hello, I have been trying to develop an android application for sometime now and i would like to get some suggestion on the best way of making web service calls or to be generic the best way of communication between the android platform and web server. Soap(using Ksoap) and HTTP(using POST) are two methodologies XML and JSON are the two data formats that am aware of,(let me know if they are few other options too..) and , i would like to know what is the best option of data transfer when i) the data to transfer is Large and less frequent. ii) more frequent but less data is being transfered. Also when it comes to data synchronization between server and our app , how is that generally 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 from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Best way for getting Data from web server ??
Hello, I would like to get some suggestion on the best way of making web service calls , or to be generic the best way of communication between our app and web server. Soap(using Ksoap) and HTTP(using POST) are two methodologies XML and JSON are the two data formats that am aware of,(let me know if they are other options too..) and , i would like to know what is the best option of data transfer when i) the data to transfer is Large and less frequent. ii) more frequent but less data is being transfered. Also when it comes to data synchronization between server and our app , how is that generally 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 from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Issue in installing SDK
Hi, I am trying to install the Android SDK i get the following error XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml. Error: cvc-elt.1: Cannot find the declaration of element 'HTML'. My PC is behind proxy,is that an issue by any chance ? Also there is a provision to specify proxy IP and port , i need to specify authentication credentials for my proxy too, where to specify the same. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.