[android-developers] Key Combinations

2011-10-21 Thread Aki
I am developing an application for which I need to detect key combinations. Can anyone suggest a simple way to do it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

Re: [android-developers] sleeping canvas

2011-10-21 Thread KAlexander Kepler
Scaling Available Governors conservative ondemand userspace powersave performance On Oct 20, 2011 4:32 PM, John Goche johngoch...@googlemail.com wrote: Hello, I am somewhat new to canvas programming... Anyone know whether it is possible to modify the following code so as to include a timer

Re: [android-developers] Re: Date issue

2011-10-21 Thread sourabh sahu
SimpleDateFormat curFormater = *new* SimpleDateFormat(dd/MM/,Locale.US ); Date fromDarte= curFormater.parse(toDateTxt.getText().toString()); Date toDate = curFormater.parse(toDateTxt.getText().toString()); if(toDate.before(fromDate)) { ... ...Invalid Date . } On Thu, Oct 20, 2011 at 9:59

[android-developers] Re: Key Combinations

2011-10-21 Thread Aki
I could go for double taps too if its easier to detect than combos, but again I have no idea how to detect key double taps. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Date issue

2011-10-21 Thread Justin Anderson
What is the value of toDateTxt? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Oct 21, 2011 at 12:34 AM, sourabh sahu souruit...@gmail.com wrote: SimpleDateFormat curFormater = *new* SimpleDateFormat( dd/MM/,Locale.US); Date fromDarte=

Re: [android-developers] Key Combinations

2011-10-21 Thread Aki
You're going to need to give more information... What kind of key combinations? Any type, like say MENU+S. From a hard keyboard? Hardware buttons on the device? Both hard and soft keyboard. Is that possible? When do you want to detect them? When your app is already

[android-developers] Re: Broadcast receiver Activity is in foreground or stop.

2011-10-21 Thread Anieeh
Thanx Ali For your quick reply I have tried this in different way i.e. i am putting one boolean variable called isAppInFront in Application extended class and i am keep on updating this variable form onStart() and onStop() method but the problem is as i have said i have many activity so

Re: [android-developers] Re: Date issue

2011-10-21 Thread sourabh sahu
its coming from DatePicker On Fri, Oct 21, 2011 at 12:09 PM, Justin Anderson magouyaw...@gmail.comwrote: What is the value of toDateTxt? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Oct 21, 2011 at 12:34 AM, sourabh sahu

[android-developers] How to find the location (details ) using coordinates (longitude and latitude) values

2011-10-21 Thread venugopal reddy
i friends, How to find the location (details ) using coordinates (longitude and latitude) values .. 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

[android-developers] How to set a socks5 proxy for the android SDK manager?

2011-10-21 Thread James
Hello everyone, I've got problem updating my android SDK, Since I need to gain access throw a socks5 proxy. But It seemed that only http proxies could be applied throw the options menu. Is there any workaround for me? Thank you! -- You received this message because you are subscribed to the

[android-developers] Play The All Mp4 Videos

