[android-developers] Build ID , Build Host

2010-08-10 Thread parag
hi all, What is the difference between build version build ID build Host android hardware version. the documentation does not clearly specify its usage. thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

2010-08-10 Thread sunrises
Hi, I have got the solution please refer the link http://groups.google.com/group/android-developers/browse_thread/thread/41852900bd603070/583943d91dc9f754?lnk=gstq=insufficient+memory#583943d91dc9f754 , but I added the option -partition-size 1024 in run configurations-target-Additional Emulator

[android-developers] Wifi-UPnP

2010-08-10 Thread msnkm
Hi, Im trying to Wifi UPnP(which comes along with froyo source code) but the build is failing. Has anybody tried building wpa_supplicant_6. Any help in this matter is appreciated Thanks Regards msnkm -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: on sdcard, File.canRead() = true, File.canWrite() = false

2010-08-10 Thread Bob Kerns
Ah, yes, of course. That critical fact slipped my mind -- thanks Dianne! This is, of course, a major reason why ability to write to the SD card is controlled by an application permission. Even without the limitations of FAT, file ownership is a tenuous concept with removable media. I have

[android-developers] Re: AppWidget multiple sizes

2010-08-10 Thread kaundinya
Hi, How can i give an option for the user to select 3 options(news only, weather only, News and weather) in the dialog on load of the widget? On Aug 10, 3:23 am, mboehmer mboeh...@fh-muenster.de wrote: How is this done for the News and Weather widget? After selecting it a dialog opens and asks

[android-developers] Re: How to know the home launcher app packagename through programming?

