[android-developers] Re: virtual call

2011-06-01 Thread Amita
Can you give more details as what are you trying to do? If you making an app which does something on call receive, then for sure you can virtually call your emulator so that you can test your app. >From command prompt you can call your emulator. Thanks, -A On Jun 1, 3:04 am, Ralostx wrote: > as

[android-developers]Why insert row into table return null?

2011-06-01 Thread Vicky Wang
Hi, all When i want to insert one row into the table of database, i use getContentResolver().insert(uri, contentvalues). But the return is null. why? What error happed? Thanks for your help. Vicky -- You received this message because you are subscribed to the Google Groups "Android Developers" g

Re: [android-developers] rotation on emulators

2011-06-01 Thread Plmdev Android
Try Ctrl +F11 On Thu, Jun 2, 2011 at 11:49 AM, Jumana wrote: > Im trying out this example "RotationOneDemo" from "The Busy Coder's > Guide to Android Development" > I built it on 2.3.1 and trying to run it on emulators. But the > emulator doesn't rotate after i press Ctrl+F12. > Am i doing somet

Re: [android-developers] layoutopt

2011-06-01 Thread Romain Guy
The framework supports both dp and dip, there's no reason to get rid of either one. As for weight, ignoring the height/width is not a solution. The weight is used to distribute the remaining empty space, and the remaining empty space is computed by looking at the width/height. The combination of wi

[android-developers] rotation on emulators

2011-06-01 Thread Jumana
Im trying out this example "RotationOneDemo" from "The Busy Coder's Guide to Android Development" I built it on 2.3.1 and trying to run it on emulators. But the emulator doesn't rotate after i press Ctrl+F12. Am i doing something wrong? -- You received this message because you are subscribed to t

Re: [android-developers] layoutopt

