[android-developers] Re: Starting An Android App From An Url

2011-03-24 Thread perumal316
Hi Hackborn, For the example you have specified what will be the URL be? Is it something like market://? Regards, Perumal On Mar 25, 1:46 pm, Dianne Hackborn wrote: > Yes, for example here is the declaration in the activity of Market that > handles the user clicking on an Android Market UR

Re: [android-developers] Widget and Changing Orientation

2011-03-24 Thread Justin Anderson
Create a new layout that looks better in landscape mode... You can have separate layouts for both portrait and landscape Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 24, 2011 at 7:47 PM, Jake Colman wrote: > > My app is designed to use a 2

[android-developers] Re: How do i upload the file from android mobile to public server

2011-03-24 Thread snehalal gangadharam
Thanks for your valuable reply, i have to develop speed test application in andorid. i have developed upload application in java , i can upload the file from java to public server, when i put that application to android , it is not working , i will attach the upload code and log. kinldy guid me ho

[android-developers] eclipse/sdk combo crash

2011-03-24 Thread Keith Wiley
If I right-click the res folder of a project, I can create a menu folder. If I right click that folder and try to create a menu.xml file, eclipse hangs. I have to force quit it. After relaunching eclipse, menu.xml is there. I've seen this behavior on two different computers now. If I then try

Re: [android-developers] startActivity from a Fragment doesn

2011-03-24 Thread Dianne Hackborn
There is nothing special about calling this from a fragment; all it is doing is calling the containing activity's startActivity(). If you say the logcat is showing the first activity being started again, then most likely you are calling startActivity() somewhere and causing that. On Thu, Mar 24,

Re: [android-developers] Starting An Android App From An Url

2011-03-24 Thread Dianne Hackborn
Yes, for example here is the declaration in the activity of Market that handles the user clicking on an Android Market URI link:

Re: [android-developers] Assets directory

2011-03-24 Thread Dianne Hackborn
No they remain in the .apk, and you must use the AssetManager APIs to access them. On Thu, Mar 24, 2011 at 9:55 PM, Demetris wrote: > > Does Android expand the apk files into a filesystem structure? If yes > where? > I don't seem to find much in /data/data/ (package name > as defined in the Andr

[android-developers] Re: Music for background

2011-03-24 Thread Nightwolf
http://developer.android.com/intl/de/guide/topics/media/index.html Playing from a Raw Resource MediaPlayer mp = MediaPlayer.create(context, R.raw.sound_file_1); mp.start(); On Mar 24, 12:42 pm, Nikolay Yanev wrote: > How can I set mp3 for background music in my app? -- You received this mes

[android-developers] Assets directory

2011-03-24 Thread Demetris
Does Android expand the apk files into a filesystem structure? If yes where? I don't seem to find much in /data/data/ (package name as defined in the AndroidManifest.mf. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

[android-developers] Re: ActionBar problems

2011-03-24 Thread Zsolt Vasvari
Good to know, thanks! On Mar 25, 11:24 am, Jake Wharton wrote: > Going to throw a shameless plug... > > If you're looking to implement the action bar design pattern on all > platforms in your app I have written a library which automatically abstracts > and marshalls interactions to either the nat

[android-developers] Re: ActionBar problems

2011-03-24 Thread Jake Wharton
Going to throw a shameless plug... If you're looking to implement the action bar design pattern on all platforms in your app I have written a library which automatically abstracts and marshalls interactions to either the native ActionBar on 3.0+ or a custom third-party control on pre-3.0. You c

[android-developers] Starting An Android App From An Url

2011-03-24 Thread Syner
is there a way to add a 'custom url scheme' to an Android app that when a user goes to a certain http:// url in the web browser it will open the app? i need functionality that is the same as this on Android. http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-schem

[android-developers] Re: Developers Phone Program

