Re: [android-developers] Need to make generic layout for all android mobiles

2012-08-06 Thread J Handal
http://stackoverflow.com/questions/4185507/layout-for-tablets-in-android -- 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] Need help on sending events (Motion event, Key event and etc) from a service to system (android 4.0)

2012-08-06 Thread Prabudas
Hi, I am working on an external HID device for android 4.0 devices. The device will have a touchpad and hardware buttons to replicate the touch screen and android buttons(Home, back and menu). To make this device work with any android 4.0 device, I do not want to modify the build or root the

[android-developers] Re: help with MultiAutoCompleteTextView.

2012-08-06 Thread Saranya Shanmugavel
You have to use the threshold limit for it in your XML file android:completionThreshold="1" This will give you suggestion when you type your first letter On Tuesday, June 16, 2009 10:29:35 AM UTC+5:30, Saurav wrote: > > this is in reply to my onw question and if anyone else ever has the same >

[android-developers] Need to make generic layout for all android mobiles

2012-08-06 Thread Meena
Hi guys, I have created one dynamic layout using android API ,and tested in different Samsung mobile phones. The layouts are coming different for different mobile phones. I meant alignments and fonts are not coming properly. Please suggest some good ideas on this. If needed i can post the code

[android-developers] Re: how to achieve the accuracy of google navigation

2012-08-06 Thread Nadeem Hasan
I would'nt be surprised if they are incorporating accelerometer readings into their extrapolation algorithm. On Monday, August 6, 2012 9:47:41 AM UTC-4, Jef De Busser wrote: > I can see how extrapolating would yield good results if you have a small > delay between reported position & real posit

Re: [android-developers] Mecca direction app

2012-08-06 Thread James Black
The easiest way may be to get the current GPS coordinates of the phone and know it for Mecca. Then, Google for simple compass sensormanager on android-er.blog spot (I am on my phone so cut/paste would be a pain) and you should be able to help the user point correctly. On Aug 6, 2012 8:41 AM, "Tal

Re: [android-developers] Application package 'AndroidManifest.xml' must have a minimum of 2 segments.

2012-08-06 Thread Tor Norbye
This means that the package name declared in your manifest is a single word -- it should have at least two segments separated by a dot. On Fri, Aug 3, 2012 at 12:27 AM, tushar wrote: > problem > Application package 'AndroidManifest.xml' must have a minimum of 2 > segments. > > it keep on happni

[android-developers] Re: Cant Install Android 2.3.3