2010-08-10 Thread manoj
I am getting the correct result if I have the only one home app (default home) is installed. If i have more than 1 home apps, I am getting the result w.r.t ResolveActivity. Now how can I resolve this? say, for example, 1. Android Home (action=MAIN, cat=LAUNCHER,HOME...etc). 2. MyHome(action=MAIN,

[android-developers] Re: Monkey Test

2010-08-10 Thread KVR
Thanks Naseer Is there any option for excluding ?? On Aug 9, 10:27 pm, Naseer naseer.ah...@gmail.com wrote: Exclude packages on an all packages run instead of including so many. On Aug 9, 2:09 pm, KVR kvr@gmail.com wrote: Hi All, I want to include about 40 packages in monkey

[android-developers] Re: Yet another Droid OpenGL texture problem

2010-08-10 Thread Mike
Well that wasn't it but you were on the right path. It is something to do with my texture selection. I took a break down at the local pub and after a few beers I saw much clearer. :) I'll post an update sometime tomorrow after I get everything nailed down completely. Thanks everyone for the help.

[android-developers] Re: Confused about Timezones and Sqlite3

2010-08-10 Thread Sarwar Erfan
Hi, Conversion is a Java question, not related to Android though. Anyways, here is a catch --- in Java, the date is ALWAYS stored as UTC in Date object. You CANNOT convert its timezone (stored value will be always in UTC). However, you can print it in different timezones, that is here formatters

[android-developers] Re: Android Updater SDK (Manager) problem trought proxy

2010-08-10 Thread Daniele Donnarumma
UP Please!!! On Aug 4, 3:05 pm, Daniele Donnarumma daniele.donnaru...@gmail.com wrote: Hi. I'm an android newbie. I have downloaded the SDK revision 6. I'm at office. I'm back aproxyserver I have installed (squid) in other pc in the local network. When I try to go using firefox, to

Re: [android-developers] Re: Android Updater SDK (Manager) problem trought proxy

2010-08-10 Thread Evgeny V
Pleas try to use http instead https On Aug 10, 2010 10:00 AM, Daniele Donnarumma daniele.donnaru...@gmail.com wrote: UP Please!!! On Aug 4, 3:05 pm, Daniele Donnarumma daniele.donnaru...@gmail.com wrote: Hi. I'm an android newbie. I have downloaded the SDK revision 6. I'm at office.

[android-developers] Re: Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

2010-08-10 Thread Alessandro Pellizzari
On Mon, 09 Aug 2010 23:02:23 -0700, sunrises wrote: I have got the solution please refer the link http://groups.google.com/group/android-developers/browse_thread/ thread/41852900bd603070/583943d91dc9f754?lnk=gstq=insufficient +memory#583943d91dc9f754 , but I added the option -partition-size

Re: [android-developers] Re: AppWidget multiple sizes

2010-08-10 Thread Kostya Vasilyev
Like Mark already said, you need to create a separate widget_info.xml file for each size/content type, with appropriate attributes for minWidth and minHeight. Essentially, this means declaring separate widgets for all size / content options. The user would see them all when choosing a widget

Re: [android-developers] Re: how to get the screen size in inches...

2010-08-10 Thread Kostya Vasilyev
Rob, Do you have a special case for the Milestone, as well? -- Kostya 10.08.2010 8:41, Rob пишет: Thanks, Mark. That seems to work. I'm using this: float pixels_per_X_inch = displayMetrics.xdpi; float pixels_per_Y_inch = displayMetrics.ydpi;

Re: [android-developers] How to handle OutofMemoryError in a service?

2010-08-10 Thread Kostya Vasilyev
Doug, You can set an alarm before allocating objects that result in the out of memory condition. But this is really just a band-aid - IMHO, you should optimize your service's memory usage. -- Kostya 10.08.2010 3:34, doug пишет: Hello, If my service encounters an OutofMemoryError when

[android-developers] Developing a project on both Android Windows

2010-08-10 Thread Andy Savage
Hi everyone, I've got an interesting request that's hard to find information on Google for. I'm developing an application across both Android and windows which (mostly) shares the same classes. I was looking for a really easy way to duplicate some of the special Android classes on windows. For

Re: [android-developers] Wifi-UPnP

2010-08-10 Thread Kostya Vasilyev
Try searching / asking here: http://groups.google.com/group/android-porting -- Kostya 10.08.2010 10:30, msnkm пишет: Hi, Im trying to Wifi UPnP(which comes along with froyo source code) but the build is failing. Has anybody tried building wpa_supplicant_6. Any help in this matter is

[android-developers] Patching

2010-08-10 Thread perumal316
Hi All, I am just wondering how does Android do patching? For example how do they push down software patches to solve security vulnerabilities etc? Or it is only system upgrade. Like from 2.1 to 2.1 update 1 to 2.2. So is there is no patches pushed down in the interim period. Thanks In Advance,

[android-developers] RawContactsEntity - Invalid column aggregation_mode

2010-08-10 Thread William Ferguson
I've been poking around retrieving RawContactsEntity records (ie RawContacts joined with RawContactsData) and am getting an IllegalArgumentException when trying to create a query that contains ContactsContract.RawContactsEntity.AGGREGATION_MODE in its projection. Caused by:

Re: [android-developers] Re: AppWidget multiple sizes

2010-08-10 Thread YuviDroid
Actually, if I'm not wrong, you need to create separate providers just for the different sizes (4x1, 3x1, 4x2, etc.), but the content displayed is up to the developer. After selecting the widget (size) a Configuration Activity can be shown where the user can then select what content he wants.

Re: [android-developers] How to set data in google maps and further access that data

2010-08-10 Thread Anthony
I have moved the line of text as you said. Do I have to add the itemizedoverlay class to the manifest under activities? On Aug 10, 2010, at 12:34 AM, Jitesh mishra jitesh...@gmail.com wrote: Okay that means user does'nt need to know the geocode of the location. Thanks a lot. On Tue, Aug

Re: [android-developers] Re: AppWidget multiple sizes

2010-08-10 Thread Kostya Vasilyev
Yes, that is correct. A config utility can be used to pick the type of content, although it's optional. Different widget sizes require separate widget declarations, each with its own size. For the OP's project, it seems like different sizes are tired to different content types. So I meant

[android-developers] Re: Send a Mail and post on FB Wall

2010-08-10 Thread FrankG
I would suggest i.e. that you look at other apps like gallery whether their send to functionality does what you want. I yes, then investigate their source which intent ( IMHO ACTION Intent ) they use to do so. Good luck ! Frank On 6 Aug., 20:20, giles ian gilesian@gmail.com wrote: Hi

[android-developers] Re: developing with htc aria

2010-08-10 Thread FrankG
Now, I wonder why there is no special connect mode just for debugging in any Android phone I've used, and why adb doesn't use a class driver. But I guess that's like asking who shot Kennedy... Because each device will have his own Vendor/Product ID Pair .. -- Kostya Vasilyev

RE: [android-developers] Re: how can I check my app stopped by which home key or other apps

2010-08-10 Thread THENG Rudy (Yanto)
Hi, I just found this method.. onUserLeaveHint() Try to override it... Regards, Rudy -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of optimusgeek Sent: Tuesday, August 10, 2010 8:32 AM To: Android Developers

[android-developers] Re: developing with htc aria

2010-08-10 Thread FrankG
I don’t understand why there are two drivers, but “My HTc” seems to have a problem as listed below. How many devices you will see in the device manager depends from the usb configuration from you phone. I.E. it can provide a composite device with multiple CDC interfaces + adb + mass storage +

FW: [android-developers] Re: how can I check my app stopped by which home key or other apps

2010-08-10 Thread THENG Rudy (Yanto)
Hi, I just found this method.. onUserLeaveHint() Try to override it... Regards, Rudy -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of optimusgeek Sent: Tuesday, August 10, 2010 8:32 AM To: Android Developers

Re: [android-developers] Re: developing with htc aria

2010-08-10 Thread Kostya Vasilyev
ADB connect mode could use the same vendor / product ID for all phones. And USB flash drives work with a unified, built-in, driver, and at the same time display different vendor and product names (at least in Windows device manager). Anyway, I realize it is the way it is, so it's kind of

[android-developers] Organizing the res/drawable folder

2010-08-10 Thread Neilz
Hi all. My app has loads of images in the drawable folder, and I want to organize them into sub folders to make them more manageable. When I create a new folder, and move the images, they are no longer found (and not compiled into the R.java file). Can this be done, or do all my hundreds of

[android-developers] Controlling an app's cache size

2010-08-10 Thread t
Hey. My app has a WebView which displays Google maps. I'm trying to limit the cache size to a reasonable one - like 2MB. After checking with settings-applications-manage applications I found out that regular page load gets the cache to 900kb. And dispite my efforts, I can't limit the cache size

Re: [android-developers] Controlling an app's cache size

2010-08-10 Thread Martins Streņģis
for file cache i use file.lastModified() if smaller then my cahce time for example if file wasnt modified for 8 hours it will be deleted and when you access that file use file.setLastModified(System.currentTimeMillis()); int timeout = 60 * 60 * main.imagecache; //main.imagecachen int hours for

Re: [android-developers] Organizing the res/drawable folder

2010-08-10 Thread Martins Streņģis
you can add prefixes to your images like ico_ bicon_ profile_activity_ and so on -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: WifiInfo. getLinkSpeed : uplink or downlink?

2010-08-10 Thread Bob Kerns
That's because wifi is symmetric. Same speed in both directions. It's likely in many cases that there's an asymmetric link in the route -- certainly HIGHLY likely that there will be something slower. Wifi is unlikely to be your slowest link, so I really don't see any value in checking this. Even

[android-developers] How safe is emailing a signed App apk?

2010-08-10 Thread Droid
I have an email wanting to localise an APK. But I have to email him/ her a signed APK. Is that safe, I mean can they access my merchant account or something horrible like that if they get my key store? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Clearing a remembered password in my app

2010-08-10 Thread t
Hello. I have the following scenario: 1. My app opens a web view, with a web page that requires a username password. 2. The user writes his password, and on the Android popup to remember the password he chooses remember. 3. Now the user wants to log in with a different password. But the web view

Re: [android-developers] Clearing a remembered password in my app

2010-08-10 Thread { Devdroid }
On 10 August 2010 11:23, t tomers...@gmail.com wrote: How can I programmatically clear that saved password? Assuming that I know the host URL. I tried webView.clearCache(true), webView.clearFormData(). But it didn't work. Doubt it's related to stored password. I'd bet it's just simple cookie

Re: [android-developers] How safe is emailing a signed App apk?

2010-08-10 Thread { Devdroid }
On 10 August 2010 11:20, Droid rod...@gmail.com wrote: I have an email wanting to localise an APK. But I have to email him/ her a signed APK. Is that safe, I mean can they access my merchant account or something horrible like that if they get my key store? Is as safe as releasing it on Market.

Re: [android-developers] Organizing the res/drawable folder

2010-08-10 Thread { Devdroid }
On 10 August 2010 10:59, Neilz neilhorn...@gmail.com wrote: Hi all. My app has loads of images in the drawable folder, and I want to organize them into sub folders to make them more manageable. You can't. As other suggest, prefix your images if that would help (it should) -- You received this

[android-developers] Re: Clearing a remembered password in my app

2010-08-10 Thread Sarwar Erfan
3. Now the user wants to log in with a different password. But the web view always remembers his last password and doesn't even show him the login page. The website should have a logout feature. Logout from the site first from your webview. The website is sending the webview to the private

[android-developers]

2010-08-10 Thread vineeshkc
I want database connection code using android database connectivity with SQLite. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: Organizing the res/drawable folder

2010-08-10 Thread Neilz
Hmmm. How naff. On Aug 10, 10:29 am, { Devdroid } webnet.andr...@gmail.com wrote: On 10 August 2010 10:59, Neilz neilhorn...@gmail.com wrote: Hi all. My app has loads of images in the drawable folder, and I want to organize them into sub folders to make them more manageable. You can't. As

[android-developers] Re: Clearing a remembered password in my app

2010-08-10 Thread Sarwar Erfan
Try; CookieManager.getInstance().removeAllCookie(); OR CookieManager.getInstance().removeSessionCookie(); And clear cache. That should make it. Regards Sarwar Erfan On Aug 10, 3:38 pm, Sarwar Erfan erfanonl...@gmail.com wrote: 3. Now the user wants to log in

[android-developers] Re: Organizing the res/drawable folder

2010-08-10 Thread String
On Aug 10, 10:46 am, Neilz neilhorn...@gmail.com wrote: Hmmm. How naff. Yes, it is. One other suggestion that might help would be to create one or more library projects and move the bulk of your images into there. They'll still get built into your APK, but they won't be cluttering up your main

[android-developers] Re: AppWidget multiple sizes

2010-08-10 Thread kaundinya
First of all thanks for the quick reply, Yes i have a 3 different xml file called options1, options2, options3 in the layout folder. In 1 .java file called callalert im using alert.builder concept to display the alert message( which shows all 3 options)using the following code. final

Re: [android-developers] Re: AppWidget multiple sizes

2010-08-10 Thread Kostya Vasilyev
Not quite clear on how this code fits in with the rest, and what the error is, but If you're trying to configure a widget when it's added to the home screen, use a configuration activity: http://developer.android.com/guide/topics/appwidgets/index.html#Configuring A configuration

Re: [android-developers] Re: Organizing the res/drawable folder

2010-08-10 Thread { Devdroid }
One other suggestion that might help would be to create one or more library projects Assuming you manage to make project to build correctly with libraries. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers]

