Re: [android-developers] Can't we add shared libraries without use of android ndk tools

2010-05-27 Thread David Turner
How did you compile the library if you didn't use the NDK?. There are great chances that what you generated is not a valid ARM ELF binary that can be loaded on Android. On Tue, May 25, 2010 at 6:31 AM, Karteek N kartee...@gmail.com wrote: Hi all, I have gone through android ndk tutorials. But

[android-developers] Re: How to go back from 2.2 to 2.1update (ERE27) on nexus one

2010-05-27 Thread Zsolt Vasvari
This is why you shouldn't be doing unofficial things to your phone ... Nobody said that the 2.2 update was unofficial. Since it has been mentioned on numerous blogs (Techcrunch, Engadget, etc.) that people were starting to get OTA updates, to me that indicated that the rollout had begun. I

[android-developers] Re: Playing live stream (RTP) in MediaPlayer

2010-05-27 Thread debelyoo
I agree with Andy's comment: On May 25, 8:36 am, Andy Savage a...@bluewire.net.nz wrote: There seems to be a limitation that means that it will only accept SDP information with RTP streams inside if it gets them from the RTSP stream (e.g. it gets this information from SETUP in the RTSP

[android-developers] Re: Getting MIDlet version and CLDC version

2010-05-27 Thread Jean-Baptiste Charles Bouvet de Lozier
It's not a bad question, it would be absolutely possible to write a J2ME layer on the top of Android and run old midelts, but currently this library is not available. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Can't we add shared libraries without use of android ndk tools

2010-05-27 Thread karteek
An exception is poping that application is not respondiong with options force close or wait And The logcat showing the following 05-27 11:45:56.193: ERROR/AndroidRuntime(231): Caused by: java.lang.UnsatisfiedLinkError: Library mylib not found On May 27, 10:37 am, fadden fad...@android.com wrote:

[android-developers] Re: Can't we add shared libraries without use of android ndk tools

2010-05-27 Thread karteek
How did you compile the library if you didn't use the NDK?. I compiled using the following commands cc -c -fPIC mycfile.c -o mycfile.o cc -o libmylib.so -shared -Wl,-soname,libmy.so mycfile.o On May 27, 11:03 am, David Turner di...@android.com wrote: How did you compile the library if you

Re: [android-developers] Re: Problem with StateListDrawables not found in 1.5 but there from 1.6 onwards

2010-05-27 Thread Alok Kulkarni
Guys , I finally found the solution for my original problem.So thought of sharing it if someone has the same in the future. Using the 3 images itself ,my problem was solved by adding a zero padding explicitly android:paddingLeft=0dip android:paddingRight=0dip android:paddingTop=0dip

[android-developers] How to get current timezone when user has selected use network-provided values

2010-05-27 Thread Chister Nordvik
I am using the function: http://developer.android.com/intl/de/reference/java/util/TimeZone.html#getRawOffset%28%29 to get the GMT offset and use that to display dates in the users timezone. This works great if the users has set a timezone in the settings of Android, but if the user has selected

[android-developers] Re: Certain apps not being shown in Android Market?

2010-05-27 Thread String
On May 27, 3:44 am, powder andr...@unidevsolutions.com wrote: When is Google going to fix this problem? Not related but also a point to mention is that all rooted phones out there will not be able to see the copy protected apps. Probably since they can log in with root and get access to

[android-developers] how can I get the Google account or Gmail address from the phone

2010-05-27 Thread ayanir
Hello, I was looking for this info all over and still haven't found an answer. Is there a way to get the Google account or the Gmail address (no password) which have been signed to the device. the closest thing I saw is using AccountManager and Acount but this is only for Android class 5 or

Re: [android-developers] Deploy my app

2010-05-27 Thread Lamia Hannoun
Hey! Thank u it works perfectly :) 2010/5/26 TreKing treking...@gmail.com On Wed, May 26, 2010 at 2:49 PM, Lamia Hannoun lamia.hann...@gmail.comwrote: When i deploy my activity on my phone, all activities that i visit when i use my app appear on the home page of my phone it's like i

Re: [android-developers] how can I get the Google account or Gmail address from the phone