2012-08-06 Thread bob
I don't know, but why does it mention linux in this file name: android-2.3.3_r02-linux.zip Seems weird if you're running Vista. On Sunday, August 5, 2012 3:19:36 AM UTC-5, Utsav wrote: > > Hi, > I work on Microsoft Windows Vista 64-bit OS, I have installed > - Eclipse(Version: Indigo S

[android-developers] Re: Eclipse and Mountain Lion for Mac

2012-08-06 Thread bob
Maybe you're getting a timeout? I hear Mountain Lion can be slower. On Sunday, August 5, 2012 10:31:51 AM UTC-5, Dan Uff wrote: > > Hi all, > I've recently upgraded my Mac to Mountain Lion (10.8) and use Eclipse as a > development environment. > > Now, when ever I use the simulator for testin

[android-developers] Re: Creating custom icons with Photoshop - dip

2012-08-06 Thread RichardC
Ignore the dpi setting in photoshop (and other graphics packages) just ensure that you create your images with the correct width and height (in pixels). So for example when creating launcher icons use: xhdpi 96x96 pixels hdpi 72x72 pixels mdpi 48x48 pixels ldpi 36x36 pixels On Monday,

Re: [android-developers] Tablet vs. Phone Font Size

2012-08-06 Thread Nicholas Campion
Yup, that setting is factored in when 'sp' units are used anywhere on the device. On Friday, August 3, 2012 3:26:47 PM UTC-5, bob wrote: > > Is this what you're talking about? > > http://postimage.org/image/8y0sxvyej/ > > On Friday, August 3, 2012 1:54:29 PM UTC-5, Nicholas Campion wrote: >> >> O

[android-developers] Re: how to achieve the accuracy of google navigation

2012-08-06 Thread Jef De Busser
I can see how extrapolating would yield good results if you have a small delay between reported position & real position, e.g. the 1s update rate of most GPS receivers. What I can't see however, is how you could make that work with larger delays, especially for large accelerations. Say for exa

[android-developers] Creating custom icons with Photoshop - dip

2012-08-06 Thread Simon Giddings
This subject is causing me some conceptual problems. In the official documentation, it states that 1dip represents 1 pixel in a 160dpi screen. Does this mean that we should be creating graphic elements at a resolution of 160 dpi instead of 72 dpi ? I hope someone will be able to give an authori

[android-developers] Re: Looking for information on the Fragment dump() method (FragmentManager too)

2012-08-06 Thread bergstr
closing the PrintWriter instead of the IOStream would do, too -- 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-dev

[android-developers] Re: Looking for information on the Fragment dump() method (FragmentManager too)

2012-08-06 Thread bergstr
you should have close()d the PrintWriter, instead of the IOStream. Thats all Am Sonntag, 27. Februar 2011 23:17:29 UTC+1 schrieb davemac: > > Both of these classes have a dump() method which looks useful for > debugging. I tried to use them in a sample application, but I'm not > getting any outp

[android-developers] Mecca direction app

2012-08-06 Thread Talha Qamar
Hi i wanna make a Kibla(Qibla or Mecca the holy city) direction app for android.If any one have some knowledge about this.Please do share with me(Tutorials,Links and code). Regards, Talha Qamar. -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

Re: [android-developers] Android memory allocation and static variables

2012-08-06 Thread Mark Murphy
On Mon, Aug 6, 2012 at 7:14 AM, Mario Bat wrote: > Ok...the problem is that if I unregister from GCM the app will still receive > notifications until GCM sets it to unregistered that can wait for 2-3 days. > Thats what i heard at least... > The only way I see here is to write it to a file if its r

Re: [android-developers] Custom theme for android DatePicker dialog shows unpleasant border

2012-08-06 Thread Mulsaniya Bhadresh
Remove theme argument "Android.R.style.Theme_ DeviceDefault_Light_Dialog " On Sat, Aug 4, 2012 at 4:47 PM, sweta wrote: > Hi All, > > I am trying to use custom DatePicker dialog. > For that I modified the OnCreateDialog method so that it returns a date > picker with specific theme like this > @

[android-developers] Re: how to store the data in cache/temp memory

2012-08-06 Thread Mario Bat
not sure what you mean, but try looking up startyActivityForResult. Thats how you can get the data from B back to A. in the onActivityResult method.. Dana ponedjeljak, 6. kolovoza 2012. 11:39:10 UTC+2, korisnik vamshi ch napisao je: > > Hi, > > I have an App that i want to store the data in cac

[android-developers] Re: Searching on the results JSON "listctivity"

2012-08-06 Thread Ricardo Cardoso
? 2012/8/5 Ricardo Cardoso > I have a ListActivity and she is populated with the result of a Json ... > I put a EditText to do a search on ListActivity ... however I do not know > how to do when the result is a json ... can anyone help me? > > /** > > * Definition of the list adapter > >

[android-developers] Re: How to submit data to google excel doc in android?

2012-08-06 Thread RichardC
Have a look at the source code for the ACRA project http://code.google.com/p/acra/ it can post from an Android app to a Google Spread sheet via a form. ps there is no such thing as a "google excel doc" On Monday, August 6, 2012 12:56:37 PM UTC+1, vijay . wrote: > > Hi all, > > I have a proje

Re: [android-developers] Cant Install Android 2.3.3

2012-08-06 Thread Jim Graham
On Sun, Aug 05, 2012 at 01:19:36AM -0700, Utsav wrote: > But I need to get Android 2.3.3(API 10), so when I select Android 2.3.3(API > 10) and try to install, my catalog shows this errors You want to write an Android app using the SDK that installs Android 2.3.3 on users' phones? Why? Later,

Re: [android-developers] hi

2012-08-06 Thread Jim Graham
Hi. -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie #49997 < Running Mac OS X Lion > spooky1...@gmail.comICBM/Hurr.: 30.44406N 86.59909W My policy on spammers: "Castrate first, ask questions later." Android Apps List

[android-developers] Re: NFC Secure Element

2012-08-06 Thread ThyMythos
Am Mittwoch, 11. April 2012 09:05:34 UTC+2 schrieb Alexander Sytnik: > Great work! > It helped me very much. My current goal - to download into the Secure Element > a > cardlet, which can securely manage MIFARE part and communicate with our own > TSM > through an additional application in a phone

[android-developers] versioning error in Android 2.0

2012-08-06 Thread VIPIN
Hello All, I am new in Android I have develop a app in android api level 8( version 2.2). And it is working fine. But when i run this program in Lower version , then it work fine with API level 6 & 7. But it gives error in API level 5. It shows error : ERROR/AndroidRuntime(287): Uncaught han

[android-developers] Improving speech recognition in Arabic in Jelly Bean

2012-08-06 Thread Wisam
It seems that Arabic language voice to text input is not very good compared with English and Japanese (tried them all). Is there a way to help Google improve Arabic language recognition for voice to text input ? I'm a native speaker and I'd like to help. -- You received this message because you

[android-developers] Help for update phone number of contacts (ContactsContract)

2012-08-06 Thread Antonio Edson Siqueira Cavalcanti
Hi, I need help to update contact numbers. Does anyone know how I can update contact numbers that I could recover? I looked and saw a lot about RAW_ID, _ID but I'm not getting used. I'm recovering contacts with the code below: Cursor phones = > getContentResolver().query(ContactsContract.Comm

[android-developers] Can I set the focal distance of android camera?

2012-08-06 Thread steven
I am trying to manual control focal distance like this video : http://www.youtube.com/watch?v=Nh_PNXD4Jqk I already know how to use the basic function of camera. Does everyone know how to set the focal distance by manual? Thank you for your time and help :D -- You received this message beca

[android-developers] Connectivity Between Oracle9i database and Android device

2012-08-06 Thread Uma Maheshwari
I am in a need to connect my android device to the oracle8i database.Please let me know whether it is possible? -- 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 unsu

[android-developers] ftp interaction on my app

2012-08-06 Thread tushar
need some guidelines for using ftp on my app to upload data or file on my server with out root if possible can someone please guided with any link that are working for them thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] How to submit data to google excel doc in android?

2012-08-06 Thread vijay .
Hi all, I have a project in which i have to save the data from a form to google excel doc. Kindly suggest me the necessary steps. Thanks Vijay -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Application package 'AndroidManifest.xml' must have a minimum of 2 segments.

2012-08-06 Thread tushar
problem Application package 'AndroidManifest.xml' must have a minimum of 2 segments. it keep on happning also R.java not generating in eclipse done all the rebuilding & project clearing but keep on happning is there a possibility of bug on my eclipse IDE ??? anyone please reply ASAP -- You r

[android-developers] Cant Install Android 2.3.3

2012-08-06 Thread Utsav
Hi, I work on Microsoft Windows Vista 64-bit OS, I have installed - Eclipse(Version: Indigo Service Release 2) - ADT(Version: 20.0.1.v201207132230-403220) - Android 4.1(API 16) But I need to get Android 2.3.3(API 10), so when I select Android 2.3.3(API 10) and try to install, my

[android-developers] HELP: Adding an entry to the Android Address Book upon App installation

2012-08-06 Thread Vasudev Bhandarkar
I'm building a Voice Messaging App, and would like an entry to be made in the Address book for each of my friends that have a mobile phone, as soon as my App is installed. How do I do this? What API calls do I invoke? Any advice will be much appreciated. Specifically: as an Android USER I

[android-developers] android app not running on emulator or device

2012-08-06 Thread HopelessDev
My emulator has problem running apps. I've been having these problems for the last 3 days, even simple apps like hello world does not run most of the time. I've set run config as manual to let me pick my own device, but after running my app, it doesn't even ask me to pick my device(for the past

[android-developers] [Question:developer] Simple Spinner Example ?

2012-08-06 Thread Ridho maulana
hai, im new in developing android program. and i just learn to make a dropdown menu in android is a little handful. cant you give me an Simple EXAMPLE of make=ing a GOOD Spinner. and when im SELECTED item it will content an INTENT to move to another CLASS Thanx -- You received this message b

[android-developers] hi

2012-08-06 Thread tandra anil
Hi everyone, My project is to create a Photo Timeline app for android mobiles, yea it is existing already but still planning to add some extra features to it.. so can you al please give me some guidelines how to start of with it. and what all modules to include and al. please provide me with some

[android-developers] How to analyze message sending from broadcast receiver in android

2012-08-06 Thread Rajeev chaubey
How to analyze message sending from broadcast receiver in android? -- 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 androi

[android-developers] Fragments : Advanced example or tutorials?

2012-08-06 Thread Simon Engler
Good Day, I am trying to create a user interface for driving a robotic platform around. I have a number of programs that work indpendantly displaying video, logs, or graphical representation of a compass etc. I follow tutorials given online, but when I try to implement my programs crash. The t

[android-developers] Custom theme for android DatePicker dialog shows unpleasant border

2012-08-06 Thread sweta
Hi All, I am trying to use custom DatePicker dialog. For that I modified the OnCreateDialog method so that it returns a date picker with specific theme like this @Override protected Dialog onCreateDialog(int id) { switch (id) { case DATE_DIALOG_ID: return new DatePickerDialog(getActivity(),And

[android-developers] Factory mode is on !!!!!

2012-08-06 Thread Roman De Lara
hello everybody! someone know how to turn off the factory mode and change to user mode on android icecream?? -- 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 un

[android-developers] How to connect to MySQL db

2012-08-06 Thread Andrey Shloma
Now i user mysql-connector-java-5.1.21-bin.jar library And try next code: private static final String CONNECTION = "jdbc:mysql://x.x.x.x:3306/db"; private void getMySQLConnection() { Connection con = null; String str_res = ""; try{ Class.forName("com.mysql

[android-developers] Android Emulator not starting up

2012-08-06 Thread Shivdeep Roy
I'm new to android programming. I have installed SDK and AVD Managers when i start my emulator with the AVD manager it doesn't start up. It only shows the Android Boot Screen, i keep it on for more than 5 hrs but no response. I also tried with the snapshot option but it also seem to be of no hel

[android-developers] permission denied when trying to pull file from /data/data/packagename/files/junitreport.xml

2012-08-06 Thread tejasvi manmatha
I have rooted my device Now i want to pull the file from my phone It show permission denied each time i have to get into the directory on phone and change permission using chmod only then i will be able to pull the file Is there are permanent solution ? -- You received this message because yo

[android-developers] Android Native Map

2012-08-06 Thread Rajeev chaubey
Android Native map is opening on direction listview not on map show directly... How it can be open directly to mapview? -- 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.co

[android-developers] Custom theme for android DatePicker Dialog shows unpleasant border

2012-08-06 Thread sweta
Hi, I am trying to use a custom date picker dialog for this I modified code as below @Override protected Dialog onCreateDialog(int id) { switch (id) { case DATE_DIALOG_ID: return new DatePickerDialog(this,Android.R.style. Theme_DeviceDefault_Light_Dialog, mDateSetListener, mYear, month, mDay); }

[android-developers] Got "fail to set top app changed!" when rotating the device.

2012-08-06 Thread Steven Nie
Hello everyone, I'm new to Android development, and I'm not sure why I'm getting this exception when I'm rotating the screen. 08-05 21:15:43.850: ERROR/ActivityManager(276): fail to set top app changed! (2) java.lang.NullPointerException at com.android.server.am.ActivityManage

[android-developers] New Installation - Eclipse not recognizing the Android Development Kit on Windows Vista

2012-08-06 Thread dsxh
I looked through the FAQs for download issues and scanned through the forums, but didn't see this particular question. Please forgive me if it's been asked and answered elsewhere. This is on a personal non-work computer. I'm the administrator on the machine. This was a brand new installation

[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2012-08-06 Thread Pavel Brans
Hi all, Three years pased. We faced the same problem. Sensors turn off after turning off the screen. Wake lock does not always help. Is this bug fixed? In what version is it fixed (2х, 4x)? --- Regards, Pavel Konovalov пятница, 28 августа 2009 г., 18:04:11 UTC+3 пользователь polymo

[android-developers] WiFi

2012-08-06 Thread Meena Rengarajan
Is there any way to make the application prefers Android mobile over WiFi connection? -- 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] WiFi

2012-08-06 Thread Meena Rengarajan
Is there any way to make the application prefer android mobile over WiFi connection? -- 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, s

Re: [android-developers] What's the best place to find Android Developers willing to participate in a Startup?

2012-08-06 Thread Josphat Muchiri
yeah thats nice wonna work with you On Mon, Aug 6, 2012 at 2:14 AM, Bart Burg wrote: > I'm looking for someone that would like to build an Android product > together with me, and bring that product on the market. What would be the > best place to look for Android Developers that also have affin

[android-developers] getting assets file in Uri ......FileNotFoundException

2012-08-06 Thread Narendra Singh Rathore
Hi all, I am not getting what is wrong here in the following statement. Please tell if anyone know about the cause of this behaviour. *mUris[0]=Uri.parse("file:///android_asset/bottom_logo.png");* I am getting *FileNotFoundException* for the above statement. Am I giving the wrong path or somethin

Re: [android-developers] Android memory allocation and static variables

2012-08-06 Thread Mario Bat
Ok...the problem is that if I unregister from GCM the app will still receive notifications until GCM sets it to unregistered that can wait for 2-3 days. Thats what i heard at least... The only way I see here is to write it to a file if its registered or not, and when the push comes check in the

Re: [android-developers] Re: updating layout params after animation finished

2012-08-06 Thread marcin kolonko
actually i had an idea to apply "layout_below" on update (when view1 is animated), but didn't try it out in the end. On 6 August 2012 13:05, marcin kolonko wrote: > no. > i had to animate both views separately. > > > > On 6 August 2012 11:10, Joshua Li wrote: > >> On Thursday, 19 July 2012 00:4

Re: [android-developers] Android memory allocation and static variables

2012-08-06 Thread Mark Murphy
No, when Android terminates your process, your static data members go away. A new process will be forked to run your app on the next message (or when the user launches your activity, or whatever), at which point your static data members will have their default values. On Mon, Aug 6, 2012 at 7:03 A

Re: [android-developers] Re: updating layout params after animation finished

2012-08-06 Thread marcin kolonko
no. i had to animate both views separately. On 6 August 2012 11:10, Joshua Li wrote: > On Thursday, 19 July 2012 00:42:27 UTC-7, marcin kolonko wrote: > > i have 2 views in a RelativeLayout like this: encoding="utf-8"?> > > > xmlns:android="http://schemas.android.com/apk/res/android"; >

Re: [android-developers] How to get instance of PowerManagerService?

2012-08-06 Thread Mark Murphy
AFAIK, this is not possible, outside of a custom build of Android. On Sat, Aug 4, 2012 at 3:40 PM, macias wrote: > Hello all, > > IN SHORT: > I need to get instance of PowerManagerService (in order to call its method > isScreenBright). However I am unable to do it, after reading Android > sourc

[android-developers] Android memory allocation and static variables

2012-08-06 Thread Mario Bat
Hi everyone, I am writing on an Android application where i am registering to GCM. When I click the cehckbox to register i want to set a static variable isRegistered to true/false. Now when i receive the message I want to check this variable and if it is true I make an notification. So when i ge

[android-developers] Android emulator, blank space surrounding the vritual device

2012-08-06 Thread seerumi
Hello The emulator has previously worked, but now when I got a new computer the emulator started acting strange. When I load my virtual device there's huge window and lots of blank white space surrounding the phone emulator. This wouldn't matter otherwise, but I'm unable to click the phone's bu

[android-developers] Re: updating layout params after animation finished

2012-08-06 Thread Joshua Li
On Thursday, 19 July 2012 00:42:27 UTC-7, marcin kolonko wrote: > i have 2 views in a RelativeLayout like this: encoding="utf-8"?> >     xmlns:android="http://schemas.android.com/apk/res/android"; >     android:layout_width="match_parent" >     android:layout_height="match_parent" > > >        

[android-developers] Re: AnimationDrawable: animation can't be started in onResume

2012-08-06 Thread Doug Heisler
I know this post is old but if you are still having trouble, start your AnimationDrawable in the onWindowFocusChanged method. Good luck:) On Tuesday, January 27, 2009 10:36:03 AM UTC-5, G. Blake Meike wrote: > > There's already been some discussion of this, in various lists and > blogs. I

Re: [android-developers] ANN: Itoa project lets you rebuild iOS applications for Android

2012-08-06 Thread Pol Oribello
Hi Dmitry, I'm trying to build the sample project but I'm getting this error: make: /Users/Desktop/FirstItoaApp/ItoaNDK/toolchains/arm-eabi-4.2.1/darwin-x86_64/bin/arm-eabi-gcc: No such file or directory And when I'm getting the latest build I'm getting this message: Configure: toolchain build

[android-developers] android build info website

2012-08-06 Thread wgndrd
anyone ever used information off the http://www.kandroid.org? Does it relate to http://developer.android.com ? -- 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 uns

[android-developers] Android 4.0 for USB host

2012-08-06 Thread pogo lin
Hi All, I have installed "NexusHD2-ICS-CM9-HWA v2.5) on HTC HD2. Then I wrote an Application on this machine to open USB as host. private UsbManager mManager; ... mManager = (UsbManager)getSystemService(Context.USB_SERVICE); if( mManager != null ) { log("Get USB service")

[android-developers] Dont work PAUSE

2012-08-06 Thread podbereznov maksim
private void circle() throws InterruptedException{ for (int i = 0; i <= 100; i++ , Thread.sleep(100)) { } } -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] emoti-pictures in text messaging

2012-08-06 Thread David Lanier
im curious to know if its possible to create an app that would allow you in insert a picture right behind a word as if you were showing inflection or to which emotion you were speaking (as an example, you could use the word "really?" but mean it sarcastically or hatefully) and with a picture it

[android-developers] Why does GCM unregister when I close Eclipse application?

2012-08-06 Thread PHT
Disclaimer: This is my first activity on my first app. When I launch my app on my actual device through Eclipse I can see in the LogCat that a regId has been registered with GCM ... when I close the app on my device LogCat shows the same regId being unregistered. Questions: 1) what would cause

Re: [android-developers] CheckedTextView tutorial

2012-08-06 Thread MAYUR BALDHA
th On Sunday, April 18, 2010 2:26:13 AM UTC+5:30, raqz wrote: > Hi, > > I need to display contents of a list of objects. Capture the selected > > items and later process it. I have been trying to find a tutorial on > > net but in vain. > > Could some one please advise me when can I find a tuto

[android-developers] File printer for multiple sensor data

2012-08-06 Thread Roman
I´m programming a service to recollect data from several sensors. I do not want to overload the system with the service. I have a sensor data listener service, this recolletc data from several sensors and try to save on a each sensor file. The code of the method is in below: *public class Sens

[android-developers] D/SntpClient(61): request time failed: java.net.SocketException: Address family not supported by protocol

2012-08-06 Thread Shiningnihar
Hi, This is my activity. I am just trying to write data to a file and again reading the same file as a RandomAccessFile. Some time the code is working fine but some time it is showing - [ D/SntpClient(61): request time failed: java.net.SocketException: Address family not supported by protocol

[android-developers] How to get instance of PowerManagerService?

2012-08-06 Thread macias
Hello all, IN SHORT: I need to get instance of PowerManagerService (in order to call its method isScreenBright). However I am unable to do it, after reading Android sources, the closest guess was to get it (via reflection) from android.os.ServiceManager by calling getService. The problem is t

[android-developers] Re: Route Audio Output to Mic?

2012-08-06 Thread xisuz
Hello Cheng, Its a long time you posted this question and there is still no answer to it. I just ran into this issue and wanted to know if you found any solution to it. Please let me know if there is any solution to it or what you did for this. Thank you. -- You received this message because y

[android-developers] Interview Question For 1yr Expirance in Android Application Development

2012-08-06 Thread Dharmendra Deshmukh
Friends pls help me for my given subject topics .. I need Interview Q & there Ans also .. technical Question + Simple HR Question Also -- 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@g

[android-developers] Re: How to use a custom keyboard for the application

2012-08-06 Thread vk hooda
Hi Murali, you have to need start service for keyboard same as for softkeyboard.You can refer latin keyboard example for your custom keyboard. Thanks vk hooda -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Installing a private corporate app

2012-08-06 Thread jayd
I’m developing a training app for the company I work for and we need a way to install it on employees devices. Is it possible to install from a corporate server? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Android Developer Console: Pricing Apps

2012-08-06 Thread Carl K.
I have never really cared in detail, even though I'm using it for a while... After reading the documentation for "Pricing Apps" for "Selling Apps in Multiple Currencies" (http://support.google.com/googleplay/android-developer/bin/answer.py?hl=en&answer=1169947&topic=15867&ctx=topic), I'm still

[android-developers] hierarchical parent error

2012-08-06 Thread imran
I got an error of hierarchical parent while i was trying to create a new project. I am not sure what to give in the hierarchical parent text field while creating a new project. it shows a red cross but when i give any text it removes the red cross but it doesnt create the R. file in project. plz

[android-developers] Open Samples in Eclipse

2012-08-06 Thread Christoph
I downloaded one of the samples in the android training area. It contains just a "src" and a "res" directory. I could not find an easy way to import this into eclipse. The functionality found at "File->new->Project->Android->Android Project from Existing Code" does not work, since some metadata

[android-developers] Re: Receive SMS

2012-08-06 Thread HOUSSEM ZAIER
You have to filter all what you are receiving by the broadcast receiver. http://www.tutos-android.com/broadcast-receiver-android example of using the broadcast receiver. Good luck -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: java.lang.IllegalStateException: Fragement no longer exists for key f1: index 3

2012-08-06 Thread hostj2me
I am also seeing this issue. java.lang.IllegalStateException: Fragement no longer exists for key f451: index 2 at android.support.v4.app.FragmentManagerImpl.getFragment(FragmentManager.java:534) at android.support.v4.app.FragmentStatePagerAdapter.restoreState(FragmentStatePagerAdapter.java:208

[android-developers] my applicationg works with 2.2 device but not woth 2.3(galaxy i9000)

2012-08-06 Thread wolf
someone please 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com Fo

[android-developers] Hierarchical Parent error

2012-08-06 Thread imran
when I try to create a new project, while creating the project there is a requied text field "hierarachical parent" I which i dont know which to put. it gives a red cross if i dont know any thing but if i give any thing the red cross disappears but when the project is get created the R.java file

[android-developers] android emulator doesn't start

2012-08-06 Thread SPie
hi, i was interested in developing android apps and so i installed everything i need for i also created an avd to test my first helloWorld app but the problem is, that the emulator didn't start. when i start the avd from the avd manager, there apears a progress bar but it disapears before its

Re: [android-developers] How to view rtf file in webview

2012-08-06 Thread Mark Murphy
Find or write an RTF->HTML converter, then show the HTML in a WebView. On Sat, Aug 4, 2012 at 2:26 AM, Balaji Shanmugam wrote: > Hi, > > i need to show rtf file in webview. but i cn't. anybody give some idea > to do it. > > Regards, > Balaji.S > > -- > You received this message because you

Re: [android-developers] SecurityException in RemoteViewsService?

2012-08-06 Thread Kang Lu
a database column. On Saturday, August 4, 2012 10:56:29 PM UTC+8, Mark Murphy (a Commons Guy) wrote: > > On Sat, Aug 4, 2012 at 10:35 AM, NickL wrote: > > Error accessing content provider in RemoteViewService > > > > Hi, > > > > I'm trying to build a home screen widget for my app and I am u

Re: [android-developers] SecurityException in RemoteViewsService?

2012-08-06 Thread Kang Lu
This works for me. Thanks! On Saturday, August 4, 2012 11:20:51 PM UTC+8, Kostya Vasilyev wrote: > > I've run into this exact issue before. > > My fix was to add Binder.clearCallingIdentity() in my RemoteViewsService > callbacks where I needed to access my non-exported provider. > > Now we're bac

Re: [android-developers] Re: Source not found, but I've given a source?

2012-08-06 Thread Ajay Tribhuwan
let me ask you are you using proxy connection ? if you are using then you have to include proxy connection class even though you may check your program including the http url which does not require proxy. On 8/2/12, soynerdito soynerdito wrote: > "Source not found" normally means that the build v

[android-developers] Re: HttpClient, connection refused, localhost

2012-08-06 Thread Abhishek Chatterjee
I know I am posting to a thread thats been dead for ages, but I guess now replacing localhost with 10.0.2.2 solves the problem... correct? On Monday, 11 February 2008 14:43:50 UTC+5:30, kevin wrote: > > HI, > are u able to retrieve data from the localhost server and display it > on to the andro

[android-developers] How to view rtf file in webview

2012-08-06 Thread Balaji Shanmugam
Hi, i need to show rtf file in webview. but i cn't. anybody give some idea to do it. Regards, Balaji.S -- 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 unsu

[android-developers] Java to XML

2012-08-06 Thread nybras
New to Android Development and was wondering if there was some way of taking the users input to create an activity? For example say the user is going through the process of setting up a profile of themself. One of the questions is "how many pets do you have?". The user inputs "4" and then clicks

[android-developers] What's the best place to find Android Developers willing to participate in a Startup?

2012-08-06 Thread Bart Burg
I'm looking for someone that would like to build an Android product together with me, and bring that product on the market. What would be the best place to look for Android Developers that also have affinity in entrepreneurship? -- You received this message because you are subscribed to the Go

[android-developers] Error accessing content provider from RemoteViewsService

2012-08-06 Thread Kang Lu
Hi, I'm trying to build a home screen widget for my app and I am using stackview, remoteviewservice. In the RemoteViewsService, I need to query the content provider. My cotent provider is set exported=false. However, when I want to add the widget on screen, I get this error java.lang.SecurityEx

Re: [android-developers] Message on Locked Screen

2012-08-06 Thread eagledroid
What are the hacks you are referring to? How come a paid app called WidgetLocker can do this and you are saying it's not supported? On Tuesday, November 23, 2010 12:24:16 PM UTC-5, Dianne Hackborn wrote: > > Sorry this isn't supported by the SDK. (There are hacks that people use > to do this ki

[android-developers] Re: How to send vCard via SMS?

2012-08-06 Thread adrian
On Monday, April 30, 2012 8:33:39 AM UTC+1, SamuelSpring wrote: > > I'm looking for any way to send/read a vCard via SMS in my app. I've > read a lot of articles, web-pages, forums etc. There is still not even > a clue how to do that. > > Here is transaction. > 1. User selects some specific c

[android-developers] How to register MIME type

2012-08-06 Thread Богдан Матвійчук
How to register new MIME type on my app -- 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...@go

[android-developers] Button that goes to website

2012-08-06 Thread techno
I've been searching for hours to find this, and couldn't so I decided to create a thread here. I want to create a button that will open a webpage. Can someone tell me how? If possible I would like to have info on each part so that I will learn it... Thanks guys! -- You received this message be

[android-developers] Re: How to open smm file of samsung galaxy?

2012-08-06 Thread Izzieq Androizty
it seems that the .smm is associated with lotus word pro / samna ami pro. Please see this link : http://www.fileinfo.com/extension/smm also i would recommend you to see this link as there is a file converter ( i havee nnot tried it) http://www.file-convert.com/a_ami.htm On Friday, January 20,

[android-developers] how to store the data in cache/temp memory

2012-08-06 Thread vamshi ch
Hi, I have an App that i want to store the data in cache/temp memory before saving the data in DB like I have created an application with 2 activities, where *A* , *B* . if I go through *A -> B*, in *B* I've some fields I would like to have its data cached somewhere then I'm back to *A*, then

Re: [android-developers] get IP Address of Local Wifi hotspot

2012-08-06 Thread Azmat Alikhan
Its valid if I connected through Wifi network. But my issue is that I am creating wifi Hotspot in my own phone and i want to get what IP assigned . On Mon, Aug 6, 2012 at 2:52 PM, Asheesh Arya wrote: > this is the correct link > http://www.krvarma.com/2010/07/getting-ip-address-of-the-device-in-a

<    1   2   3   >