2010-08-10 Thread { Devdroid }
On 10 August 2010 11:44, vineeshkc kcvine...@gmail.com wrote: I want database connection code using android database connectivity with SQLite. ok -- 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] Re: How to access user installed CA certs

2010-08-10 Thread Scytmo
On Aug 5, 6:28 pm, Toby tob...@gmail.com wrote: Could someone suggest how I go about accessing these credentials from an application? I'm afraid you can't. They are stored in a keystore that is private to the system, and only accessible to Wi-Fi and VPN subsystems. As you found out, this is

Re: [android-developers]

2010-08-10 Thread vineeshkc
pls show me how -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

Re: [android-developers]

2010-08-10 Thread Evgeny V
Check the examples of Mc'Murphy books On Aug 10, 2010 1:44 PM, vineeshkc kcvine...@gmail.com wrote: pls show me how -- You received this message because you are subscribed to the Google Groups Android Developers... -- You received this message because you are subscribed to the Google

Re: [android-developers]

2010-08-10 Thread vineeshkc
can u give a link to that book -- 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] Re: POJO junit test in an Android project

2010-08-10 Thread ko5tik
On Aug 10, 3:39 am, doug doug_a...@yahoo.com wrote: Oh well, It doesn't seem that the Eclipse plug-in would even run a test case subclassed directly from junit.framework.TestCase.  How do folks test POJOs in Android then? Which junit.framework.TestCase you are using? One coming from

