Re: [android-developers] Is Chrome in android simulator supported?

2012-08-12 Thread Justin Anderson
The simulator is pretty dead. If something works in it, you are just lucky. :} I very much doubt chrome will work in it. Just to clarify, are we talking about the emulator? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Aug 11, 2012 at 10:16

Re: [android-developers] Is Chrome in android simulator supported?

2012-08-12 Thread Dianne Hackborn
I am talking about the simulator, not the emulator. :) On Sat, Aug 11, 2012 at 11:34 PM, Justin Anderson magouyaw...@gmail.comwrote: The simulator is pretty dead. If something works in it, you are just lucky. :} I very much doubt chrome will work in it. Just to clarify, are we talking

Re: [android-developers] Canvas or OpenGL

2012-08-12 Thread Simon Giddings
Thank you to every one for their responses. It would seem, however, that my question was not clear enough (you are right James). I am going to write a music notation app. So, will simply be writing the music score on the display - no animation needed. My question was about visual scaling -

Re: [android-developers] Canvas or OpenGL

2012-08-12 Thread RichardC
Canvas does zooming, scaling, rotation, translation etc. via stackable transformations see: http://developer.android.com/reference/android/graphics/Canvas.html and look for functions like: save restore scale translate setMatrix etc... On Sunday, August 12, 2012 9:44:47

[android-developers] Re: Get SMS

2012-08-12 Thread Ehsan Sadeghi
I use eclipse to debug but an error raise : Application SMS s waiting for the debugger to attach در شنبه 11 اوت 2012، ساعت 21:17:17 (UTC+4:30)، Ehsan Sadeghi نوشته: I create an activity activity android:name=.GetResponse

Re: [android-developers] Re: Get SMS

2012-08-12 Thread Justin Anderson
That isn't an error... that means you need to wait for your debugger to connect... When asking for help on here you might find this useful: http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html On Aug 12, 2012 4:23 AM, Ehsan Sadeghi esade...@gmail.com wrote: I use

Re: [android-developers] Canvas or OpenGL

2012-08-12 Thread Simon Giddings
Thank you Richard, I tried to find examples, without success. Do you know of any ? On Sunday, 12 August 2012 10:49:10 UTC+2, RichardC wrote: Canvas does zooming, scaling, rotation, translation etc. via stackable transformations see:

Re: [android-developers] Canvas or OpenGL

2012-08-12 Thread RichardC
There are some in ApiDemo samples. The Canvas functions work very much like OpenGL ES 1.0 in that you set up your transformations and then Paint/Draw on the Canvas. On Sunday, August 12, 2012 12:59:12 PM UTC+1, Simon Giddings wrote: Thank you Richard, I tried to find examples, without

[android-developers] Re: [XML] Setting a View background based on theme attribute crash the app.

2012-08-12 Thread Sébastien Brochet
Ok, it was a mistake. I have two themes.xml files, one for Honeycomb+, and one for Gingerbread-. I've only edited the file targeting Gingerbread-, and was testing on ICS... Sorry for the noise! Le samedi 11 août 2012 12:50:26 UTC+2, Sébastien Brochet a écrit : Dear Android experts, I'm

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

2012-08-12 Thread Jovish P
we are using a custom adapter only. in the adapter in getview method we are setting a tag for the first time. isSelected as false and on click we change the tag value as true and invalidating the listview with invalidateviews. so we are making ui changes in the row layout based on this tag

[android-developers] ScrollView and Gridview Problem, Result; Not scrolling

2012-08-12 Thread Mustafa Musa ÜLKER
Hello, I have a ScrollView problem. I want my whole screen scrolled but as I had long-textviews and elements it doesnt scroll. How can I create a scrollview that scrolls whole screen? Here is my layout: http://pastebin.com/MRtxP5wC Thanks -- You received this message because you are

[android-developers] Some tips on graphics for a coder coming from ActionScript

2012-08-12 Thread antonio brandao
Hello, I come to ask only for a few tips or merely a bit of guidance on my development for Android. I'm pretty skilled in ActionScript but completely new to Java. In this thread I ask how would I do some things in Java, providing the equivalent in AS. I intend to draw shapes on screen and

Re: [android-developers] Re: Android 4.1 Jelly Bean GIF Images Not Showing?

2012-08-12 Thread Daniel Dacila
I use now BitmapFactory.decodeResource() and then imageView.setImageBitmap() Should I consider changing to Bitmap.createScaledBitmap() or just moving the images to drawable-nodpi should be enough? Thanks. On Wednesday, July 11, 2012 7:50:14 PM UTC+2, Romain Guy (Google) wrote: The fix is