2010-05-27 Thread Jose Luis Montes
I was looking for this issue too. The diference is that i need to get username (gmail address) and password, or google credentials. I need this to use google calendar api, but gdata lib version 1 is android not compatible and version 2 (which is android compatible) is api level 5 or higher and i

[android-developers] SampleSyncAdapter doesn't show up in list of Content Providers

2010-05-27 Thread Shantanu
Hi I'm writing an android app and have installed the SampleSyncAdapter example that comes with the SDK onto the emulator. I can also see it in add accounts and successfully added a dummy account with it which I can see in accounts and sync settings and change its settings as well. The question

[android-developers] Re: Twitter app's popup aligned with ListView item - how did they do it?

2010-05-27 Thread ionel
Can you put some code how you created PopupWindows? On May 21, 10:53 pm, Nerdrow troybe...@gmail.com wrote: I used the layouts, graphics, and animation from the default Contacts app, which uses separate layouts for the header, body, and footer, but you can merge them all into one.  Create a

[android-developers] Re: Froyo 2.2 disables requestWindowFeature(Window.FEATURE_NO_TITLE);

2010-05-27 Thread gjs
Hi, No seems ok to me on Nexus1 with 2.2 and an app that uses requestWindowFeature(Window.FEATURE_NO_TITLE); Do you mean 2.2 on phone or emulator ? Regards On May 27, 8:17 am, Richard Leggett richard.legg...@gmail.com wrote: Just trying to get a confirmation, has anyone else found that since

[android-developers] Re: Get Notified when a new access point is added?

2010-05-27 Thread Donal Rafferty
Would using NETWORK_IDS_CHANGED_ACTION be an option? http://developer.android.com/intl/de/reference/android/net/wifi/WifiManager.html#NETWORK_IDS_CHANGED_ACTION On Wed, May 26, 2010 at 4:38 PM, draf...@gmail.com draf...@gmail.comwrote: I was wondering is it possible to get a notification of

[android-developers] Key repeat delay

2010-05-27 Thread Lee
Quickie: anyone know if the key repeat delay is accessible (readable) anywhere ? Thanks, Lee -- 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

[android-developers] How to implement the functon like push mail?

2010-05-27 Thread perrot
The functions like exchange activesync. It can set interval time to sync mail from exchange server. Where can I get the example? Thank you very much. Perrot -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Participate in app promotion experiment

2010-05-27 Thread Geefer
Here are the results so far from this experiment for my app PuzzleQube. A little background. This is the free version of my first app and it was released around 3 weeks ago, about 12 days before the experiement started. The app is a picture puzzle where 6 pictures are divided into smaller square

[android-developers] Re: Froyo 2.2 disables requestWindowFeature(Window.FEATURE_NO_TITLE);

2010-05-27 Thread String
On May 27, 9:39 am, gjs garyjamessi...@gmail.com wrote: No seems ok to me on Nexus1 with 2.2 and an app that uses requestWindowFeature(Window.FEATURE_NO_TITLE); Do you mean 2.2 on phone or emulator ? Works fine for me as well, on both an emulator instance and a Nexus One flashed to 2.2.

[android-developers] Re: data transfer from pc through usb

2010-05-27 Thread Jags
I was wondering if m post is visible in the forum :) On May 25, 1:48 pm, Jags jag...@gmail.com wrote: my android application needs to transfer some data from PC using usb and bluetooth, what are the feasibility and sample codes, if any ? --jgs -- You received this message because you are

[android-developers] Re: Android Apps purchasing from anywhere in the world

2010-05-27 Thread Tomáš Hubálek
I'm still afraid that sales via slideme.org will be just a very small fraction comparing to selling my own licence keys to free apps via paypal. If you compare download rates for the same app on Android Market and on Slideme there is significant difference. But slideme.org is IMHO a proof that

[android-developers] How to create a file outside the application?

2010-05-27 Thread pramod.deore
Hi, I want to create a file out side the application and memory card. How to create it? I know how to create it under application but how to create it outside the application? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Eclair: MovieView App to put into background like Music App.

2010-05-27 Thread Deva R
Hi, Android Music app (com.android.music) shall reamin active (continue playing music) in background, but not any other apps (say browser cant be put in background)? Is it possible to have android movie player (com.android.camera.MovieView) to behave in similar fashion? My requirement is - to