2011-03-24 Thread Kevin TeslaCoil Software
I root all my phones. Root lets you access your app's data directory, which is handy for viewing/editing a database or shared preferences file. But I don't run custom roms (Unless I'm actually tested something related to that rom). Custom roms definitely can lead to ridiculous problems. I've gott

[android-developers] Re: startActivity from a Fragment doesn

2011-03-24 Thread jotobjects
More information - - there are no errors in the logcat log - the logcat shows ActivityManager starting the new Activity and then immediately start the first Activity again. On Mar 24, 7:11 pm, jotobjects wrote: > startActivity from a fragment starts the Activity and then returns > immediately.  

Re: [android-developers] Starting an Android App from a Website

2011-03-24 Thread TreKing
On Thu, Mar 24, 2011 at 9:14 PM, perumal316 wrote: > Sorry couldn't find much info regarding this. Read this: https://groups.google.com/group/android-developers/browse_thread/thread/4462c79065294680 ---

[android-developers] Starting an Android App from a Website

2011-03-24 Thread perumal316
Hi All, Is it possible to start an Android App from a browser. I would like to create a website that has a button, and whenever the button is pushed, an android application already previously installed have to start. Is this possible? In some of the earlier post here, it was mentioned that Intent

[android-developers] startActivity from a Fragment doesn

2011-03-24 Thread jotobjects
startActivity from a fragment starts the Activity and then returns immediately. It executes the onCreate in the new Activity but never brings it to the front. Has anyone seen this behavior? -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] Music for background

2011-03-24 Thread TreKing
On Thu, Mar 24, 2011 at 4:42 AM, Nikolay Yanev wrote: > How can I set mp3 for background music in my app? Read the relevant sections in the documentation and / or Google for examples. - TreKing

Re: [android-developers] Frustrating but quite common taking SNAPSHOT problem

2011-03-24 Thread TreKing
On Thu, Mar 24, 2011 at 4:49 AM, mathcat wrote: > This mechanism is so frustrating, how to handle such situation?? Sounds you're already doing it with onSaveInstanceState. If you have Singletons, the whole point behind them is they are initialized on access if they're not already. If you need t

Re: [android-developers] what`s the difference between inflate and reference directly

2011-03-24 Thread TreKing
On Wed, Mar 23, 2011 at 9:09 PM, asdf wrote: > for example,i want to get a view object in java file.there are > two ways:inflate view and R.id.view.what`t the difference between > them.and when to use them. thanks Read the documentation - this is fairly thoroughly covered.

Re: [android-developers] Re: Triggering a Force Close to Test the Handling

2011-03-24 Thread TreKing
On Thu, Mar 24, 2011 at 8:33 PM, Jake Colman wrote: > Does any of this make any sense? Not really. There are ways to debug ANRs, but I haven't looked into. There's some file with the dump in it. Search this group, Dianne's mentioned it a few times. -

[android-developers] Widget and Changing Orientation

2011-03-24 Thread Jake Colman
My app is designed to use a 2x1 widget in Portrait mode. When the phone is switched to landscape mode, that same 2x1 widget looks pretty bad: it becomes wide and short so that the two lines of text overlap one another. What is the basic approach one is supposed to take for this situation? Some b

[android-developers] Re: Triggering a Force Close to Test the Handling

2011-03-24 Thread Jake Colman
> "T" == TreKing writes: T> On Thu, Mar 24, 2011 at 5:16 PM, Jake Colman T> wrote: >> But if I try something else such as divide by zero, and accessing a null >> object, I get a force close due to activity not responding. >> T> That don't make much sense. T> What det

[android-developers] Re: Gift certificate or something like that

2011-03-24 Thread Nathan
On Mar 24, 2:50 pm, String wrote: > Well, correct me if I'm wrong, but you kind of need to trust your beta > testers anyway, no? If they "run off" with your $0.99, that's probably a good > - and cheap, actually - indication that they shouldn't be in your beta group. > Not every app is .99. Bu

[android-developers] Re: ActionBar problems

2011-03-24 Thread Zsolt Vasvari
Here's my class that accesses 3.0 related functionality. This is for the invalidateOptionsMenu API which is now needed on 3.0 to update the Action Bar properly: public class SDKLevel11Bridge { private static final SDKLevel11Interface intf; private interface SDKLevel11Interface {

Re: [android-developers] is it possible to disable the home key for an activity?