[android-developers] Re: Android SMS Limit

2012-08-12 Thread DNels
Hi, Still have this problem on Jelly Bean - but I think the settings location has moved. This fix does not currently work. Any ideas on how to fix it in 2012? Thx On Tuesday, November 3, 2009 4:31:26 AM UTC-6, Christopher wrote: Hi there, You'll only be able to override this limit if

[android-developers] Possible to do it on Android platform

2012-08-12 Thread Budd
Hi, I am totally new on Android development. I am just reading a book about it. I have a project and i am not sure if i can do all of them on Android platform. 1) Automatic run the application and full screen after power on (restart) 2) Full screen plays swf, video, picture (If it can, any delay

[android-developers] Re: On ICS, Stopped service can't receive an intent.

2012-08-12 Thread David Woods
Use this flag: intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES); On Tuesday, January 24, 2012 12:30:06 AM UTC-5, Ravi Pandey wrote: I have tried to design a Service in such a way that once it's receiver can receive the BOOT_COMPLETED intent , the service gets started. Basically the

[android-developers] Upgrading App

2012-08-12 Thread New App Man
I uploaded my app and I need to make some changes. How do i upload the updated apk file. I don't see any option to upgrade the current apk file in the console. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

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

2012-08-12 Thread Aristidis Papaioannou
Hi fibercode, It does indeed take some time for the fixed data to propagate, but it should be done soon (at which time the autoRenewing field will be correct). As Trevor mentioned, the underlying subscriptions have actually been fixed: they are actually active, and all but a very few will

[android-developers] AVD doesn't recognize physical device

2012-08-12 Thread Jack Mcslay
I have a Multilaser Elite tablet (Android version 2.3.3) I use for low-end hardware testing. Some time ago I started trying android development (back on SDK version 16) and successfully ran a few samples on the tablet. however, I tried again now and I'm having no success an having AVD accept

[android-developers] Re: Google Chart Tools not working in Android WebView

2012-08-12 Thread babu bujju
Hi, the link actually returns a png file, not a webpage. So you will have to download that file and show it in a imageview. something like below. import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection;

[android-developers] Using Bluetooth like NFC

2012-08-12 Thread Arpit Jain
Hi, I need to know whether modification in the software stack of bluetooth can be done, so that it will work as NFC. I know that these 2 operates at different frequency, so is there any frequency conversion approach available so that both can operate at same frequency. And what other things

[android-developers] Session cookie inside webview working on emulator, not on real devices

2012-08-12 Thread Celine Bursztein
Hi all, I am developing an android application and I try to login users from my server. In the login activity, I use DefaultHttpClient to get the session cookie. That works well. Then I sync the cookie using the CookieSyncManager. Again that works well. My main activity is a webview loaded

[android-developers] Cannot run on physical device

2012-08-12 Thread Jack Mcslay
I'm trying to run a test app on a Multilaser Elite tablet, and I can't get it to be recognized. On Linux Mint 13 I try and the running device list shows it an unknown device while on Windows 7 it doesn't detect the tablet at all! -- You received this message because you are subscribed to the

[android-developers] Re: Android 4.1 Jelly Bean GIF Images Not Showing?

2012-08-12 Thread Daniel Dacila
There is already an issue opened. http://code.google.com/p/android/issues/detail?id=34619 I also experience this bug. My reason for using gif instead of png was the much lower size of the images. Gifs size was half as for the pngs. On Tuesday, July 3, 2012 5:22:20 PM UTC+2, Josh F. wrote:

[android-developers] Android audio stream reading

