Re: [android-developers] Re: viewport size A4 ?

2012-05-09 Thread Jason Teagle
I am trying to render a html page in WebView in my app, everything works fine, but the content is wraped arounf width of browser. But my requirement is that Have you tried making the main view a ScrollView, and embedding the WebView as a child of that, allowing it to be larger than the physica

[android-developers] Re: why am I receiving location updates without WakeLock if the device is put to sleep?

2012-05-09 Thread ste1024
Am Dienstag, 8. Mai 2012 13:22:04 UTC+2 schrieb lbendlin: > > your location provider is network. Network means WiFi or cellular. One of > the two is on while the device is asleep, and possibly you have another > application that uses location updates (so you may be getting them > passively) >

[android-developers] In-App purchase with Google map

2012-05-09 Thread vitthal khatpe
Hi All, I have exposed one paid service (payment by in-App purchase), which enable user to view current location. But i am using Google map to show user current user location. Do I need to subscribe Google map for Free? or Do I need to purchase Google Map paid service? Waiting for reply.

[android-developers] Android usb network

2012-05-09 Thread Harishk
Hi All, I'm looking a good way to bring Android device in intranet using USB, what I want is to connect my Android tablet to a PC in network and then work on Tablet as a PC. In that way I can take print from a network printer also take adventage of better network connection within my network. J

[android-developers] Unable to perform BT createInsecureRfcommSocketToServiceRecord