[android-developers] Re: Accelerometer not working when screen turns off

2010-05-27 Thread Jonathan
I heard back from the developer at Google. This should be fixed starting in 2.2. :-) A partial wake lock will be required in order to keep the sensors running when the CPU goes in standby, but the screen turning off will no longer stop the sensors from running. Although I would prefer not to

[android-developers] How to run CameraTests on Android?

2010-05-27 Thread sachinikam
I have built CameraTests present in packages/apps/Camera/tests and installed CameraTests.apk on device. From adb shell tried running below command: adb shell am instrument -w com.android.camera.tests/ com.android.camera.CameraStressTestRunner Got the following error:-

Re: [android-developers] How to create a file outside the application?

2010-05-27 Thread Mark Murphy
pramod.deore wrote: Hi, I want to create a file out side the application and memory card. How to create it? I know how to create it under application but how to create it outside the application? You have only two places to put files: the app-local file store (getFilesDir()) and the SD card.

[android-developers] Contact shortcuts in Android 2.2: Missing anchor rectangle

2010-05-27 Thread Bo
Hi all, I came across a problem with contact shortcuts created in my own home replacement. In Froyo, they are supposed to invoke that quick contact bar, however, an unhandled exception emerged, saying 05-27 14:05:13.675: ERROR/AndroidRuntime(7912): Caused by: java.lang.IllegalArgumentException:

[android-developers] Add themes to the android application.

2010-05-27 Thread mudit
hi all. i want to add themes to my android application. In the application, user will have options to changes theme of the application. Just like OIShopping List appplication. Please help how do i implement this kind of structure to my application. Any help, tutorials, guidance are highly

[android-developers] Beta Testing Request - TextWand

2010-05-27 Thread Sam
Hi, We are developing a Text Messaging product called TextWand 'http:// www.textwand.com for the Android platform. I wanted to request the users of your forum to Beta test it and let us know if it works well for Android. How can I post this invitation on your forum without it appearing to be an

[android-developers] Notification for the Message sent by SMS toolkit

2010-05-27 Thread Honest
Hello, Can some one say me how can i get notification for the message which user sent ?? and especially the message sent by SMS toolkit ? -- 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] DexClassLoader- ActiivityNotFound

2010-05-27 Thread Craig
Hi, I am trying to build an app that will load other 3rd party apk files and can control access to them. For this reason I don't want to install the files as then people will be able to bypass the checks my app does etc. I was told DexClassLoader would be the best way to do this. Here is my

[android-developers] Re: Froyo 2.2 disables requestWindowFeature(Window.FEATURE_NO_TITLE);

2010-05-27 Thread Richard Leggett
Thanks for confirming, I must have something missing from my manifest then, strange. On May 27, 11:22 am, String sterling.ud...@gmail.com wrote: On May 27, 9:39 am, gjs garyjamessi...@gmail.com wrote: No seems ok to me on Nexus1 with 2.2 and an app that uses

[android-developers] Anrdoid AppWidget setPendingIntent didn't work until reboot

2010-05-27 Thread SynteZZZ
Hello. I'm creating an AppWidget application. It has a button which launches external activity. Here is code: Intent clickintent = new Intent(Intent.ACTION_MAIN); clickintent.addCategory(Intent.CATEGORY_LAUNCHER); clickintent.setComponent(new

[android-developers] Re: 2.2 froyo ssl handshake failure with DefaultHttpClient

2010-05-27 Thread Weng
Thanks, but I've already seen and tried this solution but it doesn't work. On 26 mei, 17:06, Mark Murphy mmur...@commonsware.com wrote: Weng wrote: As you can see, I'm using the default httpclient and connectionmanager. It is hard to debug because I don't have the source code. Has anything

Re: [android-developers] Refreshing an activity on a tabwidget

2010-05-27 Thread Lamia Hannoun
Well i still can't refresh my listview, here is the code @Override *protected* *void* onCreate(Bundle savedInstanceState) { .. eventAdapter=*new* EventAdapter(ListData,*this*); eventAdapter.addListener(*this*); eventAdapter.notifyDataSetChanged(); list.setAdapter(eventAdapter); ..

[android-developers] Close alertdialog.builder from an external button

