[android-developers] Re: SurfaceView vs View (Canvas Size?)

2011-05-27 Thread Frank
Thank you very much, Dianne. So if I do use View and I have to redraw it in onDraw while scrolling, how can I make the drawing process as fast as possible? Basically, I have a whole bunch of tile buffers available and I just need to piece them together onto View's Canvas based on the scroll pos

[android-developers] Re: LVL test account changes?

2011-05-27 Thread Zsolt Vasvari
Duh, ignore just what I said -- it's the same as before... On May 28, 2:38 pm, Zsolt Vasvari wrote: > Am I just imagining things but it now looks like Google is returning > proper LVL extras even when using a test account?  The license > validity appears to be set for a minute or so.  Before, it

[android-developers] LVL test account changes?

2011-05-27 Thread Zsolt Vasvari
Am I just imagining things but it now looks like Google is returning proper LVL extras even when using a test account? The license validity appears to be set for a minute or so. Before, it would not return any extras, so you could never properly test your LVL with a test account. -- You receive

[android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Scythe
Ah, at last I can try out the shiny new CarouselExample. Thanks! On May 28, 4:42 am, Zsolt Vasvari wrote: > Is the SDK 3.1 V2 just released related to this? > > On May 28, 7:25 am, Xavier Ducrohet wrote: > > > > > > > > > oops wrong links. Here are the good ones: > > >https://dl-ssl.google.com/a

RE: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-27 Thread Christopher Van Kirk
I think you're confusing a project management methodology with an architecture. Design is an architectural concern, and has nothing intrinsically to do with delivery dates or management philosophies. The analogies were to point out the flaw in your logic. The house, car and work animals require a s

[android-developers] Re: java.lang.ArrayStoreException on Honeycomb device (Acer Iconia A500)

2011-05-27 Thread Emanuel Moecklin
Thanks for your analysis. It's definitely a weird one. I got more strange crash reports from Acer Iconia A500 3.0.1 devices which could indicate that either Acer did some weird stuff or 3.0.1 is "special". I'll keep an eye on it. On May 27, 3:56 pm, Kostya Vasilyev wrote: > This doesn't have to d

[android-developers] Re: java.lang.ArrayStoreException on Honeycomb device (Acer Iconia A500)

2011-05-27 Thread Emanuel Moecklin
Can't debug it because it's a market crash report. I tried to reproduce it but no "luck" so far. Although I did try it on 3.0 and 3.1 only (where do I get 3.0.1 anyway?) On May 27, 2:35 pm, Streets Of Boston wrote: > Debug it. > put getCell(i) into a variable and see what that variable is. > And

[android-developers] Re: echo cancellation

2011-05-27 Thread Spiral123
wear headphones On May 27, 12:52 am, neha jain wrote: > thanx 4 rply... > but if i turn down volume control thn will not be able to hear playbackd > voice. > and how to seperate mic and speaker .. > > > > > > > > On Thu, May 26, 2011 at 3:19 PM, Ashwani Kumar wrote: > > When the mic can hear the

[android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Zsolt Vasvari
Is the SDK 3.1 V2 just released related to this? On May 28, 7:25 am, Xavier Ducrohet wrote: > oops wrong links. Here are the good ones: > > https://dl-ssl.google.com/android/repository/platform-tools_r03-windo...https://dl-ssl.google.com/android/repository/platform-tools_r03-macos...https://dl-ss

[android-developers] Cannot connect to VM

2011-05-27 Thread bob
I am getting this error of "Cannot connect to VM". Anyone know what causes this or how to fix it? Thanks. -- 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 unsubscr

Re: [android-developers] canonicalToCurrentPackageNames and currentToCanonicalPackageNames

2011-05-27 Thread Dianne Hackborn
SDK developers shouldn't care about these. On Fri, May 27, 2011 at 5:27 PM, Edmund wrote: > Hi, > > I am working on an Android 2.1 (API Level 7) device. The > canonicalToCurrentPackageNames() and currentToCanonicalPackageNames() > functions are API Level 8 (2.2) and above. Is there any way I can

Re: [android-developers] Killing Background Processes

2011-05-27 Thread Dianne Hackborn
No there is just the old, brutal force stop API. On Fri, May 27, 2011 at 5:22 PM, Edmund wrote: > Hi, > > I am working with an Android 2.1 Device (API Level 7). I know that in > API Level 8, you can call PackageManager's > killBackgroundProcesses(String packageName) to kill background > processe

[android-developers] Problem while inserting webview inside the progress dialog for twitter

2011-05-27 Thread Abhishek Soni
Hello everyone, I am trying to implement twitter sharing for my application. I have used the progessdialog with webview inside it for the twitter login. I am using browser type of application so that once i am successfully logged in, Twitter will send me to the callback url which is of my webpage.

[android-developers] canonicalToCurrentPackageNames and currentToCanonicalPackageNames

2011-05-27 Thread Edmund
Hi, I am working on an Android 2.1 (API Level 7) device. The canonicalToCurrentPackageNames() and currentToCanonicalPackageNames() functions are API Level 8 (2.2) and above. Is there any way I can accomplish that functionality in Android 2.1? Thanks, -- Edmund Chang -- You received this message

[android-developers] Killing Background Processes

2011-05-27 Thread Edmund
Hi, I am working with an Android 2.1 Device (API Level 7). I know that in API Level 8, you can call PackageManager's killBackgroundProcesses(String packageName) to kill background processes of packages. Is there a way to accomplish this in API Level 7? Thanks, Edmund Chang -- You received this

Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Streets Of Boston
Success!!! Thank you! You are awesome :-) Have a great memorial day weekend! -- 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 ema

Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Streets Of Boston
Alas, same result... it still doesn't work. still the same result, the error that the cache-file cannot be opened: 05-27 20:12:11.220: WARN/bcc(9334): Unable to open /data/data/com.android.rs.helloworld/cache/@com.android.rs.helloworld:raw@helloworld.oBCCin read mode. (reason: No such file or

[android-developers] Re: help: all threads have the same pid, tid, same priority

2011-05-27 Thread fadden
On May 25, 5:17 pm, redmapleleaf wrote: > Thread t = new Thread(r); > t.start(); > > then a new thread should be created off of the parent process. Is this > not true? A new thread is created that executes Thread.run(). If you do exactly what you have typed above, you will create a new Thread wh

[android-developers] Re: v4 Fragments library VerifyError crash

2011-05-27 Thread fadden
On May 26, 1:57 am, Dave Johnston wrote: > Aye, I'm going to try enabling/disabling certain optimisation passes > and see if I can isolate the one causing this issue. Methods that are only referenced via reflection may be dropped as "dead". If that's what's happening here, there's a way to speci

Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Streets Of Boston
No inconvience :-) Thanks for the update. I'm going to try it out asap. -- 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