[android-developers] Re: Are external libraries limited by Android version?

2010-08-10 Thread ko5tik
On Aug 9, 1:26 pm, FrEaKmAn zasebn...@gmail.com wrote: Hello Will external library (for parsing JSON) work on 1.5 if it works on 2.1? So are libraries limited by android version? If yes, why? Why do you need external library to parse JSON, if android already provides this functionality? --

Re: [android-developers] Re: How to unload image from memory?

2010-08-10 Thread Jenus Dong
bluedogCould you write some code sippet to show your mean, how does judge the condition of OutofMemoey, by platform, or by ourselves? 2010/8/8 bluedog xuehui...@gmail.com use Bitmap.recycle() release native memory use SoftReference save all images , will free these memory before out of

Re: [android-developers] Re: Can't make restartPackage() / killBackgroundProcesses() to work

2010-08-10 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/9/10 23:19 , Indicator Veritatis wrote: That depends on where you draw your line to decide what is in and outside of the black box. If you use JUnit, and have all your Applications under test inherit from the basic test (TestCase), can't you

[android-developers] Re: Android Updater SDK (Manager) problem trought proxy

2010-08-10 Thread Daniele Donnarumma
I can't use http because our companies' websense proxy/firewall block the http://dl-ssl.google.com/android/repository/repository.xml URL. If i try to go to this URL using HTTPS via browser i can see the xml file. Why SDK Updater show this problem? Thank you very much. Daniele On 10 Ago,

