[android-developers] Re: Calling a non-static method in an Activity class from a non-Activity class ?

2011-01-05 Thread Bob Kerns
You're forgetting that it facilitates unit testing. On Jan 5, 1:26 am, Kostya Vasilyev wrote: > 05.01.2011 2:01, Emre A. Yavuz О©╫О©╫О©╫О©╫О©╫: > > > Thanks Kostya, > > > I've actually been aware of using a callback interface reference to > > solve this problem, but considering its size and impor

[android-developers] Re: Disable Antenna

2011-01-05 Thread Bob Kerns
A screwdriver and an X-Acto knife. I doubt there's hardware support (or any need) for disabling antennas. Radios, yes, antennas, no. What are you trying to do? On Jan 5, 4:24 am, Mark Murphy wrote: > You do not have control over individual antennae via the SDK, AFAIK. > On Wed, Jan 5, 2011 at 1

[android-developers] Re: How to display Japanese character on TextView

2011-01-05 Thread Bob Kerns
Generally, text should be stored in a string.xml file. Put the Japanese version in the values-ja directory. Make sure you save it as UTF-8 (*always* use UTF-8). Then textView.setText(R.strings.my_string) will get the Japanese text if the user is configured to use Japanese. It's also possible to

[android-developers] Re: Programmatically cause a focus event on a text input

2011-01-05 Thread Justin Glaeser
When I called the requestFocus() method the OnFocusChangeListener was not being called so I was confused. I am have since refactored the code and the listener is responding. (Some mistake introduced by me) Thanks for the response. On Jan 3, 7:39 pm, Sarwar Erfan wrote: > On Tuesday, January 4,

Re: [android-developers] Canvas rotation issue

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 7:40 AM, BigOne wrote: > Any comment is appreciative. With such little and generic information, my best suggestion: profile your code and see where it's slowing down. Then optimize that.

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Rocky
thaks kostya, lets try to do with this. On Wed, Jan 5, 2011 at 8:59 PM, Kostya Vasilyev wrote: > Rocky, > > PowerManager has to do with electric power, not with the power to unlock > the screen. > > Try this one: > > http://developer.android.com/reference/android/app/KeyguardManager.html > >

Re: [android-developers] How to handle the Power Button

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 11:33 AM, Rocky wrote: > Thanks to reply, is any other way to handle it. There are broadcasts for the screen coming on and off, I think. Look through the docs for your options and handle one of those. --

Re: [android-developers] How to handle the Power Button

2011-01-05 Thread Rocky
Hi TreKing, Thanks to reply, is any other way to handle it. On Wed, Jan 5, 2011 at 9:40 PM, TreKing wrote: > On Wed, Jan 5, 2011 at 8:24 AM, Rocky wrote: > >> how can i handle it. > > > You can't, AFAIK. > > >

Re: [android-developers] Hello. I try to contribute when I can so please help me on an a Bitmap issue if possible.

2011-01-05 Thread chris harper
Kostya Your a saint. Thank you for the fast *response*. I like your suggestion of writing it out in .BMP uncompressed format. Then I can just open it as a BMP and convert it to PNG (if need be) outside of android. That Wikipedia link looks very helpful. I'll give that a try. Thank you very muc

Re: [android-developers] From one Activity to the next...

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 11:12 AM, Neilz wrote: > What's the technical term which describes when the current activity > is replaced by the next? > There's isn't one, AFAIK. "Start an activity" is about as close as you'll get. > Anyway, that's not the point of the post. I want to control the anim

Re: [android-developers] Hello. I try to contribute when I can so please help me on an a Bitmap issue if possible.

2011-01-05 Thread Kostya Vasilyev
PS - there is also this library from Sun / Oracle: http://java.sun.com/products/java-media/jai/iio.html which can save to PNG in one line of code: http://java.sun.com/products/java-media/jai/forDevelopers/jaifaq.html#save -- Kostya 05.01.2011 20:02, chris harper пишет: This a Bitmap question

[android-developers] From one Activity to the next...

2011-01-05 Thread Neilz
Hi all. What's the technical term which describes when the current activity is replaced by the next? I have a mental block going on, but I know there is one... Anyway, that's not the point of the post. I want to control the animation that occurs when this happens if possible. As far as I can tell

Re: [android-developers] Hello. I try to contribute when I can so please help me on an a Bitmap issue if possible.

