Re: [android-developers] how to do imageview 3d animation with pinch and zoom?

2011-12-05 Thread Christopher Van Kirk
OpenGL? On 12/2/2011 6:04 PM, Hitendrasinh Gohil wrote: Hi, can anyone give me some idea how to pinch,zoom(i know but i want all three in one) and rotate image in 3d? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] Re: How to create a bitmap from binary data?

2011-12-05 Thread Vincent
Thanks a lot On Dec 6, 1:51 am, Streets Of Boston wrote: > http://developer.android.com/reference/android/graphics/BitmapFactory... -- 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@go

[android-developers] messages is not showing using Intent.createChooser()

2011-12-05 Thread ew web
hello, my phone is android 2.3.4. the sharing option, messages, is not showing when I try to share the intent among all registered applications. It works for android 2.2.1 though. Could someone give me a hint what's happening please? Many thanks. -- You received this message because you are su

[android-developers] Re: Mobile app discovery

2011-12-05 Thread klewelling
I want a service separate from testing. Running an app without installing reduces friction, there is no steps getting in the way of using the app. Your comment about trials is exactly the type of feedback I want. The nature of the solution I had in mind lends itself to trials or timelimits in apps.

[android-developers] Auto show/hide of Options Menu

2011-12-05 Thread dillipk
Hi, Is it possible to do an Auto Show/Hide of Options Menu programatically? As soon as my activity displays on the screen, I want my Options Menu to display & hide automatically. In otherwords, I do not want to press 'Menu' key on the device to display my options menu. Any help or idea to have

[android-developers] scrolling list on text enter in edit text.

2011-12-05 Thread nikki
Hi all, I want to implement the feature for my app. I am having a list of contact and an Edittext on top of it. Now when user type some text in the edittext the corresponding matching name should scroll up(as it is done in contact screen) in the list. How and what is best way to do it. Please su

[android-developers] Re: User cannot install an update

