how can I check if an Activity is visible or not?
Hi, does anybody knows if it is possible to check if an Activity is at a moment of the time visible ? My question is because I want to implement a service and only invoke a different activity (by launching an Intent) only if the previous activity was visible. In case for instance, the user is in a different
Informacja: 2009-02-13
Czytaj: how can I check if an Activity is visible or not?
Re: run app after installation using PACKAGE_ADDED or other mechanism?
We certainly let the user decide when they want to run our activity and interact with it, but we also have a service that we want to run after we are installed and at boot time. In any system there are applications that have a service/daemon character, or a component of them that do, and mobile devices are no different. Android provides
Informacja: 2009-02-13
Czytaj: Re: run app after installation using PACKAGE_ADDED or other mechanism?
Re: [android-developers] Local content on android web browser
You can implement your own ContentProvider to serve pages to a WebView widget, though I have not yet tried that approach.
Informacja: 2009-02-13
Czytaj: Re: [android-developers] Local content on android web browser
Re: [android-developers] displaying local html pages containing hyperlinked in android emulator
You may need to use WebViewClient and handle the loading yourself.
Informacja: 2009-02-13
Czytaj: Re: [android-developers] displaying local html pages containing hyperlinked in android emulator
Re: remove|delete res/raw files
Marco, I'm really grateful for your reply because you've saved me from spending any more time trying to figure this out. Is this mentioned in the docs? If so, I missed it. If not, it should be mentioned as explicitly as you did. This is a minor set back, but an acceptable one given the reasoning. It looks like I have no choice but to download
Informacja: 2009-02-13
Czytaj: Re: remove|delete res/raw files
controlling window size of another activity
Activity A is launched .. from Activity/Service B The launching is through an intent .. Given the class Intent .. Is there a way to get the class Activity .. The intention is to .. get the Window from Activity.getWindow(), and manipulate the x-y ordinates so that the activity window can be moved around !!
Informacja: 2009-02-13
Czytaj: controlling window size of another activity
Re: [android-developers] Google are ascii cowboys!
Hi We don't actually specify any encoding and so it reverts to ASCII, I suppose. I'll change it UTF-8 for the next SDK. In the meant time, if you want to fix it on your current SDK, edit tools/lib/build.template and replace the first line: <?xml version="1.0" ?> by <?xml version="1.0" encoding="utf-8"?>
Informacja: 2009-02-13
Czytaj: Re: [android-developers] Google are ascii cowboys!
Using X.509 Certificate for a secure http webrequest
Have anyone infos about a sample which demonstrates the usage of a X. 509 certificate within an android application? thx in advance. - matt
Informacja: 2009-02-13
Czytaj: Using X.509 Certificate for a secure http webrequest
Re: [android-developers] Re: Is the holiday_devphone build an official ADP1 image?
Hi guys, I've copied this "official" update on the memory card's root as update.zip then tried to reboot the phone while holding the Home key pressed. The result is that the phone shows a triangle with en exclamation mark in it (/!\) next to a phone and freezes with this image displayed. I have to take out the battery so I can boot again.
Informacja: 2009-02-13
Czytaj: Re: [android-developers] Re: Is the holiday_devphone build an official ADP1 image?
Developer phone with sim card but no service
Just recieved my dev phone today in the US. I have am AT&T sim card, but with no actual service with the card. I was wondering if their is a way to set up the apn or bypass it to use the phones built in wifi. Just wanna start testing my code and can't seem to get it working without having an actual service provided by AT&T.
Informacja: 2009-02-13
Czytaj: Developer phone with sim card but no service
fill_parent issue with ListView cells
Hi all, I am having this issue where I am trying to have a single TextView span one to two lines, fill the cell completely (so you can also click edges of the cell and it will trigger) and center-align. This is the layout for the cell: <LinearLayout android:id="@+id/LinearLayout0 1" xmlns:android="[link]"
Informacja: 2009-02-13
Czytaj: fill_parent issue with ListView cells
How to detect PDP context activation/deactivation and out of coverage scenarios?
I'm developing an application that makes an intensive use of data connection in GPRS network. I'm currently using DatagramSocket and I have some questions with regarding to PDP context activation and network failures. In summary, I would like to know how to detect programmatically some scenarios and in which cases the datagram sockets become invalid and
Informacja: 2009-02-13
Czytaj: How to detect PDP context activation/deactivation and out of coverage scenarios?
Re: [android-developers] Resize based on orientation.
Android will automatically re-layout your views based on orientation (and screen size, too!), but you need to give it flexibility in setting the view sizes to do that. I try to avoid using absolute dimensions for anything other than padding or when I want a view to be a certain size regardless of screen size (e.g. the
Informacja: 2009-02-13
Czytaj: Re: [android-developers] Resize based on orientation.
sound effect using SoundPool
Hi, there seems to be a dead-lock problem when using sound effects with SoundPool. I was hoping the the problem would be fixed in the new firmware update, but unfortunately, it was not. The application still locks up after couple of minutes when playing sound effects using SoundPool. My application is a game playing a background music
Informacja: 2009-02-13
Czytaj: sound effect using SoundPool
another round of emulator DNS problems
Greetings, I cannot get the android emulator v1.7 on Windows XP to resolve DNS hostnames I know this is an oft-visited topic on these forums, but after reading the threads I have not found "resolution". I am running the emulator on Windows XP, on a notebook with a disconnected ethernet interface and a connected WiFi interface. My
Informacja: 2009-02-13
Czytaj: another round of emulator DNS problems
ListView / SqliteCursor
I've noticed that the time it takes to enter my ListActivity is fairly proportional to the number of items in the sqlite cursor. Indeed, when I look at a trace, it seems as though fillWindow (i.e. filling the cursor window) takes a HUGE amount of time when working with a large cursor (one with thousands of rows).
Informacja: 2009-02-13
Czytaj: ListView / SqliteCursor
Glitch with Autocomplete
Thanks in advance for anyone that can help. I'm trying to use the AutoCompleteTextView - it works just fine as far as matching text, however I'm getting an interesting problem as my choices are narrowed down. The box is docked to the bottom of the screen. When you being entering text, the list of items displays just above the box as
Informacja: 2009-02-13
Czytaj: Glitch with Autocomplete
Re: display the device screen on the PC
on the spot !! Thanks .. -Dan
Informacja: 2009-02-13
Czytaj: Re: display the device screen on the PC
Re: [android-developers] fill_parent issue with ListView cells
You cannot use a height of fill_parent with listview items, nor can you span across multiple lines. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on
Informacja: 2009-02-13
Czytaj: Re: [android-developers] fill_parent issue with ListView cells
Re: [android-developers] ListView / SqliteCursor
We're aware of this issue :) In the meantime, you should perform your query on a background thread. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on
Informacja: 2009-02-13
Czytaj: Re: [android-developers] ListView / SqliteCursor
Re: [android-developers] Customization on SearchDialog
Hello Marty, Unfortunately, the search dialog was not designed to be extended in this way. This was not meant to "protect" it so much as a consequence of the data-driven design of the Search system. If you can describe some of the changes you have in mind, perhaps we can assist with some good suggestions.
Informacja: 2009-02-13
Czytaj: Re: [android-developers] Customization on SearchDialog
Re: how can I check if an Activity is visible or not?
Get the RunningTaskInfo through the ActivityManager and do a name match for the activity name you want to exclude and send the notification -Dan
Informacja: 2009-02-13
Czytaj: Re: how can I check if an Activity is visible or not?
Re: What will cause SQLiteQueryBuilder.query infinite loop?
More information: The "_id" column brings no trouble as an ORDER BY argument, but can not exist in the projection map. The reason is still unknown. Needs help, please. Sincerely, Nicholas
Informacja: 2009-02-13
Czytaj: Re: What will cause SQLiteQueryBuilder.query infinite loop?
Re: Developer phone with sim card but no service
I have an ADP1 and I was able to set it up and I still use it without ever having a sim card at all, I just . (I use a sprint (ie no sim) Windows Mobile phone as my main device for now) I posted the procedure of how I got my ADP1 up and running over at xda [link]
Informacja: 2009-02-13
Czytaj: Re: Developer phone with sim card but no service
Re: [android-developers] Re: Customization on SearchDialog
More forcefully -- we can pretty much guarantee you will break in the future if you use reflection. If nothing else, there is a good chance that a lot of the search UI will be moved to another process so the implementation you would have been poking just won't be there any more. -- Dianne Hackborn
Informacja: 2009-02-13
Czytaj: Re: [android-developers] Re: Customization on SearchDialog
Re: [android-developers] Re: how can I check if an Activity is visible or not?
Please don't do this, these APIs are only really for writing system information tools. For example, for this to work correctly need to retrieve -all- possible running activities (which can be 10, 20, 30, or more), have all of that information copied to your process, and look through it for the activity you are interested in.
Informacja: 2009-02-13
Czytaj: Re: [android-developers] Re: how can I check if an Activity is visible or not?
I want to use mediaplayer to play avi and other file formats
Dear all Is there any support for avi and other media formats except mp4 and 3gpp? If there is no support may I develop a support through correct the program? Will that be too difficult ?I don't know where to put my hands into first, should I correct programs in opencore first or should I just correct programs in directory frameworks/base/include/
Informacja: 2009-02-13
Czytaj: I want to use mediaplayer to play avi and other file formats
Serwis Mio
W dzisiejszym świecie pełnym informacji, niezbędne jest posiadanie elektroniki by wszystko zapamiętać i móc się poruszać. Każdy, posiadający własną firmę, zdaje sobie sprawę jak ciężko jest zorganizować wszystkie rzeczy bez pomocy urządzenia mobilnego. Nawigacje pomagają podróżującym dojechać w zatłoczonych miastach w odpowiednie miejsce w możliwie najkrótszym czasie. W biznesie laptopy, nawigacje, telefony komórkowe to urządzenia codziennego użytku. Dzięki takim urządzeniom i coraz szybszemu in
Informacja: 2009-02-13
Czytaj: Serwis Mio
Track Your Trails On Android With My Tracks App.
There is an app that let you record your wanderings or bike rides and create a map and provide statistics. The program let you display and share data such as time, speed, distance, and elevation. The sharing is done by uploading the data to Google Spreadsheets or Google Maps. Great WeSeePeople: Social Trails On Android-Powered Phones, With My Tracks.Tags: Android Apps, My Tracks, Google Maps,... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]
Informacja: 2009-02-13
Czytaj: Track Your Trails On Android With My Tracks App.
Links
Links Some links I
Informacja: 2009-02-13
Czytaj: Links
Security experts hating on Android browser until patch is released
Software vulnerabilities are no stranger to modern, highly-connected smartphones and feature phones alike, and fortunately, the big guys have been pretty good about staying on the ball and patching the serious stuff in a reasonable amount of time. The latest problem discovered in the Android browser's multimedia subsystem really sucks, though -- it's so bad, some security dudes are advising customers to "avoid" using the it altogether until it gets fixed -- and the most frustrating part about
Informacja: 2009-02-13
Czytaj: Security experts hating on Android browser until patch is released
Android, You Can Drive My Car: TeleNav To Offer Turn-By-Turn GPS For The G1
Hot on the heels of our story about xGPS (a navigator program for jailbroken iPhones) comes the announcement that TeleNav's GPS Navigator is coming for the T-Mobile G1 handset. As TeleNav themselves brag, this "leader in cell phone GPS technology [is] first to develop GPS navigation for Google Android and for the G1." The app promises turn-by-turn driving directions by voice and onscreen, a business directory with more than 10 million points of interest, full-color 3D maps nationwide, as wel
Informacja: 2009-02-13
Czytaj: Android, You Can Drive My Car: TeleNav To Offer Turn-By-Turn GPS For The G1
Apple and Google: Wink-Wink ... - InternetNews.com
I post news alerts about Google 24/7/365! To keep up-to-date with all the latest news about Google, just read my threads. If you have any comments, please Post a Reply! Apple and Google: Wink-Wink ... - InternetNews.com Internet News (subscription) Apple and Google: Wink-Wink ... InternetNews.com - 1 hour ago By Andy Patrizio:
Informacja: 2009-02-13
Czytaj: Apple and Google: Wink-Wink ... - InternetNews.com
Android phones await security patch
Users should not use their browser until a patch for a security hole is made available, a security researcher says.
Informacja: 2009-02-13
Czytaj: Android phones await security patch
My Track turns Android phone into GPS device
Google releases software that lets T-Mobil's G1 mobile phone use its GPS system to record where you've been and share the resulting maps online.
Informacja: 2009-02-13
Czytaj: My Track turns Android phone into GPS device
Samsung Android Phone Won't Debut at MWC
It's no secret that Samsung will be jumping on the Google Android bandwagon later this year. Recent speculation had the company launching its answer to the T-Mobile G1 at the Mobile World Congress in Barcelona next week, but now it seems that the company will be pushing the date back. The company told The Guardian that it was "planning" internally to release the handset in the second half of this year. As we speak, Samsung is in the process of negotiating with wireless services. In the meanti
Informacja: 2009-02-13
Czytaj: Samsung Android Phone Won't Debut at MWC
TeleNav announces GPS Navigator for G1
TeleNav are set to offer the first GPS navigation service for the G1 at the end of February. At first, it will only be available via the TeleNav website, but it will soon be available from the Android Market. Right now, TeleNav are offering a 30-day free unlimited use trial of the service. Once your time is up, you will be able to retain the complete service for $10/month.The software itself offers colourful 3D maps coupled with both voice and on-screen turn-by-turn directions. Depending on your
Informacja: 2009-02-13
Czytaj: TeleNav announces GPS Navigator for G1
TeleNav GPS for T-Mobile G1
Users of the T-Mobile G1 smartphone, the first and so far only device to run on the Google Android OS, will finally be getting a real navigation app that will take advantages of the phone
Informacja: 2009-02-13
Czytaj: TeleNav GPS for T-Mobile G1
GoTV Offers Hip Hop on the T-Mobile G1
GoTV Networks has announced the availability of its premium mobile entertainment channels on the T-Mobile G1 handset, powered by Google's Android platform. Here is more info:G1 users can now access multiple entertainment channels from GoTV including Hip Hop Official, ...
Informacja: 2009-02-13
Czytaj: GoTV Offers Hip Hop on the T-Mobile G1
Virtualization co. aims Android at low-cost feature-phones
In Barcelona next week, VirtualLogix will demonstrate its VLX virtualization stack running Android and a baseband RTOS on an ST-Ericsson reference design with a single ARM9 core. The company also recently announced a new CEO, Glenda Dorchak, formerly of Windows CE phone and PND specialist Intrinsyc.
Informacja: 2009-02-13
Czytaj: Virtualization co. aims Android at low-cost feature-phones
Fitness Freak? Google Has Some Tracks For You
Are you ready to share more of your location information with Google? If so, Google's My Tracks software for Android will let cyclists, hikers, and joggers record their routes and share them with others.
Informacja: 2009-02-13
Czytaj: Fitness Freak? Google Has Some Tracks For You
Two new ways to keep in touch
On August 13 Wildfire Today covered the SPOT satellite tracking device. As we said then : It's a handy little device about the size of a small digital camera and is equipped with a GPS receiver and a radio transmitter. By pushing just one button, it can send via satellite a message that 1) you are OK, 2) that you need help, or 3) that you have an emergency and need 9-1-1 services. It sends your location with every message. It can also, optionally, send your location every 10 minutes, plott
Informacja: 2009-02-13
Czytaj: Two new ways to keep in touch
Flaw in Android web browser puts users at risk
Flaw in Android web browser puts users at risk by Justin Mann on February 12, 2009, 6:29 PM A recently discovered flaw in Androids web browser is apparently so serious that security researchers are advising people to stop using it altogether. The flaw, capable of letting someone take control of a phone's browser and related processes, could result in data like web transactions and stored passwords being stolen. The concern is that with the increasing number of users that take advantage of s
Informacja: 2009-02-13
Czytaj: Flaw in Android web browser puts users at risk
Your Guide to E-Books
From time to time, I'll give an overview of one broad MediaShift topic, annotated with online resources and plenty of tips. The idea is to help you understand the topic, learn the jargon, and take action. I've already covered Twitter, citizen journalism, alternative models for newspapers and other topics. This week I'll look at e-books. Background E-books are electronic books, or books you can read on your computer or on handheld devices such as e-readers or smartphones. The first e-book was
Informacja: 2009-02-13
Czytaj: Your Guide to E-Books
Track Your Whereabouts with My Tracks for Android
Are you training for a marathon right now? Yeah, me neither, but some people actually do run (and bike, and hike) for fun, so Google has released a new app for Android phones that helps people map and monitor their routes and share that data with friends. The My Tracks app is available through the Android Marketplace. After downloading it, click menu and "record track" and you're ready to go. The app displays your speed and elevation and your progress on a map. When you're done, you can send
Informacja: 2009-02-13
Czytaj: Track Your Whereabouts with My Tracks for Android
Engineer, planning how to hit his son
Engineer, planning how to hit... by steaner Yesterday 11:48 PM 47 101 Cell phones & Mobiles Zone Section about themes and mobiles theming : here you can download and share themes for mobiles : Support included . Mobile Phones Talk Discussions , News and previews about mobiles and symbian phones Sub-Forums: Nokia, Sony Ericsson, Motorola, Samsung, LG Brand New Unlocked N97 for... by arena02 02-11-2009 12:31 PM 238 292 Mobile Themes Share & D
Informacja: 2009-02-13
Czytaj: Engineer, planning how to hit his son
Aktiveerimata android
February 13th, 2009 foto
Informacja: 2009-02-13
Czytaj: Aktiveerimata android