[android-developers] Public Custom components

2010-08-10 Thread SAM
Hi All, I want to develop and distribute some custom UI components for android apps. This custom component can do some network communicatioon too with my server. So by this I want to hide the communication protocol from my component users, and will show the content as provided by my control eg

[android-developers] Re: Organizing the res/drawable folder

2010-08-10 Thread String
I've been using libraries since shortly after their release at IO10, and haven't had significant trouble with them. Occasionally I need to do a Project Clean in Eclipse to bring everything up to date, but that's not exactly hard. String On Aug 10, 11:35 am, { Devdroid } webnet.andr...@gmail.com

[android-developers] Re: how can I check my app stopped by which home key or other apps

2010-08-10 Thread optimusgeek
Oh, good! It's very helpful. thank you. On 8월10일, 오후5시31분, THENG Rudy (Yanto) r.th...@oberthur.com wrote: Hi, I just found this method.. onUserLeaveHint() Try to override it... Regards, Rudy -Original Message- From: android-developers@googlegroups.com [mailto:android-

Re: [android-developers]

2010-08-10 Thread Brion Emde
The Notepad tutorial in the SDK gives a nice example of using a database. You can find that example here: http://developer.android.com/resources/tutorials/notepad/index. Also, the Notepad sample code gives another approach, using a ContentProvider to encapsulate the database:

Re: [android-developers] Re: How to know the home launcher app packagename through programming?

2010-08-10 Thread Mark Murphy
Ah. Try using queryIntentActivities() instead of resolveActivity(), then. On Tue, Aug 10, 2010 at 2:47 AM, manoj manojkumar.m...@gmail.com wrote: I am getting the correct result if I have the only one home app (default home) is installed. If i have more than 1 home apps, I am getting the

Re: [android-developers] Opening a context menu in the onCreate of an activity

2010-08-10 Thread Mark Murphy
Why not use an activity? On Tue, Aug 10, 2010 at 12:06 AM, Chris Stewart cstewart...@gmail.com wrote: I should also say that I'm kind of searching for a best practice here as well.  I get the vibe that opening the context menu in this way may not be the most sound way of doing it, but hey, if

[android-developers] FTP Application for IPv6

2010-08-10 Thread Joe Petruchi
Hello All, Does any body know if there exists any package to test FTP over IPv6. I tried with some of FTP applications available in market but it doesnt seem to support IPv6. Please help as this is very urgent for me Best Regards Petruchi -- You received this message because you are