Re: [android-developers] Re: Error when i open socket and enter data to be send

2011-05-27 Thread Miguel Morales
Did you read the link I sent? What have you tried? On Fri, May 27, 2011 at 3:18 PM, ingy abbas wrote: > What i must add to this code > public void appendText(View view){ >Text.append( "\n In chat "); > >try{ >// while (true) >//{ > >sentence=inputfld.getTe

Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Xavier Ducrohet
oops wrong links. Here are the good ones: https://dl-ssl.google.com/android/repository/platform-tools_r03-windows.zip https://dl-ssl.google.com/android/repository/platform-tools_r03-macosx.zip https://dl-ssl.google.com/android/repository/platform-tools_r03-linux.zip On Fri, May 27, 2011 at 4:24

Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Xavier Ducrohet
hey, we found an issue in the packaging that are delaying things. However, here's a workaround, by downloading the previous platform-tools, revision 03, which contains the compiler we used in 3.0 Links: https://dl-ssl.google.com/android/repository/platform-tools_r04-windows.zip https://dl-ssl.goo

Re: [android-developers] SurfaceView vs View (Canvas Size?)

2011-05-27 Thread Dianne Hackborn
You shouldn't put a SurfaceView inside of a ScrollView or other such container. Since a surface view is actually creating a separate window that is positioned along with your window and provides the surface, those kinds of interactions just won't work. The way a scroll view works is that it expec

Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Streets Of Boston
Hi Xav, Were you able to deploy a fix? -- 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...@g

[android-developers] Re: Error when i open socket and enter data to be send

2011-05-27 Thread ingy abbas
What i must add to this code public void appendText(View view){ Text.append( "\n In chat "); try{ // while (true) //{ sentence=inputfld.getText().toString(); sentence1="ing"; Text.append( "\n DataStream creating"); outToServer.wr

[android-developers] SurfaceView vs View (Canvas Size?)

2011-05-27 Thread Frank
Hi All, I am writing an application that needs to put a View inside a ScrollView. Since View is used to display some content that is very long, I do View.setMeasuredDimension(width, large_height) in View's onMeasure() callback function. I noticed that no matter how high the View is, its Canvas si

Re: [android-developers] Error when i open socket and enter data to be send

2011-05-27 Thread Miguel Morales
You need to read: http://developer.android.com/resources/articles/painless-threading.html Also, put some more effort into your questions don't just dump some log text. On Fri, May 27, 2011 at 1:46 PM, ingy abbas wrote: > 05-27 23:34:12.933: INFO/ActivityThread(311): Pub > com.android.deskclock:

Re: [android-developers] KEYCODE COLON?

2011-05-27 Thread Dianne Hackborn
I don't know of any device that has a colon key (that is why there is no keycode for it). Generally this is generated by shifting with another key, such as shift-; on a PC keyboard. On Fri, May 27, 2011 at 2:08 AM, SJ wrote: > Anyone knows how to send KEYCODE COLON? ":" > > According to > http:

Re: [android-developers] sensorLandscape orientation and disabled "auto-rotate screen" preference (Honeycomb)

2011-05-27 Thread Dianne Hackborn
No the point of this config is to allow it to rotate with the sensor. The user can still lock the screen to one orientation. On Fri, May 27, 2011 at 2:28 AM, clemp6r wrote: > Hi, > > My Honeycomb app uses the sensorLandscape orientation. On my tablet, > when I uncheck the "auto-rotate screen" p

[android-developers] Immediate need of Business Analyst with Utility background in Miami,FL

2011-05-27 Thread Emraaz khan
Hello, Hope you are doing well. I am a technical recruiter with Panzer Solutions LLC Software Implementing and IT consulting company located in CT. Please go through the Job Description and send me your updated resume with contact information. *Please reply at emr...@panzersolutions.com * Title

[android-developers] Error when i open socket and enter data to be send

2011-05-27 Thread ingy abbas
05-27 23:34:12.933: INFO/ActivityThread(311): Pub com.android.deskclock: com.android.deskclock.AlarmProvider 05-27 23:40:10.814: ERROR/ActivityManager(61): ANR in yaraby.y (yaraby.y/.yaraby) 05-27 23:40:10.814: ERROR/ActivityManager(61): Reason: keyDispatchingTimedOut 05-27 23:40:10.814: ERROR/Acti

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-27 Thread Indicator Veritatis
That is a good example of the many cases where it is NOT a good thing to do as IOS does! On May 26, 2:05 pm, Dianne Hackborn wrote: > On Thu, May 26, 2011 at 1:46 PM, dipu wrote: > > Developing apps for android is fun. I just do not want to put a nail > > on every null to avoid force close. Now

[android-developers] Re: Bluetooth is driving me nuts -- Galaxy tab lockups and pairing stupidity

2011-05-27 Thread Indicator Veritatis
In my experience, Bluetooth is often a little flaky, requiring pairing when already paired, timing out before the user has the chance to enter the code, etc. But I haven't seen anything quite as bad as what you describe for the Galaxy Tab, and the flakiness I have seen never seemed specific to Andr

Re: [android-developers] Immediate need of Mainframe Technical Lead/Developer

2011-05-27 Thread TreKing
Can a moderator please boot this spammer? - TreKing - Chicago transit tracking app for Android-powered devices -- You received this message because

[android-developers] Immediate need of Mainframe Technical Lead/Developer

2011-05-27 Thread Emraaz khan
Hello, Hope you are doing well. I am a technical recruiter with Panzer Solutions LLC Software Implementing and IT consulting company located in CT. Please go through the Job Description and send me your updated resume with contact information. *Please reply at emr...@panzersolutions.com * Title

Re: [android-developers] Re: Two-way listeners/observers

2011-05-27 Thread Kostya Vasilyev
It's just a shortcut: public final void runOnUiThread(Runnable action) { if (Thread.currentThread() != mUiThread) { mHandler.post(action); } else { action.run(); } } to post a Runnable to the UI thread's handler. -- Kostya 2011/5/27 Oceanbl

Re: [android-developers] Re: java.lang.ArrayStoreException on Honeycomb device (Acer Iconia A500)

2011-05-27 Thread Kostya Vasilyev
This doesn't have to do with the types or null-ness of objects going into the map, but rather with the implementaiton internals of LinkedHashSet. LinkedHashMap . addNewEntry, line 193: http://www.google.com/codesearch/p?hl=ru#cZwlSNS7aEw/libcore/luni/src/main/java/java/util/LinkedHashMap.java&q=L

[android-developers] Re: Two-way listeners/observers

2011-05-27 Thread Oceanblue
Thanks for the links. Your code clarifies things a lot. Thinking about Handler/HandlerThread made me wonder about something... Activity class provides a method called runOnUIThread(), which seems to me a very straight-forward way to execute commands emanating from other threads, on UI thread. Is t

[android-developers] Re: java.lang.ArrayStoreException on Honeycomb device (Acer Iconia A500)

2011-05-27 Thread DanH
Offhand it looks like some sort of system bug, but hard to tell where -- Map source code, interface method resolution, heap management -- could be anywhere. (But one thing to beware of is multithreading -- Only HashTable is thread-safe, and HashMap/HashSet can be tied in a knot if modified asynchr

[android-developers] cookies?

2011-05-27 Thread bob
I've got this code for downloading a web page: public static String getStringFromURL(String src) { BufferedReader in = null; String page = null; HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet();

[android-developers] Re: java.lang.ArrayStoreException on Honeycomb device (Acer Iconia A500)

2011-05-27 Thread Streets Of Boston
Debug it. put getCell(i) into a variable and see what that variable is. And it seems that during run-time something is about to be stored in a LinkedHash*Map* (and not in LinkedHashSet as shown in your code). -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] ActionBar tabs - dynamic setIcon()

2011-05-27 Thread Vertifi Software
I'd like to use an ActionBar tab that has a text title of "Messages", and use setIcon() with a custom drawable to show an "unread messages count" ... a little red bubble with a number inside. This will attact a users attention to the tab, letting them know there are messages to be read. No proble

Re: [android-developers] Slow motion video

2011-05-27 Thread New Developer
Anyone got an idea how to implement slow motion ? or at least slow down the playback of a video ? thanks in advance On May 24, 2011, at 7:19 PM, TheBear wrote: > I am able to play back video using the mediaplayer with the standard > video control buttons. > > My question is how can I use a s

[android-developers] java.lang.ArrayStoreException on Honeycomb device (Acer Iconia A500)

2011-05-27 Thread Emanuel Moecklin
I get the following exception: java.lang.ArrayStoreException: java.util.LinkedHashMap$LinkedEntry cannot be stored in an array of type java.util.HashMap$HashMapEntry[] at java.util.LinkedHashMap.addNewEntry(LinkedHashMap.java:193) at java.util.HashMap.put(HashMap.java:412)

Re: [android-developers] switching from one app to another

2011-05-27 Thread Justin Anderson
*> I have an app that opens a web browser, but after awhile I want the app to switch from the web browser back to itself. Is there an easy way to do this?* * * Technically, I can think of a way to do this, but I agree with Mark (so I'm not going to explain how). You should use a WebView in your a

Re: [android-developers] Re: Bluetooth is driving me nuts -- Galaxy tab lockups and pairing stupidity

2011-05-27 Thread Kristopher Micinski
Iirc qualcomm is working on their own hugh level ad hoc networking stack. Ill try to remember the name, but you might google around for it (I don't know if it materialized.) On May 27, 2011 12:16 PM, "keyeslabs" wrote: I think I've come up with a pretty good interim solution (until nfc) to the a

[android-developers] Re: The following classes could not be found: fragment

2011-05-27 Thread mlevin
Awesome -- thanks! I'll give that a try. On May 26, 4:05 pm, Tor Norbye wrote: > In the I/O demo we were showing a snapshot build of ADT 11. It hasn't > been released yet, but you can download a milestone build > fromhttp://tools.android.com/download > > And yes, that milestone build contains th

Re: [android-developers] Adapting BluetoothChat Example for One Server and Multiple Clients

2011-05-27 Thread Kristopher Micinski
It doesn't work well in general, this seems to be something buggy going on (and even worse if it's not all the same phone). This has been discussed previously on the list, search around, I'll post some links later. But in general, there's not much I've seen that can be done for this scenario (I got

Re: [android-developers] Re: Animation transition between activities in ActivityGroup?

2011-05-27 Thread Dianne Hackborn
Those are for window animations, which are applied to an entire window. These activities are all put inside of one window so it is a completely different situation. Consider looking at the Fragment APIs in the support library, this is the new replacement for ActivityGroup. On Fri, May 27, 2011 a

Re: [android-developers] Multiple overlay on the map

2011-05-27 Thread TreKing
On Fri, May 27, 2011 at 3:14 AM, thavorac chun wrote: > what is the problem ?? 500 items would be the first problem. Do you really need that many items on the map at once? Second, I don't see a call to populate() in your code. If you're calling populate() with each call to addOverlay(overlayItem

Re: [android-developers] Re: Widget-specific Preferences

2011-05-27 Thread Kostya Vasilyev
True. The initial values are set by onSetInitialValue, which is called during initialiation (the last phase, onAttachedToHierarchy). Resetting the values after adding preferences to the activity should work, although might require some knowledge in the activity about what the default values are. B

Re: [android-developers] Re: Two-way listeners/observers

2011-05-27 Thread Kostya Vasilyev
Agreed. If the service is local, you can just direct Java method calls to communicate, either your own scheme, or these guys: http://developer.android.com/reference/java/util/Observable.html But a direct Java method call won't switch threads for you. For posting an event to the UI thread, your

Re: [android-developers] How to use ProgressDialog(Context,theme) ??

2011-05-27 Thread TreKing
On Thu, May 26, 2011 at 11:21 PM, MOHIT SHARMA wrote: > i tried to pass PROGRESSDIALOG.STYLE_HORIZONTAL in theme but nothing > happens . > That's not a theme - that's for this: http://developer.android.com/reference/android/app/ProgressDialog.html#setProgressStyle(int) -

[android-developers] Re: Bluetooth is driving me nuts -- Galaxy tab lockups and pairing stupidity

2011-05-27 Thread keyeslabs
I think I've come up with a pretty good interim solution (until nfc) to the adhoc comm issue, using qr codes and bt spp. It looks like it's going to require lots of fine-tuning for individual devices though, which just sucks. I've tried a number of different approaches, including bonjour over wif

[android-developers] Re: A little Hi and our old "Unable to establish" connections...

2011-05-27 Thread droidGUI
Hi Michael, now works, thanks! now i receive OK messages of connections from LogCat; but now i'm confusing in how redirect messages from emulator to another OSC client in my computer (i'm reading http://developer.android.com/guide/developing/devices/emulator.html#console, but i'm still very confus

[android-developers] Re: Widget-specific Preferences

2011-05-27 Thread Jake Colman
Actually, the reason we went down this path in the first place was because if I did not reset the keys during the inflation process the Preference Screen did not reflect the current values. I can still use a second pass, however, inside of onCreate() but after inflation to reset the dependent key

[android-developers] Re: Two-way listeners/observers

2011-05-27 Thread Streets Of Boston
Yes, that's possible. You'd have to take care of the threading issues, though (avoiding race conditions or deadlocks, etc). -- 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@googlegroup

[android-developers] Re: Text scaling properly on two different mdpi devices (Evo, and Galaxy Tab 10.1)

2011-05-27 Thread Mike
Robert, one thing I have done to mitigate this problem is have special code in my onCreate that checks for "table-like" resolutions (e.g., width or height > 854) and then do perform a scaling function on the text sizes of those TextViews that need it. It works, but makes assumptions I would not l

[android-developers] Re: Widget-specific Preferences

2011-05-27 Thread Jake Colman
Kostya, You did not waste my time at all! First of all, this was a great learning opportunity. Second of all, the suggestion was great - this should have worked! Maybe I need to do a second pass, somehow, to reset the dependent keys. But if I need a second pass, maybe I just do it all at that

[android-developers] Re: Two-way listeners/observers

2011-05-27 Thread Oceanblue
@Kostya: Thanks for your answer. Based on your answer, Handler does sound better that AsyncTask for this. I looked a little bit into HandlerThread, probabaly have to try it out to understand it fully. One question though, forgetting about the whole native thing for a moment... even if there are tw

Re: [android-developers] Re: getFilesDir() throws NullPointerException

2011-05-27 Thread Mark Murphy
On Fri, May 27, 2011 at 10:31 AM, Marco wrote: > On 2011-05-27 Mark Murphy wrote: > >> ProblematicClass should not extend Activity. > > Then methods like getFileDir(), openFileInput(), … are not > defined. That's the reason why I extended Activity. You cannot create new Activity instances via th

Re: [android-developers] Re: Widget-specific Preferences

2011-05-27 Thread Kostya Vasilyev
Jake, I just tried it with a simple test, and yes, I get the same exception. The reason is that setDependency() tries to register the dependency right away, and doesn't find the depndency because the process of loading preferences from XML hasn't completed yet (which it does not check). It *might

[android-developers] Re: Animation transition between activities in ActivityGroup?

2011-05-27 Thread imran ali
it is not working for Activity group. As i found after google, in case of ActivityGroup we have to do some thing with localActivityManager. that i am unable to do presently. Regards Imran ali On May 27, 3:19 am, TreKing wrote: > On Thu, May 26, 2011 at 8:15 AM, imran ali wrote: > > I am usi

[android-developers] Adapting BluetoothChat Example for One Server and Multiple Clients

2011-05-27 Thread polyclefsoftware
I'm attempting to adapt the BluetoothChat example that comes with the SDK to a single-server, multiple-client configuration. I'm having issues and hope someone can help. I've created two distinct apps, a server and a client, rather than have a single app function as both server and client, as i

Re: [android-developers] Simpler UI Development with Android-Query

2011-05-27 Thread Olivier Guilyardi
Hello Peter, It's a nice idea and project. I haven't tried AQuery yet, but I have a little remark. In your examples there is: aq.id(R.id.icon).image(R.drawable.icon).visible().clicked(this, "someMethod"); I'm not a big fan of this clicked() function. The problem is that the java compiler cannot

[android-developers] Re: Mac or PC for development

2011-05-27 Thread neuromit
I purchased a MacBookPro 6 months ago and I like it but there are things I definitely miss about my old thinkpad. If you think you'll ever want to develop for the iphone or ipad then you should get the mac. Otherwise get the PC and save some money. On May 27, 10:34 am, Marcin Orlowski wrote: >

[android-developers] Looking for Documentum Admin in Nashville,TN

2011-05-27 Thread Emraaz khan
Dear Professional, Hope you are doing well. I am a technical recruiter with Panzer Solutions LLC Software Implementing and IT consulting company located in CT. Please go through the Job Description and send me your updated resume with contact information. *Please reply at emr...@panzersolutions.c

Re: [android-developers] Mac or PC for development

2011-05-27 Thread Marcin Orlowski
On 27 May 2011 16:06, Raghav Sood wrote: > I will mainly be using it for development purposes. I will be working > on android mainly. Which one should I buy? I will also be working with > a lot of the other languages such as python, ruby, java etc. > PC shall be cheaper so you will have some sp

[android-developers] Re: getFilesDir() throws NullPointerException

2011-05-27 Thread Marco
On 2011-05-27 Mark Murphy wrote: > ProblematicClass should not extend Activity. Then methods like getFileDir(), openFileInput(), … are not defined. That's the reason why I extended Activity. How to get access to these methods correctly? Marco -- You received this message because you are subs

Re: [android-developers] Mac or PC for development

2011-05-27 Thread Nikolay Elenkov
On Fri, May 27, 2011 at 11:06 PM, Raghav Sood wrote: > Hi all, > > I am going to buy a new machine. Either the Macbook pro 15' baseline > or a PC with the same specs. > > I will mainly be using it for development purposes. I will be working > on android mainly. Which one should I buy? I will also

Re: [android-developers] Re: getFilesDir() throws NullPointerException

2011-05-27 Thread Mark Murphy
ProblematicClass should not extend Activity. On Fri, May 27, 2011 at 9:10 AM, Marco wrote: > Thanks for the very fast response. > >> The  only reason  I can  think of  for getFilesDir()  to >> return null is if it's not a real live Activity instance >> (you created it via new MyActivity() instead

[android-developers] Mac or PC for development

2011-05-27 Thread Raghav Sood
Hi all, I am going to buy a new machine. Either the Macbook pro 15' baseline or a PC with the same specs. I will mainly be using it for development purposes. I will be working on android mainly. Which one should I buy? I will also be working with a lot of the other languages such as python, ruby,

[android-developers] Re: Widget-specific Preferences

2011-05-27 Thread Jake Colman
Kostya/String, Is nothing ever easy? So close, yet so far... :-) Some of my preferences have dependent keys. Since the keys are being renamed to be widget-specific I, of course, have to rename the dependent keys accordingly as well. Pref2 is dependent on Pref1. Pref1 comes through my overri

[android-developers] webview autoclick

2011-05-27 Thread bob
Let's say you have a Webview with a button in it that says "Tweet". Is there a way to automatically click that button? Thanks. -- 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@googlegr

[android-developers] Immediate need of Java Developer // Chicago,IL // GC/CITIZEN

2011-05-27 Thread Emraaz khan
Hello, Hope you are doing well. I am a technical recruiter with Panzer Solutions LLC Software Implementing and IT consulting company located in CT. Please go through the Job Description and send me your updated resume with contact information. Title : Java Developer Loca

[android-developers] Re: getFilesDir() throws NullPointerException

2011-05-27 Thread Marco
Thanks for the very fast response. > The only reason I can think of for getFilesDir() to > return null is if it's not a real live Activity instance > (you created it via new MyActivity() instead of starting > it with startActivity(), you call getFilesDir() sometime > after the activity is des

Re: [android-developers] getFilesDir() throws NullPointerException

2011-05-27 Thread Mark Murphy
The only reason I can think of for getFilesDir() to return null is if it's not a real live Activity instance (you created it via new MyActivity() instead of starting it with startActivity(), you call getFilesDir() sometime after the activity is destroyed, etc.). On Fri, May 27, 2011 at 8:00 AM, Ma

[android-developers] Android client with .NET + CQRS Back-end example available

2011-05-27 Thread Kallex
In case someone is interested in using Android as a client for .NET with CQRS back-end, we have an example that simplifies the development of such architecture. We're going to add automatic Android UI generation based on CQRS architecture as well, but I figured to drop by and share the already

[android-developers] getFilesDir() throws NullPointerException

2011-05-27 Thread Marco
Dear list, calling getFilesDir() in my main activity works as expected, but if I call it later from another class it throws a NullPointerException: D/AndroidRuntime( 716): Shutting down VM W/dalvikvm( 716): threadid=1: thread exiting with uncaught exception (group=0x40015560) E/Andr

[android-developers] Launch via URL issue

2011-05-27 Thread abhay mulye
Hi All, I have an application which gets launched on the URL click. Now if i get an SMS or in Calendar event i have a URL and i click on the link to launch the application it works fine; i see splash screen followed by login screen. Then If i long home and go back to the SMS or Calendar it displa

[android-developers] Re: How to run app on command shell?

2011-05-27 Thread String
Android doesn't have a concept of "run an app". Depending on the app in question, "running" it may involve starting one of its Activities, displaying AppWidgets, invoking BroadcastReceivers, etc., etc. What Android does have is a concept of is "send an intent to a package". So in order to kick

Re: [android-developers] Rtsp Http Streaming

2011-05-27 Thread Filiz Gökçe
I can upen this file in vlc player. But same problem still continue PVMFInfoErrorHandlingComplete error. I also tryed android 1.6 , anroid 2.1 and android 2.3 devices. Filiz Gökçe On 26 May 2011 18:27, dan raaka wrote: > If this is a generic issue - please file a bug under b.android.com > >

[android-developers] Returning Activity object from createTabContent method of TabHost.TabContentFactory instead of View object

2011-05-27 Thread chibex
I have a TabActivity that implements TabHost.TabContentFactory interface and Overrides createTabContent method which returns View object. My question is: How can I return an activity object from the createTabContent method instead of View object. I don't want to inflate the view from xml because m

[android-developers] Re: What is the best way to upgrade database version with loosing stored data in database?

2011-05-27 Thread DanH
http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html#onUpgrade%28android.database.sqlite.SQLiteDatabase,%20int,%20int%29 Every tutorial I've seen on Android SQLite has mentioned this. On May 27, 5:32 am, Pranav wrote: > Hi all, > > I have created a database file(m

[android-developers] What is the best way to upgrade database version with loosing stored data in database?

2011-05-27 Thread Pranav
Hi all, I have created a database file(myapp.db) using SQLite Browser and i am accessing it from assets/ folder in my project. The application has more than 25 tables and each table contains more than 20 fields. The application sends request to the server and get the response in the form of JSON s

[android-developers] java.lang.UnsatisfiedLinkError : Couldn't load jpcap

2011-05-27 Thread Viju
Hi, I was trying to make a simple packet sniffer application in Android using Jpcap. I have added the jpcap.jar in my project. i.e. Java Build Path --> Libraries --> Add External Jars : But still am not able to run my application. its getting this following error and get killed. java.lang.Unsati

[android-developers] Re: How to simulate 3D-rotation of irregular object using OpenGL in android?

2011-05-27 Thread bhavani sankari
Thank you! could you please provide sample for importing 3D objects in Android using this Blender tool? Bhavani On May 26, 5:58 pm, Nicholas Johnson wrote: > This would not be relevant to Android, unless you're talking about how to > import the object into memory. > > For 3D object creation th

[android-developers] WebView -> Flash overdrawing issue

2011-05-27 Thread Josh Gitter
Has anyone noticed that Flash content within a Webview control overdraws other adjacent controls? It seems that the clipping region of the WebView is not respected. I'm using Adobe Flash 10.3 and a Nexus S. Here is a screen capture of flash content drawing outside of my Webview control. Notice th

[android-developers] sensorLandscape orientation and disabled "auto-rotate screen" preference (Honeycomb)

2011-05-27 Thread clemp6r
Hi, My Honeycomb app uses the sensorLandscape orientation. On my tablet, when I uncheck the "auto-rotate screen" preference in the system settings, my app continues using the sensor to detect which orientation to use, instead of locking the 0° landscape orientation (as some other apps do, like You

Re: [android-developers] How to run app on command shell?

2011-05-27 Thread tj
I use a script like this: adb install ${TargetApkPath} adb shell monkey -p ${PackageName} -v 1 where the two parameters are the apk you want to install, then the package name you can append an -r to "adb install" as well, so you don't have to uninstall it everytime. tj On 05/27/2011 09:27

[android-developers] KEYCODE COLON?

2011-05-27 Thread SJ
Anyone knows how to send KEYCODE COLON? ":" According to http://thecodeartist.blogspot.com/2011/03/simulating-keyevents-on-android-device.html (look at table) such keycode not exist Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Multiple overlay on the map

2011-05-27 Thread thavorac chun
Hi everyone! I'm working with google map on android right now. But now i'm stuck with loading more then 500 overlays on the map. It take too much time and some time it crash because of using too much resource (CPU over 90%). Here it is my code : public void initArrayPostion(List attrac

[android-developers] Re: iosched 2011 in zip or tar format

2011-05-27 Thread Droid
OK, OK, answering my own question. I have found it (I think) at: https://github.com/underhilllabs/iosched2011 Looks like the right one. Thanks to underhill. Now to try it out. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Animating from offscreen with TranslateAnimation causes adjacent view to be clipped

2011-05-27 Thread Tom
Right now I have a view that I'm just popping onto the screen by changing the view from GONE to VISIBLE, and I instead want to have a TranslateAnimation that shifts the view onto the screen. As soon as the animation starts the view on the right becomes clipped though. I assume this is because the p

[android-developers] iosched 2011 in zip or tar format

2011-05-27 Thread Droid
Trying to get iosched 2011 source for eclipse project in a simple zip format. Its at http://code.google.com/p/iosched/source/browse/ but its using hg -arrrhhh. Its a lazy request of mine I know, but I do not have enough brain RAM to learn hg at this point. Or a github ref? Most ioscheds on gith

Re: [android-developers] Re: easy facebook android sdk library

2011-05-27 Thread Robin Talwar
Following points to keep in mind :- - Create an application on developers.facebook.com - In settings make it accessible for Mobile - You will get app id save it - download the facebook for android sdk - create a new android application in your IDE - copy paste the package com.fac

Re: [android-developers] 3d game engine for android game development on ubuntu

2011-05-27 Thread Mohammed Hossain Doula
http://www.youtube.com/watch?v=lHpSEsycAdQ here you can find example of a project done in Ubuntu... :) On Thu, May 26, 2011 at 5:51 PM, Robin Talwar wrote: > ol ry > thanks for sharing the knowledge > > > On Thu, May 26, 2011 at 5:16 PM, Mohammed Hossain Doula < > hossaindo...@gmail.com> wrote: >

[android-developers] Can't modify attributes of child in ViewAnimator

2011-05-27 Thread Tom
I have a ViewAnimator subclass with two children, and I want to modify the size of the second child at runtime. However, setting the width prevents the second child from getting displayed at all. My code looks something like this: setDisplayedChild(1); View view = findViewById(R.id.second_

[android-developers] Re: Bluetooth is driving me nuts -- Galaxy tab lockups and pairing stupidity

2011-05-27 Thread Zsolt Vasvari
I've never owned a device where Bluetooth "just works" every time. The closest that one came to has been my Garmin GPS. I do hope NFC will make it easier to do adhoc peer-to-peer communications. On May 27, 9:58 am, keyeslabs wrote: > I'm trying to use bluetooth SPP to establish a socket connecti

  1   2   >