[android-developers] How to build libwebcore.so ?

2010-03-18 Thread Deepak Arul
I am unable to complete the system build since libwebcore.so is not found: -- target Strip: libwebcore (out/target/product/generic/obj/lib/ libwebcore.so) build/tools/soslim/main.c(130): open(out/target/product/generic/ symbol

[android-developers] Re: onFling

2010-03-18 Thread Ajay
Finally I found a way to synchronize the scrolls. I was using a gesture listener to listen for scrolls/flings which did not give me accurate results. Now I simply pass the onTouch events from one view to the other view. This makes both the views to scroll perfectly in sync. On Mar 18, 5:26 pm, Aja

Re: 答复: 答复: [android-developers] Where is th e source project location of YouTube in Eclair?

2010-03-18 Thread Ted Chien
Don't think you are in a English group so people don't know Chinese... On 3月12日, 下午1時40分, a a wrote: > 吹毛求疵 > > 2010/3/12 Dianne Hackborn : > > > > > Please not that hard-coding package names is fragile and can cause your app > > to break. For things on market, you are somewhat safe, but none of

[android-developers] [Android-developers] Overlay in Views. Please suggest

2010-03-18 Thread Latha Shivanna
Hii All I need your help/suggestion on this issue. In my application, i have a surfaceView and a videoView which are occupying the full screen. SurfaceView is on the top and thus VideoView is hidden below. But i need to see both SurfaceView and VideoView together. How do i achieve this? I tri

[android-developers] Gallery Documentation

2010-03-18 Thread Deepak Arul
Is there any documentation for Architecture of Gallery application in Android 2.0/2.1 ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: How to trace contentProvider

2010-03-18 Thread Ted Chien
Hi, Before you continue to study the code, you need to know the Java language more. Go find a Java book and study it first. On 3月17日, 上午10時24分, a a wrote: > Dear All, > > I am now reading contentProvider.java( under the > base/core/java/android/content) > > Ln 127 looks following: > >        

[android-developers] Re: Hi All TabWidget Show is Small

2010-03-18 Thread takky takazawa
Hi Kantesh & Kumar Bibek Thanks a lot for both recommend. I will try fix it by both and tell result again. On Mar 19, 1:07 am, Kumar Bibek wrote: > I would recommend to go for a Gallery view for such a requirement. > Have a look at some examples and think about it. > > Thanks and Regards,

Re: [android-developers] Re: How to show a ScrollView with button anchored to bottom of screen?

2010-03-18 Thread TreKing
On Thu, Mar 18, 2010 at 9:46 PM, Andreas wrote: > Curiously, no. Shorter code below: > >mScrollView = new ScrollView(this); >mListView = new LinearLayout(this); >mScrollView.addView(mListView); >mListView.setOrientation(LinearLayout.VERTICAL); > >Button button = new Button(thi

[android-developers] camera service problem

2010-03-18 Thread grace
hi, i have tried the following code and it shows me strange behavior.. http://groups.google.com/group/android-developers/browse_thread/thread/d8587b4b2139a85/809ebdafc456be32?lnk=gst&q=camera+overlay#809ebdafc456be32 when i run it for the first time it shows an exception saying "failed to connec

Re: [android-developers] Functional retrieval of strings?

2010-03-18 Thread TreKing
On Thu, Mar 18, 2010 at 8:49 PM, HippoMan wrote: > The reason I'd like this is so I can avoid compile errors if the > string doesn't exist. This would allow me to do something like the > following: > > String foobar = null; > try { > foobar = this.somehowGetStringAnotherWay("foobar"); > } > catc

[android-developers] Re: phone-as-client Socket connections time out in 3GS mode, but work fine in wifi

2010-03-18 Thread Samsyn
OK, some success, as it were. Let the wookiie win -- I changed my server to listen on port 80 instead and now it works fine in both WIFI and MOBILE modes. * server ping is now 800ms instead of 100ms * I can not, of course, run a web server on the same machine now, which is a small pain. But he

[android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

2010-03-18 Thread Matt (preinvent)
Still no nearer getting this fixed... I rooted my Droid and can see that the /data/data//lib directory was created some time ago - that implies to me that the main app directory has not been deleted since it was installed some time ago, therefore it's unlikely that android is simply automatically u

[android-developers] Re: Application wake up

2010-03-18 Thread Andreas
Hi, Please note that there is no longer any class called IntentReceiver. It is now called BroadcastReceiver. Also, to get this to work, you need to register the receiver in the AndroidManifest.xml like this: Regards, An

[android-developers] Re: How to show a ScrollView with button anchored to bottom of screen?

2010-03-18 Thread Andreas
Curiously, no. Shorter code below: mScrollView = new ScrollView(this); mListView = new LinearLayout(this); mScrollView.addView(mListView); mListView.setOrientation(LinearLayout.VERTICAL); Button button = new Button(this); button.setText("OK"); LinearLayout layout = ne

[android-developers] Re: GPS without gps signal

2010-03-18 Thread Andreas
Thank you. That was about what I expected, but it's nice to get a confirmation from someone who actually tried it. ;) On Mar 19, 10:14 am, mike wrote: > On 03/18/2010 06:01 PM, Andreas wrote: > > > Hi Mike, > > > Just out of curiosity, what would you say is a common time to first > > fix when yo

答复: 答复: 答复: [android-developers] Where i s the source project location of YouTube in Eclair?

2010-03-18 Thread David
App1 calls the Youtube search and can get the right result list as the following solution, but when press "back" key, the result list disappears, the Youtube's main window appears automatically, we have to press "back" again to come back to the App1, we just want the UI go directly to the app1 w

[android-developers] Are primitive types garbage collected in Android?

2010-03-18 Thread snctln
I know this may be a dumb question, but my background is more in c++ and managing my own memory. I am currently cutting down every single allocation that I can from one of my games to try and reduce the frequency of garbage collection and perceived "lag", so for every variable that I create that i

Re: [android-developers] Functional retrieval of strings?

2010-03-18 Thread Mark Murphy
HippoMan wrote: > I know that I can retrieve a string within an Activity as follows: > > this.getString(R.string.foobar) > > (assuming that I have previously defined a string named "foobar"). > > However. I'm wondering if there also might be an alternate way to > retrieve this same string in a f

[android-developers] Functional retrieval of strings?

2010-03-18 Thread HippoMan
I know that I can retrieve a string within an Activity as follows: this.getString(R.string.foobar) (assuming that I have previously defined a string named "foobar"). However. I'm wondering if there also might be an alternate way to retrieve this same string in a functional manner, without an exp

[android-developers] Re: Strategies for using Touchscreen MotionEvent Coordinates

2010-03-18 Thread Rocco
Hey Robert, Thanks so much for your reply! I think you might be right that this IS in fact a scaling issue. I'm sure I can run some tests by actually drawing a dot at the actual screen coordinates and comparing where I expect it to land. I got the jist of the issue right away when you mentioned

Re: [android-developers] Re: GPS without gps signal

2010-03-18 Thread mike
On 03/18/2010 06:01 PM, Andreas wrote: Hi Mike, Just out of curiosity, what would you say is a common time to first fix when your outside network coverage? I'm not sure if I have a common time, but it can take minutes. I'm not entirely sure how it works in the guts of the GPS, but I think

Re: [android-developers] ADT Eclipse Plugin won't let me put in a Target

2010-03-18 Thread Porting beginner
On Thu, Mar 18, 2010 at 5:08 PM, Ray Tayek wrote: > At 06:23 PM 3/17/2010, you wrote: > >> I've been trying to make a new Android project in Eclipse. But >> whenever I try to do so, it won't let me select a build target. Here's >> a screenshot: http://twitpic.com/198od6 >> > > if you have not mad

[android-developers] Re: GPS without gps signal

2010-03-18 Thread Andreas
Hi Mike, Just out of curiosity, what would you say is a common time to first fix when your outside network coverage? Andreas On Mar 19, 4:46 am, mike wrote: > On 03/18/2010 12:30 PM, Matias Alberto de la Vega wrote: > > > As Mike said, you will be able to use GPS even if you have no mobile > >

[android-developers] Re: Unparsed aapt error

2010-03-18 Thread sfoye
Thank you - I just ran into this problem and your solution worked great. Luckily I only spent 15 minutes trying to solve before I found your post. -sfoye On Mar 16, 6:57 am, Patrick Noffke wrote: > Hi all, > > I found some old posts on this problem, and I was having a similar issue, so > I though

Re: [android-developers] ADT Eclipse Plugin won't let me put in a Target

2010-03-18 Thread Ray Tayek
At 06:23 PM 3/17/2010, you wrote: I've been trying to make a new Android project in Eclipse. But whenever I try to do so, it won't let me select a build target. Here's a screenshot: http://twitpic.com/198od6 if you have not mad a target yet, you need to make one before you create a new android

[android-developers] Android Video Spec.

2010-03-18 Thread Akiduki
Hi, all I am undergoing a project which uses Android(ver. 1.6 and 2.0) to test video quality. When achieving this, I would use Android's internal video codec to decode the test sequences(video clips) which are all encoded using H.264/AVC video codec and capsulated into MP4 container(which is said

[android-developers] How to add an image to my background drawable?

2010-03-18 Thread hap 497
Hi, How can I add a background image (stretch if necessary) in my following drawable? Right now, I set my widget to have a border when it has focus. I want to make it so that when it has focus, it has a border and an image, when it does not has a focus, it has an image. how can I do that? http:/

[android-developers] Setting android.R.styleable.Theme_textColorDim for my android application

2010-03-18 Thread michael
Hi, Can you please tell me how can I set the RBG value of android.R.styleable.Theme_textColorDim for my android application? Thank you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] Image Views in Relative Layout

2010-03-18 Thread Tereno
Hi there, I have a relative layout with 2 existing image views in the XML file. I have a button that programmatically adds more image views to this relative layout. The question is, I would like the new ImageViews to be relative to the last ImageView that has been added. How do I specify the margi

[android-developers] Your feedback on Samples/Tutorials/Articles

2010-03-18 Thread Megha Joshi
Hi everyone, As many of you might have noticed by now, we have added a new Resourcestab under developer.android.com. It contains samples, tutorials and technical articles. We want your feedback to add more samples and tutorials to it.. Please add/

[android-developers] Re: Modify data retrieved for View from SimpleCursorAdapter

2010-03-18 Thread julius
> I tend to override bindView() in a SimpleCursorAdapter subclass for > situations like this. Thanks Mark, this works perfectly. I copied the concepts from an excerpt I found from your book. (just purchased) > Use a JOIN clause in your SQLite rawQuery() that builds the Cursor. Thanks for the direc

[android-developers] Re: onContextItemSelected does not respond

2010-03-18 Thread ccal
okay then, will do try or i'll probably put them in the same class with the list view cause its the safest option Thanks On Mar 18, 9:11 pm, Mark Murphy wrote: > ccal wrote: > > Oops Okay, I'll just paste the only error message part here. this > > is for the one with toast: > > > 03-18 19:29

Re: [android-developers] Trouble with the SDK

2010-03-18 Thread Xavier Ducrohet
Adding a new site replacing https by http will not work to download platform (it's not meant for this, we're making the UI clearer). If you really cannot download over https using r5 (there was a bug in r4 and before but we fixed it), go to the settings page (in the standalone version of the SDK U

[android-developers] how to pause and stop a changing ImageView

2010-03-18 Thread Michael Lam
hi, i have an ImageView in which the picture switches every 5s, i am trying to add a pause and resume button that can stop and restart the action. i am using a Handler, Runnable, and postDelay() for image switch, and i put the code on onResume. i am thinking about using wait and notify for th

Re: [android-developers] Deleting a View from its Parent

2010-03-18 Thread social hub
what is the parent for the view u r fetching. if its the parent (gridview) then I think will throw exception. I did removeviews before I had imgview1 imgview2 bascilly oncreate u get reference to lineralayout using LinearLayout l=findviewbyid(r.id.layout) then lets say onclick event of button

Re: [android-developers] error: Error: No resource found that matches the given name (at 'entries' with value '@arrays/items').

2010-03-18 Thread Mark Murphy
anushree wrote: > hi i am trying to create a list view for ui of my project but it is > returnng the following error: > error: Error: No resource found that matches the given name (at > 'entries' with value '@arrays/items'). > > here's the main.xml: > > > android:id="@+id/widget28" > android:la

[android-developers] Deleting a View from its Parent

2010-03-18 Thread tilo1583
Hi Everyone, I am very new to Android development, but I am not new to develoment of UIs. I am trying to run this piece of code. Basically, there is a GridView which contains a bunch of ImageViews. To each of these image views I have added this onTouchListener as given below. However, the removeV

[android-developers] error: Error: No resource found that matches the given name (at 'entries' with value '@arrays/items').

2010-03-18 Thread anushree
hi i am trying to create a list view for ui of my project but it is returnng the following error: error: Error: No resource found that matches the given name (at 'entries' with value '@arrays/items'). here's the main.xml: http://schemas.android.com/apk/res/android"; > can anyone please tell

[android-developers] Trouble with the SDK

2010-03-18 Thread Source
Hey, after having some developement skills in Java, I thought I'd try to make my own apps for the Android Plattform. But I haven't even installed the whole SDK yet and I've got already my first Problems... I downloaded the SDK r05 Starterpack and tried to install it, no Problems with the eclipse-Ac

Re: [android-developers] Re: onContextItemSelected does not respond

2010-03-18 Thread Mark Murphy
ccal wrote: > Oops Okay, I'll just paste the only error message part here. this > is for the one with toast: > > 03-18 19:29:57.360: DEBUG/AndroidRuntime(21989): Shutting down VM > 03-18 19:29:57.401: WARN/dalvikvm(21989): threadid=3: thread exiting > with uncaught exception (group=0x4001b188)

[android-developers] Re: onContextItemSelected does not respond

2010-03-18 Thread ccal
Oops Okay, I'll just paste the only error message part here. this is for the one with toast: 03-18 19:29:57.360: DEBUG/AndroidRuntime(21989): Shutting down VM 03-18 19:29:57.401: WARN/dalvikvm(21989): threadid=3: thread exiting with uncaught exception (group=0x4001b188) 03-18 19:29:57.401: ERR

Re: [android-developers] need suggestion on how to create views at run time and efficiently

2010-03-18 Thread social hub
similar to list view except it scrolls horizontally same functionality thats all On Thu, Mar 18, 2010 at 3:47 PM, TreKing wrote: > On Thu, Mar 18, 2010 at 2:18 PM, social hub wrote: > >> I am actually using Gallery and using base adapter. Inside base adpater >> getview I have to create runtime

Re: [android-developers] need suggestion on how to create views at run time and efficiently

2010-03-18 Thread TreKing
On Thu, Mar 18, 2010 at 2:18 PM, social hub wrote: > I am actually using Gallery and using base adapter. Inside base adpater > getview I have to create runtime textviews. > Wait, now it's a Gallery? LOL > I may try to put a listview inside gallery getview do u think it will be > useful and eff

[android-developers] Re: How to choose connection type

2010-03-18 Thread spachner
Hi, when Wifi is on, GSM (which means UMTS or what mobil network you are using) is off and vice versa. If GPRS or other transmission types are used is not determined by the protocol (HTTP or whatever) you use. Bluetooth is never used by by HTTP since there is no IP used below. regards Stefan O

[android-developers] Re: adb logcat skips log messages

2010-03-18 Thread fadden
On Mar 17, 11:59 pm, Hoyle wrote: > I've am writing an app that has a major component in C++.  In order to > aid debugging I tend to write a lot of data to the logs from C++ (and > a minimal amount from Java).  The logs are written out using NDK > logging facilities and also written to files on th

[android-developers] Re: BOOT_COMPLETED broadcast sent much later on some devices than others

2010-03-18 Thread Bob Kerns
I wonder if the answer might be "ones with a whole lot of crap apps on them?" I have a lot of crap apps on my Nexus One, and it takes quite a while to really finish booting. If I unlock the screen too soon, the launcher crashes! I'm not sure any of these apps individually qualify as a 'crap app',

Re: [android-developers] Modify data retrieved for View from SimpleCursorAdapter

2010-03-18 Thread Mark Murphy
julius wrote: > I have a SimpleCursorAdapter for a list which returns data from a > SQLite database as it appears in the database. I would like to be able > to change the data as it shows in the View so if I have a long > representing a timestamp I can format it using DateFormat.format. > > Can an

[android-developers] Re: Accessing External Database

2010-03-18 Thread Bob Kerns
On Mar 18, 2:37 am, uday kiran wrote: - So for communicating database(On remote server)  from our application - it is compulsory to write a driver like odbc??? No, ODBC (or JDBC) is at the wrong level. You do not want to be doing SQL over the network. Instead, you want to create a web server t

[android-developers] Modify data retrieved for View from SimpleCursorAdapter

2010-03-18 Thread julius
Hi, I have a SimpleCursorAdapter for a list which returns data from a SQLite database as it appears in the database. I would like to be able to change the data as it shows in the View so if I have a long representing a timestamp I can format it using DateFormat.format. Can anyone recommend a good

[android-developers] Re: recording volume indicator

2010-03-18 Thread BobG
I humbly suggest an 8 segment tower... assuming 8 bit audio, calc the avg level of 'a bunch' of samples (a frames worth? 30ms at 8 samps per ms is 240 samps for example), Set a bar in the level indicator for each bit that is set... 6 db per bit 1 or 2 or 3 db per segment would be more sensitive

Re: [android-developers] Broadcast Receiver / Service will only restart my activity once.

2010-03-18 Thread Hong
I'm running into the same problem, "process is bad" error! No way to recover? On Wed, Mar 17, 2010 at 4:30 PM, AuxOne wrote: > I have a single Activity application, within it I have a service which > creates an AlarmManager and sends a broadcast to a broadcast Receiver. > If the activity which

Re: [android-developers] Re: Using java surface on the native side

2010-03-18 Thread Romain Guy
Your code is accessing a private API, which means that your app will likely break in a future version of Android. DO NOT DO THIS :) On Thu, Mar 18, 2010 at 12:53 PM, Sandy wrote: > Basically I'm trying to pass the surface which is created by Java > Application to my native library. When I use the

[android-developers] Re: Using java surface on the native side

2010-03-18 Thread Sandy
Basically I'm trying to pass the surface which is created by Java Application to my native library. When I use the GetIntField() function to get the surface object (ISurface) function, the object passed by app is becoimg null. Anyone faced similar issues? Thanks, Sandeep On Mar 18, 2:31 pm, Sand

[android-developers] Re: Is app's first run?

2010-03-18 Thread Mark Wyszomierski
Yeah that works perfectly, in my situation I'm working on an existing project that is already in the wild, so I can't rely on a value in the preferences file to check for this though. That would be the best solution I think. To get around this, I can do something like the following (going off your

Re: [android-developers] Re: onContextItemSelected does not respond

2010-03-18 Thread Mark Murphy
ccal wrote: > I viewed the DDMS and it started with "thread exiting with uncaught > exception" message. > and then it shows that the error was caused by toast activity. And the error is...what? > I tried another activity (receiver intent), and it also crash. And the error is...what? > Is this r

[android-developers] Re: recording volume indicator

2010-03-18 Thread Bob Kerns
The first thing to do would be to be clear about just why you want to do this. Do you want to show when clipping is happening? How much headroom you have before clipping? Whether there's sufficient audio input? Presence of noise? Just a pretty display to assure the user it's working and look cool?

Re: [android-developers] Re: Is app's first run?

2010-03-18 Thread Mark Murphy
Mark Wyszomierski wrote: > Yeah that definition is perfect, having a little trouble implementing > it though. > > I'm just trying to use: > > File file = getFilesDir(); > > this points to: > > /data/data/com.foo.bar/files > > which is empty though, nothing gets written there during my app'

Re: [android-developers] Re: GPS without gps signal

2010-03-18 Thread mike
On 03/18/2010 12:30 PM, Matias Alberto de la Vega wrote: As Mike said, you will be able to use GPS even if you have no mobile signal or wifi connectivity, since GPS has it's own satellites, you can get coordenates as long as you have GPS friendly environment, some tips: you MUST be able to see th

[android-developers] Re: CAMERA permission features

2010-03-18 Thread Matias Alberto de la Vega
Sure you can use something like: Camera mCamera = Camera.open(); Camera.Parameters params = mCamera.getParameters(); ArrayList focusModes = params.getSupportedFocusModes(); ArrayList flashModes = params.getSupportedFlashModes(); Take care. On 18 mar, 13:30, Paolo wrote: > I have to develop an a

[android-developers] Re: onContextItemSelected does not respond

2010-03-18 Thread ccal
I viewed the DDMS and it started with "thread exiting with uncaught exception" message. and then it shows that the error was caused by toast activity. I tried to write only log.d output, and it works. I tried another activity (receiver intent), and it also crash. Is this related to uncaught except

[android-developers] Re: Is app's first run?

2010-03-18 Thread Mark Wyszomierski
Yeah that definition is perfect, having a little trouble implementing it though. I'm just trying to use: File file = getFilesDir(); this points to: /data/data/com.foo.bar/files which is empty though, nothing gets written there during my app's lifetime. My app's directory structure looks li

[android-developers] Re: email multi attachments

2010-03-18 Thread Matias Alberto de la Vega
Yes I have the zip stuff working, yet couldn't manage to make ACTION_SEND_MULTIPLE either =( too bad that Google had put so little info about that topic in the API documentation. If you need some snippets with the zip let me know. Bye On 17 mar, 22:51, SRF wrote: > I couldn't get ACTION_SEND_MULT

[android-developers] Using java surface on the native side

2010-03-18 Thread Sandy
I'm having issues when trying to use the java surface on the native side. However, when I create the surface on the native side, the media playback is fine. The following are the things that I'm doing in my code: 1. Creating a Surface View and getting the Surface from the Surface Holder from the

[android-developers] Re: GPS without gps signal

2010-03-18 Thread Matias Alberto de la Vega
As Mike said, you will be able to use GPS even if you have no mobile signal or wifi connectivity, since GPS has it's own satellites, you can get coordenates as long as you have GPS friendly environment, some tips: you MUST be able to see the sky, no tall buildings around is better, and the bigger p

[android-developers] Re: Multiple OpenGL Activities

2010-03-18 Thread a1
Check this bug http://code.google.com/p/android/issues/detail?id=2828&q=glsurfaceview&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars - as you'll see current implementation allows only one glsurfaceview instance per process On Mar 18, 8:36 am, Tim Liu wrote: > Hi, > > I'm having a problem w

[android-developers] Big difficult to develop in Android :( (I'm italian)

2010-03-18 Thread massimo
Hi, I'm italian boy. I see that I have big big difficult to start to develop with android. I know Java and I have all the Eclipes and Android SDK installed. But for me undestand this SDK is very impossible. Online the Google Docs about SDK is too less complete and I see that is difficult to make s

Re: [android-developers] need suggestion on how to create views at run time and efficiently

2010-03-18 Thread social hub
I am actually using Gallery and using base adapter. Inside base adpater getview I have to create runtime textviews. I may try to put a listview inside gallery getview do u think it will be useful and efficient than creating views at runtime as described below. Thanks On Thu, Mar 18, 2010 at 1:

Re: [android-developers] Re: msgid in strings.xml

2010-03-18 Thread Carlos A. M. dos Santos
On Thu, Dec 10, 2009 at 2:21 PM, Ken wrote: > Anyone? Nobody yet, but I also would like to know. > On Nov 24, 12:47 am, Ken wrote: >> Hello, >> >> There are msgid in localized strings.xml. What are they? What's their >> usage? How they are generated? Why the default strings.xml doesnt have >> m

[android-developers] Re: ServerSocket to wake up a sleeping phone

2010-03-18 Thread moneytoo
1. Try waking the device right after receiving something from socket (works for me with Bluetooth) or 2. Set wakelock for whole session. On Mar 17, 1:07 pm, Miguel Paraz wrote: > Hi, > I noticed that if the Android phone is listening on a ServerSocket on > the 3G network, and is then put to sleep

[android-developers] Re: Service that injects key events.

2010-03-18 Thread moneytoo
It's possible but only within your activity, not outside. On Mar 17, 6:06 pm, Tim wrote: > Is it possible to have a service running in the background that > > a) Finds the current foreground activity. > b) Sends key press or touch events to it? -- You received this message because you are subsc

[android-developers] Re: Want to execute arm compiled executable file on Android adb shell

2010-03-18 Thread mah
I believe you're right. On a Nexus One, if I "adb shell" in and issue the "mount" command, it shows that /sdcard does indeed include the noexec flag. It also includes nosuid (is that necessary considering there's noexec?) and nodev. On Mar 18, 10:41 am, Tim wrote: > On Mar 17, 11:20 am, Parse wr

[android-developers] Re: Can't connect to SPP device

2010-03-18 Thread moneytoo
createRfcommSocketToServiceRecord() is used for creating server socket, you can only call connect() on client socket. What mode does the device use you are trying to connect to? Please be aware that these unofficial API for 1.x doesn't work in server mode. On Mar 18, 5:00 pm, Gui wrote: > Hi,

Re: [android-developers] need suggestion on how to create views at run time and efficiently

2010-03-18 Thread TreKing
On Thu, Mar 18, 2010 at 10:47 AM, social hub wrote: > Hi, > > I have a case where I have add to listview textview based on no of > messages. > > 1) > I am doing like this > for(int i=0;i<10;i++) > { > TextView tv=new TextView(context); >linearlayout.add(tv);

Re: [android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-18 Thread Kevin Duffey
Shaun, yah.. saw that too. No big.. so it looks like its limited on Android at this point. They provide an iPhone SDK which means you're dependent on their SDK code working correctly with their service.. and as well if they change/update their service probably have to update the SDK and possibly re

Re: [android-developers] Re: Is app's first run?

2010-03-18 Thread Mark Murphy
Mark Wyszomierski wrote: >>> Otherwise, checking for files/databases/preferences is pretty typical AFAIK. > > This sounds like my best bet - so you're saying at app startup, I can > check if files/databases/preferences exists - if it does, this is not > my first run, if it is missing, then it's my

Re: [android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-18 Thread Justin Giles
I inquired for more information at Scoreloop. It's free for developers to use. No cost to us. Looks like they make their money from users purchasing "coins" that the users use to challenge other players. Coins can be had by getting on the high score list, inviting others to Scoreloop, or purcha

[android-developers] Re: How to show a ScrollView with button anchored to bottom of screen?

2010-03-18 Thread I.E.
I tried setting the weight, but this just makes the ScrollView disappear. Anyway, I have figured out the fix: Use a RelativeLayout for the main view instead of LinearLayout. See code below. This was a useful reference: http://www.anddev.org/viewtopic.php?p=11159 package com.test.ScrollViewTest;

[android-developers] Re: Is app's first run?

2010-03-18 Thread Mark Wyszomierski
>> Otherwise, checking for files/databases/preferences is pretty typical AFAIK. This sounds like my best bet - so you're saying at app startup, I can check if files/databases/preferences exists - if it does, this is not my first run, if it is missing, then it's my first run? Thanks On Mar 18, 11

[android-developers] Re: How to show a ScrollView with button anchored to bottom of screen?

2010-03-18 Thread I.E.
I tried setting the weight, but this just makes the ScrollView disappear. Anyway, I have figured out the fix: Use a RelativeLayout for the main view instead of LinearLayout. See code below. This was a useful reference: http://www.anddev.org/viewtopic.php?p=11159 package com.test.ScrollViewTest; i

Re: [android-developers] Is app's first run?

2010-03-18 Thread Mark Murphy
Mark Wyszomierski wrote: > Is there any way to tell whether an application is being run for the > first time, other than checking if there are any left over > preferences / files from a previous run? While your app can't receive a broadcast Intent saying it was installed, I think you can receive o

Re: [android-developers] How to show a ScrollView with button anchored to bottom of screen?

2010-03-18 Thread TreKing
On Thu, Mar 18, 2010 at 9:40 AM, I.E. wrote: > So how do I make the ScrollView show a scrolling list, with the bottom > button in view, and without specifying an exact size of the > ScrollView? > I didn't look at the code, too much to read through, sorry. But if you specify the weight on the Scr

[android-developers] Is app's first run?

2010-03-18 Thread Mark Wyszomierski
Hi, Is there any way to tell whether an application is being run for the first time, other than checking if there are any left over preferences / files from a previous run? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-18 Thread shaun
@Kevin About Scoreloop, I just tried to access their SDK for Android and here is what is listed: "Android SDK Core Social for Android is being released to a first group of developers. If you're interested in early access, please email partnersh...@scoreloop.com" On Mar 18, 2:41 am, Robert Green

[android-developers] Multi application pack

2010-03-18 Thread Olivier
Hi, I have made some applications that I want install with a unique apk. I try something with the manifest but don't work. I know it's possible because beatiful widgets does. If there is a tutorial I missed, thank's to link it to me. The faster you will give it to me, the faster my appi will be pub

Re: [android-developers] Android mapview getbounds

2010-03-18 Thread TreKing
On Thu, Mar 18, 2010 at 8:52 AM, veradis wrote: > How can we get latitude and longitude values of northwest and > southeast coordinates points of the mapview. Please help!. > MapView has getCenter() and getLongitudeSpan() and getLatitudeSpan() values. With that information getting the bounds is

[android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-18 Thread Mario Zechner
I agree a 100% with Robert (and i didn't know i was actually of any help ever :p). I found that actually relying on 3rd party libraries is often times not beneficial. It's perfect to quasi out source tasks like loading models, basic collision and intersection testing and so on to a 3rd party librar

[android-developers] Re: Life cycle

2010-03-18 Thread Kumar Bibek
onStop method is always called. But, there is noi guarantee that onDestroy will be called when the application is being killed by the OS. So, it really depends on your requirement as to which code goes where. Thanks and Regards, Kumar Bibek On Mar 18, 8:23 pm, Mark Murphy wrote: > Anzi wrote: >

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-18 Thread Kumar Bibek
According to me, you should also add the gdata-base and gdata-client. Perhaps, here are the super classes of CalendarService. Try it once and I am sure that this will work. Thanks and Regards, Kumar Bibek On Mar 17, 4:04 am, Bob Kerns wrote: > From your log messages, I would guess that the clas

Re: [android-developers] Re: Manually set preferences being overwritten by a subclass of PreferenceActivity

2010-03-18 Thread TreKing
On Thu, Mar 18, 2010 at 7:59 AM, Pete wrote: > This has > been working fine for a long time and has only had problems when > introducing another preference screen that is backed by a subclass of > PreferenceActivity. > Be aware that the SharedPreferences object that you get from getSharedPrefere

[android-developers] Re: Multiple OpenGL Activities

2010-03-18 Thread Mario Zechner
I think Dianne Hackborne stated in one of the live wallpaper related threads that many devices have problems with managing more than one OpenGL contexts. The context is where all your OpenGL states get stored and managed. I assume there's no solution to this as it's probably tightly connected to ha

[android-developers] Re: Application taking over Phone app call

2010-03-18 Thread Brion Emde
You can set up the dialer so it is ready to make a call when the user hits the Send key. That does not take any extra permission. You can also initiate a phone call via the Dialer, but you have to declare a permission to do that. On Mar 17, 4:38 pm, Fabio wrote: > Hello all, > > I have a task at

[android-developers] Re: Avoid launching a task twice from notification manager

2010-03-18 Thread Kumar Bibek
Try launching the Activity without setting the flag. Read up a bit about Tasks and Affinity. http://developer.android.com/guide/topics/fundamentals.html#acttask Thanks and Regards, Kumar Bibek On Mar 18, 10:59 pm, Loki117 wrote: > Hey Wah check out the use of a Singleton design pattern on your

[android-developers] Re: OpenGL Circle drawing

2010-03-18 Thread Mario Zechner
I wouldn't place all my bets on OpenGL ES 2.0 so fast as most devices out there won't support it (hardware wise, it's not so much a question of the Android version used). For a foreseeable time you will have to have to rendering paths one for OpenGL 1.x and another for 2.0. Start with 1.x, it's eas

[android-developers] Re: OpenGL Circle drawing

2010-03-18 Thread Robert Green
Loki, Even though ES 2.0 is supported, I would recommend sticking with 1.0/1.1 unless you really know what you're doing. They are very different in approach. Also, most devices don't support it, so if you want something that can run on everything other than the Droid and N1, stick with 1.0/1.1.

[android-developers] Re: Hi All TabWidget Show is Small

2010-03-18 Thread Kumar Bibek
I would recommend to go for a Gallery view for such a requirement. Have a look at some examples and think about it. Thanks and Regards, Kumar Bibek On Mar 18, 4:47 pm, Kantesh wrote: > Hi takky >                  wenever u create tab by using > TabHost.addTab(TabSpec); rite??  store all tabspecs

[android-developers] Re: Answer automatically to Incoming Call

2010-03-18 Thread Kumar Bibek
This is simply not possible if you are not modifying the source code. Don't waste time. Thanks and Regards, Kumar Bibek On Mar 18, 11:52 am, Andreas wrote: > Hi, > > I have not tried this, but it seems to me that you use the > ACTION_CALL_BUTTON in your code, rather than the ACTION_ANSWER, and >

[android-developers] Re: Why add child Activities to TabActivity instead of simply using Views

2010-03-18 Thread Kumar Bibek
Yup, If the individual activities would maintain their own activity stack, then it would have been good. I mean, from inside a tab, you launch another activity, and the new activity should be displayed inside the tab, that would have been a better use. Perhaps, the only one advantage that I can se

[android-developers] Re: Avoid launching a task twice from notification manager

2010-03-18 Thread Loki117
Hey Wah check out the use of a Singleton design pattern on your receiver to a notification and create or display a Activity or I do believe there is a manifest attribute that allows for redisplay rather than recreate. On Mar 18, 1:37 pm, Wah wrote: > Hi all: > > From notification manager, how do

[android-developers] Measuring Conversions from Advertising

2010-03-18 Thread polyclefsoftware
I use AdWords and also serve house ads in my own apps to try to increase sales of my paid apps. I was wondering how many other devs are doing this, and if so, how you are attempting to measure the effectiveness of this advertising. If the landing page is my company website, and I have market link

[android-developers] Re: OpenGL Circle drawing

2010-03-18 Thread Loki117
Indeed as Robert said and as I mentioned in the question I did not want to use Canvas operations as it is just too slow especially if any other animation is running at the same time or could run as the result of some user input such as a slide up menu or animated swirl. Thanks for your suggestion

  1   2   3   >