2010-05-27 Thread Lamia Hannoun
Hi! well it's all in the subject :) do u have any ideas about how to dismiss a builder from an external button. I did mybuilder.create().dismiss() inside the onclicklistener of the button. But it doesn't work. Thx for any help. -- You received this message because you are subscribed to the

[android-developers] Re: Looking for advice into best way to store images within app

2010-05-27 Thread String
On May 13, 3:11 am, r...@thelogicbox richlarco...@gmail.com wrote: Hence no need for a content provider, but yes they are viewable by the stock gallery viewer (as effectively they're just JPG's in a folder on the SDcard like any others). Just came across this thread while researching

[android-developers] How to get the soft keyboard input with out edit text?

2010-05-27 Thread davidrobin
Hi all, I am new to Android and I am currently blocked by this issue: I am using the following code to display the soft keyboard, but how can I get the input? Button b = (Button)findViewById(R.id.Button01); b.setOnClickListener(new View.OnClickListener() {

[android-developers] Re: How to get the soft keyboard input with out edit text?

2010-05-27 Thread greg
Have you tried @Override public boolean onKeyUp(int keyCode, KeyEvent event)? - Greg On May 27, 9:57 am, davidrobin robin2...@gmail.com wrote: Hi all, I am new to Android and I am currently blocked by this issue: I am using the following code to display the soft keyboard, but how can I get

[android-developers] Sorry, this video cannot be played

2010-05-27 Thread zohar lerman
Hi, i am trying to open an youtube url but i get 'Sorry, this video cannot be played' message. It is not consistent and happend on htc ( dream and hero ) 1.5 devices but not on motorola droid. the code i am using is: Intent myIntent = new Intent(Intent.ACTION_VIEW,Uri.parse(http://

[android-developers] Null canvas being passed to onDraw(Canvas canvas)

2010-05-27 Thread Erik
I have two bug reports now in my publisher console, and the both are Null Pointer Exceptions from onDraw, and result from a null canvas object being passed into the method. I've searched and not found any information on why this may be happening. Anyone have ideas? Or any ideas on how to

[android-developers] Socket freezes using GSM connection

2010-05-27 Thread ayanir
Hello, I’m working on application that uses a socket connection. I’ve implemented 2 different Threads for the read() and the write() methods so they are not being blocked by the read. Everything is working well on the WiFi connection but when I switch to GSM connection the connection becomes

[android-developers] Re: Deploy my app on HTC

2010-05-27 Thread greg
Perhaps you are inadvertently requesting all those icons in your AndroidManifest.xml. Can you post it? - Greg On May 26, 9:48 am, Lamia Hannoun lamia.hann...@gmail.com wrote: Hello ! I'm ready to deploy my application on android phones to test it.How can i have a unique icon becuz when i

[android-developers] Re: how can I get the Google account or Gmail address from the phone

2010-05-27 Thread ayanir
I think I found it. the original post is from: http://groups.google.com/group/android-developers/browse_thread/thread/7a6bf77910ca31e0/7a7659d61a89fa41?lnk=gstq=how+can+I+get+the+Google+account+or+Gmail+address+from+the+phone#7a7659d61a89fa41 1. download the framework.jar from:

Re: [android-developers] Re: Deploy my app on HTC

2010-05-27 Thread Lamia Hannoun
Thx :) i did resolve it, actually it was all in my the manifest file. the launcher was the same for all the activitives. 2010/5/27 greg sep...@eduneer.com Perhaps you are inadvertently requesting all those icons in your AndroidManifest.xml. Can you post it? - Greg On May 26, 9:48 am,

Re: [android-developers] Re: how can I get the Google account or Gmail address from the phone

2010-05-27 Thread Jose Luis Montes
thank you very much :D On Thu, May 27, 2010 at 4:36 PM, ayanir ayanir...@gmail.com wrote: I think I found it. the original post is from:

[android-developers] Re: Client server setup in android

2010-05-27 Thread santha
Im planning to use Native JSON parser.. like json.parse(jsonsting); U have any suggestion which parse have to use?? On May 27, 5:49 am, feweiss fewe...@gmail.com wrote: Give it a try. BTW, which JSON parser are you using on the server? On Tue, May 25, 2010 at 7:40 PM, santha

[android-developers] How to load from database GeoPoint on demand?

2010-05-27 Thread fjfdeztoro
Hi guys, I'm getting crazy because of that, i'm doing a Application for load some overlays from a database in the selfphone and show it on the mapview. I want to load them on demand because could be a few thousands of points. Does somebody know how can i do that? I'm trying to load the new

[android-developers] Making the Account API better

2010-05-27 Thread dadical
Recently I added usage of the Android Account APIs to my application. I'm using the user's google account credentials to perform a read operation from a specific Google site, and consequently, my app requires the GET_ACCOUNTS and USE_CREDENTIALS permissions. Surprisingly, I have NOT had a huge

[android-developers] Re: How to get the soft keyboard input with out edit text?

2010-05-27 Thread davidrobin
Thanks for reply. I haven't tried that yet. Do you mean to intercept the key event and handle it by myself? I don't want to do that. I want the default IME soft keyboard to handle user input. All I want is the final result of the input string. Thanks! On 5月27日, 下午10时07分, greg

Re: [android-developers] Re: How to get the soft keyboard input with out edit text?

2010-05-27 Thread Mark Murphy
davidrobin wrote: All I want is the final result of the input string. There is no input string without an EditText. At most, with onKeyUp() you might get individual key events (haven't tried that myself). If you want an input string, put an EditText in your layout. -- Mark Murphy (a Commons

[android-developers] MediaPlayer Breaks in FroYo

2010-05-27 Thread scp89
I have an mp4 from youtube that I'm trying to stream. It works perfectly in Android 2.1, but in Android 2.2 it reports a http 303 error. But If I dump the headers of the file, it reports a 200 (OK). Any Idea why the new mediaplayer in 2.2 would report this error, when everything works fine in 2.1?

[android-developers] smsc

2010-05-27 Thread sashomasho
Hello, After a long research I came to the conclusion that blocking outgoing sms messages isn't possible at the moment in Android, however I really need this functionality and an idea pop up - to remove manually the SMSC record at the system level and when I need to send a sms to give the SMSC

[android-developers] Android Emulator: Accounts Sync

2010-05-27 Thread Eurig Jones
I'm using the 2.2 Android emulator. How do you enter your google account details? I would like to test a new app called chrometophone which uses 2.2's new C2DM api. This seems to require being able to add google account details. -- You received this message because you are subscribed to the

[android-developers] Desnity-Based Resource Selection

2010-05-27 Thread nEx.Software
OK, I am seriously confused here and I hope that someone can offer some thoughts on this... I have a graphic (test.png) of which I need to include density- specific versions, so I put a large (150 X 150) version in res/ drawable-hdpi, and a smaller (100 x 100) version in res/drawable-mdpi. I then

Re: [android-developers] Android Emulator: Accounts Sync

2010-05-27 Thread Mark Murphy
Eurig Jones wrote: I'm using the 2.2 Android emulator. How do you enter your google account details? I would like to test a new app called chrometophone which uses 2.2's new C2DM api. This seems to require being able to add google account details. Settings Accounts Sync Add Account

[android-developers] What would cause an activity's private field to be cleared after onActivityResult?

2010-05-27 Thread vistaman
I am seeing a rare exception: Let's say my main activity has a list of data, called Liststring dataList. I initialize it in the onCreate method of the Activity, so it should never be null during the lifetime of an activity. Yet, sometimes (very rare) after a sub-activity has finished and the main

Re: [android-developers] Desnity-Based Resource Selection

2010-05-27 Thread Mark Murphy
nEx.Software wrote: OK, I am seriously confused here and I hope that someone can offer some thoughts on this... I have a graphic (test.png) of which I need to include density- specific versions, so I put a large (150 X 150) version in res/ drawable-hdpi, and a smaller (100 x 100) version in

[android-developers] Re: Desnity-Based Resource Selection

2010-05-27 Thread nEx.Software
Doh, I feel like a dummy now. It would appear I didn't add a supports- screens element. I added it as: supports-screens android:largeScreens=true android:normalScreens=true android:smallScreens=true android:anyDensity=true / And now it works properly.

Re: [android-developers] Contact shortcuts in Android 2.2: Missing anchor rectangle

2010-05-27 Thread Romain Guy
The rect is part of the Intent itself, it's not an extra. And it's not new in Froyo, it was added for 2.1. On Thu, May 27, 2010 at 5:28 AM, Bo wang.b.fr...@gmail.com wrote: Hi all, I came across a problem with contact shortcuts created in my own home replacement. In Froyo, they are supposed

[android-developers] Easy way to find out the current activity in unit tests?

2010-05-27 Thread Mariano Kamp
Hi, I want to test an activity that might be already finished() and the control flow has moved on to another activity. Hence in a test I would like to make sure first that I am still on the activity that I want to test. Is there any way to find out what the current activity displayed is or if my

[android-developers] Night Mode?

2010-05-27 Thread Mariano Kamp
Hey guys, how does it work? I can see that I can query the UiModeManagerhttp://developer.android.com/reference/android/app/UiModeManager.html for yes/no/auto, whereby auto means that it is set by time/luminance?! I can then ask the

[android-developers] Video Codec

2010-05-27 Thread scowpert
Does anyone know the actually acceptable video codec for Android? The spec site says H.264 AVC and MPEG-4 SP which does me little to know good since the H.264 baseline codecs do not seem to work. I need to know what profile android requires. In short we want to make sure thousands of our assets

[android-developers] A calendar ui component / widget

2010-05-27 Thread olivier
Hi, I am looking for a calendar UI. Something like the Calendar UI of the Calendar Android Application but only with the view. (I know that's open source so I can extract the UI but it's a long process to remove all the staff unnecessary) Is there any open source Calendar UI project for android

[android-developers] Re: Contact shortcuts in Android 2.2: Missing anchor rectangle

2010-05-27 Thread Bo
Ah, I see, thank you~ intent.setSourceBounds API level 7 On May 27, 6:12 pm, Romain Guy romain...@android.com wrote: The rect is part of the Intent itself, it's not an extra. And it's not new in Froyo, it was added for 2.1. On Thu, May 27, 2010 at 5:28 AM, Bo wang.b.fr...@gmail.com

Re: [android-developers] Video Codec

2010-05-27 Thread Mark Murphy
scowpert wrote: Does anyone know the actually acceptable video codec for Android? The spec site says H.264 AVC and MPEG-4 SP which does me little to know good since the H.264 baseline codecs do not seem to work. I need to know what profile android requires. In short we want to make sure

[android-developers] Re: Need the intent when screen locks or unlocks

2010-05-27 Thread Steve Scherer
Thanks Mark for the quick reply. We'll give this a go and keep you and the community posted. On May 26, 10:08 am, Mark Murphy mmur...@commonsware.com wrote: Steve Scherer wrote: I have a service which starts at boot up time, the service code needs theintentof following scenarios. 1) When

[android-developers] Widget won't start properly some times

2010-05-27 Thread Dirk Vranckaert
Hey all, I'm currently developing an Android widget but I am experiencing some issues. So when I added the widget to my desktop (both on emulator and real devices) the first time it always works. However sometimes it stops working, sometimes when you remove it and add it again it doesn't work

[android-developers] Re: A calendar ui component / widget

2010-05-27 Thread Kumar Bibek
None as far as I know. I was thinking of making one. Let's see how far can I take it. Thanks and Regards, Kumar Bibek On May 27, 10:27 pm, olivier olivier.stev...@treebux.fr wrote: Hi, I am looking for a calendar UI. Something like the Calendar UI of the Calendar Android Application but

[android-developers] SQLite query problems

2010-05-27 Thread JMichel
I was trying to figure out a problem with an SQLite query and I found that it was not working when I was using ? and a list of arguments. Could someone tell me why these two version of the code doesn't return the same thing: public Cursor getTagCursor(int item) { SQLiteDatabase db

Re: [android-developers] What would cause an activity's private field to be cleared after onActivityResult?

2010-05-27 Thread Brad Gies
Are you saving it in onSaveInstanceState and restoring it in onRestoreInstanceState? If not... it's As designed :). On 27/05/2010 8:54 AM, vistaman wrote: I am seeing a rare exception: Let's say my main activity has a list of data, called Liststring dataList. I initialize it in the

[android-developers] PopupWindow - controlling size?

2010-05-27 Thread Nathan
I've experimented with a PopupWindow, but don't have a very good way of controlling its size. It only responds to absolute pixels. I've tried doing this: popup.setWindowLayoutMode(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT); But it doesn't work. If I don't use setWidth() and

[android-developers] Re: Deploy my app

2010-05-27 Thread Kumar Bibek
I had the same problem when I started off with Android. Copy Paste was the issue, precisely, and me not consulting the docs first. :D Thanks and Regards, Kumar Bibek On May 27, 12:42 pm, Lamia Hannoun lamia.hann...@gmail.com wrote: Hey! Thank u it works perfectly :) 2010/5/26 TreKing

[android-developers] Passing surfaces between processes

2010-05-27 Thread Michael V
Is it possible to draw to an android Surface in one service/process where the Surface was actually created in another service/process as a SurfaceView? If so, what information would one have to pass between the services so that this can happen and how should the data be passed? Intent? IPC?

[android-developers] Re: Accelerometer not working when screen turns off

2010-05-27 Thread BobG
Its the backlight that sucks coulombs. If you can dim that way down, you're golden. -- 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

[android-developers] Re: SQLite query problems

2010-05-27 Thread Nathan
I have experienced the same thing. I'm guessing that item is a float or double, right? The SQLiteDatabase class doesn't handle floating point properly in this call. I've had to resort to version 2 in all my calls. Although this doesn't work properly, I'm not sure it would be considered a bug

Re: [android-developers] Widget won't start properly some times

2010-05-27 Thread Kostya Vasilyev
Hi, Looks like your code updates the widget using two steps: pending intents and then the current data state. You need to make sure that each RemoteViews update specifies complete state, including all pending intents. So in this case, just create only one remote views object per update, and use

Re: [android-developers] Android Emulator: Accounts Sync

2010-05-27 Thread Xavier Ducrohet
Note that this only works in the Google APIs add-on, and only in 2.2. Xav On Thu, May 27, 2010 at 8:53 AM, Mark Murphy mmur...@commonsware.com wrote: Eurig Jones wrote: I'm using the 2.2 Android emulator. How do you enter your google account details? I would like to test a new app called

[android-developers] Re: Widget won't start properly some times

2010-05-27 Thread Dirk Vranckaert
Ok time will tell, but at first sight it seems to work :) But what I was wondering: Your explanation makes total sense to me but however how can this cause the applet to work fine (with only one existing instance) for hours and hours (almost 24hours at once) and then suddenly the buttons do not

[android-developers] Themes, Styles and Items [How to create skins for apps?]

2010-05-27 Thread Moto
I'm currently trying to create skins for my app, and the simplest way to do it, it seems is by creating Themes for each skin. I'm getting confused with how to use a specified item which points to a declared color from my Theme to a particular shape I create via xml. I hope I make sense...

[android-developers] Themes, Styles and Items [How to create skins for apps?]

2010-05-27 Thread Moto
I'm currently trying to create skins for my app, and the simplest way to do it, it seems is by creating Themes for each skin. I'm getting confused with how to use a specified item which points to a declared color from my Theme to a particular shape I create via xml. I hope I make sense...

[android-developers] No permissions set altough permissions requested

2010-05-27 Thread Dirk Vranckaert
Hey all, For the current application/widget I'm creating I have not set any permissions yet, altough the apk files I have already generated (for example this one:

[android-developers] how to check time spent in each method that running on mobile device?

2010-05-27 Thread mayuran
Hi All, I am using google Nexus one mobile as a testing device. When i upload my own application to this i am not able to do method profiling for a single method which is running in my application? When i see DDMS its giving accumalted one, Its not showing up for individual applications and

[android-developers] Disable preference focus

2010-05-27 Thread Danny van Geel
As a use in my preferenceactivity I created a custom preference (extended Preference class) which holds a progressbar. As this preference is merely to show activity status, I don't want it to be focusable nor selectable; it should be skipped when the user browses through the preference items. How

[android-developers] Does Android support smart card

2010-05-27 Thread stevetsai
Does Android support any smart card? Does Android support smartcardio API? I have a omap3530 device with a smart card reader. I did not find any library or API to access smart card. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] How to check new Google- mails archived to labels

2010-05-27 Thread Danny Schimke
Hi, I am new to Android. I plan to check for new mails on Google Mail (GMail) that are archived to their labels. Are there any examples that'll show how to do this (Gmail API, etc.?)? I searched a lot but found no helpful information about this, hope someone can help. What do I need? Is there a

[android-developers] How to build my share library that depends on another share library

2010-05-27 Thread mouseface99
Hi all I'm working on an project and co-work with other company We're charged in Application and the other team provides native API Since they're not providing their source code but only header files (*.h) and share libraries (*.so) And now I'm using NDK to build my native source codes. I've

[android-developers] Running linux build on windows

2010-05-27 Thread HungryMind
Hi, I'm new to Android. I'm trying to run a pre developed android application on windows m/c that has been developed on Linux m/c. I wonder why it is giving error as the source is written entirely in java which is portable accross platforms. If anybody has idea about how to run the android

[android-developers] Android pluginable application design

2010-05-27 Thread Alxandr
I've been trying to create an android-application the last couple of weeks, and mostly everything has worked out great, but there is one thing that I was wondering about, and that is pluginability trough the use of intents. What I'm trying to create is basically a comic-reader. As of the version

[android-developers] read from /dev/tty

2010-05-27 Thread Dinagaran Djearamane
How to read data from /dev/tty in android? Got any sample code in java? Thanks, Dina. -- 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] eglmakecurrent() is return false. when porting hadware.