2011-06-01 Thread Chris
Hey Romain, Speaking of LinearLayouts and density-independent pixels can you proclaim once and for all whether, going forward, its going to be 'dip' or 'dp', or will the framework always support both? Sort of back on topic, can linear layouts with weighting simply ignore the layout_[height|wid

[android-developers] Re: Are dialogs supposed to be modal?

2011-06-01 Thread Zsolt Vasvari
Of course, it's wise, but frankly, only an idiot would use that piece of code -- and you cannot really help those people. On Jun 2, 2:00 pm, Chris wrote: > The suggestion to avoid using private APIs is wise.  I had a company once > that built a model on WinNT 4 and when XP/5.0 came out was render

Re: [android-developers] Re: Are dialogs supposed to be modal?

2011-06-01 Thread Chris
The suggestion to avoid using private APIs is wise. I had a company once that built a model on WinNT 4 and when XP/5.0 came out was rendered obsolete. Just sayin' is all. - C -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

Re: [android-developers] music player issue

2011-06-01 Thread Plmdev Android
How your app playing song once you entered the app ? Are you not checking whether your service is running or not in background before playing song ? On Tue, May 31, 2011 at 2:03 PM, RJN wrote: > hi everybody... > > i was create music player which is properly stopping and pausing. but > wh

[android-developers] Re: layoutopt

2011-06-01 Thread Pradeep
Thanks ! On May 30, 12:21 pm, Romain Guy wrote: > 0dip/weight=1 is a special case that LinearLayout can optimize. Also, > match_parent/weight=1.0 is (almost) meaningless. You are telling > LinearLayout to have this child take up all the space (match_parent) > and then fill the remaining available

[android-developers] Re: Re-scaling PNG image to fit screen results in file about 2X the screen size

2011-06-01 Thread Spooky
On Jun 2, 12:33 am, Spooky wrote: > dimenstions, DOH! That's another of those side-effects...I can't always see errors like that. And sometimes, I see text where it isn't, and it isn't where it's supposed to be. Again, very annoying. Later, --jim -- 73 DE N5IAL (/4)| DMR: So f

Re: [android-developers] Re: Are dialogs supposed to be modal?

2011-06-01 Thread Dianne Hackborn
I care because I don't want to break people's applications. On Wed, Jun 1, 2011 at 10:21 PM, Zsolt Vasvari wrote: > Why do you care? If people are stupid enough to use it, they deserve > that their apps break. > > > > On Jun 2, 12:35 pm, Dianne Hackborn wrote: > > And dang it, stop telling peo

[android-developers] Re: Wifi lock with WIFI_MODE_SCAN_ONLY

2011-06-01 Thread seema
Hello All, Here is what I do to scan on wifi while connected to 3G. WifiLock wifiLock = wifiService.createWifiLock(WifiManager.WIFI_MODE_SCAN_ONLY, "MyLock"); if(!wifiLock.isHeld()){ wifiLock.acquire(); } if(wifiService.isWifiEnabled() == false){

[android-developers] Re-scaling PNG image to fit screen results in file about 2X the screen size

2011-06-01 Thread Spooky
Given the following code (indentation reduced to fit max line length): --- CUT HERE --- // load and resize the original image Bitmap image = BitmapFactory.decodeResource(getResources(), mImageIds[info.position]); // original size == w,h

[android-developers] Re: Are dialogs supposed to be modal?

2011-06-01 Thread Zsolt Vasvari
Why do you care? If people are stupid enough to use it, they deserve that their apps break. On Jun 2, 12:35 pm, Dianne Hackborn wrote: > And dang it, stop telling people to do this. > > > > > > On Wed, Jun 1, 2011 at 9:32 PM, Dianne Hackborn wrote: > > You are using private APIs.  This CAN an

[android-developers] Re: How do you deal with "skins" clashing with your UI?

2011-06-01 Thread Zsolt Vasvari
> It'd be a problem for anyone trying to make a TextView look like a > Spinner and trying to get an OS-supplied, OEM-modified theme to do > that for them. Instead of a snarky answer, maybe you would realize that this could be a problem for anyone who wants to coordinate the L&F of their app to the

[android-developers] Re: How do you deal with "skins" clashing with your UI?

2011-06-01 Thread Zsolt Vasvari
On Jun 1, 8:43 pm, Kostya Vasilyev wrote: > Zsolt - > > Couldn't you use an AutoCompleteTextView instead? No, it's a date picker control. I am displaying the textual date in a non-editable field and invoke the date picker control when the user presses the button. It's a not fixed list of choice

[android-developers] Re: libjingle ported to java

2011-06-01 Thread Krishna Shetty
I want to have libjingle client on the Android device. Could you suggest tell me the best approaches for this? -- 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 unsub

Re: [android-developers] Are dialogs supposed to be modal?

2011-06-01 Thread Dianne Hackborn
And dang it, stop telling people to do this. On Wed, Jun 1, 2011 at 9:32 PM, Dianne Hackborn wrote: > You are using private APIs. This CAN and WILL break. Stop it. Seriously. > > > On Wed, Jun 1, 2011 at 7:36 PM, Qi Luo wrote: > >> Check out my another 2 threads, I reflected Looper.loop() to

Re: [android-developers] Are dialogs supposed to be modal?

2011-06-01 Thread Dianne Hackborn
You are using private APIs. This CAN and WILL break. Stop it. Seriously. On Wed, Jun 1, 2011 at 7:36 PM, Qi Luo wrote: > Check out my another 2 threads, I reflected Looper.loop() to run a nested > thread, and it worked, a real modal dialog > > > http://stackoverflow.com/questions/6184831/andr

[android-developers] Re: Logcat View fails with "Could not create the view: For input string: "our" "

2011-06-01 Thread Swati Goel
I got the solution. I worked. Solution is in your Eclipse workspace go to .metadata\.plugins\org.eclipse.core.runtime\.settings there is a file com.android.ide.eclipse.ddms.prefs In this file there is an id which contains all the filters which you were using in DDMS. You can compare that file

[android-developers] Re: Logcat View fails with "Could not create the view: For input string: "our" "

2011-06-01 Thread Swati Goel
Hi Mak, I am also facing the same problem. Can you please tell me how did you resolve that problem? 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 unsubs

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-01 Thread chandlersong
you can store the data to database or serialize the object. I guess you need keep some data or do something after app has been stopped. On 6月2日, 上午9时03分, Dianne Hackborn wrote: > If your process is killed, the next time you run a fresh process must be > created and re-initialized. There is no

[android-developers] Re: onRestart from Home button or from back button

2011-06-01 Thread albnok
Have Activity B call Activity C using startActivityOnResult(intent, requestCode), override Activity C's onBackPressed to pass a kill flag via intent and setResult. In Activity B override onActivityResult and see if the kill flag is there and the request code matches then call finish(). So pressing

Re: [android-developers] Are dialogs supposed to be modal?

2011-06-01 Thread Qi Luo
Sorry for typo, not a nested thread, but a nested loop :D On Thu, Jun 2, 2011 at 10:36 AM, Qi Luo wrote: > Check out my another 2 threads, I reflected Looper.loop() to run a nested > thread, and it worked, a real modal dialog > > > http://stackoverflow.com/questions/6184831/android-how-to-take-o

Re: [android-developers] Are dialogs supposed to be modal?

2011-06-01 Thread Qi Luo
Check out my another 2 threads, I reflected Looper.loop() to run a nested thread, and it worked, a real modal dialog http://stackoverflow.com/questions/6184831/android-how-to-take-over-message-loop-of-activity-like-getmessage-postmessage-i http://stackoverflow.com/questions/6120567/android-how-to-

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-01 Thread Streets Of Boston
The code below will work fine for a singleton: ... private static MyObject myObject = null; public static MyObject getMyObject() { if (myObject == null { myObject = new MyObject(); } return myObject; } Note that variable won't be 'reset' to null. There is nothing to reset when your pro

Re: [android-developers] Is there any way to run small bits of code from a console to check simple results?

2011-06-01 Thread Nikolay Elenkov
On Thu, Jun 2, 2011 at 7:45 AM, Spooky wrote: > Ok, maybe that didn't make sense  What I'm looking for, *IF* it > exists for Android/Java, is > some way to open up, say, a console,  load the code, and check the > value returned by some > line in the code without having to use the AVD (which do

[android-developers] Re: Is there any way to run small bits of code from a console to check simple results?

2011-06-01 Thread eklv
creating android junit testcase has helped me to do same On Jun 1, 9:40 pm, DanH wrote: > Open a command window and type "java". (Well, you'll probably have to > navigate to the correct directory and do a "javac" first, but it's not > much more complicated than that.) > > On Jun 1, 5:45 pm, Spoo

[android-developers] Re: Is there any way to run small bits of code from a console to check simple results?

2011-06-01 Thread DanH
Open a command window and type "java". (Well, you'll probably have to navigate to the correct directory and do a "javac" first, but it's not much more complicated than that.) On Jun 1, 5:45 pm, Spooky wrote: > Ok, maybe that didn't make sense  What I'm looking for, *IF* it > exists for Andro

[android-developers] Re: questions about android apk signature.

2011-06-01 Thread zhang ning
NO. It's no use. Are there better solutions? On Jun 2, 2:43 am, Mark Murphy wrote: > On Tue, May 31, 2011 at 11:33 PM, zhang ning wrote: > > android provide a mechanism sign an apk to identify who provide this > > apk. > > > but it seems no away to identify who to use this apk. > > > if i want

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-01 Thread Jake Colman
So as long as I always call my getInstance() class I can be certain that I will get a pointer to the already constructed object or that the static instance variable had been reset to NULL triggering new construction? > "DH" == Dianne Hackborn writes: DH> If your process is killed, the n

Re: [android-developers] Re: Running activity with parameter from status bar notification

2011-06-01 Thread Dianne Hackborn
Do you actually have permission to run the activity that is in another application? For debugging issues, you should try to isolate your problem. For example here you should make sure that you can directly do startActivity() with that Intent in your own app. Once you have verified that works, th

Re: [android-developers] Android LifeCycle and Singleton Instances

2011-06-01 Thread Dianne Hackborn
If your process is killed, the next time you run a fresh process must be created and re-initialized. There is no way to get a "stale" pointer across this. If the pointer was stale, you'd probably have a native crash because it would be completely unrelated to the current process you are running.

[android-developers] EditText and the unwanted Quick Search Box

2011-06-01 Thread Eric Carman
I have an app that uses an EditText for input and is very simple. In the code I trap the OnKeyListener to listen for the enter key, otherwise nothing else is going on with this EditText. Problem (steps to reproduce): 1. Start the app. 2. Tap on the EditText to bring up the soft-keyboard. > The

[android-developers] Android LifeCycle and Singleton Instances

2011-06-01 Thread Jake Colman
I was pretty sure that I understood the Android lifecycle and how applications/processes might be start/stopped/removed and how that effects whether variables remain initialized. I am, however, seeing some funky behavior in my app such that I am afraid I have missed something. I use a singleton

[android-developers] Re: Show Text On Screen

2011-06-01 Thread EdwardComb
Thanks for your info. I tried that but seems like the whole view changed. What I mean is that what can i see on the screen is just the text that was not running on top of my application. I google again and found out that we cannot straight away display text on GLSurvaceView. (my mistake i didnt m

[android-developers] Re: EditText stops displaying characters as I'm typing?

2011-06-01 Thread Eric Carman
Testing seems to indicate that the work I was doing in the OnKeyListener had some sort of impact, albeit intermittently. I've modified the OnKeyListener to send a message to a handler and that seems to keep everything in order. Since one of the things I was doing in the listener, (when the enter k

[android-developers] Load and use CDT and NDK into Android Eclipse

2011-06-01 Thread Kiet
I have been using ADT-JDK-Eclipse setting and quite happy with it. Now I am looking at adding C/C++ and NDT by integrating them into my current Eclipse. I am looking for tutorial or howto articles on doing this to avoid trap falls destroying my stable ADT-JDK-Eclipse setup. Thank you. Kiet -- Y

[android-developers] Re: Running activity with parameter from status bar notification

2011-06-01 Thread ivan harmady
Hmmm, but how should I use it?? I am not using any uri(i dont even know what for is it). I only need to start an activity from the click on the notification. But the problem is, i want to run an activity from different application. There are usually examples like Intent notifyIntent = new Intent(

Re: [android-developers] Is there any way to run small bits of code from a console to check simple results?

2011-06-01 Thread Simon Platten
Why not use the toast method to display data? Regards,Sy On 1 Jun 2011 23:45, "Spooky" wrote: Ok, maybe that didn't make sense What I'm looking for, *IF* it exists for Android/Java, is some way to open up, say, a console, load the code, and check the value returned by some line in the cod

Re: [android-developers] Is there any way to run small bits of code from a console to check simple results?

2011-06-01 Thread Mark Murphy
On Wed, Jun 1, 2011 at 6:45 PM, Spooky wrote: > Ok, maybe that didn't make sense  What I'm looking for, *IF* it > exists for Android/Java, is > some way to open up, say, a console adb shell > load the code What is "the code"? > and check the > value returned by some > line in the code with

[android-developers] Is there any way to run small bits of code from a console to check simple results?

2011-06-01 Thread Spooky
Ok, maybe that didn't make sense What I'm looking for, *IF* it exists for Android/Java, is some way to open up, say, a console, load the code, and check the value returned by some line in the code without having to use the AVD (which doesn't work on my system) or build, install on my phone, a

Re: [android-developers] Result of two list adapters, merged in one View

2011-06-01 Thread Mark Murphy
Use MergeCursor: http://developer.android.com/reference/android/database/MergeCursor.html On Wed, Jun 1, 2011 at 5:23 PM, Arun N R wrote: > Hi, >    I have some code which executes two queries against a database and > returns two cursor objects. Is there any way that I can combine these > two cu

[android-developers] Result of two list adapters, merged in one View

2011-06-01 Thread Arun N R
Hi, I have some code which executes two queries against a database and returns two cursor objects. Is there any way that I can combine these two cursors are displayed one after another in one view. Currently one of the cursor is (Picked from samples) Cursor c = mDbHelper.fetchNumber(s

[android-developers] Result of two list adapters, merged in one View

2011-06-01 Thread Arun N R
Hi, I have some code which executes two queries against a database and returns two cursor objects. Is there any way that I can combine these two cursors are displayed one after another in one view. Currently one of the cursor is (Picked from samples) Cursor c = mDbHelper.fetchNumber(s

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

2011-06-01 Thread Xavier Ducrohet
we've now pushed a new platform-tools component (revision 5) that fixes the problem (or at least half of it, the other half is to make sure apps targeting 3.1+ use the new compiler instead of the old one, but this is a tools update). Xav On Sat, May 28, 2011 at 10:35 PM, Xavier Ducrohet wrote: >

Re: [android-developers] get the HTML Code in Android WebView

2011-06-01 Thread Kristopher Micinski
On Wed, Jun 1, 2011 at 4:40 PM, Mark Murphy wrote: > On Wed, Jun 1, 2011 at 4:38 PM, Abhishek Soni > wrote: > > Actually this is a webpage and when i open this page. I > want > > to read the Html code. That is when html code comes into picture. > > There is no simple way to do thi

Re: [android-developers] get the HTML Code in Android WebView

2011-06-01 Thread Abhishek Soni
Ohh.k Let me try this. Thanks for replying Regards Aby On Wed, Jun 1, 2011 at 1:40 PM, Mark Murphy wrote: > On Wed, Jun 1, 2011 at 4:38 PM, Abhishek Soni > wrote: > > Actually this is a webpage and when i open this page. I > want > > to read the Html code. That is when html c

Re: [android-developers] get the HTML Code in Android WebView

2011-06-01 Thread Mark Murphy
On Wed, Jun 1, 2011 at 4:38 PM, Abhishek Soni wrote: >              Actually this is a webpage and when i open this page.  I want > to read the Html code.  That is when html code comes into picture. There is no simple way to do this. With addJavascriptInterface() and loadUrl() of a javascript: UR

Re: [android-developers] get the HTML Code in Android WebView

2011-06-01 Thread Abhishek Soni
Hi there, Actually this is a webpage and when i open this page. I want to read the Html code. That is when html code comes into picture. Regards Aby On Wed, Jun 1, 2011 at 1:33 PM, TreKing wrote: > On Wed, Jun 1, 2011 at 3:17 PM, aby wrote: > >> I have created a webview and i w

Re: [android-developers] get the HTML Code in Android WebView

2011-06-01 Thread TreKing
On Wed, Jun 1, 2011 at 3:17 PM, aby wrote: > I have created a webview and i want to get the html code behind this page. If what you want is the page content then there's no need for a webview - just connect to the URL directly, read the contents, and do what you need. -

Re: [android-developers] Android Market App: How Update from v1.8.2?

2011-06-01 Thread TreKing
On Tue, May 31, 2011 at 12:23 PM, marcel wrote: > But on my HTC Desire the Android Market is v1.8.2 and I have no clue how to > update it. > Try going to the manage apps screen and finding the Market app. Then force stop it, clear the cache and data, and uninstall any updates, if there are any a

[android-developers] get the HTML Code in Android WebView

2011-06-01 Thread aby
Hello Everyone, I have created a webview and i want to get the html code behind this page. Is there any way i can extract the HTML code or any specific tags in Android? Thanks, Aby -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

Re: [android-developers] Android Market App: How Update from v1.8.2?

2011-06-01 Thread Kostya Vasilyev
Market 2.3 is for Android 1.6+ HTC Desire's official firmware is at least 2.1 (don't have one myself). -- Kostya 2011/6/1 Mark Murphy > On Wed, Jun 1, 2011 at 3:02 PM, Kostya Vasilyev > wrote: > > It does: > > > > http://market.android.com/support/bin/answer.py?answer=190860 > > I assumed tha

Re: [android-developers] Android Market App: How Update from v1.8.2?

2011-06-01 Thread Mark Murphy
On Wed, Jun 1, 2011 at 3:02 PM, Kostya Vasilyev wrote: > It does: > > http://market.android.com/support/bin/answer.py?answer=190860 I assumed that the Market only updated to a point per Android version. Not sure why the OP's device isn't getting updated, then. -- Mark Murphy (a Commons Guy) htt

[android-developers] Fwd: Creating a good reference point for Android

2011-06-01 Thread Raghav Sood
This is from Jim. He can't post directly for some reason so.I am forwarding it -- Forwarded message -- From: Jim Graham Date: Thursday, June 2, 2011 Subject: Creating a good reference point for Android To: Raghav Sood Please post this if/when you followup to it---I still can't po

[android-developers] Re: Android emulator bottleneck

2011-06-01 Thread Streets Of Boston
>From discussions with the Google Engineers, the emulator emulates the *entire *device on the lowest levels, not just the DalvikVM. It emulates the ARM processor and the code that runs on it and a bunch of the in and output devices (keyboard, touchscreen in some form, screen, GPS, etc). You can

[android-developers] Re: Android emulator bottleneck

2011-06-01 Thread Streets Of Boston
Yes there is. Intel has honeycomb running on their IA (Intel Architecture). But it's all in early phases. But Google TV runs on x68 and Google TV will upgraded to Honeycomb (3.1) this year. -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] Re: Regarding asynchronous communication in Android.

2011-06-01 Thread Kevin Anthony
I understand why you would want asynchronous communication, but can you provide more information on what your trying to achieve. On Jun 1, 2011 3:28 PM, "Ali Chousein" wrote: > You can achieve it by not making your communication synchronous. Set > aside jokes, please have a look to the link TreKin

[android-developers] Re: Android emulator bottleneck

2011-06-01 Thread jtoolsdev
The docs are a little vague about any ARM emulation. It says "the SDK contains ARM machine code for the Android Linux kernel". Would it use that on Windows? And then it wouldn't be the first time the docs are left vague as we all know. Seems to me if you are running Java byte code then all you

[android-developers] Re: Regarding asynchronous communication in Android.

2011-06-01 Thread Ali Chousein
You can achieve it by not making your communication synchronous. Set aside jokes, please have a look to the link TreKing posted. On May 30, 2:30 pm, cherry e wrote: > Hi >     I am new to Android. I want to know how would we achieve > asynchronous communication in android. for efficient programm

Re: [android-developers] Show Text On Screen

2011-06-01 Thread TreKing
On Tue, May 31, 2011 at 10:29 PM, EdwardComb wrote: > I want to display the FPS on the screen but have no idea how to do it. TextView. - TreKing

Re: [android-developers] Dialog and Progress Dialog issues on Orientation Change

2011-06-01 Thread TreKing
On Tue, May 31, 2011 at 4:23 AM, sahana uday wrote: > Can you let me know the problem asap? You have a bug. - TreKing - Chicago transit tracking

Re: [android-developers] How to verify camera view in Robotium

2011-06-01 Thread TreKing
On Tue, May 31, 2011 at 10:36 AM, Bharathiraja R < bharathiraja.andr...@gmail.com> wrote: > wanted to know how to check camera view in robotium. This is not a robotium forum. - TreKing

Re: [android-developers] Regarding asynchronous communication in Android.

2011-06-01 Thread TreKing
On Mon, May 30, 2011 at 7:30 AM, cherry e wrote: > I am new to Android. I want to know how would we achieve asynchronous > communication in android. for efficient programming > http://www.catb.org/~esr/faqs/smart-questions.html ---

Re: [android-developers] Frames Per Second FPS

2011-06-01 Thread TreKing
On Mon, May 30, 2011 at 9:14 PM, EdwardComb wrote: > Anyone can point me out how to show FPS on the Logcat.? 1 - Calculate FPS. 2 - Write what you find in step 1 to Logcat. You can figure out how to do both 1 and 2 with simple Google queries. --

Re: [android-developers] android

2011-06-01 Thread TreKing
On Mon, May 30, 2011 at 5:39 AM, RJN wrote: > i am just new to de world of android.. need suggestions to how to start > well.!! > The Android website and a spell checker ...!! - TreKing

Re: [android-developers] Need help in ListActivity inside TabActivity

2011-06-01 Thread TreKing
On Mon, May 30, 2011 at 5:17 AM, Raza Rahil Hussain wrote: > It stop working and force me to close the app. > Try debugging your app. - TreKing - C

Re: [android-developers] Android Market App: How Update from v1.8.2?

2011-06-01 Thread Kostya Vasilyev
It does: http://market.android.com/support/bin/answer.py?answer=190860 -- Kostya 2011/6/1 TreKing > On Wed, Jun 1, 2011 at 1:42 PM, Mark Murphy wrote: > >> > But on my HTC Desire the Android Market is v1.8.2 and I have no clue >> > how to update it. >> >> You cannot update it except via an upd

[android-developers] Re: notepadv1 tutorial problems

2011-06-01 Thread exax
Solved it!! :) not sure why, but i had accidentally but a : instead of a / at @string/no_notes in the xml layout and this caused the project not to generate the R.java file. thanks for the help anyways On Jun 1, 2:41 pm, exax wrote: > I haven't imported R. anything. I put the minSdk in manually

Re: [android-developers] Android Market App: How Update from v1.8.2?

2011-06-01 Thread TreKing
On Wed, Jun 1, 2011 at 1:42 PM, Mark Murphy wrote: > > But on my HTC Desire the Android Market is v1.8.2 and I have no clue > > how to update it. > > You cannot update it except via an update to the firmware of your > device. I thought the Android Market app auto-updates? Even my G1 has the lat

Re: [android-developers] questions about android apk signature.

2011-06-01 Thread Mark Murphy
On Tue, May 31, 2011 at 11:33 PM, zhang ning wrote: > android provide a mechanism sign an apk to identify who provide this > apk. > > but it seems no away to identify who to use this apk. > > if i want to limit my apk to given users, how can i do? Distribute the application yourself, from your ow

Re: [android-developers] Android Market App: How Update from v1.8.2?

2011-06-01 Thread Mark Murphy
On Tue, May 31, 2011 at 1:23 PM, marcel wrote: > to develop In-app Billing I need Android Market of at least v.2.3.4 on > my test device. > > But on my HTC Desire the Android Market is v1.8.2 and I have no clue > how to update it. You cannot update it except via an update to the firmware of your

[android-developers] using native protocol buffer library does not work

2011-06-01 Thread dom
Hi everyone, I've built the Google protocol buffer library (native c++ version) into a static library using the standalone toolchain. I modified the HelloJni sample in the NDK development to use this library, but when I go to run it on the emulator nothing works. I created a small test library t

[android-developers] Snake game

2011-06-01 Thread GameDev
Hi I am new to android technology.So i need help to learn the same. I copied the snake game from the sample example. When i try to run it .. Following things are displayed on the console 11-06-01 20:11:32 - Snake] Android Launch! [2011-06-01 20:11:32 - Snake] adb is running normally. [2011-06-01

Re: [android-developers] Connection Issues

2011-06-01 Thread Mark Murphy
"server-PC" is not a valid domain name. getByName() uses DNS, as far as I know. On Tue, May 31, 2011 at 4:59 PM, Luiz wrote: > Hello everyone. > > I'm trying to connect with a computer (face it as a "server", I just > have to access a database) in my app, based on the computer's name. It > works

[android-developers] Re: notepadv1 tutorial problems

2011-06-01 Thread exax
I haven't imported R. anything. I put the minSdk in manually and it didn't help at all. It's still making errors wherever there is an R.variable saying that R. cannot being resolved to the variable. I have cleaned and rebuilt but to no avail. This is really confusing me?? On May 27, 2:30 am, Peter

[android-developers] mpeg2ts(H264) http streaming error on Gingerbread 2.3.4

2011-06-01 Thread Ashwath Kumar K
Hi , I am trying to achieve a http streaming of mpeg2ts stream containing MPEG4-AVC(H264) on Gingerbread 2.3.4 after upgrading my Nexus S to 2.3.4. Playback was fine on 2.3.3, Now I am getting the error has "ERROR_END_OF_STREAM" from the stage fright library. Has any one else faced the same error

[android-developers] Re: Communication with Flash (swf)

2011-06-01 Thread gaara
Hi, i have the same problem? you think that we have this possibility even if swf file is big? Peace Gaara On May 31, 8:05 am, sleith wrote: > Hi, > Is there anyway app/webview can communicate with flash? > Is fscommand able to do this? Or anyone have tried using tcp/udp > communication to communi

[android-developers] Android emulator.

2011-06-01 Thread Dr.Bot
I can't get the emulator to start under Ubuntu. the android command under /tools works and I created a AVD using the 3.1 platform with no SD card - it refused to create a virtual device with any size SD card I tried. At any rate I get a 'file not found' when either cd to the directrory and typi

[android-developers] App Installation Issue

2011-06-01 Thread bigD
Hi, I've developed a Timer App that consists of 1 count down timer and 1 count up timer. I recently installed it to my Droid X phone for the first time from by connecting my phone to my development box via USB, running the app from the Eclipse IDE, choosing my phone from the Eclipse device lis

[android-developers] OpenGL - CPU pegged

2011-06-01 Thread Ratamovic
Hi all, When I run my application which embeds Irrlicht 3D engine to draw a 3D terrain using OpenGL, a very strong slow-down happens very often. When looking at the log, I can find this message: 05-31 09:53:39.480: WARN/SharedBufferStack(2580): waitForCondition(LockCondition) timed out (identity

Re: [android-developers] center buttons

2011-06-01 Thread kamilia amellal
Hi, use the weight attribute,may this help!!! Peace 2011/6/1 Knutsford Software > I have this layout > > > > http://schemas.android.com/apk/res/android"; > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > >> >>

[android-developers] Problem with servlet

2011-06-01 Thread gaara
Hi, When i tried to use resp.setContentType("text/html"); in my servlet i get the html tags instead of web content,can anyone help? Peace, Gaara -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Integrated SIP Client on Nexus S: no 30 ms packetization supported

2011-06-01 Thread sNi
Hi, when testing the integrated SIP Client on the Nexus S (Android 2.3.4) against FRITZ!Box CPEs (highly spread WiFi/VoIP router across Europe) we experience the following issue: When placing an outgoing or incoming VoIP call over the CPE the playback of the incoming RTP audio is scrambled. The o

[android-developers] Connection Issues

2011-06-01 Thread Luiz
Hello everyone. I'm trying to connect with a computer (face it as a "server", I just have to access a database) in my app, based on the computer's name. It works fine with the IP, but I truly need to establish this connection based in the hostname (the IP is not guaranteed to be static). The compu

[android-developers] sample add edit delete database application

2011-06-01 Thread durgesh.ostech
I want to create a sample database application to add/edit/delete record. I want to know that how to edit record when click on item. my application is below package ost.android.DatabaseTest; import android.app.AlertDialog; import android.app.ListActivity; import android.content.Intent; import a

[android-developers] HOw start a web application

2011-06-01 Thread kamilia amellal
Hi Everyone, I wanna start my web application on android but i still have problems with screen resolution?can i have some recommendations for beginning that and which web server can i choose? Peace, Gaara -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] virtual call

2011-06-01 Thread Ralostx
as I make a virtual call android. what would my code in java -- 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-deve

[android-developers] ANDROID on Samsung monte

2011-06-01 Thread cheesecorn
hello, i just to know if there is existing method to port android on Samsung monte.. i think samsung monte has caple of running android with its minimum requirements of ARM11 300MHz, its chipset is the BCM2153, im not sure if it has 128mb RAM or 256mb RAM.. can someone help me? or guide me.. thank

[android-developers] Android with Whell

2011-06-01 Thread Marcelo Ferreira Barros
Hello, I would like to know, if I do an application for Android that uses a system of "Wheel, " which slipped turning a list (moving up and down), the idea IdenTIC Wheel iPod, I can is violating a patent from Apple? The truths is that I only use the idea, then I make my code. Thanks. -- You rec

[android-developers] Android Market App: How Update from v1.8.2?

2011-06-01 Thread marcel
Hi, to develop In-app Billing I need Android Market of at least v.2.3.4 on my test device. But on my HTC Desire the Android Market is v1.8.2 and I have no clue how to update it. Thank you Marcel -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Show Text On Screen

2011-06-01 Thread EdwardComb
Hi All, Actually, I want to show my FPS on the screen. I already calculated the FPS and able to show on the Logcat. But, that's not my intention. I want to display the FPS on the screen but have no idea how to do it. Should I use the XML Layout? -- You received this message because you are subs

[android-developers] Looking for Sunspider Benchmark Visualization

2011-06-01 Thread harrisJ
Hi I am looking for Sunspider Benchmark Visualization (javascript benchmark) what was used in google-android-froyo release demo Does anyone knows where can I use this benchmark test? You can find it from http://www.youtube.com/watch?v=yAZYSVr2Bhc (at 2:08) -- You received this message because

[android-developers] questions about android apk signature.

2011-06-01 Thread zhang ning
android provide a mechanism sign an apk to identify who provide this apk. but it seems no away to identify who to use this apk. if i want to limit my apk to given users, how can i do? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

Re: [android-developers] change system partition

2011-06-01 Thread Mark Murphy
On Mon, May 30, 2011 at 7:15 AM, Yishai wrote: > I want to build the android emulator but add some files with specific > permissions to its system partition. > > Where should I change in makefiles ? Is there some script that can be > added and its commands will be done via building the system > pa

[android-developers] Re: Creating a good reference point for Android

2011-06-01 Thread Raghav Sood
Oh and please check http://wiki.androidappcheck.com/index.php?title=Special:WantedPages&limit=100&offset=0first and see if you can make any of those pages. You are also most welcome to create any other page. Thank you On Thu, Jun 2, 2011 at 12:06 AM, Raghav Sood wrote: > Hi all, > > I have noti

Re: [android-developers] Google TV

2011-06-01 Thread Mark Murphy
Questions regarding the use of a Google TV device are best asked of the firm who made your Google TV device. On Mon, May 30, 2011 at 11:10 AM, Enrico De Majorca wrote: > Is it possible to add a comment/icon on the video currently playing on > google tv? > > -- > You received this message because

[android-developers] Re: Creating a good reference point for Android

2011-06-01 Thread Raghav Sood
Hi all, I have noticed how often there are questions regarding problems with the market, in-app billing, documentation etc. It seems that the Android references are spread very far and wide and in some places non-existant alltogether. I plan to solve this bye creating a "Wikipedia" of all android

  1   2   3   >