2011-10-21 Thread Muthu S
Hi I like to play all remote MP4 Videos but some MP4 videos not played in some device kindly help its very urgent.I use the following code kindly check it and give me the solution. Uri uri = Uri.parse(http://www.tamilclips.net/

[android-developers] regarding ProgressDialog box

2011-10-21 Thread nageswara rao rajana
hi, I am working on ProgressDialog box in my application, its running but the problem is that status is not updating. This is my code please any one help me. import android.app.Activity; import android.app.Dialog; import android.app.ProgressDialog; import android.os.Bundle; import

Re: [android-developers] Re: Change package name in eclipse

2011-10-21 Thread avantwave avantwave
i have add the permission.READ_PHONE_STATE in the manifest file. Now when I run the log, it still fail to run successfully, it show as below: would you telling me what wrong now.? //- 10-21 15:19:50.885: E/AndroidRuntime(345): java.lang.RuntimeException: Unable to

[android-developers] Testing a Library Project with SDK Tools r14

2011-10-21 Thread joebowbeer
I can't figure out how to test my library project using the r14 tools. I'm using the self-contained project method described at the bottom of Managing Projects page: http://developer.android.com/guide/developing/projects/index.html Testing a Library Project [...] You can set up a set up a

[android-developers] Re: Two emulators communicate via Http

2011-10-21 Thread Sunil Mishra
Try accessing your andriod server from web browser of PC. If it works fine, then it will work in the field also. On Oct 21, 4:49 am, Weikang Wan weikang@gmail.com wrote: I want to set up an XML RPC server and a method call client on android OS 2.3; my first step is to implement an HTTP

[android-developers] Re: Sony S1 adb driver

2011-10-21 Thread Sebi
Can you please tell me what was your problem. I didn't manage to get it work with the steps above on: Win7 64bit Thanks On Sep 28, 2:34 am, Sebastian Tomaszewski stomasze101...@gmail.com wrote: Kostya, thank you for fowarding this... Okay, I was able to find my problem thank you

Re: [android-developers] Android UI designing .

2011-10-21 Thread Ashish Tiwari
Thank you guys. -- 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

[android-developers] Unit testing with the sdk tools r14?

2011-10-21 Thread BoD
Hi! I have updated my project and my test project with the sdk tools r14, and I can no longer seem to get the tests running. First of all, the documentation here: http://developer.android.com/guide/developing/testing/testing_otheride.html#RunTestsCommand has not been updated and the

Re: [android-developers] How to open inbox of mail account

2011-10-21 Thread Manikandan M
Hi All, I tried this Intent mailClient = new Intent(Intent.ACTION_VIEW); mailClient.setClassName(com.google.android.gm, com.google.android.gm.ConversationListActivity); startActivity(mailClient); it is working for gmail accounts. Problems : 1. its is open only last viewed gmail account.

[android-developers] Re: JPEG in animated wallpapers

2011-10-21 Thread Rockline
Any ideas? On Oct 19, 12:44 pm, Rockline rockl...@gmail.com wrote: Hi gents, I'm trying to develop an animatedwallpaperfor Android 2.1. My first step would be to draw aJPEGimage onto the screen but it doesn't seem to work. Any idea? public class RumblefishWallpaper extends

[android-developers] Best conception with new API ICS ?

2011-10-21 Thread arnouf
Hello all, My question is about the compatibility and the best way to create our apps. For some months, we have the compatibility package allowing us to create app, using Fragment (dedicated to tablets) inside a smartphone app. ICS introduces new components like switcher or Gridlayout for

[android-developers] Re: Debugging library projects with ADT 14

2011-10-21 Thread String
I concur, the new library handling really harms productivity when trying to work with source code in referenced library projects. It'd be fine if all you used were third-party immutable libraries, but for devs using library projects to organize their own source, it's a big step backward.

[android-developers] How to display NDEF message ?

2011-10-21 Thread xiaoailsa
Hi: I want to write ndef message in the mifare ultralight card , and communicate with NFC phone. For example:first i write http:// www.google.com in to the card, than the phone contact with the card , the application will desplay http://www.google.comand open the internet. Now, i can write

Re: [android-developers] Re: Date issue

2011-10-21 Thread midhun midhunvp
you can try this . It will work. fd = (EditText) findViewById(R.id.from_date); td = (EditText) findViewById(R.id.to_date); int MILLIS_IN_DAY = 1000 * 60 * 60 * 24; Date date = new Date(); SimpleDateFormat dateFormat = new

Re: [android-developers] ListView scroll lag with images

2011-10-21 Thread vandana toshniwal
Using softreference for the bitmaps helps. On 19 October 2011 19:04, Sharief Shaik sharie...@gmail.com wrote: The images are read asynchronously already as shown in the above code. But the UI still freezes. When I disabled the line of code that fetches the image from SD card, the

Re: [android-developers] regarding ProgressDialog box

2011-10-21 Thread Kostya Vasilyev
Your code is *almost* fine, but doesn't send the progress message after creating it. Calling obtain() does not send the message, it just, ughm, obtains it. Try this: msg.sendToTarget() after msg.setData(b); And you don't really need to use a bundle here, Message can carry two integer values on

Re: [android-developers] Update project failed by android-tool r14 edition

2011-10-21 Thread midhun midhunvp
you can update it through eclipse - Help-install new software. And give:http://dl-ssl.google.com/android/eclipse/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: JPEG in animated wallpapers

2011-10-21 Thread Rockline
The screen is actually black. Could it be due to an enable somewhere which I've not set? Has anybody experienced that before? Thanks. On Oct 21, 9:44 am, Rockline rockl...@gmail.com wrote: Any ideas? On Oct 19, 12:44 pm, Rockline rockl...@gmail.com wrote: Hi gents, I'm trying to

[android-developers] How to lock an application in android?

2011-10-21 Thread manoj
Hi, I would like to know is there any way to protect my app from not being used by the others except the owner who buys it? I mean I have an app. The user 'A' bought it from me. And the friends of 'A' can not run the app. The app shouldn't be installed/run on any other phones except who

[android-developers] how can i run ppt file in android

2011-10-21 Thread Abhishek Talwar
hey guys I have ppt in raw folder and i want to extract content from it and display it. Is there any api or sdk for this purpose?? Or to call the activity form other applications is the only way to handle this Or can i embed it in a webview?? How can i achieve this?? Thanks in advance -- You

Re: [android-developers] How to open inbox of mail account

2011-10-21 Thread Mark Murphy
On Fri, Oct 21, 2011 at 4:41 AM, Manikandan M c2dmdevelo...@gmail.com wrote: Intent mailClient = new Intent(Intent.ACTION_VIEW); mailClient.setClassName(com.google.android.gm, com.google.android.gm.ConversationListActivity); startActivity(mailClient); it is working for gmail accounts. Until

Re: [android-developers] How to lock an application in android?

2011-10-21 Thread Mark Murphy
Use the LVL: http://developer.android.com/guide/publishing/licensing.html On Fri, Oct 21, 2011 at 7:12 AM, manoj manojkumar.m...@gmail.com wrote: Hi, I would like to know is there any way to protect my app from not being used by the others except the owner who buys it? I mean I have an

Re: [android-developers] Best conception with new API ICS ?

2011-10-21 Thread Mark Murphy
On Fri, Oct 21, 2011 at 5:11 AM, arnouf arnaud.far...@gmail.com wrote: ICS introduces new components like switcher or Gridlayout for example. I suppose that Fragment API is working with this new component too. Those are simply widgets and containers, no different than CheckBox and LinearLayout.

[android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-10-21 Thread MobileVisuals
I solved this problem now for the morphed animation. I used a TreSet for the sorting. I made a Quad class and and added the quads to the treeset for each draw. The TreeSet then sorts them in an automatic way. It's not as fast as with real Point sprites and size attenuation, but the speed is OK.

Re: [android-developers] Re: Sqlite question

2011-10-21 Thread lbendlin
generally the ID (or _ID) field should contain unique values, being the designated primary key. -- 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: Date issue

2011-10-21 Thread sourabh sahu
I want to campare to dates from and to, but From EditText I am getting string and when I convert this to Date, it comes as miliseconds I want it in Date dd/mm/ format.How can I achieve this. Thanks, Sourabh On Fri, Oct 21, 2011 at 3:02 PM, midhun midhunvp midhu...@gmail.com wrote: you can

Re: [android-developers] Re: Change package name in eclipse

2011-10-21 Thread TreKing
When you can't find a class, you probably forgot to include it in your manifest. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices

[android-developers] SMS is auto-replied in a loop.

2011-10-21 Thread ntt broken
Hi, i wrote a simple android app that is auto reply. i want this to happen only once: device #1 - send sms - device#2 device#1 - auto reply text - device#2 the problem is that instead of answering with SMS only once, there's a loop that never ends of replying SMS to the device that sent the

[android-developers] Scaling Xperia X10 Mini and other scaling oddities

2011-10-21 Thread JP
Hi guys, I have a Layout Xml that is build up like this: - LinearLayout -- RelativeLayout Some Stuff -- RelativeLayout LinearLayout RelativeLayout MyLayout (extends RelativeLayout) Basically it is a view with a header, and a page with a top part in a LiniearLayout, a middle

Re: [android-developers] How to find the location (details ) using coordinates (longitude and latitude) values

2011-10-21 Thread TreKing
On Fri, Oct 21, 2011 at 2:00 AM, venugopal reddy venugopal.re...@tspl.comwrote: How to find the location (details ) using coordinates (longitude and latitude) values .. Google Geocoder - TreKing

[android-developers] Re: Best conception with new API ICS ?

2011-10-21 Thread arnouf
99% ??? I suppose that compatibility package targets Android 2.2 (2.3 ?) and later...so it should be less, shouldn't. Thanks Mark. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: WallpaperService.Engine.onOffsetsChanged() gone in ICS?

2011-10-21 Thread Darren K
HTC did this in the Sense 3.0 launcher as well. And I did get users emailing me and asking how to fix it. I had to tell them they were out of luck unless they wanted to download an alternate launcher from the Market. The ones who emailed me did understand that the problem was not my fault.

[android-developers] Strechable View

2011-10-21 Thread sourabh sahu
How to make Strechable view.I need UI just like My Files application on android.In which one view is strechable. Sample code is appreciated. Thanks, Sourabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: Best conception with new API ICS ?

2011-10-21 Thread Mark Murphy
On Fri, Oct 21, 2011 at 7:42 AM, arnouf arnaud.far...@gmail.com wrote: 99% ??? I will be surprised if much more than 1% is using the Android Compatibility Library (ACL) at this time. I suppose that compatibility package targets Android 2.2 (2.3 ?) and later...so it should be less, shouldn't.

Re: [android-developers] Cannot compile Compatibility Lib sample?

2011-10-21 Thread Mark Murphy
On Thu, Oct 20, 2011 at 10:01 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I downloaded the Version 4 CL, and trying to compile the Sample project (V4), but running into all kinds of compile issues, such as MenuItem.SHOW_AS_ACTION_IF_ROOM not defined until Level 11. - I create a New Project

Re: [android-developers] Strechable View

2011-10-21 Thread TreKing
On Fri, Oct 21, 2011 at 6:46 AM, sourabh sahu souruit...@gmail.com wrote: How to make Strechable view.I need UI just like My Files application on android.In which one view is strechable. Is everyone here supposed to know what My Files is, how it works, or what strechable means? You should add

Re: [android-developers] Cannot compile Compatibility Lib sample?

2011-10-21 Thread Kostya Vasilyev
Is that an integer constant? If so, it could just be defined in the library code for building with earlier SDK versions. Since integer constants are embedded, not referenced, the value used by the framework won't ever change, so it's safe. -- Kostya Vasilyev 21.10.2011 16:25 пользователь Mark

[android-developers] Is it possible to advertise payed apps on Android market?

2011-10-21 Thread MobileVisuals
I want to advertise my apps on Android market, but the Advertise this app is only available on the free apps from the Android market developer console. Isn't it possible to advertise the payed apps? What is the point of advertising a free app? I want to advertise something that give me revenue,

[android-developers] Re: SDK 4, if I select WXGA resolution, emulator doesn't start.

2011-10-21 Thread sblantipodi
I'm sorry but how can we test our app on ICS and WXGA resolution if the emulator doesn't work at all? Is there someone working from google on this issue? Is there an ETA for a fix? On Oct 20, 5:30 pm, sblantipodi perini.dav...@dpsoftware.org wrote: PS: I have an ultra-high end configuration so

[android-developers] Re: How to find the location (details ) using coordinates (longitude and latitude) values

2011-10-21 Thread String
And given this is the Android dev list: http://developer.android.com/reference/android/location/Geocoder.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Android 4, new developer section.

2011-10-21 Thread sblantipodi
If I asked it probably not. What is the allow mock location? How can I set a mock location? On Oct 21, 4:11 am, Marcin Orlowski webnet.andr...@gmail.com wrote: isn't info below each option sufficient? Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily

Re: [android-developers] Re: Android 4, new developer section.

2011-10-21 Thread Appaholics
Mock locations are fake locations you can pass to the device or emulator. You can set it through the command line. On Fri, Oct 21, 2011 at 6:36 PM, sblantipodi perini.dav...@dpsoftware.orgwrote: If I asked it probably not. What is the allow mock location? How can I set a mock location? On

[android-developers] Building V4 sample

2011-10-21 Thread Doug Gordon
I'm trying to build the Sample4Demos project (copied to my own workspace) with Android V4.0 as the target SDK. It is not building due to a number of errors of this type: The method onPageScrolled(...) of type FragmentTabsPager.TabsAdapter must override a superclass method. It seems to be

Re: [android-developers] Building V4 sample

2011-10-21 Thread Mark Murphy
You may have set up your project to compile using Java 1.5, where you could not use @Override for an implementation of a method defined on an interface. On Fri, Oct 21, 2011 at 9:39 AM, Doug Gordon gordo...@gmail.com wrote: I'm trying to build the Sample4Demos project (copied to my own

[android-developers] Re: copy from internal storage

2011-10-21 Thread Jeremy Dagorn
Try dir.mkdirs() instead of dir.mkdir(), because you have a path with \ in it. Best, On Oct 20, 6:13 pm, Ab Caballero a...@mac.com wrote: let me make this more readable. The stack trace isn't printing because no exception is being thrown. Its as if it works perfectly.  The logcat output

Re: [android-developers] Re: Date issue

2011-10-21 Thread Lew
This code will not always calculate a 'nextDate' that is precisely one week prior to 'date' because it uses the naive assumprion that every day is 24 hours long. (Don't feel bad. A few years ago I worked on a major tax-calculation system that had the same bug. Consequently it miscalculated

[android-developers] Re: Renderscript problems in SDK 14

2011-10-21 Thread RodneyJLambert
Paul, I am seeing the same problem on Windows and Linux systems. Even the sample projects like the RenderScript/MiscSamples project do not compile. It looks like the Android team modified this sample to have two packages and the old com.android.samples package has a root function that returns

[android-developers] Scrolling like a spreadsheet

2011-10-21 Thread Mark Phillips
I was reading this thread ( http://groups.google.com/group/android-developers/browse_thread/thread/0de5d5325a01fc53?pli=1) about scrolling a table like a spreadsheet, and one of the contributors offered some code, but it is based on a spreadsheet_layout in a file called spreadsheet.xml. I have

Re: [android-developers] Strechable View

2011-10-21 Thread sourabh sahu
Sorry! I want my application view should be similar to My File native application on android 2.2.In which view is divided into two parts.On the left part there is browser which shows files hierarchy and on click of a particular folder on the view on right side, its content gets displayed.We can

[android-developers] How to get the brand and name of the device

2011-10-21 Thread MobileVisuals
Is there any method that returns the brand and the name of the device? I mean for instance String brand= getBrand(); String name= getDeviceName(); This could for instance result in brand =Samsung and name =Galaxy S. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] How to get the brand and name of the device

2011-10-21 Thread Mark Murphy
See android.os.Build. On Fri, Oct 21, 2011 at 10:40 AM, MobileVisuals eyv...@astralvisuals.com wrote: Is there any method that returns the brand and the name of the device?  I mean for instance String brand= getBrand(); String name= getDeviceName(); This could for instance result in brand

Re: [android-developers] How to get the brand and name of the device

2011-10-21 Thread Kostya Vasilyev
Not quite like this, but take a look at: http://developer.android.com/reference/android/os/Build.html 21.10.2011 18:40, MobileVisuals пишет: Is there any method that returns the brand and the name of the device? I mean for instance String brand= getBrand(); String name= getDeviceName();

[android-developers] Re: Passing data back from Renderscript......

2011-10-21 Thread Rodney J Lambert
svlad, Do you mean in simple cases like: sample.rs #pragma version(1) #pragma rs java_package_name(com.yoururl.packagename) float4 someDataUsedInRs; // floats that we will set from Java and read back from Java. void printDataFromRs() { someDataUsedInRs.x += 1.0f; someDataUsedInRs.y

[android-developers] Can not find the address on the map in a real device (mobile phone)

2011-10-21 Thread Andrei
Good afternoon. In my application implements a search on the map. I test to it on an emulator (api 7), everything works. But it is necessary to put the application on the phone (api 8), the program provides that the address is not found (I am printing at the end of the dialogue is not found the

[android-developers] Slowdown when debugger is attached

2011-10-21 Thread Pepijn Van Eeckhoudt
In my project I've implemented a custom view that does a substantial amount of processing when rendering itself. When I attach the debugger to my application I'm experiencing so much slowdown that the application is essentially not useable anymore. Due to the increased time taken by certain

[android-developers] Last Day to save $400 on AnDevCon

2011-10-21 Thread Nathan
Who's going to AnDevCon II? You can save $200 by registering today, October 21st. You can save another $200 by using my speaker's discount code 'Mellor' when it asks for a discount code I'll be talking about making money on Android apps, but you don't have to go to my session; there are lots of

[android-developers] Re: Account Manager + OpenID

2011-10-21 Thread Jay
No one can help on this? In looking more closely through the docs, it appears that the answer to my first question is yes; the shared uid restriction applies when a third party app wants to manipulate the authenticators credentials directly. As for the second and third questions, I found this:

Fwd: [android-developers] Strechable View

2011-10-21 Thread sourabh sahu
Forwarded conversation Subject: Strechable View From: *sourabh sahu* souruit...@gmail.com Date: Fri, Oct 21, 2011 at 5:16 PM To: android-developers android-developers@googlegroups.com How to make Strechable view.I need UI just like My Files application on android.In

[android-developers] why my translate animation is not working??

2011-10-21 Thread ruchira
I am trying to apply translate animation to an imageview but it is not working.Plz help @Override public void onDraw(Canvas canvas) { Log.w(this.getClass().getName(),onDraw of Balls called); BallsOnDraw(canvas); } void BallsOnDraw(Canvas canvas) {

Re: [android-developers] Strechable View

2011-10-21 Thread sourabh sahu
I am looking for splitView kind of feature for 2.2.I dont want to use fragment. Thanks, Sourabh On Fri, Oct 21, 2011 at 9:36 PM, sourabh sahu souruit...@gmail.com wrote: Forwarded conversation Subject: Strechable View From: *sourabh sahu* souruit...@gmail.com

[android-developers] Re: Is it possible to advertise payed apps on Android market?

2011-10-21 Thread MobileVisuals
I got an answer from the android market support now. It is really good that I got an answer from them, but very strange that admob doesn't answer. It seems that it is not possible to advertise the payed apps. On Oct 21, 2:53 pm, MobileVisuals eyv...@astralvisuals.com wrote: I want to advertise

[android-developers] sqlite help

2011-10-21 Thread erik wagner
Hi, I am wondering if anyone has a simple SQLite app/example they can point to, provide or whatever. Just basically looking for an example that will connect to a database, and add or remove a record. Been trying to sift through the searchable dictionary example and currently not having much luck

Re: [android-developers] sqlite help

2011-10-21 Thread Mark Murphy
On Fri, Oct 21, 2011 at 1:31 PM, erik wagner erik.j.wag...@gmail.com wrote: I am wondering if anyone has a simple SQLite app/example they can point to, provide or whatever.  Just basically looking for an example that will connect to a database, and add or remove a record.  Been trying to sift

Re: [android-developers] Re: Is it possible to advertise payed apps on Android market?

2011-10-21 Thread TreKing
On Fri, Oct 21, 2011 at 12:26 PM, MobileVisuals eyv...@astralvisuals.comwrote: It seems that it is not possible to advertise the payed apps Did they care to explain why not? - TreKing

[android-developers] Re: How to get the brand and name of the device

2011-10-21 Thread MobileVisuals
Thanks, the Build class seems very useful! Build.BRAND returned Samsung on my Samsung Galaxy S. Can I rely on that Build.BRAND returns the right brand name on all devices? One of my apps uses point attenuation, which is not not supported on HTC and SE devices. So different code needs to be

Re: [android-developers] sqlite help

2011-10-21 Thread Joel Witherspoon
On Fri, Oct 21, 2011 at 10:33 AM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Oct 21, 2011 at 1:31 PM, erik wagner erik.j.wag...@gmail.com wrote: I am wondering if anyone has a simple SQLite app/example they can point to, provide or whatever.  Just basically looking for an example

[android-developers] FragmentPagerAdapter and handling screen orientation change

2011-10-21 Thread ZanshinG1
I have an overridden FragmentPagerAdapter using the compatibility package. I use it to page between 3 fixed fragments at the bottom of my phone layout in my main activity. It worked fine, until I added android:configChanges=keyboardHidden|orientation in my manifest. In order to make the

Re: [android-developers] Re: How to get the brand and name of the device

2011-10-21 Thread Kostya Vasilyev
On my Incredible S, BRAND is htc_wwe, while MANUFACTURER is HTC. I wonder what it returns on the Nexus One (manufactured by HTC, sold by Google?) I don't know how reliable this is, but. since this is provided by manufacturer, I'd operate under the assumption that it can and will be

[android-developers] Re: New SDK Manager (14) do not recognise JDK JAVA path on windows 7

2011-10-21 Thread Gregg Reno
I had this problem. Try this: - In Eclipse, select the Help - Check for Updates menu. If it updates the Android Developer Toolkit, great. That alone might do it - If that doesn't work, go to Help - Install New Software. - Click the drop down list and look for an item for

[android-developers] Re: sqlite help

2011-10-21 Thread erik wagner
Thanks Mark and Joel, very appreciated. Now I know what I will be doing this weekend g On Oct 21, 12:56 pm, Joel Witherspoon joel.withersp...@gmail.com wrote: On Fri, Oct 21, 2011 at 10:33 AM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Oct 21, 2011 at 1:31 PM, erik wagner

[android-developers] Re: Drop of active installs, surge of 1-star ratings

2011-10-21 Thread Dario Rapisardi
Same issue here, ridiculous drop of active installs in just 1 day but without the 1-star ratings. Everything else seems normal. On Oct 20, 6:54 am, binarytoys binaryt...@gmail.com wrote: Have same issue, but without 1-star ratings. But overall ratings number was slightly decreased. From other

[android-developers] Issue with selecting tabs

2011-10-21 Thread archerspara...@sixrq.com
I have a Tabbed application, single activity. I have developed and tested this fine with an HTC Desire and the emulator, all running API 8. Everything works fine, however now I have published the app to the market I have tried other devices and they are not working. I am unable to use the touch

[android-developers] Getting GlobalTime App to run.

2011-10-21 Thread Jay Hubbert
I am new to android but not to Java so I can kind of tell what is going on. I downloaded the GlobalTime App just to play around but notice that I am missing two packages that the Clock.java and GlobalTime.java are importing. The packages are: android.pim.DateUtils android.opengl.Object3D So do

[android-developers] Re: How to get Super user permission at App level ?

2011-10-21 Thread German Castignani
Hi, I've a similar issue while trying to trace the value of /sys/ devices/virtual/net/eth0/wireless/retries ... I read the file but a value of 0 is always given. But running as su in adb shell allows me to access, but anyway, it is not accessible from the application... Any idea for this ? On 22

[android-developers] Does android 4.0 ice cream sandwich support arabic natively (properly) ?

2011-10-21 Thread AhmadOOka
does it support arabic properly ? Right-to-left and connected characters and everything natively ? -- 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

[android-developers] How to get LoaderManager in a ListActivity

2011-10-21 Thread Himanshu Bansal
I am using compatibility package for implementing CursorLoader in API level 11 As per the doc, I have imported the support packages and implemented the LoaderManager.LoaderCallbacks, but next I have to call: getSupportLoaderManager() and for that one has to extend FragmentActivity, and then

[android-developers] Start taking more control

2011-10-21 Thread Alex
It's been said before that Google would try to stop the fracturing and reign in control. So far nothing has happened. I'm tired of not being sure when my particular phone will get an OS update if it will get one at all. This is extremely frustrating and I know I'm not the only one that feels

[android-developers] How to use android system freetype engine in native code

2011-10-21 Thread Shuren
My app has a .so library. To reduce the its size, I wanna use the system freetype engine. But I didn't find any freetype header files in Android NDK. Could the system freetype be use external? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Emulator shows pop-up The application OpenWnn (process jp.co.omronsoft.openwnn) has stopped unexpectedly. Please try again later

2011-10-21 Thread Surya
Emulator is working fine on my environment. But suddenly I noticed this pop-up that shows up quite frequently. There is no code change. Not sure why this pop-up shows up. I noticed the below exception in logcat. Any suggestion please? 10-20 14:45:01.522: ERROR/AndroidRuntime(417): FATAL

[android-developers] LG android optiums

2011-10-21 Thread Megan
Befor the upadate (version 2.3.3) i could charge my phone at my compter and going into the folders and add music and save pictures to my computer i took on my phone and since that update i plugged my phone to the computer and its not dectecting my phone. I dont know what to do, and am very

[android-developers] Re: VpnService problem

2011-10-21 Thread kornhornio
I ran into exactly the same problem. I suspect there's a piece missing from the SDK or from the emulator, but I'm not really sure how to verify that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Scaling Xperia X10 Mini and other scaling oddities

2011-10-21 Thread DanielCV
Hello JP, XPeria X10 mini resolution: 240x320 hope this helps On Oct 21, 9:35 am, JP jetp...@yahoo.com wrote: Hi guys, I have a Layout Xml that is build up like this: - LinearLayout -- RelativeLayout Some Stuff -- RelativeLayout LinearLayout RelativeLayout

[android-developers] Re: Connection refused - rest web service

2011-10-21 Thread Abhinaw
I was trying to call a webservice from my android application and I got the same issue in connecting then I found that Android does not allow to call a webservice on the main thread. I created a separate thread to call my webservice and it worked. You can also disable this need to create a

[android-developers] Re: USB Host API on XOOM tablet

2011-10-21 Thread Juraj Petrovic
Hi Anil, I have the same problem with Xoom and I have to say its fault of Motorola devs because I have created application depending on this for Acer Iconia A500 and it works great but In Xoom I have no usb device listed nor any intents received after plugging in usb device.. :// I use code

[android-developers] Detetc Touch Events When phone is locked

2011-10-21 Thread Hemant Chaudhari
Hello, I want to detect touch event when phone is locked. Is it possible or is there any work arround for it? -Hemant -- 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: SDK 4, if I select WXGA resolution, emulator doesn't start.

2011-10-21 Thread Emilio
I've tried everything I found on the web, even reinstalling ADT, and nothing happens: the emulator doesn't boot, for any target, not only 14. On Oct 20, 10:17 am, Mark Murphy mmur...@commonsware.com wrote: On Thu, Oct 20, 2011 at 8:12 AM, MN Mojo avayam...@gmail.com wrote: I am also seeing the

[android-developers] help required to handle the exception in android

2011-10-21 Thread Bukhari
Hi, I am beginner in android programming. I was trying to repeat the example which is described in the following video tutorial http://www.xtensivearts.com/2009/07/18/episode-3-using-buttons/ Every thing is going fine. But when i try to debug and run. My simulator gives me an error.

Re: [android-developers] LG android optiums

2011-10-21 Thread Appaholics
Check on a public forum specific to your phone or manufacturer. This list is for the Android SDK and related questions. Thanks On Fri, Oct 21, 2011 at 3:48 AM, Megan cmtjones...@gmail.com wrote: Befor the upadate (version 2.3.3) i could charge my phone at my compter and going into the folders

Re: [android-developers] Getting GlobalTime App to run.

2011-10-21 Thread Mark Murphy
What is this GlobalTime App? It looks like maybe it was from 2007, before we had an Android SDK, or something. On Fri, Oct 21, 2011 at 3:59 AM, Jay Hubbert hubbe...@gmail.com wrote: I am new to android but not to Java so I can kind of tell what is going on. I downloaded the GlobalTime App just

Re: [android-developers] How to use android system freetype engine in native code

2011-10-21 Thread Mark Murphy
There is an android-ndk Google Group that may be better able to answer your NDK question. On Fri, Oct 21, 2011 at 12:08 AM, Shuren bishu...@gmail.com wrote: My app has a .so library. To reduce the its size, I wanna use the system freetype engine. But I didn't find any freetype header files in

  1   2   >