[android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-09 Thread Jonathan S
Do you heard about proguard? -- 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.

[android-developers] Endless horizontal Scroll View

2012-02-09 Thread parmanand deo
How can i make a endless horizontal scroll view in android plz help me.. -- 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 emai

[android-developers] Re: onResume start a duplicated activity

2012-02-09 Thread Terry
You are right. What you experienced, is the default behavior for activities. Strangely enough, using your solution (specifying SingleInstance for the activity in the manifest) is NOT recommended in the Android documentation. Does anybody understand the reason behind this? Terry On Feb 5, 4:31 pm

Re: [android-developers] Android native implementation for force stop in setting-->manage applications

2012-02-09 Thread RAJU V
Hi this is my error getting while am running my application ("The Application "some of my app package name" has stopped unexpectedly. Please try again") how to solve this one. pls help me ~RAJU~ ~~www.itdoall.co.cc~~ ~

Re: [android-developers] Android native implementation for force stop in setting-->manage applications

2012-02-09 Thread Kristopher Micinski
Well killing the app some hackey way certainly isn't the answer! Instead put a bit of code in your onResumes that does the check and redirects them not to use the app if you don't want. Be aware that it's always possible to subvert the app and lie about the location... kris On Fri, Feb 10, 2012

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Nikolay Elenkov
On Fri, Feb 10, 2012 at 2:02 PM, Zsolt Vasvari wrote: > And apparently there is a whole new crop of >> so called 'malware' (mostly filled with ads, etc.) that require you to >> give them a 5-star rating to continue playing/watching, etc. Most people >>  apparently fall for it, and those apps get a

Re: [android-developers] Android native implementation for force stop in setting-->manage applications

2012-02-09 Thread ashiq sayyad
HI Kris, I want my app to be used inside certain defined region(Location).If user gets out of the predefined region, I need to show a dailog that "You are not allowed to use app in this area" and on dialog action, I need to exit the app... On 9 February 2012 23:44, Kristopher Micinski wrote: >

[android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-09 Thread Zsolt Vasvari
If that's the case, it's a bug. Report it on b.android.com On Feb 10, 7:19 am, Subba wrote: > It seem like there is no way to remove/hide overflow button on certain > screen not using this attribute "android:targetSdkVersion="14"" > manifest. > On preference activities overflow button shows ev

[android-developers] Problem in using frame layout

2012-02-09 Thread chowdary nani
Hi All, I am working with image view and frame layout i have a frame layout with rounded borders frame layout consists of image view when i select image from gallery view the image is displaying in image view here i have a problem i.e, when the image displaying in the image view it is displaying i

[android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Zsolt Vasvari
And apparently there is a whole new crop of > so called 'malware' (mostly filled with ads, etc.) that require you to > give them a 5-star rating to continue playing/watching, etc. Most people >  apparently fall for it, and those apps get a high ranking. Eventually > most are removed, but I would be

[android-developers] Re: Is there a way to access/edit the camera preview image?

2012-02-09 Thread gjs
Hi, Here is an older post that might help you along a little with your project - http://groups.google.com/group/android-developers/browse_thread/thread/65796050ccf3e022/b8296e4c283b24ff Regards On Feb 10, 3:12 pm, Jim Graham wrote: > On Thu, Feb 09, 2012 at 02:02:42PM -0800, Adam Ratana wrote:

Re: [android-developers] Re: Is there a way to access/edit the camera preview image?

2012-02-09 Thread Jim Graham
On Thu, Feb 09, 2012 at 02:02:42PM -0800, Adam Ratana wrote: > There are some popular apps such as Paper Camera which affect the camera > preview. The work is likely in implementing the onPreviewFrame: > > http://developer.android.com/reference/android/hardware/Camera.PreviewCallback.html > > I

[android-developers] How can I get the actual screen height ?

2012-02-09 Thread Wenshan
Hi, I'm trying to get the screen height, which is the DeviceScreenHeight - NavigationBarHeight - TitleBarHeight The code below always give me a 752, but the real screen height is 800. DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getD

[android-developers] Re: A proof for being Android developer

2012-02-09 Thread Jose_GD
You may be right, but an application in the Market is sufficient proof, no one can upload an app to the Market without registering a developer account -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

Re: [android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-02-09 Thread James W.
ram too slow On Fri, Feb 10, 2012 at 11:23 AM, ji fei wrote: > Seems that hardware acceleration will cost some ram. About 8m per app. > > > On Fri, Feb 10, 2012 at 9:19 AM, bradgog wrote: >> >> They do say developer options and it is a developer phone so I would hope >> they never get removed fr

Re: [android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-02-09 Thread ji fei
Seems that hardware acceleration will cost some ram. About 8m per app. On Fri, Feb 10, 2012 at 9:19 AM, bradgog wrote: > They do say developer options and it is a developer phone so I would hope > they never get removed from the Galaxy Nexus firmware. > > -- > You received this message because y

Re: [android-developers] App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-09 Thread TreKing
On Thu, Feb 9, 2012 at 12:21 PM, Leo wrote: > Why does this happen? How can it be that there is no main class inside apk? > Does anybody face the same problem and have a solution to it? > We've discussed many seemingly impossible crash reports here. The general assumptions, I believe, are: A) Co

Re: [android-developers] How to create a "Disk space usage monitor ".

2012-02-09 Thread TreKing
On Thu, Feb 9, 2012 at 9:58 AM, anoop ajay wrote: > hello everyone am trying to build an application that shows the exact disk > space usage of memory for my mini project, > "Disk space usage of memory" ? That doesn't really make sense. > needs help as I am a beginner in this. > http://develo

[android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-02-09 Thread bradgog
They do say developer options and it is a developer phone so I would hope they never get removed from the Galaxy Nexus firmware. -- 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

[android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread Jim Andresakis
@ibendlin I could ask him for one but he did mention that hell have a new phone in a week and hell be sending the old one in the mail out here so I can test on it myself. When I get my hands on it Ill post back to this thread with any errors related to the mapview. On Feb 9, 5:05 pm, lbendlin wr

Re: [android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 8:05 PM, lbendlin wrote: > @Mark: That doesn't mean much any more as the Google Maps app is now totally > un-coupled from the API (the app uses vector data, the API raster tiles). Ah, good point. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/co

Re: [android-developers] Help with signatures

2012-02-09 Thread Nikolay Elenkov
On Sat, Jan 21, 2012 at 10:15 AM, New Developer wrote: > Okay I have changed my date back to Jan 2012 > > Is there anyway to extend the  Certificate   without going through the  adb > uninstall ?? > No. The newly generated debug certificate will be different from the old one, so if you try to ins

Re: [android-developers] Help with signatures

2012-02-09 Thread New Developer
But deleting the debug.keystore results in having to delete the data on the device, and I can't do that either Thanks On 02/09/2012 07:35 PM, Mark Murphy wrote: On Fri, Jan 20, 2012 at 8:15 PM, New Developer wrote: Okay I have changed my date back to Jan 2012 Huh? Just delete your debug.ke

Re: [android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread lbendlin
@Mark: That doesn't mean much any more as the Google Maps app is now totally un-coupled from the API (the app uses vector data, the API raster tiles). I have a MyTouch3G too in my device zoo, and haven't seen such behaviour. You may see some kind of error message in the logcat. Can your partner

Re: [android-developers] Re: error in import android.support.v4.app.FragmentActivity;

2012-02-09 Thread ji fei
You can download the correspond jar file in AVD manager. Then inlcude this jar package as a library of your project. On Wed, Feb 8, 2012 at 7:09 PM, Mike Wolfson wrote: > You need to include the additional Support library in your project (search > for "v4 support library"). > > But this is not a

Re: [android-developers] Help with signatures

2012-02-09 Thread Mark Murphy
On Fri, Jan 20, 2012 at 8:15 PM, New Developer wrote: > Okay I have changed my date back to Jan 2012 Huh? Just delete your debug.keystore file. The build tools will regenerate a new one on the next build. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http:

Re: [android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 6:27 PM, Jim Andresakis wrote: > Is it possible that there is a limit on the number of devices > that would have access to the maptiles when using a development apk > that was exported rather than pushed on to the phone via eclipse? Not that I am aware of. Make sure the oth

[android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread Jim Andresakis
Hey Mark thanks for replying :) I went over my manifest file with a fine tooth comb and tripple checked all the network conditions but its just odd that map tiles will load on one device and then not on another. I had my partner on the east coast using the same version of the app that I had last b

[android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread Jim Andresakis
@ibendlin The first device that I test on is a Verizon motorola droid x2 running 2.3.4 and then a samsung infuse but I have 10 other devices to test on when I need them. The tmobile mytouch that cant see the map tiles is one of my partners phone and being that hes in another state I usually email

[android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-09 Thread Subba
It seem like there is no way to remove/hide overflow button on certain screen not using this attribute "android:targetSdkVersion="14"" manifest. On preference activities overflow button shows even though there are no options. On Feb 9, 2:39 pm, Kostya Vasilyev wrote: > Take the dive and actually

Re: [android-developers] best way for automation?

2012-02-09 Thread ji fei
and there is another tool called roboletric. it uses mocks to emulate ui widget. you can try it. i think all of the automatic testing tools are far from fast. 在 2012-2-9 下午6:28,"Hitendrasinh Gohil" 写道: > Hi, > > I need to do kind of automation testing in android app.There are many > rest request

Re: [android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-09 Thread Kostya Vasilyev
Take the dive and actually start using the Holo theme for Android 3.0 and above? 10.02.2012 2:25 пользователь "Subba" написал: > Any suggestions please..? > > On Feb 9, 12:09 pm, Subba wrote: > > Thanks Mark for the reply. > > > > Adding android:targetSdkVersion="14" in manifest it works. Howev

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread Kostya Vasilyev
You could use Semaphore or CountDownLatch in java.util.concurrent. Or, if your threads pass data objects to one another, a blocking queue. Or, probably, use HandlerThread(s) that would communicate using Handler messages... 10.02.2012 2:21 пользователь "John Goche" написал: > Hi all, > > The pr

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
Hello, I have put together the following code that illustrates that apparently the answer to my question is that a thread can call join() on another thread which has not yet started (as s.join() below will be run before s.run()) resulting in the output "Hello World Bye". Regards, JG final T

[android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-09 Thread Subba
Any suggestions please..? On Feb 9, 12:09 pm, Subba wrote: > Thanks Mark for the reply. > > Adding android:targetSdkVersion="14" in manifest it works. However > don't want hide/remove three dots button on all screens . Only in > preference activities don't want to show this three dots button. > >

Re: [android-developers] Help with signatures

2012-02-09 Thread New Developer
Okay I have changed my date back to Jan 2012 Is there anyway to extend the Certificate without going through the adb uninstall ?? Thanks On 02/09/2012 05:15 PM, New Developer wrote: Okay I had to Clean and rebuild the Project So it is not warning about difference signatures But Now s

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
Hi all, The problem I am having is that the thread I need to call join() on so as to wait for completion may not even yet be started when I call join(). Is it legal in Java to call join() on a thread which is not running, but which will eventually be run by a third thread? Thanks, JG 2012/2/9 J

Re: [android-developers] Help with signatures

2012-02-09 Thread New Developer
Okay I had to Clean and rebuild the Project So it is not warning about difference signatures But Now still has the Debug Certificate expired error ? Please help On 02/09/2012 04:57 PM, New Developer wrote: Help please I got an error message saying "Debug Certificate expired on" So I di

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
Basically sendRequest() invokes a thread which calls runOnUiThread with a new Runnable() which in turn also invokes a new Thread(). It is this latter thread which I need to wait for to finish. I thought of using the join() method to force thread completion prior to continuation at a specific spot b

[android-developers] Re: Is there a way to access/edit the camera preview image?

2012-02-09 Thread Adam Ratana
There are some popular apps such as Paper Camera which affect the camera preview. The work is likely in implementing the onPreviewFrame: http://developer.android.com/reference/android/hardware/Camera.PreviewCallback.html I think that's probably where to start. On Thursday, February 9, 2012 4:0

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
Thanks Kostya! I have traced the code with the debugger and found that even though notify() is being called from within a thread instantiated from sendRequest() (which is not the same thread as sendRequest()'s thread), the notify() is being called before the wait(). I am assuming that if I call n

[android-developers] Re: How to stop service getting latest updates from twitter ??

2012-02-09 Thread Chris Mawata
BTW Why are you calling startService in the stopservices part of the switch statement in your code? On Feb 9, 10:30 am, Walaa Mahmoud wrote: > Thanks for replaying i saw this link before i asked but no result ,i start > service via intent here is the code : > > public boolean onOptionsItemSelecte

[android-developers] Help with signatures

2012-02-09 Thread New Developer
Help please I got an error message saying "Debug Certificate expired on" So I did a web search and found an article that had said delete the debug.keystore Thankfully (or not) I moved mine but now it says Re-installation failed due to different application signatures. [2012-02-09 16:53:13 - Y

Re: [android-developers] Help Urgent

2012-02-09 Thread New Developer
Sorry please ignore this I hit the wrong key On 02/09/2012 04:56 PM, New Developer wrote: Help please I got an error message saying "Debug Certificate expired on" So I did a web search and found an article that had said delete the debug.keystore Thankfully (or not) I moved mine but now it s

[android-developers] Re: How to stop service getting latest updates from twitter ??

2012-02-09 Thread Chris Mawata
That is what you need to read. Take a look at the part that talks about the lifecycle. You are starting it by calling startService. A few words later the documentation says qoute: The service will at this point continue running until Context.stopService() or stopSelf() is called. :endquote (When

[android-developers] Help Urgent

2012-02-09 Thread New Developer
Help please I got an error message saying "Debug Certificate expired on" So I did a web search and found an article that had said delete the debug.keystore Thankfully (or not) I moved mine but now it says Re-installation failed due to different application signatures. [2012-02-09 16:53:13 - Y

Re: [android-developers] DLL equivalent in android

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 4:35 PM, New Developer wrote: > For further insight, under windows I used a code within the .exe which said > which modules were available > then based on the code it checked to see if those .dll were present.  If so, > then they were loaded and added > items to the main men

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread Kostya Vasilyev
Are you calling notify() from inside sendRequest()? If so, it's the same thread, and notify has nothing to do. http://developer.android.com/reference/java/lang/Object.html#notify() Causes *a thread which is waiting on this object's monitor* (by means of calling one of the wait() methods) to be

Re: [android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 4:33 PM, Daniel Rindt wrote: > And a reason could be when the google api's not on the device are present. The app shouldn't install in that case. Or, if they have android:required="false" for the , the app would crash when trying to launch the MapActivity. -- Mark Murphy

Re: [android-developers] DLL equivalent in android

2012-02-09 Thread New Developer
Thanks to all. 1) is the jar created still as part of the same package ? 2) I take it then that you upload the .apk and then the jar(s) as well ? 3) Where can I find information on this esp. the creating of the jar and then dynamically linking them to the apk ? For further insight, under win

[android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread Daniel Rindt
And a reason could be when the google api's not on the device are present. -- 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] How to separate 2 WebView's?

2012-02-09 Thread Daniel Rindt
Hello, i have 2 Activities where each contains a WebView. In the first activity i do a loadUrl() to login the user in the view. The website is using cookies. When i leave the activity and come later back to it, the cookie is still in the CookieManager and valid, so everything is working fine. B

[android-developers] Re: Is there a way to access/edit the camera preview image?

2012-02-09 Thread Jim Graham
This is the effect I'm trying to get in the camera preview: http://www.jstrack.org/appimage.html Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie #49997 < Running FreeBSD 7.0 > spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W Do not look into

[android-developers] Re: ActionBar Tabs with multiple fragments

2012-02-09 Thread Jason Prenger
Figured I might as well talk about the solution I came up with in-case someone comes to this thread with the same ideas I was Eventually went with a workaround of having a base layout with 3 frame layouts... http://schemas.android.com/apk/res/ android" android:layout_width="match_pare

[android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread lbendlin
- are you using the mytouch3g as the main development device? do you copy the apk over and then install? or do you "install" via Eclipse? - are you always using the same development computer? (the debug key is machine specific) -- You received this message because you are subscribed to the Goog

[android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
Dear Android developers, I am having the following issue in Android: In one class I am having: final Object lock = new Object(); Thread thread; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceSta

[android-developers] Re: Is there a way to access/edit the camera preview image?

2012-02-09 Thread Jim Graham
On Thu, Feb 09, 2012 at 01:25:08PM -0600, Jim Graham wrote: > On Thu, Feb 09, 2012 at 11:29:59AM -0600, Jim Graham wrote: > > I suspect that the answer to this is "no" ... but I thought I'd ask, > > just in case I'm wrong about that. > > Good thing I askedthe answer is yes, not no. Or maybe i

[android-developers] Re: ActionBar Tabs with multiple fragments

2012-02-09 Thread Jason Prenger
Hey Mark, Thanks for the advice, its gotten me closer to the solution that I was looking for. I guess I was hoping or figured there would be an interface to give a layout file to an ActionBar tab as opposed to attaching and detaching the needed fragments in the listener. Jason Prenger On Feb 9,

[android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-09 Thread Subba
Thanks Mark for the reply. Adding android:targetSdkVersion="14" in manifest it works. However don't want hide/remove three dots button on all screens . Only in preference activities don't want to show this three dots button. On Feb 9, 4:10 am, Mark Murphy wrote: > On Thu, Feb 9, 2012 at 1:46 AM,

[android-developers] Re: How to destroy a background activity without removing it from back stack.

2012-02-09 Thread JackN
Not sure what you problem is, but maybe instead of multiple activities, stack views on one activity On Feb 6, 11:50 pm, Haisoo Shin wrote: > Hi, > > I have a problem on some devices like Galaxy Nexus, where my > background activities are not destroyed by the system even when > available memory is

Re: [android-developers] Re: DLL equivalent in android

2012-02-09 Thread Kristopher Micinski
On Thu, Feb 9, 2012 at 2:54 PM, JackN wrote: > > deep in the system, you also have shared objects, which can be like > dlls. for java though, it is the jars Right, but by that argument you could also have a shared object for the ndk that you'd migrate to the android platform. But since this qu

[android-developers] Re: How to connect an app with a site?

2012-02-09 Thread JackN
just think of it as http messaging. On Feb 9, 7:42 am, Kristopher Micinski wrote: > On Thu, Feb 9, 2012 at 9:57 AM, juliagrig wrote: > > Hi all, > > this I would like to achieve, is to connect my site with my andoid > > app. > > I would like to transfer informations between them. > > What I soul

[android-developers] Re: DLL equivalent in android

2012-02-09 Thread JackN
deep in the system, you also have shared objects, which can be like dlls. for java though, it is the jars On Feb 9, 9:49 am, Kristopher Micinski wrote: > On Thu, Feb 9, 2012 at 12:42 PM, New Developer wrote: > >  In Windows programming we have DLL so that we can build modules > > If the DLL exi

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Ted Scott
As long as you are not tying the enhancement to a rating level, I don't think that would violate the policy. Now telling whether or not someone actually rated the app is a different issue. On 2/9/2012 1:18 PM, Mark Phillips wrote: My apologies for recommending something against the market p

[android-developers] Re: Is there a way to access/edit the camera preview image?

2012-02-09 Thread Jim Graham
On Thu, Feb 09, 2012 at 11:29:59AM -0600, Jim Graham wrote: > I suspect that the answer to this is "no" ... but I thought I'd ask, > just in case I'm wrong about that. Good thing I askedthe answer is yes, not no. > In my camera app, I want to give the user a preview that includes the > filter

[android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread FiltrSoft
Yea, unless your app does something completely out of the ordinary, you will get very few ratings. The rating system is a little wonky, where people have to go back to the market to rate it, and it's probably that extra step that people don't want to bother with. The best thing you can do is mayb

Re: [android-developers] Custom label and text box in ListView?

2012-02-09 Thread poncho
According to the following thread " ListView isn't really meant to handle that type of UI with editable entries". http://groups.google.com/group/android-developers/browse_thread/thread/50f0fc185da8fe4d?pli=1 The suggested solution is to use vertical LinearLayout wrapped in a ScrollView, contain

[android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread John Coryat
Ratings are an odd thing on the Android market. My app has over 3,000,000 downloads but only has about 20,000 ratings. That works out to 0.7% of users rate the app. I think this is pretty typical. Unless you have a really excellent or really terrible app, people won't rate it. For 650 downloads

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Jim Graham
On Fri, Feb 10, 2012 at 03:24:51AM +0900, Nikolay Elenkov wrote: > so called 'malware' (mostly filled with ads, etc.) that require you to > give them a 5-star rating to continue playing/watching, etc. Most people > apparently fall for it, and those apps get a high ranking. I seem to recall seein

[android-developers] Re: Problem Creating new Contact with photo

2012-02-09 Thread A. Elk
1. As far as I can tell, you're trying to create a new raw contact with an account name and account type set to null. This is a bad idea, even though it will work. The Contacts Provider depends on raw contacts having a particular account type and account name; these indicate the

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Nikolay Elenkov
On Fri, Feb 10, 2012 at 3:18 AM, Mark Phillips wrote: > My apologies for recommending something against the market policies. I was > not aware of that policy. I am just starting out, so I have not gotten that > far in the process to actually put an app  on the market. > > BTW, I was not advocating

[android-developers] App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-09 Thread Leo
Hi all, I have an app published to the market. This game is distributed normally and I have more than 100.000 active installs. But sometimes (one or twice a week) there is a crash report with the following exception: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{norther

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Mark Phillips
My apologies for recommending something against the market policies. I was not aware of that policy. I am just starting out, so I have not gotten that far in the process to actually put an app on the market. BTW, I was not advocating making an offer for a better rating. I meant an incentive for t

[android-developers] Re: Database management

2012-02-09 Thread A. Elk
You can't access files that don't belong to your application unless the file's creator makes them world-readable. This is a security feature. The same is true for databases. I think there are content providers for MMS and SMS. Look in the Android Open Source repository. They're not documented,

Re: [android-developers] Android native implementation for force stop in setting-->manage applications

2012-02-09 Thread Kristopher Micinski
On Thu, Feb 9, 2012 at 1:01 PM, ashiq sayyad wrote: > Actually activity.finish() will finish the current activity & app will > show the previously stacked activity.But i want to finish all activities & > also stop all background processes.So I need to have similar kind of > implementation as "For

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread a1
> > Could you release an update and offer something for the rating? Additional > levels, characters, some way to personalize the game for the user? Which is, of course, violation of market content policy terms ( http://www.android.com/us/developer-content-policy.html see "Spam and Placement"

Re: [android-developers] Android native implementation for force stop in setting-->manage applications

2012-02-09 Thread ashiq sayyad
Actually activity.finish() will finish the current activity & app will show the previously stacked activity.But i want to finish all activities & also stop all background processes.So I need to have similar kind of implementation as "Force stop" in manage applications On 9 February 2012 20:00, Tre

Re: [android-developers] ActionBar Tabs with multiple fragments

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 12:36 PM, Jason Prenger wrote: > but how do I have > more than one fragment in a tab? The same way you have more than one fragment anywhere else: put more than one in a container (e.g., two FrameLayouts in a LinearLayout). > I can convert the second layout to using tabs si

Re: [android-developers] DLL equivalent in android

2012-02-09 Thread Kristopher Micinski
On Thu, Feb 9, 2012 at 12:42 PM, New Developer wrote: > In Windows programming we have DLL so that we can build modules > If the DLL exists then additional functions and features exist > > What is the way to do this under android ? > > Thanks > > Barry > Libraries for your own apps? You'd use a

[android-developers] DLL equivalent in android

2012-02-09 Thread New Developer
In Windows programming we have DLL so that we can build modules If the DLL exists then additional functions and features exist What is the way to do this under android ? Thanks Barry -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] ActionBar Tabs with multiple fragments

2012-02-09 Thread Jason Prenger
Hi everyone, I've been trying to update my app and get going with fragments, the action bar, and all the other UI features that I'm missing out on. I understand I can have multiple fragments in an activity, have different layouts based upon the device and all that good stuff but I'm struggling wi

[android-developers] Is there a way to access/edit the camera preview image?

2012-02-09 Thread Jim Graham
I suspect that the answer to this is "no" ... but I thought I'd ask, just in case I'm wrong about that. In my camera app, I want to give the user a preview that includes the filters that I'll be providing as part of my app. I know how to build composite images, thanks to the book I'm working from

Re: [android-developers] Android native implementation for force stop in setting-->manage applications

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 5:17 AM, ashiq sayyad wrote: > I want to achieve force stop functionality in my app on close button > click. > > Can anybody tell me how android handles force stop in settings-- >>manage applications screen. > > I tried using System.exit(0) & Process.killProcess(Process.myPi

Re: [android-developers] Re: Pitfalls of sharing app data between users

2012-02-09 Thread Mark Murphy
As I wrote, don't use email attachments. Upload/download files from a server, potentially emailing URLs. Not everyone uses email. On Thu, Feb 9, 2012 at 9:22 AM, Dusk Jockeys Android Apps wrote: > Hi Mark > > Sorry if I wasn't clear. > > I am indeed registering for the action.VIEW and category.BR

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Mark Phillips
Could you release an update and offer something for the rating? Additional levels, characters, some way to personalize the game for the user? Mark On Feb 9, 2012 9:46 AM, "albnok" wrote: > Man I most certainly don't click Rate, no matter what, I just want to > get in the game or whatever app. >

[android-developers] Re: Hello everyone, i am developing a bluetooth app.

2012-02-09 Thread Soyer
alright Thanks for the guidance mate. I will update u, thanks again. cheers :) On Feb 9, 8:54 pm, Kristopher Micinski wrote: > On Thu, Feb 9, 2012 at 11:44 AM, Soyer wrote: > > so it's an order issue, Could you please instruct me which part should > > i change?, because honestly i have read load

Re: [android-developers] Re: Hello everyone, i am developing a bluetooth app.

2012-02-09 Thread Kristopher Micinski
On Thu, Feb 9, 2012 at 11:44 AM, Soyer wrote: > so it's an order issue, Could you please instruct me which part should > i change?, because honestly i have read loads of articles and i don't > think i am going anywhere which getting more n more frustrating... > > That would be Very Appreciated. >

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-09 Thread Raul Ruiz
Hi all, I will test the new version of Android 4.0.4 on Monday. I will comment if the problem is fixed or not. Regards. On 9 feb, 16:04, jfernandez wrote: > Hi Chenchen and Ming, > > Sorry for the delay. I think you are right Chenchen, I obtain the same > behaviour, so, I guess the problem is

[android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread albnok
Man I most certainly don't click Rate, no matter what, I just want to get in the game or whatever app. I guess they have to feel compelled to want to rate it? On Feb 8, 11:44 pm, decastro wrote: > I have recently released a game called "tangle twister" to the market. > I have spent a little on a

[android-developers] Re: Hello everyone, i am developing a bluetooth app.

2012-02-09 Thread Soyer
so it's an order issue, Could you please instruct me which part should i change?, because honestly i have read loads of articles and i don't think i am going anywhere which getting more n more frustrating... That would be Very Appreciated. On Feb 9, 8:21 pm, Kristopher Micinski wrote: > Oh, you

[android-developers] Re: Licensing issue on Multiple-apk feature.

2012-02-09 Thread droid-stricken
I don't know what the response code is since that's not being put out to console. The following is what i see from the LicenseChecker class - 02-09 10:11:50.556: I/LicenseChecker(2224): Binding to licensing service. 02-09 10:11:50.596: I/LicenseChecker(2224): Calling checkLicense on service for 0

Re: [android-developers] Re: Hello everyone, i am developing a bluetooth app.

2012-02-09 Thread Kristopher Micinski
Oh, you're not using the BluetoothAdapter correctly... You basically call "startdiscovery" and then display stuff. That's not how it works. It's an asynchronous call. You start discovery with .startDiscovery() and then you have to wait until it's finished. To handle that, you wait for a broadca

[android-developers] Re: Hello everyone, i am developing a bluetooth app.

2012-02-09 Thread Soyer
Hello Kris, i tried it on a mobile phone (HTC Hero) and no detected devices were displayed...it's showing the default bluetooth adapter, and then "Start discovering", "Done with discovery" and at last: "Devices paired: " and nothing displayed, though my other mobile phone is next to it. O

[android-developers] How to create a "Disk space usage monitor ".

2012-02-09 Thread anoop ajay
hello everyone am trying to build an application that shows the exact disk space usage of memory for my mini project, needs help as I am a beginner in this. Thank you all in advance.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

Re: [android-developers] How to connect an app with a site?

2012-02-09 Thread Kristopher Micinski
On Thu, Feb 9, 2012 at 9:57 AM, juliagrig wrote: > Hi all, > this I would like to achieve, is to connect my site with my andoid > app. > I would like to transfer informations between them. > What I sould read about? There is one way to do this, or more? > Could you share with me where could I fin

Re: [android-developers] Re: Hello everyone, i am developing a bluetooth app.

2012-02-09 Thread Kristopher Micinski
Did you try running this in a debugger to see what's going on? kris On Thu, Feb 9, 2012 at 9:58 AM, Soyer wrote: > Sure, first bluetooth detection on Android emulator is not supported > on Wind7 so i used VirtualBox to run it on Linux2.4, so the bluetooth > features are supported by the Host OS

[android-developers] Re: Voice recognition through bluetooth

2012-02-09 Thread Eddie
Does anybody have any thoughts on this? On Dec 30 2011, 7:42 am, Eddie wrote: > Hi, > > I have speech recognition working in my activity. > > However, I realized that if I have a bluetooth headset connected to my > phone, the recognition still only occurs through the phone mic and not > my headse

Re: [android-developers] Re: How to stop service getting latest updates from twitter ??

2012-02-09 Thread Walaa Mahmoud
Thanks for replaying i saw this link before i asked but no result ,i start service via intent here is the code : public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.prefs: startActivity(new Intent(MarkanaActivity.this, Prefs.class)); break; case R.id.sta

Re: [android-developers] Re: How to stop service getting latest updates from twitter ??

2012-02-09 Thread Walaa Mahmoud
i saw this link before i asked but no result ,i start service via intent here is the code : public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.prefs: startActivity(new Intent(MarkanaActivity.this, Prefs.class)); break; case R.id.startservices: startSe

[android-developers] Custom label and text box in ListView?

2012-02-09 Thread Mark Winchester
I'm trying to find a bit of sample code that I'm having trouble with. Hoping someone here could help me. I've got a Listview in my app that I want each row of to have a label and a text box (TextView and EditText). I've got to create these and add them dynamically. That much hasn't been too bad.

  1   2   >