2012-08-12 Thread AZL
I have played steamed audio using Android MediaPlayer Uri myUri = Uri.parse(http://pri-ice.streamguys.biz/pri1;); MediaPlayer mp = new MediaPlayer(); mp.setDataSource(this, myUri); // Go to Initialized state mp.setAudioStreamType(AudioManager.STREAM_MUSIC); mp.setOnPreparedListener(this);

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

2012-08-12 Thread Justin Anderson
we are using a custom adapter only. in the adapter in getview method we are setting a tag for the first time. isSelected as false and on click we change the tag value as true and invalidating the listview with invalidateviews. so we are making ui changes in the row layout based on this tag

Re: [android-developers] Upgrading App

2012-08-12 Thread Justin Anderson
When you log in to the console, do the following: 1. Click on the name of the app you want to upgrade 2. Click on the APK Files tab 3. Click the Upload APK button Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Aug 9, 2012 at 5:47 PM,

Re: [android-developers] ScrollView and Gridview Problem, Result; Not scrolling

2012-08-12 Thread Justin Anderson
As far as I can tell, the problem is that you have a GridView inside your ScrollView... You cannot put any sort of scrolling container, such as a GridView, ListView, etc inside a ScrollView without running into problems. http://stackoverflow.com/questions/4523609/grid-of-images-inside-scrollview

[android-developers] debugging why web app crashes my stock Android browser

2012-08-12 Thread Gelonida N
Hi, I'm having a web site (facebook game, login required) , which just crashes my browser rather predictably. I'd be really curious to find out how to debug this issue. Wiht debugging I mean to gather data, that could be used by the game developers to implement a work around or the

Re: [android-developers] ICS USB Host mode -- device permission exists after uninstall

2012-08-12 Thread IcedNet
thanks for the reminder, kris -- posted there as well, yea redundancy! Peace, Dan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

Re: [android-developers] ICS USB Host mode -- device permission exists after uninstall

2012-08-12 Thread Kristopher Micinski
I don't think it's redundant in this case, it would seem to go there better (for me), kris On Sun, Aug 12, 2012 at 1:24 PM, IcedNet d...@icednet.info wrote: thanks for the reminder, kris -- posted there as well, yea redundancy! Peace, Dan -- You received this message because you are

Re: [android-developers] ICS USB Host mode -- device permission exists after uninstall

2012-08-12 Thread IcedNet
Yes and no, it potentially causes failure for dev's (I expct behavior x from API and get behavior y) and is a failure for security reasons as well... ;) Thx again Peace, Dan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] ICS USB Host mode -- device permission exists after uninstall

2012-08-12 Thread Kristopher Micinski
I would argue that most devs here would just have that fly right over their heads though :-P On Sun, Aug 12, 2012 at 1:47 PM, IcedNet d...@icednet.info wrote: Yes and no, it potentially causes failure for dev's (I expct behavior x from API and get behavior y) and is a failure for security

Re: [android-developers] ICS USB Host mode -- device permission exists after uninstall

2012-08-12 Thread IcedNet
LOL Okay, That I will not argue! ;D -- 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] Re: Get SMS

2012-08-12 Thread Ehsan Sadeghi
I have this messages : 08-12 18:02:13.609: I/ActivityThread(458): Pub drm: com.android.providers.drm.DrmProvider 08-12 18:02:13.619: I/DownloadManager(458): in removeSpuriousFiles 08-12 18:02:13.799: D/dalvikvm(146): WAIT_FOR_CONCURRENT_GC blocked 0ms 08-12 18:02:13.969: D/dalvikvm(146):

[android-developers] Re: How to remove black topbar on activity animation?

2012-08-12 Thread bbbill
If you use Android 3.n and higher, it might help googeling for how to hide the ActionBar (instead of TitleBar). The ActionBar is appearently loaded with every UI of the recent versions, even if you do not define it within your code. Am Samstag, 11. August 2012 23:41:51 UTC+2 schrieb user123:

Re: [android-developers] Third-parties libraries license

2012-08-12 Thread Sergio Panico
Sure, but I thought that my doubt is faced to anyone have developed an application that uses Google Map library. Moreover, I don't refer to my specific case but to a general purpose practice that, i believe, an android developer more experienced than me should manage as well. In any case, i'm

Re: [android-developers] Hardware keyboard events are not intercepted by InputMethodService

2012-08-12 Thread Aleksandr Konstantinov
I was about to answer that this happens in stock browser too. This behavior was first detected at social site http://www.livejournal.com/ while my wife was tying to enter new message using stock browser. But before writing this answer I tried and could not reproduce problem with stock browser

[android-developers] Re: Android's InputMethodService does no get onKeyDown/Up if javascript is involved

2012-08-12 Thread Aleksandr Konstantinov
This post is duplicate of https://groups.google.com/forum/?hl=enfromgroups#!topic/android-developers/mjsi1rNm4-A . Sorry. -- 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] intent for using a file manager to save a file