2012-05-09 Thread rmq
I am writing my own application to pair BT HID keyboard with Google Nexus S. I am using the UUID 1124--1000-8000-00805F9B34FB The connection fails . The log cat is 05-09 06:35:12.977: E/BluetoothService.cpp(155): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (I

[android-developers] Re: 802.11e Support available in android ?

2012-05-09 Thread Jean-Lou Dupont
bump On Thursday, May 12, 2011 8:57:00 AM UTC-4, GD wrote: > > Hi Team, > > I need to know wether the 802.11e is supported in android, as the code > in which the enums doesnt say anything about 802.11e in - 802_11Defs.h > can any one help me to know what are all the 802.11 standards > support

[android-developers] using RFCOMM APIs to communicate with HID profile Keyboard

2012-05-09 Thread rmq
Hello , I am developing an application for BT pairing of keyboard via NFC without pass key. I trying to use the RFCOM APIs BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(Device_address); mBluetoothSocket = device.createInsecureRfcommSocketToServiceRecord(MY_UUID); mBluetoothAdapter.ca

[android-developers] About the WebView's multiple javascritpInterface

2012-05-09 Thread Xin Huang
Recently, I meet a troublesome problem about the WebView's multiple javascriptInterface. I will show two demo out to describe the problem. Demo1: this.webView.loadUrl("http://www.google.com";); this.webView.addJavascriptInterface(test1, "test1"); this.webView.addJavascriptInterface(test11, "test1

[android-developers] Simulate PreferenceActivity with Fragment

2012-05-09 Thread RMartins
Hi, I'm developing a ViewPager with several fragments, one of them I want it to be a "PreferenceActivity" the problem is that I'm using API7, so no PreferencesFragment... I've already search for a way to embed an activity (PreferencesActivity) in a Fragment, and given up for lack of results. So

[android-developers] how to submit the cts report to google

2012-05-09 Thread 不凡
hi all How to submit the cts report to google, except the result a .zip file and need another inforation. -- 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 unsubscrib

[android-developers] Re: Display Ip Camera on Android

2012-05-09 Thread Bukowsky
fails when the server requires a user authentication ? El miércoles, 2 de mayo de 2012 16:58:54 UTC+2, pax escribió: > > Hello, > > I am a java developer, but it's the first time I develop on android. > The goal of my application is to display mjpeg stream from an ip > camera knowing its parame

[android-developers] Re: how to add picture into android Content Provider

2012-05-09 Thread SebastianPL
I don't know if you still need it, but it should look like this: ops.add(ContentProviderOperation.newInsert(android.provider.ContactsContrac t.Data.CONTENT_URI) .withValueBackReference(Data.RAW_CONTACT_ID, rawContactInsertIndex)

[android-developers] Unable to start activity ComponentInfo{...}: java.lang.NullPointerException

2012-05-09 Thread Andre Wiget
Hi, I have a problem with Android 3.2. The following line causes the NullPointer exception under Android 3.2: btnAbout.setOnClickListener(aboutSelected); In the debugger I can see that aboutSelected is NOT null. The same code runs without problems under Android 4.0.3 and 2.3.3. Does any

Re: [android-developers] Display Ip Camera on Android

2012-05-09 Thread Bukowsky
fails when the server requires a user authentication? El jueves, 3 de mayo de 2012 12:04:20 UTC+2, Rami sleiman escribió: > > I have the same problem. > > On Wed, May 2, 2012 at 5:58 PM, pax wrote: > >> Hello, >> >> I am a java developer, but it's the first time I develop on android. >> The goal

[android-developers] Server mode SSL startHandshake on Android took 12 seconds to finish

2012-05-09 Thread kaiduan
Hi, I am new to Android. For an application, I need to upgrade a plain TCP socket to SSL socket (server mode) on Android. The following code worked, but it took about 12 seconds to finish the SSL handshake on Samsung Galaxy S with Android 2.3.3 (API 10). I also tested the same code on simulator wi

[android-developers] AudioRecord

2012-05-09 Thread ron simon
Hi, I want to create an recorder and take the buffer to play the sound but it doesn't work. I have no idea for my misstake and hope for your help ;) public class input { private static final String TAG = "Aufnahme"; private AudioRecord recorder = null; private boolean isRecording = false; priva

[android-developers] Popup Windows can control main window

2012-05-09 Thread ybycoffee
Hi there, I am new in android, now I want to pop up a window which has a seek bar, and this pop up window can be moved. I also want to keep this pop up window and do something in main window. Now I create an alert-dialog, but it can not be moved and when it pops up I can not do something in the

[android-developers] LVL-Testing with non-publisher/test account enabled device

2012-05-09 Thread meghanath
Hi, Good Morning !!! I just want to get clarification on testing LVL service on an app which is not-published but uploaded to the publisher account. I have tested the behavior of the app on publisher and test accounts, and its working perfectly as expected. My questions when i try to test the ap

[android-developers] Tab Host linking with XML file and Actitivity class

2012-05-09 Thread Brian Muscat
Hi, I am trying to set the tab host so that each of the tabs has an XML file and and Activity file currently I am using intent = new Intent().setClass(this, Settings.class); spec = tabHost.newTabSpec("Settings").setIndicator("Settings", res.getDrawable(R.drawabl

[android-developers] HTML Pagination

2012-05-09 Thread kai
Hi guys, hope you are all doing fine. I need to convert a pdf document into android standalone application. I had the options of just using texts views and just copy paste the text of that document in text views. But then I came to know that applications can be made using only HTML and CSS and the

[android-developers] User Registration using CouchDB

2012-05-09 Thread Samboga
I am trying to do a user registration form on Android using CouchDB on localhost I want to accomplish the basics of a registration which are in my case FULL NAME, EMAIL AND PASSWORD, I am new to android and I am not sure how to go about it. I have installed CouchDB on my localhost at port 5984.

[android-developers] Android Camera Newbie

2012-05-09 Thread John Chong
0 down vote favorite *1* share [g+] share [fb] share [tw] i;m new to android development, and right now i want to make a program that takes a picture, geo tag it and store it on my server. 1) my question is, is there a way

[android-developers] Re: Sporadic false negatives on client devices

2012-05-09 Thread Kevin
Same here... Just yesterday I began running into problems. My own app is on my 2.3.7 phone and my 4.0.3 tablet. The lvl check times out on the 2.3.7 device and runs fine on the 4.0.3 device. I've tried everything on the 2.3.7 device (uninstalling, restarting, etc) and it just keeps timing out. Obvi

[android-developers] how to make android games?

2012-05-09 Thread navanshu
-- 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

[android-developers] [Question]SensorManager.getOrientation

2012-05-09 Thread 加藤源
Hello. I can't understand following description in this URL. ↓ http://developer.android.com/reference/android/hardware/SensorManager.html#getOrientation(float[], float[]) When it returns, the array values is filled with the result: •values[0]: azimuth, rotation around the Z axis. •values[1]:

[android-developers] Disable call, SMS, email programmatically.

2012-05-09 Thread gyanendra singh
Is there any way to disable the abilities to call, text(SMS/MMS) and email programmatically? Other than Airplane mode. I want to make an application by which user can disable all the above facility yet can use the other app. -- You received this message because you are subscribed to the Google Gr

[android-developers] Select by month strftime

2012-05-09 Thread Rafael Mota
How i do a select by month? The select down isn't work. cursor = conn.rawQuery("SELECT * FROM table WHERE date('%m', field) = '04'", null); -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] Re: 802.11e Support available in android ?

2012-05-09 Thread Jean-Lou Dupont
It would indeed be interesting to know when 802.11e (802.11-2007) support is planned. As WiFi becomes ubiquitous, QOS functionality will be required. On Thursday, May 12, 2011 8:57:00 AM UTC-4, GD wrote: > > Hi Team, > > I need to know wether the 802.11e is supported in android, as the code >

[android-developers] Indian keyboard featuers

2012-05-09 Thread usha hegde
My app will show kannada/hindi IME and lets the user type the contents in kannada/Hindi. Now I am adding a textview where he can type the content in Kannada/hindi even if the phone does not support the font. This content can be saved in a file or sent as sms or mail or even facebook. Now what ot

[android-developers] Android 4.0.3 Recovery-maybe_install_firmware_update

2012-05-09 Thread Tony Qian
Hi All: In ICS source code, I find that the main function(in "/bootable/Recovery/Recovery.c") doesn't use the maybe_install_firmware_update function.Also I can't find this function's declaration in anywhere. whether it is the code's change for ICS? Can someone help me? Thank you very much. -

[android-developers] MapOverlay and displaying location as an address

2012-05-09 Thread chelsjo
I am beginning to learn how to develop Android applications and I have created an app that currently brings up the user's current location on Google Maps. However I would like to extend the app in two ways: -I would like to add a MapOverlay, where it pin-points the location on the Map, I understan

[android-developers] Re: how to add picture into android Content Provider

2012-05-09 Thread SebastianPL
ops.add(ContentProviderOperation.newInsert(android.provider.ContactsContrac t.Data.CONTENT_URI)                                          .withValueBackReference(Data.RAW_CONTACT_ID, rawContactInsertIndex)                                  .withValue(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE)          

[android-developers] HTML Pagination

2012-05-09 Thread kai
Hi guys, hope you are all doing fine. I need to convert a pdf document into android standalone application. I had the options of just using texts views and just copy paste the text of that document in text views. But then I came to know that applications can be made using only HTML and CSS and the

[android-developers] Android modules

2012-05-09 Thread Hersir
Hello, Iam investigating possbility to port as3 project to android java. Main problem for me is module support in android, as our as3 application have main part that can load many sub part (swfs) in it and show them. Basicly main application is like player for modules. These modules cant be used al

[android-developers] android expandableListView animate slide up?

2012-05-09 Thread elvinlee
I want to animate slide down and slide up on expandablelistview when I click the groupItem.Then I have finish the slide down. public class ExpandAnimation extends Animation { private static final String TAG = "ExpandAnimation"; private View mAnimatedView; private LayoutParams mViewLayoutParams; pri

[android-developers] Android WebView fail to add multiple javascriptInterface

2012-05-09 Thread Xin Huang
When I wanna to add multiple javascriptInterface, I meet the warming/error that I could not find the object. The source codes are enclosed. The "GoogleWebViewActivity_error.java" could not work when you invoke the interface such as test11. I also ask the same question on the stack overflow: h

Re: [android-developers] Android 4.0.3 Recovery-maybe_install_firmware_update

2012-05-09 Thread Raghav Sood
This list is for development with the SDK. Check http://source.android.com/community/index.html for an appropriate list dealing with the source code. Thanks On Tue, May 8, 2012 at 9:42 PM, Tony Qian wrote: > Hi All: > In ICS source code, I find that the main function(in > "/bootable/Recove

Re: [android-developers] how to make android games?

2012-05-09 Thread Jason Teagle
http://lmgtfy.com/?q=how+to+make+android+games -- 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+unsubs

Re: [android-developers] Unable to start activity ComponentInfo{...}: java.lang.NullPointerException

2012-05-09 Thread Jason Teagle
btnAbout.setOnClickListener(aboutSelected); The NPE could also be because btnAbout is null - does the debugger confirm that *that* is OK? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] hello all~

2012-05-09 Thread 김선도
Anyone try the free app development tool called m-bizmaker? I found this free app develop tool but it seems not many ppl use it yet. Let me know if anyone tried this program and how good is that. you can go download www.mbizmaker.com Thx -- You received this message because you are subscribed to

Re: [android-developers] User Registration using CouchDB

2012-05-09 Thread sourabh sahu
Please share full code, otherwise nobody will help you. On Tue, May 8, 2012 at 2:44 PM, Samboga wrote: > I am trying to do a user registration form on Android using CouchDB on > localhost I want to accomplish the basics of a registration which are in my > case FULL NAME, EMAIL AND PASSWORD, I am

[android-developers] Re: why am I receiving location updates without WakeLock if the device is put to sleep?

2012-05-09 Thread ste1024
Unfortunately shutting down the Google Maps app (which killed the running service) did not help. After doing that, starting my app and pressing Power to go back to sleep, I still got location fixes. -- You received this message because you are subscribed to the Google Groups "Android Developers

Re: [android-developers] User Registration using CouchDB

2012-05-09 Thread Samboga
import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import andr

[android-developers] Re: setting context menu for a button

2012-05-09 Thread kampy
I tried as the same in the example defined here . but didn't get the menu displayed . did not work - i am not getting the conext menu at all after clicking button . On May 9, 11:58 am, "Jason Teagle" wrote: > >i tried with registerForContextMenu(button ). and setting onConext > >Menu Listerner

Re: [android-developers] User Registration using CouchDB

2012-05-09 Thread Jason Teagle
This is the code for registration class, when I click register button nothing happens. Please help so that I can do this.. Take a look at the code you have in the click handler you added (near the beginning) to the button. This click handler is near the bottom of the file: @Override public

[android-developers] Re: Unable to start activity ComponentInfo{...}: java.lang.NullPointerException

2012-05-09 Thread Andre Wiget
Yes the btnAbout was also not null. The strange thing... today I can't reproduce it anymore after rebooting the eclipse (heap problem). Thanks for your answer. On 9 Mai, 10:04, "Jason Teagle" wrote: > >        btnAbout.setOnClickListener(aboutSelected); > > The NPE could also be because btnAbo

Re: [android-developers] Re: setting context menu for a button

2012-05-09 Thread Jason Teagle
I tried as the same in the example defined here . but didn't get the menu displayed . did not work - i am not getting the conext menu at all after clicking button . OK. At this point I would recommend (for test purposes) you leave your existing project alone, start a new project with a new act

Re: [android-developers] Re: Unable to start activity ComponentInfo{...}: java.lang.NullPointerException

2012-05-09 Thread Jason Teagle
The strange thing... today I can't reproduce it anymore after rebooting the eclipse (heap problem). It wouldn't be the first time Eclipse has got a bit messed up... I had some infinite recursion in some code this morning and Eclipse needed a couple of kicks up the backside after I'd fixed the

Re: [android-developers] AudioRecord

2012-05-09 Thread asheesh arya
plz refer this link may be you get some idea!!! http://code.google.com/p/krvarma-android-samples/source/browse/#svn/trunk/AudioRecorder.2 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

Re: [android-developers] Disable call, SMS, email programmatically.

2012-05-09 Thread asheesh arya
may be possible in airplane mode!!! -- 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...@google

[android-developers] Re: Disable call, SMS, email programmatically.

2012-05-09 Thread JTeagle
>Other than Airplane mode. I want to make an >application by which user can disable all the above facility yet can >use the other app. Out of interest, why would you want to let the user disable these by some method other than Airplane mode? Is it some sort of parental control type of thin

[android-developers] Long running Android service is getting recreated over and over

2012-05-09 Thread William Kelley
I have a simple Android Activity with one button to start and stop a long running Android Service (which does some simple logging). As soon as I start the service, I close the app (Activity) and the service should then run in the background indefinitely. But it doesn't. At random times, the

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-09 Thread Kostya Vasilyev
The process gets killed and then gets recreated (typically 5 seconds later) because of START_STICKY. onDestroy does not get called, along with any other callbacks, the process just goes away. There is no duplicate instance of Service object. This might help: http://android-developers.blogspot.c

[android-developers] Starting an activity from Fragments.

2012-05-09 Thread Raneez
Let me explain the structure of my application, In my app i have 3 main tabs implemented using Fragments. And one of the main tab contains 3 sub tabs in its fragment, and one sub tab contains listview. Now i want to start an Activity when an item from the list is selected. How it is possible? --

[android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Raneez
This is listview onClivk listener lv.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView arg0, View view, int position, long id)

Re: [android-developers] Starting an activity from Fragments.

2012-05-09 Thread Jason Teagle
and one sub tab contains listview. Now i want to start an Activity when an item from the list is selected. How it is possible? Have you tried adding a listener to the list view to watch for selection changes? -- You received this message because you are subscribed to the Google Groups "And

Re: [android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Jason Teagle
and the error i got is: 05-09 16:19:07.723: D/PhoneWindow(7043): couldn't save which view has focus because the focused view android.widget.LinearLayout@44ecc1d8 has no id. Take a look at that line - what does it say is the reason for being unable to do what it wants? The error message is pr

Re: [android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Jason Teagle
05-09 16:19:07.751: E/AndroidRuntime(7043): Uncaught handler: thread main exiting due to uncaught exception 05-09 16:19:07.771: E/AndroidRuntime(7043): java.lang.RuntimeException: Unable to pause activity {com.m2.smartGui/ com.m2.smartGui.smartGuiPagerFragmentActivity}: java.lang.NullPointerExc

[android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Raneez
The app crashes when i click on list item. Actually this listview resides in a tab which is in another tab of a fragment. -- 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.

Re: [android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Jason Teagle
The app crashes when i click on list item. Actually this listview resides in a tab which is in another tab of a fragment. It could be the nesting that is the problem, or the starting of the activity. So let's just try and isolate the cause - in your click handler, instead of creating the inten

[android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Raneez
no problem when changing tabs, the listview consists of details of recorded audio files, so when any list item is clicked, it should start new Activity "player" to play the audio file, but it goes wrong when an item is clicked. :( :( :( -- You received this message because you are subscribed to

[android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Raneez
> instead of creating the intent and starting the activity, just do nothing. > -->> didnt crash. > If that doesn't crash, construct the intent as before (but don't start the > activity yet). If that is OK, pop up a message with Toast after creating the > intent (so we are hopefully taking the f

[android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Raneez
Sorry, It worked! I forgot to add the activity in manifest. -- 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-de

Re: [android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Jason Teagle
Sorry, It worked! I forgot to add the activity in manifest. (Don't worry, I just learned something about activities there as well!) OK, so the dummy activity worked, and that also means that taking focus away from the tab arrangement *shouldn't* be the problem - since that would have happen

[android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Raneez
Thank you Jason Teagle, The error was in player activity, the player class needed a native library and that library was missing. You were so kind to listen me. Thankyou so much. On May 9, 4:46 pm, "Jason Teagle" wrote: > >Sorry, It worked!   I forgot to add the activity in manifest. > > (Don't w

Re: [android-developers] Activity lifecycle and a null cursor

2012-05-09 Thread Raffaele Sgarro
I don't know if my assumptions are right, anyway I pushed an update that seems to fix the bug (at least, I have zero reports since I put the new version online, whereas I used to have a few dozens). Here is what I did currently 1. Removed android:onClick in my XML files 2. Manually set the l

[android-developers] ListView items

2012-05-09 Thread nageswara rao rajana
Hi, How to generate xml file form list view items. Please help me... Thanking you. nagu. -- 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

Re: [android-developers] Re: Starting an activity from Fragments.

2012-05-09 Thread Jason Teagle
Thank you Jason Teagle, The error was in player activity, the player class needed a native library and that library was missing. You were so kind to listen me. Thankyou so much. Another happy customer {;v) -- You received this message because you are subscribed to the Google Groups "Android

Re: [android-developers] How to show map in android apps

2012-05-09 Thread Chandra Sekhar
Hi, please don't follow third parties. if you learn any thing new then better to approach our site that is developer.andorid.com. iam telling this things by experience. and come to your request for that follow the below link http://developer.android.com/resources/tutorials/views/hello-mapview.

[android-developers] Regarding WIFIInfo bssid & ssid

2012-05-09 Thread Bunty syed
Hi, I want my app to make connection over the defined wifi network. Now I am checking the currently active wifi network on the device& comparing the ssids. If it matches with mine, I am allowing network call from my app over that matched wifi network.. But the problem is that two wifi networks

[android-developers] Re: removing image data from memory

2012-05-09 Thread Iain King
Bitmaps have a recycle() method. I don't think that will fix the problem, I'm replying with it only because you haven't specifically listed it. I was using it, and like you have said: it helped a bit but did not solve the problem. I'm afraid I'm making sure I don't get an OOM crash by calling

Re: [android-developers] Regarding WIFIInfo bssid & ssid

2012-05-09 Thread Jason Teagle
So just want to know is any there any unique identifier for wifi network which will be unique & constant on all devices.. The MAC address? This can be obtained from a WifiInfo object... -- You received this message because you are subscribed to the Google Groups "Android Developers" group

Re: [android-developers] ListView items

2012-05-09 Thread arun kumar
http://danroundhill.com/2009/12/18/working-with-the-android-listview/ On Wed, May 9, 2012 at 5:49 PM, nageswara rao rajana wrote: > Hi, > > How to generate xml file form list view items. > Please help me... > > Thanking you. > nagu. > > -- > You received this message because you are subsc

Re: [android-developers] Regarding WIFIInfo bssid & ssid

2012-05-09 Thread Bunty syed
But is it device wifi mac address or active wifi network mac address... On 9 May 2012 18:27, Jason Teagle wrote: > So just want to know is any there any unique identifier for wifi >> network which will be unique & constant on all devices.. >> > > The MAC address? This can be obtained from a Wif

Re: [android-developers] Regarding WIFIInfo bssid & ssid

2012-05-09 Thread Jason Teagle
But is it device wifi mac address or active wifi network mac address... It will be the MAC address of the phone / device the software is being run on. I may have misunderstood what you were trying to do here - are you trying to identify the 'other' end of the wi-fi connection? The access poi

Re: [android-developers] Regarding WIFIInfo bssid & ssid

2012-05-09 Thread Raunaque Quaiser
mac address is of the hardware On Wed, May 9, 2012 at 6:51 PM, Bunty syed wrote: > But is it device wifi mac address or active wifi network mac address... > > > On 9 May 2012 18:27, Jason Teagle wrote: > >> So just want to know is any there any unique identifier for wifi >>> network which wi

[android-developers] how to send commands to OS through bluetooth

2012-05-09 Thread shahfaizal chan basha
i want to send commands to OS thourgh bluetooth, where my system should handle it by is own bluetooth service listener. -- 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: why am I receiving location updates without WakeLock if the device is put to sleep?

2012-05-09 Thread Nadeem Hasan
Your phone is using wifi as the location source. If wifi is set to stay up during phone sleep, LocationManager will continue to provide updates unless you remove your location update subscription in onSuspend(). -- You received this message because you are subscribed to the Google Groups "Andro

[android-developers] Re: Music notation application

2012-05-09 Thread JackN
I mean just develop the graphics using primative methods to produce the output you want. Like sprites (jpg, png), but procedural based. eg.. void drawWholeNote(canvas, centerx,centery, scale) { canvas.drawCircle(etc.); } void drawHalfNote(canvas, centerx,centery, scale) { ca

[android-developers] How to deal with negative anonymous reviews?

2012-05-09 Thread FractalBob
One of my apps is the victim of repeated negative reviews by an anonymous poster. No comments are made, just a star rating of 1 done twice, probably by the same poster. I reported this to Google, but they don't seem interested in doing anything about it. Here is their reply to an e-mail I sent on t

Re: [android-developers] How to deal with negative anonymous reviews?

2012-05-09 Thread Jason Teagle
We really appreciate your thoughtful feedback, and we'll keep it in mind as we work to improve Google Play. Wow... hot off the photocopier, methinks. Sorry to hear about your situation. I can only recommend - since it is clear you're not going to get any help from Google on this - that you rel

[android-developers] Re: How to deal with negative anonymous reviews?

2012-05-09 Thread John Coryat
The simple answer: Nothing can be done about it. The more you worry about such things, the worse, for you, it will be. Since we can't respond to negative comments and ratings, the best thing to do is just keep improving your app and not get too wrapped up about things you cannot change or con

Re: [android-developers] Re: Music notation application

2012-05-09 Thread James Black
I remember doing this in C# for a directx app. Depending on how picky you are, the numbers for time signatures, and the clefs, can be a pain. Good luck. On May 9, 2012 11:00 AM, "JackN" wrote: > I mean just develop the graphics using primative methods to produce the > output you want. Like spri

[android-developers] How to inflate a MapView inside a ViewFlipper??

2012-05-09 Thread pedro242
Hi, I'm stuck in this issue for a while now.. went around forums, books (M.Murphy, R.Meier) and I did not find any real helpful threads.. My main activity is a ListActivity, where the view(main.xml) contains a ListView and a ViewFlipper just below. For each selected line in my ListView i wan

Re: [android-developers] How to inflate a MapView inside a ViewFlipper??

2012-05-09 Thread TreKing
On Wed, May 9, 2012 at 12:17 PM, pedro242 wrote: > My main activity is a ListActivity, where the view(main.xml) contains a > ListView > and a ViewFlipper > just below. For each selected line in my ListView i want to update the > content of the ViewFlipper. > Based on two buttons, my ViewFlipper

Re: [android-developers] Regarding WIFIInfo bssid & ssid

2012-05-09 Thread Kostya Vasilyev
http://developer.android.com/reference/android/net/wifi/WifiInfo.html The method you probably want is getBssid 09.05.2012 17:33 пользователь "Raunaque Quaiser" написал: > mac address is of the hardware > > > On Wed, May 9, 2012 at 6:51 PM, Bunty syed wrote: > >> But is it device wifi mac addres

Re: [android-developers] Android usb network

2012-05-09 Thread Robert Greenwalt
Are you developing this device or using an existing device? You should look at the EthernetStateTracker class. You need to modify the networkattributes config.xml property to instantiate type 9 and add type 9 to the radioattributes config entry. You'll need to add an ethernet dhcp agent to init.

Re: [android-developers] How to inflate a MapView inside a ViewFlipper??

2012-05-09 Thread pedro242
Have you ever tried this? Not sure it works, since i will likely face another issue in managing the ListView without the ListActivity... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

Re: [android-developers] How to inflate a MapView inside a ViewFlipper??

2012-05-09 Thread Kostya Vasilyev
No such issues. Just try it out. A MapView is "really special" and requires a MapActivity. A ListView does not *require* a ListActivity, it's only there to make things a tiny bit easier. 09.05.2012 22:02 пользователь "pedro242" написал: > Have you ever tried this? Not sure it works, since i wil

Re: [android-developers] MapOverlay and displaying location as an address

2012-05-09 Thread TreKing
On Wed, May 9, 2012 at 1:35 AM, chelsjo wrote: > However I am unsure what I need to > include to make the Overlay item point to the current location? What > do I need to include in the Activity? > Look at MyLocationOverlay. This is exactly what it's for. > -I would like the app to instead of

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-09 Thread Dianne Hackborn
That is the expected behavior. The longer your service runs, the more likely it is to be killed (and then restarted if you asked for it to be sticky). On Wed, May 9, 2012 at 3:13 AM, William Kelley wrote: > I have a simple Android Activity with one button to start and stop a long > running Andro

Re: [android-developers] OpenDocument

2012-05-09 Thread TreKing
On Wed, May 2, 2012 at 11:54 PM, huberte wrote: > Would like to use the native OpenDocument to open a jpg file that's in my > app. > There's no guarantee that this "OpenDocument" is "native". > Is there a way to open this file with the native app (zooming resizing, > etc) but that it cant be c

[android-developers] Re: Confirmation with pressing back button

2012-05-09 Thread Fran
Hi Justin, Nice to read you again. I think you have miss understood me, probably cause I did not explain myself right neither: my English is not the best one exactly... The method linked by Jason uses onBackPressed() ONLY, so what I meant is that I cannot use that method if I want to kept backwar

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-09 Thread William Kelley
So, if I want a long running process (logging GPS points over several hours), I would need to use START_STICKY and then maintain some knowledge of state between service restarts. That is, save state to disk (filename that I am writing to, specifically). And since onDestroy is not called and the

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-09 Thread Kristopher Micinski
Right. And in general everlasting services are an antipattern... kris On Wed, May 9, 2012 at 3:17 PM, William Kelley wrote: > So, if I want a long running process (logging GPS points over several > hours), I would need to use START_STICKY and then maintain some knowledge of > state between serv

[android-developers] Formatting localized & preference sensitive date & time with seconds

2012-05-09 Thread goosedroid
I would like to create a locale sensitive string (for presentation in the UI) *generally* looking like: dd/mm/ hh:mm:ss a or /mm/dd HH.mm.ss I want the numeric date format set by the user in Settings (mm/dd/ or /mm/dd), and time is either 12 or 24 hour time format as specified in

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-09 Thread William Kelley
Thanks. I'm not sure why long running services are frowned upon. As long as they don't overly consume resources and are done with the user's knowledge, and indeed the user *wants* the features of a long running service, then what is the harm? If a user wants to log something for a long time, an

Re: [android-developers] Long running Android service is getting recreated over and over

2012-05-09 Thread Kristopher Micinski
Because Android doesn't have many programs that should constantly be consuming background memory and charging through the CPU. The use case is things like phones, where you put it in your pocket, and you just want it to go away. Remember that you can't do computation continually if you don't have

[android-developers] Re: Question about debugging on dalvikvm

2012-05-09 Thread satur9nine
I saw the same problem myself: 05-08 16:26:28.262 W/dalvikvm( 3519): VFY: bad register counts (ins=2049 regs=2) No idea what could even cause this, does this indicate a bug in the Dalvik VM? Jacob -- You received this message because you are subscribed to the Google Groups "Android Developer

Re: [android-developers] MapOverlay and displaying location as an address

2012-05-09 Thread pedro242
For the Geocoder, here's a bunch of code you can use.. LocationManager locMgr = > (LocationManager)getSystemService(Context.LOCATION_SERVICE); Location lastLoc = locMgr > .getLastKnownLocation(LocationManager.GPS_PROVIDER); > > List addressList; > Geocoder geo = new Geocoder(getApplicationCont

  1   2   >