2011-12-05 Thread mot12
I would agree with John that this is not worth your time as a support issue. But if your user has root access, I would try deleting the app data folder. This has worked for the issue that I addressed. Otherwise, factory reset :(. -- You received this message because you are subscribed to the Goog

[android-developers] !

2011-12-05 Thread EmbSysPro
Hi, I've been assigned the task of maintaining some preexisting code and while examining the manifest file I came across the following items, ! ! My problem is that I can't find an explanation for the use of the exclamation point. My guess is that it is an undocumented method of permission suppr

Re: [android-developers] Why doesn't layout_alignCenterInParent work?

2011-12-05 Thread Christopher Van Kirk
I struggled with this for a few hours then gave up on it. Apparently people have been asking this question for several years without a meaningful solution. I ended up using the much-maligned nested linear layouts approach instead. Anyway, the issue wasn't related to height, but width. I'm fine

Re: [android-developers] How to set background color for context menu

2011-12-05 Thread TreKing
On Sun, Dec 4, 2011 at 9:11 PM, rambabu mareedu wrote: > HI to allIn my app iam using context menu for this i want to set > some background colors to my context menu can anyone tell is it > possible? > Don't think so - there's not much you can do with a context menu, style-wise.

[android-developers] Re: User cannot install an update

2011-12-05 Thread John Coryat
That's pretty simple. If they have problems with the installing, updating, launching, downloading, uninstalling or (my favorite) the icon has disappeared, it's not your problem, it's an Android issue. 99.9% of those problems can be simply solved by rebooting or by uninstalling and reinstalling.

Re: [android-developers] customer retention

2011-12-05 Thread TreKing
On Mon, Dec 5, 2011 at 1:27 PM, bob wrote: > I'm having problems with customer retention. Basically, they download > an app, fiddle around, and leave, I think. Is there any canned > solution for getting them to sign up for an e-mail list like > mailchimp? I want to be able to tell them about n

[android-developers] Re: User cannot install an update

2011-12-05 Thread John Gaby
You are, of course, correct. I just wanted to understand what is happening here so that I can determine whether it is my fault or not, and whether I am going to have others that have this problem. The reality is that for every person that takes the time to report a problem there are probably doze

[android-developers] customer retention

2011-12-05 Thread bob
I'm having problems with customer retention. Basically, they download an app, fiddle around, and leave, I think. Is there any canned solution for getting them to sign up for an e-mail list like mailchimp? I want to be able to tell them about new products. Thanks. -- You received this message

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
Can you perhaps disable it using: getWindow().clearFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); Or does that not work ( I don't have a Galaxy Nexus to test ) On Dec 5, 7:01 pm, Romain Guy wrote: > This setting is unfortunately a double-edged sword, it was intended for > develop

[android-developers] Re: Mobile app discovery

2011-12-05 Thread Jose_GD
Kenneth, I think you are putting discoverability with testability in the same bag. Or have misunderstood you? Discoverability is the real big deal IMO, a very difficult problem to solve. Testability perhaps can be solved (at least partially) if Google helps us with more flexibility in the buying

[android-developers] Re: Is useful testing actually possible?

2011-12-05 Thread Diego Torres Milano
CTS (http://source.android.com/compatibility/cts-intro.html) features thousands of tests (literally). I'm sure you will find the examples you are looking for. On Dec 4, 2:11 am, Doug wrote: > > I think this goes some way to explaining why there are many bad > > practices in the Android examples a

[android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-05 Thread MarkG123
Hmmm, I need to remove entries from tables as I "process" them... Is there any way this can be achieved on Android? On Dec 5, 9:05 am, Nikolay Elenkov wrote: > On Mon, Dec 5, 2011 at 5:50 PM, MarkG123 wrote: > > > The full callstack: > > > 12-04 19:51:12.665: I/Database(842): sqlite returned:

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread Kevin TeslaCoil Software
On Dec 5, 12:01 pm, Romain Guy wrote: > This setting is unfortunately a double-edged sword, it was intended for > developers so they could easily test their application with hardware > acceleration turned on. I interpreted the setting as an aggressive move to make developers update their apps f

[android-developers] Re: User cannot install an update

2011-12-05 Thread John Coryat
You'll have to decide what level of support you want to offer. For me, once I've determined it isn't a problem with the app, the user has to look elsewhere for support. I can't help solve problems with the countless versions of Android/carrier/manufacturer OS's and devices. I'd rather spend my

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
http://www.theverge.com/2011/12/1/2604136/apps-which-crash-on-galaxy-nexus-when-force-gpu-rendering-is-on The first comment there is: "I can only surmise that if the app crashes then the developer MAY have deviated from the official API and not followed proper programming practices." Which is o

Re: [android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread Romain Guy
This setting is unfortunately a double-edged sword, it was intended for developers so they could easily test their application with hardware acceleration turned on. You can easily check whether your app is hardware accelerated on startup and warn the user it's not supported. On Mon, Dec 5, 2011 a

[android-developers] Re: User cannot install an update

2011-12-05 Thread John Gaby
Thanks for the suggestions. I had the user try taking out the battery but it didn't help (I HAD previously had him reboot his phone which didn't work either). I am beginning to think that there is something screwed up with the permissions as you suggest. I have actually had a similar problem on

Re: [android-developers] Re: Can the LVL check for Paid app be done from my free app ?

2011-12-05 Thread Kostya Vasilyev
Let the free app (main) ask the paid app (the unlocker) run the LVL check and report results using any of the available inter-application communication options available on Android. As far as security goes - encrypting / signing the communication is one option, signing both apps with the same key

[android-developers] Re: Can the LVL check for Paid app be done from my free app ?

2011-12-05 Thread androidmediadeveloper
sorry, not clear. the free app can check if the paid app was purchased ? it is the same publisher. also, seems like i can use the android:sharedUserId and write the license into shared prefs from one app and have the other read from it. Is this a security issue ? thanks ajith On Dec 5, 11:50 am,

Re: [android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread Mark Murphy
On Mon, Dec 5, 2011 at 12:04 PM, webmonkey wrote: > I see now that there are some websites that advise people to turn it > on because it makes everything run smoother. Got any links? At least we can work on trying to get these posts updated, particularly if there's no SDK means of telling Android

Re: [android-developers] Re: please give me solution

2011-12-05 Thread Michael Banzon
On Mon, Dec 5, 2011 at 2:23 PM, Jim Graham wrote: > On Mon, Dec 05, 2011 at 07:22:06AM -0600, Jim Graham wrote: >> On Mon, Dec 05, 2011 at 06:42:16PM +0530, Mukesh Srivastav wrote: >> > solution of what >> > >> > +1, What does it mean ? >> >> It means the same as ++1, or - -1, or +2-1, or > >

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
Thanks Romain Anyway to force if off from the app in code? Or how to detect it so that I can display a message to the user? I see now that there are some websites that advise people to turn it on because it makes everything run smoother. I don't think people realize that not all things can be har

[android-developers] Re: SDK(Android 4.0) launch fail when GPU emulation is activated from the SDK config window

2011-12-05 Thread Kelo
Can anyone help me ? I´ve this error on win7/eclipse helios [2011-12-05 13:40:31 - HelloOpenGLES20] Starting activity com.ejemplo.helloopengles20.HelloOpenGLES20 on device emulator-5554 [2011-12-05 13:40:32 - Emulator] client shutdown [2011-12-05 13:40:34 - HelloOpenGLES20] ActivityManager: Starti

[android-developers] Re: Can the LVL check for Paid app be done from my free app ?

2011-12-05 Thread b0b
Yes this is doable if both app have the same userId You can implement a remote service in the unlocker paid app that check the license. Then your free app invoke binds to that remote service to do the check. If both of your apps share the same android:sharedUserId you're not forced to make th

[android-developers] Gravity virtual sensor source code

2011-12-05 Thread markus
Hi all! Now that Ice Cream Sandwich is out, I thought I'd have a look at how the "virtual" sensors have their data calculated, in particular TYPE_GRAVITY. Of course it will involve data from some or all of the real sensors (accelerometer, gyroscope, and magnetic field), but I've read somewhere (ca

Re: [android-developers] How to prevent webview click through to Google Maps?

2011-12-05 Thread TreKing
On Thu, Dec 1, 2011 at 2:21 PM, elsigh wrote: > Is there a way for me to prevent that? Capture the geo intent or something > like that? > IDK, but I'd look at http://developer.android.com/reference/android/webkit/WebViewClient.html and see if any of those methods are called when you click those

[android-developers] Re: User cannot install an update

2011-12-05 Thread mot12
Lucky you. This happened because of a firmware bug in Samsung devices 2.2.1. See here: http://code.google.com/p/android/issues/detail?id=14359 or https://groups.google.com/forum/#!topic/android-developers/Sm7WCWZYcKU/discussion In the first post, the author describes how he ended up with an app

Re: [android-developers] Help! i dont receive value of attributes (parcelable)

2011-12-05 Thread TreKing
On Thu, Dec 1, 2011 at 11:40 PM, diego scafati wrote: > private void readFromParcel(Parcel in) { >in.setDataPosition(0); // > <-- WHY? >codigodeusuario=in.readString(); >} > That's probably a problem. Take that out and change your co

Re: [android-developers] Android TileMode REPEAT on Background image stops working

2011-12-05 Thread Romain Guy
This bug was fixed in 3.0 and 4.0. On Mon, Dec 5, 2011 at 1:04 AM, Jason wrote: > I'm having some problems with programmatically setting the background > image to tile on a LinearLayout on Android. > > I've posted a bug report (http://code.google.com/p/android/issues/ > detail?id=22541), along w

Re: [android-developers] ICS Hardware Acceleration crash

2011-12-05 Thread Romain Guy
They've probably checked the "Force GPU" setting in Developers Settings. On Mon, Dec 5, 2011 at 7:25 AM, webmonkey wrote: > In my AndroidManifest.xml I have: > >android:minSdkVersion="3" > android:targetSdkVersion="8" > /> > > And the Application and Activities all have > android:hardwareA

Re: [android-developers]

2011-12-05 Thread TreKing
On Thu, Dec 1, 2011 at 9:05 PM, Nattachai Boonkam wrote: > How to add ‘keyword’ when end-user search in Android market ? Write a description for your app. - TreKing

Re: [android-developers] Re: Unique ID, but not IMEI, IMSI, MAC, AndroidID

2011-12-05 Thread Raghav Sood
In my apps, I assign the user a username, and then generate a UUID (v4) and associate it with the user name. That way I can maintain it across installs, as long as the user uses the same account, Thanks On Mon, Dec 5, 2011 at 9:41 PM, Streets Of Boston wrote: > We use the generated device-id for

Re: [android-developers] Re: Unique ID, but not IMEI, IMSI, MAC, AndroidID

2011-12-05 Thread lbendlin
The vast majority of our support issues is from users that have reflashed the ROM on their device which results in a different Android_ID more often than not. We also decided to use the fallback scenarios of either IMEI or MAC address. (can't use the fancy 2.3 stuff as most users are still on 2.

Re: [android-developers] Re: Unique ID, but not IMEI, IMSI, MAC, AndroidID

2011-12-05 Thread Streets Of Boston
We use the generated device-id for DRM purposes. The generated device-id is not used as-is. The DRM code creates encrypts it and creates a hash. The hash is used for identifying the device on the DRM server. It is true that an upgrade from 2.2. to 2.3 can trigger a different result if the devic

[android-developers] Re: 2.3.4 - Animation is working on the emulator but not on real device

2011-12-05 Thread Kumar Bibek
What kind of animation it is? It would be great if you could explain how your animation is setup. On Dec 5, 4:43 pm, Harald wrote: > Hi, > > I spent a lot of time to create a nice animation to slide from one > activity to the next an back. The animation is working on the > emulator. The emulator

[android-developers] Re: User cannot install an update

2011-12-05 Thread John Coryat
> There may be a permission problem so the userID given to the app does > not match the userID of the app data directory. If your user has root, > tell him/her to delete the directory /data/data/com.yournamespace... > Then reinstall the app. > > Unfortuantely, only root can do this. Uninstalling

[android-developers] ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
In my AndroidManifest.xml I have: And the Application and Activities all have android:hardwareAccelerated="false" So the app should not be hardware accelerated. But in the Android Developer console I am getting the following crash report from Galaxy Nexus users with ICS: java.lang.UnsupportedO

Re: [android-developers] Re: Unique ID, but not IMEI, IMSI, MAC, AndroidID

2011-12-05 Thread Mark Murphy
Do you use any sort of a naming convention, so you can identify what's what for later comparison purposes? I'm thinking something a bit along the lines of URL schemes (imsi:... or even imsi-v10:... for an IMSI reported by API Level 10, where the ... is the actual IMSI value). For example, it may b

[android-developers] Can the LVL check for Paid app be done from my free app ?

2011-12-05 Thread androidmediadeveloper
I have a Free app with pro features "locked". I also have a paid app that is basically a stub, an "unlocker". My question is this, can I run the LVL check to see if user has purchased the unlocker/stub app from inside of my free app ? It'd be great if this were possible, but from my experiments unt

[android-developers] Re: How to create a bitmap from binary data?

2011-12-05 Thread Streets Of Boston
http://developer.android.com/reference/android/graphics/BitmapFactory.html -- 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 t

[android-developers] Re: Unique ID, but not IMEI, IMSI, MAC, AndroidID

2011-12-05 Thread Streets Of Boston
http://android-developers.blogspot.com/2011/03/identifying-app-installations.html This link suggests and advises identifying accounts, not specific devices. However, sometimes you can't get around it. E.g. if you have an app that publishes digital content under DRM, you usually have to be able to

[android-developers] Re: list actvity is scrolling

2011-12-05 Thread Streets Of Boston
Don't use a ListActivity. You only have a small and fixed amount of elements (8). Use a regular Activity with a layout that has a vertical LinearLayout or a TableLayout as the top element. These two don't scroll. -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Re: getString in a class with no context <- Runtime Error Resource Not Found

2011-12-05 Thread Streets Of Boston
It's great you got it to work. But why do you need a separate class (LanguagePack) to get localized strings/resources? In a method of your activity or another context, you could just do: getString(R.string.some_string)? If you want to access localized resources/strings in code that does not ha

Re: [android-developers] MEssaging Application Not Updating

2011-12-05 Thread TreKing
On Tue, Nov 29, 2011 at 9:30 PM, raja shekar < raja.androiddevelo...@gmail.com> wrote: > When i opening the Application UI is not Updating ... > Can anybody give me solution > Solution: fix the bug in your app. You're welcome. Seriously, if that's the extent of the information you have to provi

Re: [android-developers] android application

2011-12-05 Thread TreKing
On Tue, Nov 29, 2011 at 11:53 PM, Jacob Shavia wrote: > i'm new to android and am supposed to develop an android game that allows > people to navigate a vehicle along simulated real life roads, i have > autocad maps for the roads n their presentation is poor how can i implement > this. Do a bunc

Re: [android-developers] communicating with hardware remotely from Android device

2011-12-05 Thread TreKing
On Wed, Nov 30, 2011 at 11:41 PM, Arun wrote: > how to communicate with the hardware board remotely from > android device..Any ideas ... > ? http://www.catb.org/~esr/faqs/smart-questions.html - TreKi

Re: [android-developers] emulator for motorola droid x

2011-12-05 Thread Mukesh Srivastav
OMG, Not Again this PhoneGAP... :(. On Mon, Dec 5, 2011 at 7:32 PM, TreKing wrote: > On Wed, Nov 30, 2011 at 11:51 PM, mohana priya wrote: > >> Hello android developers.can u please tell me How and where to download >> the motorola droid x emulator for android application with phonegap

Re: [android-developers] How can I capture and write my findings in txt file.

2011-12-05 Thread TreKing
On Wed, Nov 30, 2011 at 6:46 PM, Aaron Chung wrote: > As the value kept changing, how can I capture the > values and save it inside a txt file so that I can open it up with my > computer? > Read the docs section on persisting data and use standard Java I/O. --

Re: [android-developers] Android: How to pause and resume a Count Down Timer?

2011-12-05 Thread TreKing
On Wed, Nov 30, 2011 at 10:01 PM, catherinefbala...@yahoo.com < catherinefbala...@yahoo.com> wrote: > I am only beginner in android programming and I don't know how to get > the value of the countdown timer using savedInstanceState. How do I do > this? > There is plenty of information on this in

Re: [android-developers] emulator for motorola droid x

2011-12-05 Thread TreKing
On Wed, Nov 30, 2011 at 11:51 PM, mohana priya wrote: > Hello android developers.can u please tell me How and where to download > the motorola droid x emulator for android application with phonegap.Thanks > in Advance. > Try the motorola droid x emulator and / or phonegap forums. ---

Re: [android-developers] RectF: float parameters in pixelated canvas???

2011-12-05 Thread Latimerius
On Mon, Dec 5, 2011 at 2:18 PM, John Goche wrote: > > Hello, > > Can someone explain to me how come there is a RectF class that > takes float parameters when the pixel coordinates take integer values? > How can I draw a pixel at location (3.5,8.777) for instance instead of > at location (3,7). Doe

Re: [android-developers] Alarm manager problem

2011-12-05 Thread Kostya Vasilyev
If the current day of week is > Sunday, your code moves the calendar back in time, to most recent Sunday before now. Add a check for this case, and move the calendar forward one week if needed. 5 декабря 2011 г. 16:19 пользователь Hassy написал: > I'm creating an alarm application and I already

[android-developers] How to create a bitmap from binary data?

2011-12-05 Thread Vincent
Hi, I want to create images from binary data. e.g. If the binary data is: 0110 1110 0011 1010 1000 0001 1011 1100 0110 1101 0100 0011 1001 0011 which is store in 4*4 bytes { 6 14 3 10 8 1 11 12 6 13 15 0 4 3 9 3 } I want to create a image(might be bitmap) from the binary

Re: [android-developers] Re: please give me solution

2011-12-05 Thread Jim Graham
On Mon, Dec 05, 2011 at 07:22:06AM -0600, Jim Graham wrote: > On Mon, Dec 05, 2011 at 06:42:16PM +0530, Mukesh Srivastav wrote: > > solution of what > > > > +1, What does it mean ? > > It means the same as ++1, or - -1, or +2-1, or Oops...that first one is invalid. I haven't had my coffee

Re: [android-developers] Re: please give me solution

2011-12-05 Thread Jim Graham
On Mon, Dec 05, 2011 at 06:42:16PM +0530, Mukesh Srivastav wrote: > solution of what > > +1, What does it mean ? It means the same as ++1, or - -1, or +2-1, or Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)| Peter da Silva: No, try "rm -rf /" spooky1...@gmail.

[android-developers] RectF: float parameters in pixelated canvas???

2011-12-05 Thread John Goche
Hello, Can someone explain to me how come there is a RectF class that takes float parameters when the pixel coordinates take integer values? How can I draw a pixel at location (3.5,8.777) for instance instead of at location (3,7). Does this just make sense because of antialiasing? Thanks for clar

Re: [android-developers] Re: please give me solution

2011-12-05 Thread TreKing
On Mon, Dec 5, 2011 at 7:12 AM, Mukesh Srivastav wrote: > +1, What does it mean ? http://bit.ly/tek3Lc - TreKing - Chicago transit tracking app fo

Re: [android-developers] Image Gallery Help

2011-12-05 Thread TreKing
On Tue, Nov 29, 2011 at 5:48 AM, arvi wrote: > I was wondering if i could get the source code of the default gallery app > by cooliris > Check the Android source code to see if the stock app is there. Or ask "cooliris", if that's their app you're talking about. -

Re: [android-developers] Re: please give me solution

2011-12-05 Thread Mukesh Srivastav
solution of what +1, What does it mean ? Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Mon, Dec 5, 2011 at 6:32 PM, Oli Wright wrote: > +1 > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To po

[android-developers] Re: please give me solution

2011-12-05 Thread Oli Wright
+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, send email to android-developers+unsubscr...@googlegroups.com For more options, visi

Re: [android-developers] Is is possible to block android system updates with out rooting the device?

2011-12-05 Thread Mark Murphy
On Mon, Dec 5, 2011 at 1:57 AM, srihari babu wrote: > Is there is any way to block android OS updates in the device. For your own devices, you can decline to install them. For other people's devices, no, this is not possible. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://githu

Re: [android-developers] Reg: Crash in the native while allocating memory

2011-12-05 Thread Mark Murphy
Try the android-ndk Google Group, as they are better suited for this sort of NDK question. On Mon, Dec 5, 2011 at 3:54 AM, Aluvala Suman wrote: > Hi All, > > I am facing a crash issue while trying to allocate a dynamic memory of size > 1150 bytes in the android native. > Its crashing in-consisten

[android-developers] Re: speech recording

2011-12-05 Thread rachana govilkar
n sorry for bad english. On Dec 5, 5:25 pm, rachana govilkar wrote: > yes thank u for quick reply :) > coz i did mention this question on my thread also. > n yes it is giving me exceptionIllegalStateException > but y so?? > i mean i have just wrote program same as provided on d li

[android-developers] Re: speech recording

2011-12-05 Thread rachana govilkar
yes thank u for quick reply :) coz i did mention this question on my thread also. n yes it is giving me exceptionIllegalStateException but y so?? i mean i have just wrote program same as provided on d link my program is... package com.privacygram.activity; import java.io.IOExcepti

Re: [android-developers] Re: problem parsing the package

2011-12-05 Thread Mukesh Srivastav
Rachna, Please call the unlock method immediate after preview display,that helps. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Mon, Dec 5, 2011 at 5:38 PM, rachana govilkar wrote: > hello... > y anybody is not replying on this thread??? > anywys pl

[android-developers] Alarm manager problem

2011-12-05 Thread Hassy
I'm creating an alarm application and I already created the basic alarm activity and receiver class.now I want to repeat the alarm on specific day of week. I set DAY_OF_WEEK to 1 to set the alarm repeat on sunday but it doesn't work. Calendar calendar = Calendar.getInstance() calendar.set(cal

[android-developers] Re: problem parsing the package

2011-12-05 Thread rachana govilkar
hello... y anybody is not replying on this thread??? anywys plz help this time.am just stuck up at audio recording i just wrote this program given in android guide.. http://developer.android.com/guide/topics/media/audio-capture.html but getting error as prepare() is failed.. thi

[android-developers] 2.3.4 - Animation is working on the emulator but not on real device

2011-12-05 Thread Harald
Hi, I spent a lot of time to create a nice animation to slide from one activity to the next an back. The animation is working on the emulator. The emulator has the same android release as my phone. But on my phone, the animation does not work. Does someone know a possible reason? Phone: Huawei S

[android-developers] Re: How to READ a MODE_WORLD_READABLE file from ANOTHER application

2011-12-05 Thread skink
Saied wrote: > Now I learn that the .txt asset files get compressed, and openAssetFd > fails on compressed files! > > Wow. > > is there a workaround for this? > > I just changed the extension to .jpg and it worked, but that's UGLY. > > Any thoughts? > > Thanks. > > is asset _text.txt bigger tha

[android-developers] Cocos2d Game Lost Focus When we click Volume Up or Volume Down Button On Motorola xoom

2011-12-05 Thread vimal
I am developing a game using Cocos2d FrameWork in Android. i encountered a problem while testing on Motorola Xoom. What I want to do :- When User pressed Volume up and Volume down Button All the Animation should play with sound . But What actually Happened:- when i pressed volume up down butto

Re: [android-developers] Re: speech recording

2011-12-05 Thread Raghav Sood
I'd say that your error is coming from one of lines 74, 30, 28 or 88. At least that's what the LogCat says. If you look closer, you will notice that your prepare() method has failed to work and has given you an exception. 12-05 16:11:39.442: ERROR/AudioRecordTest(309): prepare() failed > 12-05 16:

[android-developers] Re: speech recording

2011-12-05 Thread rachana govilkar
hey hi even i am facing d same problem code am writing to capture audio is given in android guide itself check this link http://developer.android.com/guide/topics/media/audio-capture.html but it is giving me error for prepare method in StartRecording() LogCat is: 12-05 16:11:39

[android-developers] Video view youtube

2011-12-05 Thread ANKUR GOEL
Hi all , i am having activity .on which in small part i have video view i want to show yputuve page on that the video i will play .. my video is playing fine ,,,but i want to show the youtube video picture on that small layout and on click of that play video ... i am not able to show pictur

[android-developers] Re: SurfaceHolder.Callback.surfaceCreated not being triggered when surface is re-created

2011-12-05 Thread Thomas Fjellstrom
So I've managed to fix that particular problem. I'm not sure exactly what fixed it, but I assume it was a result of a couple different problems. I needed to set the manifest to only ever launch one instance at a time (I was seeing more than one activity object be created which messed things up). An

Re: [android-developers] Re: How to READ a MODE_WORLD_READABLE file from ANOTHER application

2011-12-05 Thread Nikolay Elenkov
On Mon, Dec 5, 2011 at 6:01 PM, Saied wrote: > It turns out that raw resources are also compressed, and therefore > unreadable with openRawResourceFd(raw.test); > > Is there a sure way to prevent this? > If you mean compressing resources, the only thing I've seen used is changing the extension. Y

Re: [android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-05 Thread Nikolay Elenkov
On Mon, Dec 5, 2011 at 5:50 PM, MarkG123 wrote: > > The full callstack: > > 12-04 19:51:12.665: I/Database(842): sqlite returned: error code = 8, > msg = prepared statement aborts at 37: [CREATE TABLE IF NOT EXISTS > android_metadata (locale TEXT)] > 12-04 19:51:12.665: E/Database(842): CREATE TAB

[android-developers] Android TileMode REPEAT on Background image stops working

2011-12-05 Thread Jason
I'm having some problems with programmatically setting the background image to tile on a LinearLayout on Android. I've posted a bug report (http://code.google.com/p/android/issues/ detail?id=22541), along with an example project but I'm wondering if anyone's seen this before and has a workaround?

[android-developers] Re: How to READ a MODE_WORLD_READABLE file from ANOTHER application

2011-12-05 Thread Saied
It turns out that raw resources are also compressed, and therefore unreadable with openRawResourceFd(raw.test); Is there a sure way to prevent this? On Dec 5, 12:24 am, Nikolay Elenkov wrote: > On Mon, Dec 5, 2011 at 5:06 PM, Saied wrote: > > Now I learn that the .txt asset files get compressed

[android-developers] Re: User cannot install an update

2011-12-05 Thread mot12
There may be a permission problem so the userID given to the app does not match the userID of the app data directory. If your user has root, tell him/her to delete the directory /data/data/com.yournamespace... Then reinstall the app. Unfortuantely, only root can do this. Uninstalling the app shoul

[android-developers] Reg: Crash in the native while allocating memory

2011-12-05 Thread Aluvala Suman
Hi All, I am facing a crash issue while trying to allocate a dynamic memory of size 1150 bytes in the android native. Its crashing in-consistently at malloc() function in the android native and some times at free(). The native code which I am using is fully developed and tested (using purify) as

[android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-05 Thread MarkG123
Database opens just fine in the windows sqlite3.exe application, I can view the tables. The full callstack: 12-04 19:51:12.665: I/Database(842): sqlite returned: error code = 8, msg = prepared statement aborts at 37: [CREATE TABLE IF NOT EXISTS android_metadata (locale TEXT)] 12-04 19:51:12.665:

Re: [android-developers] Re: Not able to get full App logs

2011-12-05 Thread Mukesh Srivastav
1. Close the emulator. 2. Got to ADB, Delete the existing emulator 3.Create a New Emulator. 4.Restart the Eclipse... (Please try this step first, if you still not able to see the logs, then do the above four steps). -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderab

[android-developers] Re: How to READ a MODE_WORLD_READABLE file from ANOTHER application

2011-12-05 Thread Saied
Thanks. I'll look! On Dec 5, 12:24 am, Nikolay Elenkov wrote: > On Mon, Dec 5, 2011 at 5:06 PM, Saied wrote: > > Now I learn that the .txt asset files get compressed, and openAssetFd > > fails on compressed files! > > > Wow. > > > is there a workaround for this? > > > I just changed the extensio

[android-developers] Re: Using Spinner as a Button.

2011-12-05 Thread Pocket
Thank you all! I'll try to change button style. On 12月2日, 午前4:36, TreKing wrote: > On Thu, Dec 1, 2011 at 4:27 AM, Pocket wrote: > > But I want to use Spinner just as a Button. > > And you don't just use a Button because ... ? > > -

[android-developers] Re: Not able to get full App logs

2011-12-05 Thread Neel Singh
I am not able to get full App log for an application(In fact any application), based on Android 2.2 SDK, after updating ADT and SDK recently. Its not working even after setting the log level to VERBOSE. Eclipse : Helios Android SDK API : 2.2 Android S

Re: [android-developers] Re: How to READ a MODE_WORLD_READABLE file from ANOTHER application

2011-12-05 Thread Nikolay Elenkov
On Mon, Dec 5, 2011 at 5:06 PM, Saied wrote: > Now I learn that the .txt asset files get compressed, and openAssetFd > fails on compressed files! > > Wow. > > is there a workaround for this? > > I just changed the extension to .jpg and it worked, but that's UGLY. > If you store it as a raw resour

[android-developers] Re: How to READ a MODE_WORLD_READABLE file from ANOTHER application

2011-12-05 Thread Saied
Now I learn that the .txt asset files get compressed, and openAssetFd fails on compressed files! Wow. is there a workaround for this? I just changed the extension to .jpg and it worked, but that's UGLY. Any thoughts? Thanks. On Dec 4, 11:52 pm, Saied wrote: > I spoke too soon. > It works ON

Re: [android-developers] Re: My Newbie problem with compiling the HelloAndroid App

2011-12-05 Thread Mukesh Srivastav
Dude, Very simple problem u have it. Please look at my below statment that would help in resolving. 1. open the Activity ( I mean Java source code) 2. in your Java File, you might added the following import statment import android.R; 3. Remove that import statment and add your package statment

<    1   2