2012-08-12 Thread Jim Graham
Which intent would I use to allow a user to open a file manager (user's choice), select a path and filename (given a default for each), and save the file (possibly in a new directory chosen/created by the user)? I'm fairly certain I've seen this, but I can't seem to find the right page in the

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

2012-08-12 Thread Johan Appelgren
So it looks like I'm missing something about how to unbind from a service. I thought that calling unbindService with the same ServiceConnection instance would be enough. Looking at the output from dumpsys it looks only partially unbound or something. I guess this explains why it is restarted.

Re: [android-developers] intent for using a file manager to save a file

2012-08-12 Thread Justin Anderson
AFAIK there isn't really an intent for this... You would either have to write your own file explorer or tap into one (or many) existing ones... To do the latter you would have to contact each developer to find out how they expect to receive the intent data to do that, if they support it at all.

[android-developers] Bitmap size exceeds

2012-08-12 Thread Numair Qadir
So, i was working on a project that loads an image from the gallery and set as background. It is working perfectly fine but crashes when i try to load a large image, i.e. 5 MP (2592х1944), 8mpx (3264x2448), 12 MP, 4000x3000 , here is my code: @Override protected void onActivityResult(int

Re: [android-developers] intent for using a file manager to save a file

2012-08-12 Thread Jim Graham
On Sun, Aug 12, 2012 at 05:42:34PM -0600, Justin Anderson wrote: AFAIK there isn't really an intent for this... You would either have to write your own file explorer or tap into one (or many) existing ones... To do the latter you would have to contact each developer to find out how they

Re: [android-developers] Bitmap size exceeds

2012-08-12 Thread Jim Graham
On Sun, Aug 12, 2012 at 04:48:14PM -0700, Numair Qadir wrote: So, i was working on a project that loads an image from the gallery and set as background. It is working perfectly fine but crashes when i try to load a large image, i.e. 5 MP (2592??1944), 8mpx (3264x2448), 12 MP, 4000x3000 ,

Re: [android-developers] intent for using a file manager to save a file

2012-08-12 Thread Kristopher Micinski
Did you check openintents? For non standard intents, you can you usually do a best try by looking for the common file managers and seeing if they have public intents for you to use, then scan the user's system and see if they have one of those installed, if so you can use it, and if not, you can

[android-developers] Automatically doing a map search

2012-08-12 Thread Jason Hsu
I've figured out how to get the map exercises from _The Busy Coder's Guide To Android Development_ to work. (This requires right-clicking on the project, going to Properties - Android and selecting a Google API as the target. It's also necessary to use the keytool command on the

Re: [android-developers] Canvas or OpenGL

2012-08-12 Thread James Black
I did it with DirectX 3D and my application took over the cpu while it was running, so I was able to easily meet the requirements, but on the Android an application can't hog the device as I had. My video refresh rate was just 30 fps, but looping through the audio part had to be much faster. On

[android-developers] Re: unable to open database file after OS upgrade

2012-08-12 Thread lishali
Only one user of our app also reported same issue, and she had clear the app data cache, uninstall our app and then re-install the app, but it's not working for her. When she open our app, the app crashed with the same excepiton unable to open database file 在

Re: [android-developers] Unsubscribe

2012-08-12 Thread dnkoutso
I am interested too. On Saturday, August 11, 2012 4:06:19 PM UTC-7, Andy dev wrote: Dianne, did you have any luck with that sample APK and reproducing the issue? Thanks On Friday, July 27, 2012 12:47:17 PM UTC+1, Kostya Vasilyev wrote: 2012/7/27 Jim Graham spook...@gmail.com On

[android-developers] Re: Launch navigation app with an Intent - [DS]

2012-08-12 Thread NayAnesh Gupte
You could use something like this: Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(http://maps.google.com/maps?saddr=20.344,34.34daddr=20.5666,45.345;)); startActivity(intent); You can use an actual street address instead of latitude and longitude. However this will

Re: [android-developers] How could i check the android device is rooted or not?

2012-08-12 Thread Asheesh Arya
here's the code to check it device is rooted or not private void checkExternalMedia () { // Check external media availability. This is adapted from // http://developer.android.com/guide/topics/data/data-storage.html#filesExternal boolean mExternalStorageAvailable =

[android-developers] prevent from reinitializing value

2012-08-12 Thread Sadhna Upadhyay
Hi everybody, can someone tel me how to prevent from reinitializing value when activity is re called i mean int i=0; and it became i=1; and when i called this activity again from its next activity then i should remain 1 not 0; -- You received this message because you are subscribed to

[android-developers] Re: How could i check the android device is rooted or not?

2012-08-12 Thread Chris Stratton
On Aug 7, 4:02 am, Ali Ahmadi aliahmadi1...@gmail.com wrote: all i want to know is How could i check the android device is rooted or not? please give me a code to check that in my application and warn user if the device is not rooted! It is ultimately not possible to do so with certainty.