2010-05-27 Thread graphics_beginer
Ask to be excused , can't speak english very well. i don't know why eglmakecurrent() is return false. operating emulator is no problem. when on hardware, eglmakecurrent() is return false. i guess getHolder().setType(SurfaceHolder.SURFACE_TYPE_GPU); is problem. but i'm not find

[android-developers] MediaRecorder works only once.

2010-05-27 Thread Antchuck
I have my media recorder set up and running. Video is recorded and saved to a file. Once I get onInfo callback (I have maximum duration set) or interrupt from user I stop, reset and release media recorder object. From this point onward my application fails to start recording again. I can't take

[android-developers] Re: An SDK without Java

2010-05-27 Thread George
If you don't like Java, you can develop you apps with Scala. Some examples of Android apps written in Scala are: https://lampsvn.epfl.ch/trac/scala/browser/scala/branches/2.7.x/docs/android-examples On May 20, 8:44 am, Matt Joyce mdjo...@gmail.com wrote: Are there any plans to produce an SDK

[android-developers] Home Application Problem

2010-05-27 Thread Shuuuuuu
I changed to the default launcher application as follows. ・Change package name ・Change Android:sharedUserId of AndroidManifest.xml ・Change Android:process of AndroidManifest.xml And the build is done with eclipse and the changed launcher application is installed in the terminal. There is a