2011-01-05 Thread Kostya Vasilyev
Chris, Let's clear some terminology first. You don't have "Android bitmaps" - you're writing data out in your own, uncompressed, format. Reading this format should be pretty easy, just reverse the code below. For compressing to PNG outside Android, try this: http://code.google.com/p/javapng/

[android-developers] Hello. I try to contribute when I can so please help me on an a Bitmap issue if possible.

2011-01-05 Thread chris harper
This a Bitmap question. Given an Android Bitmap which has been written to file I want to read the Android BitMap from the file and convert it to a PNG OUTSIDE of Android (via a regular java program). Here is how I am writing out the Bitmap to a file: screenShot - i

Re: [android-developers] source code for android camera app android 2.2

2011-01-05 Thread Kostya Vasilyev
Use a tag or a branch when checking out. Or use the web interface: http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=summary Click on one of "android-2.2" links under "tags", then click "snapshot" on the page that comes up after that. -- Kostya 05.01.2011 19:42, higonnet

[android-developers] Re: Multiple screen support (panic)

2011-01-05 Thread pedr0
I solved, this my correct layout : See here for an very good explanation: http://stackoverflow.com/questions/4605855/multiple-screen-support http://schemas.android.com/apk/res/ android" android:id="@+id/cities_main_layout"

[android-developers] source code for android camera app android 2.2

2011-01-05 Thread higonnet
I can get the most recent android 2.3 version from git, but eclipse doesn't like running it on my nexus one running 2.2. Can someone provide the right link? TIA Bernard T. Higonnet -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

Re: [android-developers] Re: Refunds in the Market

2011-01-05 Thread Mark Carter
I get that link too, but when you click on it, you cannot then edit the amount. Can you do it further down the line? On 5 January 2011 23:44, TreKing wrote: > On Wed, Jan 5, 2011 at 2:11 AM, Mark Carter wrote: > >> On my Google Checkout sellers account, a partial refund is not possible. >> Is th

Re: [android-developers] is it possible to call MountService in my Activity?

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 4:40 AM, bharath wrote: > is it possible to call MountService in my Activity? Step 1: Try calling MountService in your Activity. Step 2: If it works go to Step 4. Step 3: If it does not work go to Step 5. Step 4: It's possible. Step 5: It may not be possible. -

Re: [android-developers] last block incomplete in decryption

2011-01-05 Thread Jake Basile
I linked the code on an external site because it was longer than a snippet. I found the answer to my question, though, through the help of some people on StackOverflow. First of all, I had an error

Re: [android-developers] To upload and share images

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 3:32 AM, jayavenkat wrote: > > http://grepcode.com/file/repo1.maven.org/maven2/org.twitter4j/twitter4j-examples/2.1.3/twitter4j/examples > > TwitpicOAuthImageUpload.java

[android-developers] Re: Multiple screen support (panic)

2011-01-05 Thread pedr0
I don't know why..but if I wrote a complete HTTP address I cannot post. On 5 Gen, 16:51, TreKing wrote: > On Wed, Jan 5, 2011 at 9:42 AM, pedr0 wrote: > > I cannot post link > > Why not? > > > ...you have to change (dot) to "." manually. > > When asking for help, it's in your best interest to m

[android-developers] Re: Android opengl app

2011-01-05 Thread Nightwolf
The first obviously wrong thing is creating new objects in onDrawFrame. AFAIK buffers passed to glVertexPointer and glTexCoordPointer have to be direct buffers. Take a look at APIDemos. Allocation code should look similar to this bb = ByteBuffer.allocateDirect(); bb.order(ByteOrder.nativeOrder())

Re: [android-developers] How to handle the Power Button

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 8:24 AM, Rocky wrote: > how can i handle it. You can't, AFAIK. - TreKing - Chicago transit tracking app for Android-powere

[android-developers] We are all droids

2011-01-05 Thread fhuguen...@gmail.com
Hello fellow android developers. If you have a spare hour, at your leisure feel free to check out my new documentary: It is about the Human Biocomputer. http://vimeo.com/18217038 Frank -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