2011-03-24 Thread Ahsanul Karim
Thanks.. that explains a lot.. On Fri, Mar 25, 2011 at 6:32 AM, Mark Murphy wrote: > On Thu, Mar 24, 2011 at 8:15 PM, Ahsanul Karim > wrote: >> Please check the Toddler Lock application. They can disable the Home key. > > No, "they" don't. It is a home screen app. It replaces the regular home

Re: [android-developers] is it possible to disable the home key for an activity?

2011-03-24 Thread Mark Murphy
On Thu, Mar 24, 2011 at 8:15 PM, Ahsanul Karim wrote: > Please check the Toddler Lock application. They can disable the Home key. No, "they" don't. It is a home screen app. It replaces the regular home screen. > I am trying with a BroadcastReceiver. Which has nothing whatsoever to do with HOME

Re: [android-developers] PACKAGE_USAGE_STATS exception

2011-03-24 Thread Dianne Hackborn
It's also a private API so you don't even know if it will exist in the form you are using on any particular device you run on. On Thu, Mar 24, 2011 at 3:54 PM, Justin Anderson wrote: > *> When I searched for the reason in forums, some said it is restricted > > permission. Can anyone please help m

Re: [android-developers] is it possible to disable the home key for an activity?

2011-03-24 Thread Ahsanul Karim
Please check the Toddler Lock application. They can disable the Home key. Check this out https://market.android.com/details?id=marcone.toddlerlock Whenever Home key pressed the intent is: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME flg=0x1020 cmp=com.android.launc

[android-developers] Re: replacing a fragments not working