[android-developers] how to start this activity?

2010-05-27 Thread Goodwin
There is an activity , and its intent-filter is as follow, intent-filter action android:name=android.intent.action.VIEW / category android:name=android.intent.category.DEFAULT / data android:mimeType=vnd.android.cursor.item/ event /

[android-developers] can we light up the trackball led while the screen is still on

2010-05-27 Thread warenix
Hi developers, With froyo and notification api, I can set the trackball led with specified color. But the trackball only glows when I turn off the screen. I would like to let user to preview the notification color in app, so I need the screen to be on. I am finding solution for that, any idea?

[android-developers] Developing Android App Lawn Irrigation

2010-05-27 Thread chugger93
I read somewhere to check the android google groups on this question but I'm wanting to know if its possible here or elsewhere to submit an idea to develop an app? I'm looking into getting this controller for my sprinklers so I can control them from the web or my phone.

Re: [android-developers] Best Framework

2010-05-27 Thread Rully Hasibuan
read http://developer.android.com/ may be it can help you much.. -rully On Tue, May 25, 2010 at 10:14 PM, TreKing treking...@gmail.com wrote: On Thu, May 20, 2010 at 11:58 AM, K1 ozzyfat2...@gmail.com wrote: hi hi I'm new in android welcome ,some body help me on,what is the best

[android-developers] information

2010-05-27 Thread mishra
hello every one plz tell me the name of classes who is responsible for voice communication in android softphone. plz inform me as soon as possible. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

  1   2   3   >