Re: [android-developers] Opening a context menu in the onCreate of an activity

2010-08-10 Thread Mark Murphy
On Tue, Aug 10, 2010 at 8:30 AM, Mark Murphy mmur...@commonsware.com wrote: Why not use an activity? By which I mean pop up an activity (via startActivity()/startActivityForResult()) in the cases where you need to collect data from the user. Or, use a dialog. Popping up a context menu would be

[android-developers] Re: Developer control of Android Market Server license settings

2010-08-10 Thread OldSkoolMark
It's been pointed out a couple of times now that this behavior makes it difficult to test real behavior of an LVL implementation. The only way I've found to do such testing is to create additional Google accounts (and not list them as test accounts on your profile). Can you do this prior to

[android-developers] Re: Opening a context menu in the onCreate of an activity

2010-08-10 Thread Vishal
I believe using openContextMenu(this.getCurrentFocus()); should be used inside overriden method bpublic void onWindowFocusChanged(boolean)/b when argument comes as true. This may help probably. Vishal On Aug 10, 5:30 pm, Mark Murphy mmur...@commonsware.com wrote: Why not use an activity?

[android-developers] Re: Launching barcode reading from browser

2010-08-10 Thread m
Surely someone must know...? On Aug 9, 5:22 pm, m phillip...@gmail.com wrote: On the Google Products page, from an Android device, there is a scan barcode button that launches a 3rd party barcode scanning app, which returns results back to the browser. 1)  How did they do this? 2)  Is this

[android-developers] Re: how to get the screen size in inches...

2010-08-10 Thread Rob
No, I haven't. If you can provide me with the Build.DEVICE and Build.MODEL values for the Milestone and the corrected xdpi/ydpi for those values, I'll add it. Thanks. On Aug 10, 3:10 am, Kostya Vasilyev kmans...@gmail.com wrote: Rob, Do you have a special case for the Milestone, as well?

[android-developers] Re: Licensing - How/where do we manage the ServerManagedPolicy?

2010-08-10 Thread OldSkoolMark
As for testing it in the field, our recommendation is to just register an anonymous Google account and buy your own app. You can always return it within 24 hours and not get charged. I'd like to test the licensing support BEFORE making the app publicly available. I don't want to punish

Re: [android-developers] Re: Launching barcode reading from browser

2010-08-10 Thread Kostya Vasilyev
http://tinyurl.com/35o2ell 10.08.2010 16:40, m пишет: Surely someone must know...? On Aug 9, 5:22 pm, mphillip...@gmail.com wrote: On the Google Products page, from an Android device, there is a scan barcode button that launches a 3rd party barcode scanning app, which returns results

[android-developers]