2011-03-24 Thread jotobjects
All the examples of replace() have one Fragment inside one FrameLayout. This arrangement of one Container ViewGroup per Fragment seems to be necessary for dynamically replacing Fragments. On Mar 24, 4:32 pm, jotobjects wrote: > We did switch to using FrameLayout for other reasons (have not tried

[android-developers] Re: replacing a fragments not working

2011-03-24 Thread jotobjects
We did switch to using FrameLayout for other reasons (have not tried replace() with that yet). LinearLayout works if you want to add and remove the last View in the LinearLayout. FragmentTransaction.replace() is used in samples in these files - - FragmentsStack.java - Fragments.Layout.java - Frag

[android-developers] Re: Amazon Appmarket is now open!

2011-03-24 Thread Michael A.
On Mar 24, 9:34 pm, Justin Anderson wrote: > The main things people are complaining about are that the descriptions get > edited and they essential have full control over price. Personally, I rather prefer their descriptions of my apps to their own. I can understand why one would get annoyed if t

Re: [android-developers] ActionBar problems

2011-03-24 Thread Mark Murphy
On Thu, Mar 24, 2011 at 6:24 PM, Brion Emde wrote: > In this example, the application requires a minimum version of API > Level 4 (Android 1.6), but it also targets API Level 11 (Android 3.0). > This way, when the application is installed on a device running > Android 3.0 or greater, the system ap

Re: [android-developers] PACKAGE_USAGE_STATS exception

2011-03-24 Thread Justin Anderson
*> When I searched for the reason in forums, some said it is restricted > permission. Can anyone please help me out with this issue. * If it is a restricted permission then you cannot use it... hence the word "restricted." Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site

Re: [android-developers] Re: Gift certificate or something like that

2011-03-24 Thread Justin Anderson
*> Either way you're out $0.99, either directly or through the lack of a sale.* I want to reward my beta testers. But I'm a single developer without a lot of resources... If I get a lot of beta testers there can be a fairly large difference between giving them the app for free and actually buyin

[android-developers] Re: Beta Tester Infrastructure Project

2011-03-24 Thread Open
Getting back to this after a few weeks of other Android work. The form includes the question: Would you be willing to pay for this service? Yes/No No, indicates you would not be willing to pay for the service and would only use it if it were free. I updated the third question: How much would you

Re: [android-developers] Can't solve this problem.

2011-03-24 Thread Justin Anderson
*> Class2 c2 = new Class2(); * Woops... didn't notice that line. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 24, 2011 at 3:15 PM, TreKing wrote: > Class2 c2 = new Class2(); > > -- You received this message because you are subscribed to

[android-developers] Re: Amazon Appmarket is now open!

2011-03-24 Thread Indicator Veritatis
Your argument would be more compelling if you could spell the name of the market you mention correctly: it is "SlideMe.com", not "SlimeMe.com"! Though I have to say: that latter would make a good name for a website with a rather different purpose, such as spreading slimey accusations of people...

[android-developers] Re: Amazon Appmarket is now open!

2011-03-24 Thread Indicator Veritatis
Now that I have seen this complaint, I feel the need to treat with greater skepticism ANY claim that any of the markets are "treating developers as serfs". On Mar 23, 11:29 pm, Krischik Martin wrote: > On 22 Mrz., 11:47, Zsolt Vasvari wrote: > > > I have one word to sum it up as:  Hooray!! > > W

Re: [android-developers] Re: Triggering a Force Close to Test the Handling

2011-03-24 Thread TreKing
On Thu, Mar 24, 2011 at 5:16 PM, Jake Colman wrote: > But if I try something else such as divide by zero, and accessing a null > object, I get a force close due to activity not responding. > That don't make much sense. What determines whether Android thinks I crashed via a thrown exeception or

[android-developers] Re: Developers Phone Program

2011-03-24 Thread Indicator Veritatis
Or Craigslist? On Mar 18, 11:57 pm, Justin Anderson wrote: > How about eBay? > > Thanks, > Justin Anderson > MagouyaWare Developerhttp://sites.google.com/site/magouyaware > > On Fri, Mar 18, 2011 at 7:24 AM, oldskool73 wrote: > > >http://android.brightstarcorp.com/index.htm > > > That just forwa

[android-developers] Re: How do i upload the file from android mobile to public server

2011-03-24 Thread Nicholas Johnson
There are several FTP apps that can do just that. Astro file manager can create SFTP connections to upload files, or AndFTP... (there's a whole bunch if you search for FTP on the Android Market). If you're talking about uploading a file to a public server from an app you're developing, then you

[android-developers] Re: creating a driver application

2011-03-24 Thread Indicator Veritatis
But this should not be necessary: a camera shows up in USB with a different device type than a disk drive. Or are you saying there is a bug in Anroid that it fails to check this, and treats a connected USB device as a disk drive no matter what? I have certainly seen no such bug in Android 2.2 runni

[android-developers] ActionBar problems

2011-03-24 Thread Brion Emde
Hi All, We're trying to use ActionBars on Honeycomb and stay backward compatible with earlier code. Everything seemed to be fine when we just used the default behaviors, like the upgrade of options menus to show in the action bar as Actions. But then the requirements got broader and they wanted u

[android-developers] Re: Triggering a Force Close to Test the Handling

2011-03-24 Thread Jake Colman
> "MO" == Marcin Orlowski writes: MO> On 24 March 2011 18:03, Jake Colman wrote: >> >> Is there a way for me to trigger a force close so that I test >> how/whether my handling of it working as I expect? >> MO> divide by zero; try to start non existing activity without us

Re: [android-developers] Email To field not displaying

2011-03-24 Thread TreKing
On Wed, Mar 23, 2011 at 7:55 PM, Bill Lee wrote: > Is there something that I am missing Thanks. > That's pretty much how I do it and it works on my device (though actually not on the emulator for some reason). Have you tried on a device?

[android-developers] Re: how to use Cache-Control with http get request?

2011-03-24 Thread Indicator Veritatis
The question is also open-ended and poorly phrased. The OP should review the phrasing and post it in a Java Platform group. On Mar 23, 8:29 pm, TreKing wrote: > hi, > > this does not appear to have anything to do with Android. > > regards, > TK > >

Re: [android-developers] Developing app to connect with websites

2011-03-24 Thread TreKing
On Wed, Mar 23, 2011 at 7:24 PM, Wolf85 wrote: > I would like to know if it is possible to develop an app that connects with > a website(s) > Yes, it's possible. You should probably make sure you're adhering to the site's terms of service, if there are any, about scraping their data without perm

[android-developers] Re: Gift certificate or something like that

2011-03-24 Thread String
Well, correct me if I'm wrong, but you kind of need to trust your beta testers anyway, no? If they "run off" with your $0.99, that's probably a good - and cheap, actually - indication that they shouldn't be in your beta group. String -- You received this message because you are subscribed to

[android-developers] Re: Strange behaviour with RessourceCursorAdapter

2011-03-24 Thread Antony BODY
Oh nice. Apparatly it's working!! If I well understood, I just needed to force the visibility of the ImageView, otherwise it's set visible in the xml layout. It's good to know ;-) Thanks Nadeem -- You received this message because you are subscribed to the Google Groups "Android Developers

Re: [android-developers] About Actions in Intent

2011-03-24 Thread TreKing
On Thu, Mar 24, 2011 at 2:25 AM, t22 wrote: > Why can't i add Intent.ACTION_CALL_BUTTON action to intent > filter registered with BR (in manifest)? > If you do this http://lmgtfy.com/?q=ACTION_CALL_BUTTON, you will find this: http://stackoverflow.com/questions/1760107/listen-to-hardware-button-

Re: [android-developers] Re: Gift certificate or something like that

2011-03-24 Thread rich friedel
Actually that scenario is just like above... no matter how you do it Amazon(just like Google) will take their cut and you(the dev) will still absorb the cost. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Re: Gift certificate or something like that

2011-03-24 Thread Nathan
On Mar 24, 1:41 pm, String wrote: > It doesn't solve the 30% problem, but otherwise, it seems to me that there's > a simple solution on Amazon: gift certificates. Buy them for your beta > testers (or whoever), and they can buy your app with it. > > Is there some obvious flaw to this that I'm m

[android-developers] PACKAGE_USAGE_STATS exception

2011-03-24 Thread Sarath Krishna
Hello everyone, when I try to call getAllPkgUsageStats(); function of IUsageStats package I get this exception. ERROR/AndroidRuntime(7413): java.lang.RuntimeException: Unable to create service org.gps.CPUusage: java.lang.SecurityException: Neither user 10081 nor current process has android.permis

Re: [android-developers] Re: Gift certificate or something like that

2011-03-24 Thread TreKing
On Thu, Mar 24, 2011 at 3:45 PM, Justin Anderson wrote: > *> Is there some obvious flaw to this that I'm missing?* > > You mean other than the fact that you have to fork out your own money to do > that? What's the difference between giving the user $0.99 gift certificate and issuing them a promo

[android-developers] PACKAGE_USAGE_STATS exception

2011-03-24 Thread Sarath Krishna
Hello everyone, when I try to call getAllPkgUsageStats(); function of IUsageStats package I get this exception. ERROR/AndroidRuntime(7413): java.lang.RuntimeException: Unable to create service org.gps.CPUusage: java.lang.SecurityException: Neither user 10081 nor current process has android.permis

Re: [android-developers] Re: Gift certificate or something like that

2011-03-24 Thread String
OK, I guess I misunderstood, but that's what I thought the OP was asking for. Who were you expecting to pay for your beta testers' copies? String -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] Can't solve this problem.

2011-03-24 Thread TreKing
On Wed, Mar 23, 2011 at 7:57 PM, eli wrote: > public class Class2 extends Activity > Class2 c2 = new Class2(); No. You don't create Activities, they're created for you by the system. - TreKing

[android-developers] does anyone have an idea about m3u files

2011-03-24 Thread kiros88
Basically im trying to use this concept later messing around writing and create m3u files but one issue im dealing with right now is when i have a m3u file on the computer then i move it on tothe sd card through usb and mounting like the basic way then if i run the default app music player it wont

[android-developers] does anyone have an idea about m3u files

2011-03-24 Thread kiros88
Basically im trying to use this concept later messing around writing and create m3u files but one issue im dealing with right now is when i have a m3u file on the computer then i move it on tothe sd card through usb and mounting like the basic way then if i run the default app music player it wont

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-24 Thread TreKing
On Wed, Mar 23, 2011 at 8:33 PM, Brill Pappin wrote: > Once again, you need to be able to tell which market you installed from in > order to adjust your links to the correct market. All that takes is a single compile-time flag. --

Re: [android-developers] WifiManager WifiConfiguration

2011-03-24 Thread Kostya Vasilyev
23.03.2011 23:37, Felipe Alexandre Rodrigues пишет: Hello! How do i make my app conect with wifi (WEP, WPA, No Auth, ) using wifimanager and wificonfiguration You need to fill out WifiConfiguration and call WifiManager.addNetwork so it's saved in the "known list" and assigned a numeric i

Re: [android-developers] Re: Newbie: Widget onUpdate called only on creation

2011-03-24 Thread Kostya Vasilyev
You can use AlarmManager, however, think twice before doing this, as too frequent updates can drain the battery. A much better solution is to only update your widgets in response to events in your application or phone. A widget provider is actually a subclass of BroadcastReceiver, and you ca

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-24 Thread Justin Anderson
At least they are consistent with all of their different stores though... The main things people are complaining about are that the descriptions get edited and they essential have full control over price. They also do this with anything else that is listed on their website... If they changed it f

Re: [android-developers] Re: Gift certificate or something like that

2011-03-24 Thread Justin Anderson
*> Is there some obvious flaw to this that I'm missing?* You mean other than the fact that you have to fork out your own money to do that? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 24, 2011 at 2:41 PM, String wrote: > It doesn't solve th

Re: [android-developers] AlarmManager doesnot fire after device get Boot-up

2011-03-24 Thread Kostya Vasilyev
AlarmManager alarms are lost after a reboot or power down/up cycle. Implement a receiver for BOOT_COMPLETED, and reset the alarms as needed. -- Kostya 24.03.2011 15:21, Nalin Chhajer пишет: Hi, I am developing a application that requires to go for server call 2 times every day. So I used alarm

Re: [android-developers] bindService and onSeriveConnected behaviour

2011-03-24 Thread Kostya Vasilyev
24.03.2011 15:25, Sambhav ?: After successful connection to the serivce the *onServiceConnected *callback is called. So unitl this callback is called the activity should be blocked from making any calls to the Service. Correct. Except not "blocked", just "unable to call a bound service un

Re: [android-developers] Re: Gift certificate or something like that

2011-03-24 Thread String
It doesn't solve the 30% problem, but otherwise, it seems to me that there's a simple solution on Amazon: gift certificates. Buy them for your beta testers (or whoever), and they can buy your app with it. Is there some obvious flaw to this that I'm missing? String -- You received this mess

[android-developers] Neighboroughing cells never there.

2011-03-24 Thread Spike66
Hi I have written an application in which I wish to interogate the NeighboringCellInfo. I can retrieve the cell info Ok, including cell id, signal strength etc. I have declared the Telephony manager as follows: public void onCreate(Bundle savedInstanceState) { try {

[android-developers] Easy Facebook Android SDK

2011-03-24 Thread Magemello
New free android library for facebook.Those who tried to integrate facebook features into his own Android application knows that it's not an easy thing to do. We tested many libraries: FbRocket, FbConnect and even facebook's official sdk, but their implementation was very complicated or they had ve

Re: [android-developers] Unable to start service com.android.vending.billing.IMarketBillingService

2011-03-24 Thread Miguel Morales
Market billing will not work on the emulator. You need a real device with market version 2.3>. On Thu, Mar 24, 2011 at 3:57 AM, Gustavo Costa wrote: > I'm trying start com.android.vending.billing.IMarketBillingService > service and I received this message. I'm using emulator Android 2.3.3 > - A

[android-developers] Music for background

2011-03-24 Thread Nikolay Yanev
How can I set mp3 for background music in my app? -- 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+unsu

[android-developers] Re: Emulator problem

2011-03-24 Thread Yash :)
It happens all time, try relaunching emulator, that fixed it for 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 email to an

[android-developers] Re: Uninstalling applications from emulator

2011-03-24 Thread asdf
when uninstal from the command line,you need to know the package name. i think it`s the reason On Mar 23, 6:46 pm, Jumana wrote: > I was just wondering whether uninstalling applications through command > line was better than uninstalling them from the emulator itself? Coz > everywhere on the net

[android-developers] what`s the difference between inflate and reference directly

2011-03-24 Thread asdf
for example,i want to get a view object in java file.there are two ways:inflate view and R.id.view.what`t the difference between them.and when to use them. thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Parsing a large amount of data from a xml

2011-03-24 Thread Sebastien S
Hi, I'm developping an application where I had to synchronize my phone with the entreprise server. The response of the server is a xml file with each record between and I had to receive 19000 record. What's the best way to parse it and add it to my content provider? At the moment, I do my connec

[android-developers] Re: How to test my application

2011-03-24 Thread asdf
http://developer.android.com/guide/publishing/app-signing.html i can learn how to sign from here On Mar 24, 1:01 am, rishabh agrawal wrote: > I have no real android mobile.I check my apps on emulator it working > perfect.So how to check i sign my apps properly or not for real > android deveice.An

[android-developers] How do i upload the file from android mobile to public server

2011-03-24 Thread snehalal gangadharam
Hi all, I am trying to upload the file from android phone to some public servers. kindly guide me how do i do that. Thanks & Regards Sneha -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Frustrating but quite common taking SNAPSHOT problem

2011-03-24 Thread mathcat
Taking photos using system provided component(MediaStore.ACTION_IMAGE_CAPTURE) is quit common. As Ive experimented, with a certain rate the android system will kill the snapshot calling Activity to prevent memory related exception, and the calling activity will be created again where returned. Thu

[android-developers] Manually destroy view(layout)

2011-03-24 Thread Vidocq
I'm fighting with memory leaks now. So i'm curious if there any way to manually destroy view(in onDestroy method) ? The whole layout(activity contentView) is a bit complex because of parent-child references, context references, tags, etc. GC is not able to collect my layout now. And the problem is

[android-developers] About Actions in Intent

2011-03-24 Thread t22
Why can't i add Intent.ACTION_CALL_BUTTON action to intent filter registered with BR (in manifest)? it doesn't work when I tried to do so. Are actions specifically assigned for specific component (since this action shows that it is Activity Action in API,see below)? (Activity Action: The user pr

[android-developers] how to make core file?

2011-03-24 Thread silverfalcon
it is easy to trace error in java code,but when a crash happens in native code libs,only logcat could give some help.but afer the project released.there is no way to use logcat. I read some topices about making a core file.but it said only native program could use reset core file size and make core

Re: [android-developers] Can't solve this problem.

2011-03-24 Thread Justin Anderson
What does the stacktrace say? My initial guess is that you aren't calling setContentView in the onCreate method of Class2... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Mar 23, 2011 at 6:57 PM, eli wrote: > FILE MainClass.java > > package xxx

[android-developers] Email To field not displaying

2011-03-24 Thread Bill Lee
I have the following code which when testing in the emulator takes me correctly to being able to send an email. However, the TO field isn't displaying the email(in this case t...@email.com). Is there something that I am missing Thanks. public boolean onTouch(View v, MotionEvent event) {

[android-developers] OFF - Resolvendo problema do AutoComplete Android/Eclipse

2011-03-24 Thread guisjlender
Olá povão Android o/ Saiu um tutorial fresquinho sobre como resolver aquele grande problema do AutoComplite que acaba travando o eclipse por alguns segundos... espero que gostem! Sucesso a todos. Link: http://gflex.biz/blog/?p=151 Att. Guilherme Sjlender - http://www.gflex.biz -- You received

Re: [android-developers] Re: Unable to start service com.android.vending.billing.IMarketBillingService (Not found)p me?

2011-03-24 Thread Gustavo Costa
Kostya, What the version of emulator do you using and What the android version? -- 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, sen

[android-developers] Developing app to connect with websites

2011-03-24 Thread Wolf85
Hello, I would like to know if it is possible to develop an app that connects with a website(s) (not mine) and pull info, news, images...etc, and display them in the app. Basically, I want to develop an app that provides latest news, fixtures, match results...etc of a football club which has a we

Re: [android-developers] Re: SQLiteDatabase or XML(saving)?

2011-03-24 Thread Dianne Hackborn
Your data is always on internal storage. Moving to SD card only moves your .apk to the SD card. On Wed, Mar 23, 2011 at 2:09 PM, Robert wrote: > Hmmm I've been thinking about using a database to store a lot of > data (several MB in text format). Is the sqlite db moved to the SD > card when

[android-developers] Re: Unable to start service com.android.vending.billing.IMarketBillingService (Not found)p me?

2011-03-24 Thread Gustavo Costa
But the com.android.vending.billing.IMarketBillingService is a service implement for Android Market (app). I'm using "Implementing In-app Billing" document and sample app to implemente my In-app Billing, therefore I couldn't do. Implementing In-app Billing

[android-developers] Unable to start service com.android.vending.billing.IMarketBillingService (Not found)p me?

2011-03-24 Thread Gustavo Costa
I'm trying start com.android.vending.billing.IMarketBillingService service and I received this message. I'm using emulator Android 2.3.3 - API Level 10. Anybody help me? 03-23 15:04:53.535: WARN/ActivityManager(61): Unable to start service Intent { act=com.android.vending.billing.IMarketBill

[android-developers] AlarmManager doesnot fire after device get Boot-up

2011-03-24 Thread Nalin Chhajer
Hi, I am developing a application that requires to go for server call 2 times every day. So I used alarmmanager to set up alarm to repeat after every 12 hours. The application runs fine and I receive broadcast every 12 hours. But when I switch off and switch on my mobile, the alarmmanger doesnot fi

Re: [android-developers] Re: Unable to start service com.android.vending.billing.IMarketBillingService (Not found)p me?

2011-03-24 Thread Gustavo Costa
If it's possible, Can you send me a sample code that you are using? I'm trying during 3 days and I couldn't complete the codification. -- 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@

[android-developers] Re: Camera is making two photos, MediaStore.EXTRA_OUTPUT

2011-03-24 Thread Jared
Yeah, I'm having the exact same problem. I'm using a HTC Droid Incredible to test this on which is running froyo (Android 2.2) and any time I use an intent to get a photo in that manner, it puts the photo where I told it to go, but then also puts a separate file copy in my "/SDCard/DCIM/100Media/"

Re: [android-developers] Re: Unable to start service com.android.vending.billing.IMarketBillingService (Not found)p me?

2011-03-24 Thread Gustavo Costa
Justin, I think the same way. But the class is not avaiable in the emulator or I'm use the wrong class. -- 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 unsubscr

Re: [android-developers] Re: Unable to start service com.android.vending.billing.IMarketBillingService (Not found)p me?

2011-03-24 Thread Gustavo Costa
Kostya, Where Can I find BillingService.java and where I need paste/put this class? -- 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, sen

[android-developers] bindService and onSeriveConnected behaviour

2011-03-24 Thread Sambhav
Hi, I have an Android Service running as a separate process. When an Activity is launched , this activity connects to the service. After successful connection to the serivce the *onServiceConnected *callback is called. So unitl this callback is called the activity should be blocked from making any

Re: [android-developers] How to change the font style for particular selected text in text view

2011-03-24 Thread pradeep narava
Hi guys , I am able to get the position where the text has got selected ,but how can I get the selected text value so that I can change the font style and replace the text at concerned position. I was using Typecase to change the font style. Please can you help me My code is as follows: package c

[android-developers] Unable to start service com.android.vending.billing.IMarketBillingService

2011-03-24 Thread Gustavo Costa
I'm trying start com.android.vending.billing.IMarketBillingService service and I received this message. I'm using emulator Android 2.3.3 - API Level 10. AnyBody Help Me? 03-23 15:04:53.535: WARN/ActivityManager(61): Unable to start service Intent { act=com.android.vending.billing.IMarketBillingSer

Re: [android-developers] Re: Unable to start service com.android.vending.billing.IMarketBillingService (Not found)p me?

2011-03-24 Thread Gustavo Costa
Kostya, Thank for your answer. I ran the dungeons & potions sample and I receive the same message. I had copy the code of the dungeons & potions sample and include in my app. Do you have another suggestion? -- You received this message because you are subscribed to the Google Groups "Andro

Re: [android-developers] Re: replacing a fragments not working

2011-03-24 Thread Dianne Hackborn
Many of the API demos use this -- for example the stack and layout demos. You can look at those and see what you are doing differently. On Thu, Mar 24, 2011 at 10:37 AM, jotobjects wrote: > I can remove and add fragments, but replace doesn't cause the new > Fragment to show up. > > The API docs

  1   2   3   >