Re: [android-developers] Re: webview show map problem?help me

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 1:23 AM, CaryWang wrote: > 01-05 15:23:56.022: ERROR/AndroidRuntime(2039): Uncaught handler: thread > main exiting due to uncaught exception > 01-05 15:23:56.038: ERROR/AndroidRuntime(2039): > android.content.ActivityNotFoundException: No Activity found to handle > Intent {

[android-developers] Re: Barcode Reader and Soft Input

2011-01-05 Thread Kai Sam
Update: 2.3 does not work as well. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@google

Re: [android-developers] Re: app2sd - not working

2011-01-05 Thread Kostya Vasilyev
05.01.2011 18:47, John Gaby пишет: I believe that installing on the SD card is supported only for 2.2 devices (or higher). It is. http://developer.android.com/guide/appendix/install-location.html Also requires that the app is built with Android SDK 2.2 (at least). -- Kostya Vasilyev -- WiFi

Re: [android-developers] Re: Multiple screen support (panic)

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 9:42 AM, pedr0 wrote: > I cannot post link Why not? > ...you have to change (dot) to "." manually. When asking for help, it's in your best interest to make it as easy as possible for others to help you. Making the reader manually fix your links is enough to make most

Re: [android-developers] Re: Problem with refreshing listview from a dialog window

2011-01-05 Thread Kostya Vasilyev
05.01.2011 18:16, Serdel пишет: In fact I was closing the db at the end of the onCreate() method after I attached the cursor. When canceled that it works good. It's even better than before. Cool. Again thank you Kostya - you are a big help and that's not for the first time :> Makes me fee

Re: [android-developers] Multiple screen support (panic)

2011-01-05 Thread Kostya Vasilyev
Pedro, I haven't look in too much detail (the links to images are not clickable), but here is what jumped at me: - You use some layout attributes that are not applicable to RelativeLayout, like layout_gravity, orientation, etc. Looks like leftovers from a conversion from LinearLayout. Use l

Re: [android-developers] Facebook image share

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 2:54 AM, guru sagar wrote: > Is it possible to share image on facebook using facebook api ., please let > me if it is possible . > I repeat: "That's a good question for a group focused on the Facebook API." Or try "reading" the instructions for said API - if it's worth it

[android-developers] Re: app2sd - not working

2011-01-05 Thread John Gaby
I believe that installing on the SD card is supported only for 2.2 devices (or higher). Your program will install on earlier versions, but it will not install to the SD card. On Jan 5, 6:12 am, André wrote: > So what could be the problem if I have minsdkversion 4 and put > targetversion 8 > > On

Re: [android-developers] Re: Refunds in the Market

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 2:11 AM, Mark Carter wrote: > On my Google Checkout sellers account, a partial refund is not possible. Is > this something only available to US devs or am I missing something? > On Wed, Jan 5, 2011 at 2:58 AM, Zsolt Vasvari wrote: > Hmmm, you are absolutely right. I cou

[android-developers] Re: Multiple screen support (panic)

2011-01-05 Thread pedr0
I cannot post link...you have to change (dot) to "." manually. On 5 Gen, 16:38, TreKing wrote: > On Wed, Jan 5, 2011 at 9:33 AM, pedr0 wrote: > > img600(dot)imageshack(dot)us/img600/5513/htcmagicg2(dot)png > > > img441(dot)imageshack(dot)us/img441/6440/samsunggalaxys(dot)png > > Please fix your

Re: [android-developers] Multiple screen support (panic)

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 9:33 AM, pedr0 wrote: > img600(dot)imageshack(dot)us/img600/5513/htcmagicg2(dot)png > > img441(dot)imageshack(dot)us/img441/6440/samsunggalaxys(dot)png > Please fix your links. ---

[android-developers] Multiple screen support (panic)

2011-01-05 Thread pedr0
Hi at all, I have some problem with multiple screen support, I work with dp(dpi) for specify the layout_heigth and layout_width and I hope that is the better way to support multiple screen, but when I tried with two smartphone I meet two different result. I give an example, this is a layout I use

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Kostya Vasilyev
Rocky, PowerManager has to do with electric power, not with the power to unlock the screen. Try this one: http://developer.android.com/reference/android/app/KeyguardManager.html ( although I don't know if what you're trying to do is at all possible ) -- Kostya 05.01.2011 17:07, Rocky ?

Re: [android-developers] Re: How to send..?

2011-01-05 Thread Kristopher Micinski
There is a sample called "API Demos." I believe this is one of them. Essentially you will set up an onClick listener and then use the SmsManager (I believe, I've never used it, however as I said, I'm pretty sure it's in the API demos..). http://developer.android.com/reference/android/telephony/gsm

Re: [android-developers] Re: Intent for start default navigator (is present)

2011-01-05 Thread Mark Murphy
That is not documented or supported. It presumes a certain implementation and will fail at some point in the future when Google modifies the application. On Wed, Jan 5, 2011 at 10:07 AM, Carlos Silva wrote: > Here's how I make it: > > btnNav.setOnClickListener(new OnClickListener() { > >

[android-developers] Re: Problem with refreshing listview from a dialog window

2011-01-05 Thread Serdel
Thank you Very much Kostya. In fact I was closing the db at the end of the onCreate() method after I attached the cursor. When canceled that it works good. It's even better than before. Anyway I close the db in the onPause() so that should cause any problems further. But I will also try to take a

[android-developers] Re: Intent for start default navigator (is present)

2011-01-05 Thread pedr0
Thanks a lot anyway! On 5 Gen, 16:10, Mark Murphy wrote: > That is not documented or supported. It presumes a certain > implementation and will fail at some point in the future when Google > modifies the application. > > > > > > > > > > On Wed, Jan 5, 2011 at 10:07 AM, Carlos Silva wrote: > > He

[android-developers]

2011-01-05 Thread Shibu Devasia
Sent from my iPhoney -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com Fo

Re: [android-developers] Problem with application launch on emulator

2011-01-05 Thread John Lussmyer
I noticed this happening for me when I had added the icon after testing the app a few times. I had to uninstall the app from the phone/emulator - then the next time I launched it the icon was correct. On Wed, Jan 5, 2011 at 3:15 AM, Ajay Prabandham wrote: > Dear All, > I am devel

[android-developers] Re: Intent for start default navigator (is present)

2011-01-05 Thread pedr0
Ouch! I can't start the navigator in any way?! Bye! On 5 Gen, 15:47, Mark Murphy wrote: > There is no documented and supported Intent structure to launch Google > Navigation this way -- sorry! > > > > > > > > > > On Wed, Jan 5, 2011 at 9:46 AM, pedr0 wrote: > > Hi at all, > > > I would like s

Re: [android-developers] Re: How do you Debug a Live Wallpaper

2011-01-05 Thread John Lussmyer
Thanks! That is USEFUL to know. On Tue, Jan 4, 2011 at 10:27 PM, Peter Webb wrote: > Stick the following in your code: > > android.os.Debug.waitForDebugger(); > > Not the easiest thing to find ... > -- You received this message because you are subscribed to the Google Groups "Android Develope

Re: [android-developers] Intent for start default navigator (is present)

2011-01-05 Thread Mark Murphy
There is no documented and supported Intent structure to launch Google Navigation this way -- sorry! On Wed, Jan 5, 2011 at 9:46 AM, pedr0 wrote: > Hi at all, > > I would like start the default navigator with an start point and a end > point, thus users can sees the route between two points. > >

[android-developers] Intent for start default navigator (is present)

2011-01-05 Thread pedr0
Hi at all, I would like start the default navigator with an start point and a end point, thus users can sees the route between two points. It's possibile? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

Re: [android-developers] last block incomplete in decryption

2011-01-05 Thread Nikolay Elenkov
On Wed, Jan 5, 2011 at 6:42 AM, Jake Basile wrote: > Hello android-developers! > > I have a simple class to try and wrap encryption for use elsewhere in my > program. It seems to handle encryption correctly, but not so much when > decrypting, which throws a javax.crypto.IllegalBlockSizeException "

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Rocky
any idea for this. I'm trying to handle the Power button nature. My problem is, when i'm inside the my apps, and press the power button for lock the screen, and again press the power button for unlock the screen, i'm redirecting over the same Activity where i was initially. But, i want, when i p

[android-developers] How to handle the Power Button

2011-01-05 Thread Rocky
Hi All, I'm trying to handle the Power button nature. My problem is, when i'm inside the my apps, and press the power button for lock the screen, and again press the power button for unlock the screen, i'm redirecting over the same Activity where i was initially. But, i want, when i press the p

[android-developers] Re: How to send..?

2011-01-05 Thread Abhilash baddam
any help regarding this issue[?] On Wed, Jan 5, 2011 at 7:23 PM, Abhilash baddam < abhilash.androiddevelo...@gmail.com> wrote: > Hi friends, > > I am new to Android. I have an activity where the user have > to enter his details like name,phone number etc. and there is a submit >

[android-developers] Re: app2sd - not working

2011-01-05 Thread André
So what could be the problem if I have minsdkversion 4 and put targetversion 8 On Jan 5, 12:59 pm, Marcin Orlowski wrote: > > Yes it would filter your app out. android:installLocation does not > need target sdk to be 8 > or higher. It's safe to have it in Manifest and still target earlier sdk as

Re: [android-developers] Re: Can't Uninstall

2011-01-05 Thread Mark Murphy
FWIW, while I have not tried this, another scenario in which the uninstall option might be grayed out is if the app is installed on external storage, and that external storage is mounted and therefore unavailable to Android. At least, if I were on the core Android team, I'd certainly consider disab

[android-developers] Re: Can't Uninstall

2011-01-05 Thread Russell DuRoss
Sorry if I just created confusion, I inadvertently used a different gmail id - nextgen and Russell DuRoss are one and the same. On Jan 5, 9:04 am, Russell DuRoss wrote: > One of them says: "...has appeared on my droid x. It may have been > downloaded by mistake, I am not sure. It does not appear

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Rocky
I tryed though PowerManager but can't succeed On Wed, Jan 5, 2011 at 7:26 PM, RKJ (Android developer) < rkjhaw1...@gmail.com> wrote: > Hi All, > > my issue is, when i'm inside the my apps, and press the power button > to screen lock (in desire), and again press the power button to unlock > the sc

[android-developers] Re: Can't Uninstall

2011-01-05 Thread Russell DuRoss
One of them says: "...has appeared on my droid x. It may have been downloaded by mistake, I am not sure. It does not appear to be the same 1 as is available on marketplace. I am hesitant to open it. I don't seem to be able to find a way to erase it without opening it first". Another says in the Ma

[android-developers] How to check the status of LockScreen

2011-01-05 Thread RKJ (Android developer)
Hi All, my issue is, when i'm inside the my apps, and press the power button to screen lock (in desire), and again press the power button to unlock the screen, i'm redirecting to that page earlier i was. But I want, when i press the power button to unlock the screen, i need to to my PasswordActiv

[android-developers] How to send..?

2011-01-05 Thread Abhilash baddam
Hi friends, I am new to Android. I have an activity where the user have to enter his details like name,phone number etc. and there is a submit button when the user clicks on that button i want to send those details as a SMS to server and I'l get response as a SMS, I don't know how to

[android-developers] Canvas rotation issue

2011-01-05 Thread BigOne
I am trying to implement a simple photo viewer with zoom in, rotation, and drag. Unfortunately Bitmap can't satisfy me because the performance of draging bitmap is really bad. Then I used Canvas to do this. It worked with good performance. But I got a strange issue: If I rotate canvas 90/180/270 d

[android-developers] Create Folder for Specific SMSes

2011-01-05 Thread Alok Kulkarni
Hi guys, I searched the forums but could not find a satisfactory solution.Can i create a seperate folder at the SMS root level in android and filter SMSes coming to Inbox to get diverted to this new folder ? Thanks , Alok -- You received this message because you are subscribed to the Google Group

[android-developers] Re: How to display Japanese character on TextView

2011-01-05 Thread Zsolt Vasvari
Use its Unicode code. On Jan 5, 6:10 pm, "Kevin R. Octavian" wrote: > do you know,how to display Japanes character on TextView > please help me... > -- > Mobile Developer > (Android,iphone,Blackberry,J2ME,brew,symbian) > mobile : > 085722945257 > email : > kevin.r.octav...@gmail.com > arsenal_a..

Re: [android-developers] Disable Antenna

2011-01-05 Thread Mark Murphy
You do not have control over individual antennae via the SDK, AFAIK. On Wed, Jan 5, 2011 at 12:06 AM, Julius Spencer wrote: > Hi, > > I was wondering if it's possible to disable one or more antennae manually for > example, if I had a GSM Nexus One, disable all the antennae except the one > whic

Re: [android-developers] Unknown application a large number of SMS messages are being sent. Select "OK" to continue, or "Cancel" to stop sending

2011-01-05 Thread Mark Murphy
On Wed, Jan 5, 2011 at 1:43 AM, Jawwad Farooq wrote: > My application is sending around 300 messages in a go. Please don't do that. > But after > sending about 100 messages, an Alert appears each time before sending > the remaining messages. Alert says: > > > "Unknown application a large number

Re: [android-developers] Re: Vertical attributes don't work in RelativeLayout

2011-01-05 Thread Kostya Vasilyev
05.01.2011 13:21, Serdel пишет: Crap off course I meant wrap_content - sorry for the mistake. But it looks like I need to set the fixed height, bummer I don't like any fixed values in my code. You can use dp units if your relative layout's height is determined by an image, or sp units if it's de

Re: [android-developers] Problem with refreshing listview from a dialog window

2011-01-05 Thread Kostya Vasilyev
Adam, I see in your code below that you're closing the database immediately after querying it (getting the cursor). This is wrong - a cursor should have an open database to work with. Also, updates like you're trying to implement are automatic if you use ContentProvider with a CursorAdapter

Re: [android-developers] eclips !

2011-01-05 Thread mohammad shankayi
it's ridiculous !!! windows 64 bit ! jdk 64bit ! eclipse does not work ! jdk 32 bit , eclipse works ! sincerely mohammad shankayi On Wed, Jan 5, 2011 at 03:48, Marcin Orlowski wrote: > On 4 January 2011 20:04, mshankayi wrote: > > hi > > i can not install this program because it says you ha

[android-developers] Re: Fast way to write and read buffered data from AudioRecord

2011-01-05 Thread Serdel
So you predefine the size of the array. I will think about that, but the ByteArrayStream approach doesn't look so bad - I tested with traceview and it is not that slow, so maybe I'll stay with that. But thank you for your contribution - it did help :> On 5 Sty, 12:34, Keith Wiley wrote: > On Jan

Re: [android-developers] Re: app2sd - not working

2011-01-05 Thread Marcin Orlowski
On 5 January 2011 12:51, André wrote: > I followed this tutorial: > http://mobile.tutsplus.com/tutorials/android/move-to-sd-card/ > where it says that I don't need to have 8 as the minsdkversion. > Doesn't it filter the app so only people with version 8 or greater can > download my app? Yes it wo

Re: [android-developers] Re: app2sd - not working

2011-01-05 Thread YuviDroid
I was talking about "targetSdkVersion", not "minSdkVersion". The entry in the manifest should look like this: Btw on your test phone can you install your app on sdcard? On Wed, Jan 5, 2011 at 12:51 PM, André wrote: > I followed this tutorial: > http://mobile.tutsplus.com/tutorials/android/move

[android-developers] Re: Unknown application a large number of SMS messages are being sent. Select "OK" to continue, or "Cancel" to stop sending

2011-01-05 Thread Sarwar Erfan
I dont have solution to your problem, but I would appreciate the framework. I really think 100 (or 300) is really a large number of SMS. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

Re: [android-developers] Unknown application a large number of SMS messages are being sent. Select "OK" to continue, or "Cancel" to stop sending

2011-01-05 Thread Kumar Bibek
More information would be helpful. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Jan 5, 2011 at 5:16 PM, Marcin Orlowski wrote: > On 5 January 2011 07:43, Jawwad Farooq wrote: > > > Please help me as I am stuck at this point and the project deadline is > > over my he

[android-developers] Re: app2sd - not working

2011-01-05 Thread André
I followed this tutorial: http://mobile.tutsplus.com/tutorials/android/move-to-sd-card/ where it says that I don't need to have 8 as the minsdkversion. Doesn't it filter the app so only people with version 8 or greater can download my app? On Jan 5, 12:02 pm, YuviDroid wrote: > Just a guess: > t

Re: [android-developers] How does it work controlling mouse and keyboard with android phone via wifi?

2011-01-05 Thread Marcin Orlowski
On 30 December 2010 04:31, YungHsun wrote: > There are several apps that are able to control mouse and keyboard > from cell phone through wifi, anyone knows how it works? Usually by having separate desktop component (server) that understands what is being sent from Android and instrument desktop

Re: [android-developers] eclips !

2011-01-05 Thread Marcin Orlowski
On 4 January 2011 20:04, mshankayi wrote: > hi > i can not install this program because it says you haven't installed > JDK but i already did !! > what should i do ? Do not shout, in the first place. If it says you do not have JDK then it means it does not see it. Make sure you really got rig

Re: [android-developers] Unknown application a large number of SMS messages are being sent. Select "OK" to continue, or "Cancel" to stop sending

2011-01-05 Thread Marcin Orlowski
On 5 January 2011 07:43, Jawwad Farooq wrote: > Please help me as I am stuck at this point and the project deadline is > over my head. You may wait for framework dev to cast a light on what exactly trigger this warning, or get android sources and check yourself and then rework your code to make

[android-developers] Re: Fast way to write and read buffered data from AudioRecord

2011-01-05 Thread Keith Wiley
On Jan 5, 12:57 am, Serdel wrote: > I have accomplished sth. by using the ByteArrayOutputStream - I divide > the recorder short sample into 2 bytes. Thats again - not as efficient > as It could be but significantly faster than ArrayList > > Regarding your code. > > System.arraycopy(mReceivedAu

[android-developers] Re: Can not decode high resolution picture

2011-01-05 Thread Yahel
> How to open a high resolution png picture, the picture is > 4000x3000,but it crashed when it was decoded. It depends what you want to do with the image. If it is a background for a game and you need it at this size, then you need to break it up and come up with a common tile preloading scheme.

[android-developers] Problem with application launch on emulator

2011-01-05 Thread Ajay Prabandham
Dear All, I am developing a GUI based app for Android API 9 SDK on my windows PC (Using Eclipse SDK and ADT plugin). I have successfully compiled the sources, and when i run the command to launch the emulator, the .apk file is successfully installed on the phone. [2011-01-05 16:32:

Re: [android-developers] app2sd - not working

2011-01-05 Thread YuviDroid
Just a guess: the problem might be here: you should probably also specify the targetSdkVersion to be >= 8. Again, it's just a guess ;) On Wed, Jan 5, 2011 at 11:51 AM, André wrote: > I've just updated my app so the user can choose to install it on the > sd card or not. But I keep getting some

[android-developers] app2sd - not working

2011-01-05 Thread André
I've just updated my app so the user can choose to install it on the sd card or not. But I keep getting some comments that it's not possible for them to install it on the sd card. Can anyone see if I've made anything wrong or if you have any other suggestions? André http://schemas.android.com/ap

[android-developers] Re: 3d Button

2011-01-05 Thread pramod.deore
Hi Bibek Thanks. Will you please tell me other than changing background what should I do so they looks more attractive. On Jan 5, 3:34 pm, Kumar Bibek wrote: > There is no such thing as a 3D button. You can give a normal button a 3D > appearance. Thats it. for this, obviously, you will have to ch

[android-developers] is it possible to call MountService in my Activity?

2011-01-05 Thread bharath
Hi, is it possible to call MountService in my Activity? I am trying to write an App for USB Mass storage. Thanks, Bharath -- 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@googl

Re: [android-developers] 3d Button

2011-01-05 Thread Kumar Bibek
There is no such thing as a 3D button. You can give a normal button a 3D appearance. Thats it. for this, obviously, you will have to change the background of the button. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Jan 5, 2011 at 4:02 PM, pramod.deore wrote: > Can w

[android-developers] 3d Button

2011-01-05 Thread pramod.deore
Can we create 3D button in android? If yes please provide some information. 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 unsubscribe from this group, send

[android-developers] Re: Vertical attributes don't work in RelativeLayout

2011-01-05 Thread Serdel
Crap off course I meant wrap_content - sorry for the mistake. But it looks like I need to set the fixed height, bummer I don't like any fixed values in my code. But thank you for the help Kostya. Can I ask you a another thing? Could you look at this post of mine, that hasn't been answered? (it also

Re: [android-developers] Re: Vertical attributes don't work in RelativeLayout

2011-01-05 Thread Kostya Vasilyev
Adam, I just did a quick test to confirm - it does work. Here is my layout: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="150dp" android:paddingRight="?android:attr/scrollbarSize"> For alignParentBottom to work, Relativ

[android-developers] How to display Japanese character on TextView

2011-01-05 Thread Kevin R. Octavian
do you know,how to display Japanes character on TextView please help me... -- Mobile Developer (Android,iphone,Blackberry,J2ME,brew,symbian) mobile : 085722945257 email : kevin.r.octav...@gmail.com arsenal_a...@yahoo.co.id blog : kevinroctavian.wordpress.com -- You received this message because

Re: [android-developers] Re: Vertical attributes don't work in RelativeLayout

2011-01-05 Thread Kostya Vasilyev
A vertical fill_parent for a list view item? You only have one item in the list? 05.01.2011 12:52, Serdel пишет: I'm putting fill_parent in the height of relative layout. On 5 Sty, 10:18, Kostya Vasilyev wrote: Does your RelativeLayout have sufficient height for align-bottom or align-vcenter

[android-developers] Re: Vertical attributes don't work in RelativeLayout

2011-01-05 Thread Serdel
I'm putting fill_parent in the height of relative layout. On 5 Sty, 10:18, Kostya Vasilyev wrote: > Does your RelativeLayout have sufficient height for align-bottom or > align-vcenter to actually do something? > > -- Kostya > > 05.01.2011 12:06, Serdel пишет: > > > > > Hi, > > > I am using Relati

[android-developers] Proguard integration with Google Adsense cause error.

2011-01-05 Thread Vincent
Hi, I just download the latest Android SDK (r08) to use Proguard. But, I get the following error when exporting apk. Proguard returned with error code 1. See console You should check if you need to specify additional program jars. Unexpected error while performing partial evaluation: C

[android-developers] To upload and share images

2011-01-05 Thread jayavenkat
Hi, Can anyone send some samples to upload and share pictures using Twitpic api key and Oauth. I refered with below link http://grepcode.com/file/repo1.maven.org/maven2/org.twitter4j/twitter4j-examples/2.1.3/twitter4j/examples/TwitpicOAuthImageUpload.java Here they ask for location of Twitter4j

Re: [android-developers] Calling a non-static method in an Activity class from a non-Activity class ?

2011-01-05 Thread Kostya Vasilyev
05.01.2011 2:01, Emre A. Yavuz пишет: Thanks Kostya, I've actually been aware of using a callback interface reference to solve this problem, but considering its size and importance (in what I've been working on) Size and importance? I just wanted to find out whether there's a simpler way t

Re: [android-developers] Vertical attributes don't work in RelativeLayout

2011-01-05 Thread Kostya Vasilyev
Does your RelativeLayout have sufficient height for align-bottom or align-vcenter to actually do something? -- Kostya 05.01.2011 12:06, Serdel пишет: Hi, I am using RelativeLayout to arrange the look in my ListView items. I had passed the ViewGroup parent to the inflater as advised: public V

[android-developers] Ginger bread - NFC Card Emulation & p2p

2011-01-05 Thread Ajith Kamath
Hi I am trying to use NFC on Gingerbread. I wanted to know if Card Emulation and Peer 2 Peer is possible on present gingerbread code. Because looking into api's and framework files I'm clear that Tag reading is possible. But Will this code support Card Emualtion & P2P is doubtful. *Can some ple

[android-developers] Re: Can not decode high resolution picture

2011-01-05 Thread MrChaz
An image that large is likely too big to be loaded into memory. There's not much you can do about that other than making it smaller or breaking it into a number or smaller images. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Vertical attributes don't work in RelativeLayout

2011-01-05 Thread Serdel
Hi, I am using RelativeLayout to arrange the look in my ListView items. I had passed the ViewGroup parent to the inflater as advised: public View newView(Context context, Cursor c, ViewGroup parent) { View v = mInflater.inflate(R.layout.myidsrow, parent, false); //. } The pr

Re: [android-developers] Facebook image share

2011-01-05 Thread guru sagar
Hi Kevin, you can get apis from their websites it self ., for facebook : http://developers.facebook.com/docs/guides/mobile Thanks, Gurusagar On 1/5/11, Kevin R. Octavian wrote: > i`m sorry ... where i get a facebook api and twitter api?? > i want to make an application with facebo

[android-developers] Re: how to convert colour image to black and white

2011-01-05 Thread Zsolt Vasvari
What have you tried so far? On Jan 5, 3:45 pm, sudha wrote: > Hello all, > > I have a picture taken from android device camera, I have to convert > the colour image to black n white. > how can I do this? > > Thanks > Sudha -- You received this message because you are subscribed to the Google Gr

[android-developers] Re: Refunds in the Market

2011-01-05 Thread Zsolt Vasvari
Hmmm, you are absolutely right. I could have sworn that before you could enter a refund amount, but not any more. On Jan 5, 4:11 pm, Mark Carter wrote: > On my Google Checkout sellers account, a partial refund is not > possible. Is this something only available to US devs or am I missing > somet

<    1   2   3   >