2010-08-10 Thread vineeshkc
i have an error MyObject cannot be resolved to a type ... in public long insertEntry(MyObject _myObject) { ContentValues contentValues = new ContentValues(); // TODO fill in ContentValues to represent the new row return

[android-developers] Re: Failure loading drawables on Cupcake/1.5 when building with Froyo/2.2 SDK

2010-08-10 Thread String
I found this warning occurred when I tried to load a resource that wasn't available for the current configuration. In other words, a resource which exists in some subdir of /res, but not one which is applicable to the runtime environment. In my case, it was a locale-specific string resource which

Re: [android-developers] Opening a context menu in the onCreate of an activity

2010-08-10 Thread Chris Stewart
Why not use an activity? That's the path I started going down last night. I think that makes more sense to me as it will give me more flexibility on the implementation. My initial thought, however, was to use a context menu. I don't think a dialog would work in this case just because I need

[android-developers] Sharing data between (tab) activities

2010-08-10 Thread Filip Havlicek
Hi, I did some digging, but couldn't find a clear answer. I have an application with TabActivity as the main activity. I have some computing and network communication that needs to be done when user clicks on the big red jolly DO IT button. One tab hosts the form with DO IT button, while the

[android-developers] Re: How to correctly organize layouts for different screen type?

2010-08-10 Thread Moto
Thanks Mark! I really thought it was a smart idea but now that you put it that way I guess it is smarter to create a dynamic layout for small, normal and large... So at the end of the day this would be the specific layout structure: res/layout-small res/layout-normal res/layout-large Thanks,

[android-developers] Re: Licensing - How/where do we manage the ServerManagedPolicy?

2010-08-10 Thread String
On Aug 10, 1:47 pm, OldSkoolMark m...@sublimeslime.com wrote: As for testing it in the field, our recommendation is to just register an anonymous Google account and buy your own app. You can always return it within 24 hours and not get charged. I'd like to test the licensing support

[android-developers] Shared library symbols are not loaded.

2010-08-10 Thread chetan
Hi All, I have some native code so put the native code in framework/base/ dir of source code and shared library is created for same in out/target/product/generic/system/lib/. Some queries: - Why it has not been created in out/target/product/generic/symbols/ system/lib/. Like other

[android-developers] Re: Does all Android Devices support Map API

2010-08-10 Thread Johan Abramsson
Hi, Jonas is correct - I have seen the pictures out there of the so called X3 by Sony Ericsson and they seem to be leaked pictures of early prototyp of the Sony Ericsson X10. Sony Ericsson has never released a phone called X3. Kind regards /Johan Sony Ericsson Developer Support #SEDW On Aug 9,

[android-developers] Activity not showing unless GL onSurfaceCreated() is not completed?

2010-08-10 Thread { Devdroid }
Hi, We got an app which utilises OpenGL to do some drawings and due to noticeable setup time needed to set GL up we rearranged app startup logic. Currently we set all up in main activity onCreate(), including creating new GLRenderer object. Main activity now shows splash screen and waits for

[android-developers] Cursor Finalize

2010-08-10 Thread charles berman
i am extending a CursorAdaptor and the first time that newview is called, i constantly come up with a cursor finalize error that i am having a difficult time tracking down. Ill supply all of the info that i can, but i dont know where to start other than @Override public View

[android-developers] Looper doubt

2010-08-10 Thread Sohan badaya
Hi All, I have a doubt in Looper. I want to know when we should use Looper. If any good link for more clarification, it would be great. Thanks, Sohan Badaya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Opening a context menu in the onCreate of an activity

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 8:32 AM, Chris Stewart cstewart...@gmail.comwrote: I don't think a dialog would work in this case just because I need to display a list of items for the user to select from, unless the dialog can be extended to do that. Yes it will and actually I'd recommend that. You

[android-developers] Profiler tool for Android device

2010-08-10 Thread maha rm
Hi, We are developing third-party browser plugin. We are testing it on the Android Froyo device. We want to use profiler tools for optimization of C++ code. Can anybody tell profiler tools for Android Froyo. Traceview is not listing C++ functions. Thanks, Maha -- You received this

[android-developers] Re: Documentation on Rendered scripts used in Live wallpapers

2010-08-10 Thread rahul
There is an example called Film which uses the renderscript. I was able to execute and create an apk for it but when i am launching the apk i cannot see the images coming on the screen. Though i could see that its responding to the touch events. Does someone know what needs to be done to get the

Re: [android-developers] Cursor Finalize

2010-08-10 Thread Kostya Vasilyev
The place to start is logcat output, up to and including Caused by line and its output. Is mInflater initialized ? -- Kostya 10.08.2010 18:20, charles berman пишет: i am extending a CursorAdaptor and the first time that newview is called, i constantly come up with a cursor finalize error

Re: [android-developers] Cursor Finalize

2010-08-10 Thread charles berman
yes it is. It only faults out the first time that this is called as well On Tue, Aug 10, 2010 at 10:42 AM, Kostya Vasilyev kmans...@gmail.comwrote: The place to start is logcat output, up to and including Caused by line and its output. Is mInflater initialized ? -- Kostya 10.08.2010

Re: [android-developers] Can I freely use the Android source?

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 12:58 AM, kevin0228ca kevin022...@gmail.com wrote: Can I freely use the Android source? http://tinyurl.com/2w8ddly - TreKing

Re: [android-developers] Re: Organizing the res/drawable folder

2010-08-10 Thread { Devdroid }
On 10 August 2010 13:55, String sterling.ud...@googlemail.com wrote: I've been using libraries since shortly after their release at IO10, and haven't had significant trouble with them. Occasionally I need to do a Project Clean in Eclipse to bring everything up to date, but that's not exactly

[android-developers] Re: Apps can't find in all deivce's market

2010-08-10 Thread Johan Abramsson
Hi, This is problem can happen due to a couple of reasons. The one I know of is that the phone type must be on the so called white list that google maintains. The phone in question must be have a phone software version mentioned on the white list. (Or really its fingerprint) So that part is up to

[android-developers] active notifications

2010-08-10 Thread Engin Arslan
hi, I am currently working on project in which users downloads sth and program shows download progress as notification. I am trying not to download file that is already downloading. Download operatİons are operated by threads so controllİng and checkİng actİve threads seems harder: ınstead,

Re: [android-developers] active notifications

2010-08-10 Thread { Devdroid }
On 10 August 2010 16:50, Engin Arslan enginarsla...@gmail.com wrote: hi, I am currently working on project in which users downloads sth and program shows download progress as notification. I am trying not to download file that is already downloading. Download operatİons are operated  by

Re: [android-developers] Patching

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 2:23 AM, perumal316 perumal...@gmail.com wrote: Or it is only system upgrade. Like from 2.1 to 2.1 update 1 to 2.2. Pretty much, AFAIK. 2.1 update 1 could easily be considered a patch.

Re: [android-developers] How to set data in google maps and further access that data

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 3:06 AM, Anthony anthonbo...@gmail.com wrote: Do I have to add the itemizedoverlay class to the manifest under activities? No, the manifest is for declaring Android-specific classes (Activity, Service, etc.) No offense, but you seem to be stuck on some very basic

Re: [android-developers]

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 7:57 AM, vineeshkc kcvine...@gmail.com wrote: pls help me Pls read a book on Java. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking

[android-developers] Re: Microsphone cannot be recorded on android emulator

2010-08-10 Thread niko20
Hi, The emulator only support 8Khz 16bit. -niko On Aug 9, 11:39 pm, aftershock ante...@gmail.com wrote: Hi, A small program that I wrote cannot record the microphone. One api call, getminbuffersize keeps returning -2 which is not correct. The program works on a real android one. I use

[android-developers] Re: Launching barcode reading from browser

2010-08-10 Thread m
Appreciate the snarkiness but that's not even what I'm asking about! Nice try though. On Aug 10, 8:46 am, Kostya Vasilyev kmans...@gmail.com wrote: http://tinyurl.com/35o2ell 10.08.2010 16:40, m пишет: Surely someone must know...? On Aug 9, 5:22 pm, mphillip...@gmail.com  wrote: On

Re: [android-developers] How to set data in google maps and further access that data

2010-08-10 Thread Anthony
Thanks for your reply. Yeah, you are right. I am not grasping the basics and I don't know why. Would it take long to go learn a little java before going back to android? What are some good books for beginners? Thanks. On Aug 10, 2010, at 10:50 AM, TreKing treking...@gmail.com wrote: On Tue,

[android-developers] Re: A simple question - I hope

2010-08-10 Thread niko20
Hi, No, you should be able to access /proc/meminfo even from userland just fine. It would be the best way to do it. Yesterday I was browsing the source for Android's Running Services app and this is what it does (gets meminfo and adds free + cached together to get free mem, total mem it does

[android-developers] Re: how to get the screen size in inches...

2010-08-10 Thread DanH
If it's important to know the screen size fairly accurately, it might be wise to have a calibrate screen size setup option in your app -- display a ruler on the screen and let the user do up/down buttons until it matches a physical ruler, eg. Otherwise you're always going to be at the mercy of

[android-developers] Re: Yet another Droid OpenGL texture problem

2010-08-10 Thread Robert Green
Yes, that's what I'm saying is your issue. From your code sample I see that you never held on to the actual texture ID from tmp_tex[] or textures[], so you could have never recalled it correctly to bind to it later for drawing. On Aug 10, 1:52 am, Mike mcmulle...@gmail.com wrote: Well that

  1   2   3   >