[android-developers] Re: [android-porting] /mnt/secure/asec

2011-02-15 Thread Dianne Hackborn
You can't avoid it, those are files in the SD card. On Mon, Feb 14, 2011 at 11:34 PM, Anand Android android.an...@gmail.comwrote: Hi Dianne, Thanks . I'm mounting SDcard on pc ..using UMS mode...when i do this . i see all the partitions of the SD card mounted on the PC side,which i dont want

[android-developers] Lat, Longs are not changing even for new locations

2011-02-15 Thread rokson
Hi Friends, This is kiran new to android. I am trying to find latitude and longitude through NetworkProvider. I got values for lat and langs when i am executing the applicarion first time and the values are not changing even i am moving 200 meters far from current location.(I am executing newly

Re: [android-developers] Problem with xml inflate

2011-02-15 Thread Dianne Hackborn
Look at the error in the final caused by sections: 02-15 10:50:04.798 E/AndroidRuntime(13071): ... 11 more 02-15 10:50:04.798 E/AndroidRuntime(13071): Caused by: java.lang.reflect.InvocationTargetException 02-15 10:50:04.798 E/AndroidRuntime(13071): at

[android-developers] live wallpaper as background of our application?

2011-02-15 Thread Dev Android
Guys, Can we set live wallpaper as background of our application? Please suggest. Thanks! Dev -- 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

Re: [android-developers] live wallpaper as background of our application?

2011-02-15 Thread Romain Guy
Hi, Just use the theme Theme.Wallpaper to show the wallpaper in your application. On Tue, Feb 15, 2011 at 12:20 AM, Dev Android devandroid1...@gmail.comwrote: Guys, Can we set live wallpaper as background of our application? Please suggest. Thanks! Dev -- You received this message

[android-developers] Supend to disk

2011-02-15 Thread Ln
Hi, I am trying to add the Suspend to disk support on my hardware. I am booting from SD card, i have a swap partition also. When I do a suspend to disk i get an error message saying that tasks are refusing to freeze. The freezing sequence is exiting immediately after the swapper refuses to

Re: [android-developers] Re: Share some of my work - DragDrop framework

2011-02-15 Thread Oded O.
I'll leave that to your imagination. I needed this functionality in an app that allows the user to drag cameras (list of camera names) into tiles, and upon dropping, the live stream begins. But the sky is the limit :-) -- You received this message because you are subscribed to the Google

[android-developers] What is current version of Android Market

2011-02-15 Thread muhammad mahmood
Hi I would like to know what is current version of Android Market. When Android Market version 2.3.0 will be released to support in-app billing. Kind Regards Muhammad Rashid -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: It's not the browser?

2011-02-15 Thread Kostya Vasilyev
Yes, the browser is up there on android.git.kernel.org, but I've never looked at its internals. Its implementation most likely uses WebView, which in turn is based on WebKit. The networking code is in there somewhere :) You might want to re-run your tests from a WebView inside an application

[android-developers] Preparing an app for the small screen.

2011-02-15 Thread Mark Sharpley
Hello Android Developers: I have developed a simple app which I am now testing on various phones. One of these is a HTC wildfire. On this phone I get the error cannot parse the package. I have support for small screens and low densities in the manifest, and I can't work out what else I need to do

Re: [android-developers] Preparing an app for the small screen.

2011-02-15 Thread Kostya Vasilyev
Yes, logcat would help. If it makes it any easier, your friend could install one of logcat-collecting applications from Market. -- Kostya 15.02.2011 11:47, Mark Sharpley пишет: Hello Android Developers: I have developed a simple app which I am now testing on various phones. One of these is a

Re: [android-developers] live wallpaper as background of our application?

2011-02-15 Thread Dev Android
thanks for your quick response. I'm more interested in setting live wallpaper in my own Launcher app by calling Native app of selecting the Live wallpaper. Can we do for it? On Tue, Feb 15, 2011 at 1:52 PM, Romain Guy romain...@android.com wrote: Hi, Just use the theme Theme.Wallpaper to

[android-developers] hprof-conv error

2011-02-15 Thread Amit
Hi, I am having Android 1.6 SDK and running application on Platform2.2. When i took memory dump, i am not able to convert hprof file captred by DDMS tool. hprof-conv utility shows an error: Expecting 1.0.3. I guess, i might needed latest hprof-conv utility.does anybody have that one? -Amit --

Re: [android-developers] live wallpaper as background of our application?

2011-02-15 Thread Dev Android
yes we can do it. I got the solution. Thanks again! -- Dev On Tue, Feb 15, 2011 at 2:37 PM, Dev Android devandroid1...@gmail.comwrote: thanks for your quick response. I'm more interested in setting live wallpaper in my own Launcher app by calling Native app of selecting the Live wallpaper.

[android-developers] Camera preview Api

2011-02-15 Thread Jayanthi
Hi, I am trying to save images in sd card which is taken from camera in emulator, the following is the code to save images in sd card path = String.format(/sdcard/%d.jpg, System.currentTimeMillis()); outStream = new

Re: [android-developers] live wallpaper as background of our application?

2011-02-15 Thread Narendra Bagade
can you suggest your answer please. regards, Narendra On Tue, Feb 15, 2011 at 2:40 PM, Dev Android devandroid1...@gmail.comwrote: yes we can do it. I got the solution. Thanks again! -- Dev On Tue, Feb 15, 2011 at 2:37 PM, Dev Android devandroid1...@gmail.comwrote: thanks for your

[android-developers] The purpose of resource name mipmap?!

2011-02-15 Thread Gary Wang
Dear all, I found the following resource folders are existing in Honeycomb- version Borwser apk. mipmap-hdpi mipmap-mdpi The meaning of mipmap resource is not listed in its SDK's documentation. Can anyone help to explain it? Thanks for your help! Gary -- You received this message because

Re: [android-developers] live wallpaper as background of our application?

2011-02-15 Thread Dev Android
@Romain, I got problem when once the static wallpapers is set then no live can be set on it. I think Top layer will have static wallpaper and bottom layer will have live wallpaper?? can you suggest? On Tue, Feb 15, 2011 at 2:53 PM, Narendra Bagade bagadenaren...@gmail.comwrote: can you

Re: [android-developers] The purpose of resource name mipmap?!

2011-02-15 Thread Pepijn Van Eeckhoudt
http://en.wikipedia.org/wiki/Mipmap On 15/02/2011 10:33, Gary Wang wrote: Dear all, I found the following resource folders are existing in Honeycomb- version Borwser apk. mipmap-hdpi mipmap-mdpi The meaning of mipmap resource is not listed in its SDK's documentation. Can anyone help to

Re: [android-developers] live wallpaper as background of our application?

2011-02-15 Thread Dev Android
@narender use as suggested @Romain On Tue, Feb 15, 2011 at 3:08 PM, Dev Android devandroid1...@gmail.comwrote: @Romain, I got problem when once the static wallpapers is set then no live can be set on it. I think Top layer will have static wallpaper and bottom layer will have live

[android-developers] Dynamically adding view in layout xml in android

2011-02-15 Thread Deepak Kumar
Hi All, I have created a xml layout which includes ImageButtons in row,col format.So,layout having some initial number of views.Now,I want to add extra views at run time i.e through code.Is it possible? How to do it? Thanks, -- You received this message because you are

[android-developers] Android Native Code: remote()

2011-02-15 Thread ss
Hi I was going through the code of BpMediaPlayerService (in the NDK). I came across this function several times: remote() Could someone please tell me where I could get some documentation on this function ? What exactly does it return / do? Thanks adn BR S. -- You received this message

[android-developers] figure out country in a device without SIM card

2011-02-15 Thread Leszek Koltunski
Hello Android gurus, In my game I've got a 'global leaderboard' where people submit their high scores and check how others are doing. There I display a little flag to show where a particular player is from. To figure that out, I use public String getIso() { TelephonyManager tM

Re: [android-developers] figure out country in a device without SIM card

2011-02-15 Thread Daniel Drozdzewski
On Tue, Feb 15, 2011 at 10:15 AM, Leszek Koltunski lkoltun...@gmail.com wrote: Hello Android gurus, In my game I've got a 'global leaderboard' where people submit their high scores and check how others are doing. There I display a little flag to show where a particular player is from. To

Re: [android-developers] figure out country in a device without SIM card

2011-02-15 Thread Kostya Vasilyev
Locale.getDefault(); -- Kostya 15.02.2011 13:15, Leszek Koltunski пишет: Hello Android gurus, In my game I've got a 'global leaderboard' where people submit their high scores and check how others are doing. There I display a little flag to show where a particular player is from. To figure

Re: [android-developers] Dynamically adding view in layout xml in android

2011-02-15 Thread Kostya Vasilyev
Yes, it's possible. First you need to create the new views to be added: either from code with new TextView or whatever, or by using LayoutInflater to create a view hierarchy defined within XML. The second step is adding them to the parent: get a reference to a ViewGroup that you would like

Re: [android-developers] figure out country in a device without SIM card

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 11:20, Kostya Vasilyev kmans...@gmail.com wrote: Locale.getDefault(); This is not a solution. I do use different locale than i should in the country i am in. Moreover, some phones does not offer certain locales so users are forced to stick with english for example. I'd go for

[android-developers] Re: Dynamically adding view in layout xml in android

2011-02-15 Thread CrazzyAndroidians
yes, you can do it, using LayoutInflater and addView() Androidian On Feb 15, 3:13 pm, Deepak Kumar deepak.kumar...@gmail.com wrote: Hi All,               I have created a xml layout which includes ImageButtons in row,col format.So,layout having some initial number of views.Now,I want to

[android-developers] capturing Home key event at application level

2011-02-15 Thread cool.manish
Hi, How can we capture home key event? I am storing some data at application level, I want to clear it so that it doesn't consume memory when my application is in background. At the same time, i wish that this data shouldn't get earsed if my application has gone in the background because of an

Re: [android-developers] capturing Home key event at application level

2011-02-15 Thread kavitha b
No,Manish It is not possible to capture HomeKeyPress. But there must be possibility to check whether ur app is in foreground. On Tue, Feb 15, 2011 at 4:20 PM, cool.manish mannishga...@gmail.com wrote: Hi, How can we capture home key event? I am storing some data at application level, I

Re: [android-developers] capturing Home key event at application level

2011-02-15 Thread Marcin Orlowski
I am storing some data at application level, I want to clear it so that it doesn't consume memory when my application is in background. At the same time, i wish that this data shouldn't get earsed if my application has gone in the background because of an incoming call. Do I need to capture

[android-developers] Re: capturing Home key event at application level

2011-02-15 Thread cool.manish
Marcin, I know activity life cycle but i am saving data at application level. Even if my activity has been destroyed, i dont want to loss data. Till the time my application is running, I want to keep that data but as soon as my application goes in background because of the home key, i want to

Re: [android-developers] capturing Home key event at application level

2011-02-15 Thread Kostya Vasilyev
15.02.2011 13:50, cool.manish пишет: I am storing some data at application level, I want to clear it so that it doesn't consume memory when my application is in background. From what I can find in the documentation, it's not clear if this can reduce memory consumption. An application

Re: [android-developers] Re: Dynamically adding view in layout xml in android

2011-02-15 Thread Deepak Kumar
Yeah, I am able to do that.But I don't find the related method for properties like- android:layout_toRightOf ,android:layout_above. Now this view that I am going to add is present inside RelativeLayout.So,those properties I have to set for this extra view to get adjust with

Re: [android-developers] Publishing / log.d

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 02:06, Dianne Hackborn hack...@android.com wrote: Yes you should strip them out. So what about that statament: Debug logs are compiled in but stripped at runtime? http://developer.android.com/reference/android/util/Log.html -- You received this message because you are

[android-developers] Re: capturing Home key event at application level

2011-02-15 Thread cool.manish
Perhaps this (garbage collection on background applications) actually does happen but just isn't documented, then freeing memory before going into the background is a useful thing. Yes thats why i want to freeing memory just before going into the background but I am not getting callback which

Re: [android-developers] Canvas or Gesture??

2011-02-15 Thread Marcin Orlowski
On 14 February 2011 21:40, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Is that all possible? can i convert a gesture into an image? No. But you can paint on your canvase based on user gestures or touches. I'd suggest you read some basics on what canvas, paint, bitmap is and what they do

Re: [android-developers] capturing Home key event at application level

2011-02-15 Thread Jonas Petersson
2011-02-15 12:21, Kostya Vasilyev skrev: [...] Perhaps this (garbage collection on background applications) actually does happen but just isn't documented, then freeing memory before going into the background is a useful thing. Well, I have not double checked for a while now, but the

Re: [android-developers] Supend to disk

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 09:26, Ln 82.narasim...@gmail.com wrote: Hi, I am trying to add the Suspend to disk support on my hardware. I am booting from SD card, i have a swap partition also. When I do a suspend to disk i get an error message saying that tasks are refusing to freeze. The freezing

Re: [android-developers] Multitouch buttons

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 05:49, brian purgert brianpurge...@gmail.com wrote: Ok i just put out my game spacebike and got a comment saying they want multitouch. so basically i am using on click listener right now and im wondering how i change that to multitouch. Instead of just being able to

[android-developers] Android WebView style background-color:transparent ignored on android 2.2

2011-02-15 Thread JPS
Hello, I'm struggling to create a WebView with transparent background. webView.setBackgroundColor(0x00FF); webView.setBackgroundDrawable(myDrawable); Then I load a html page with body style=background-color:transparent; ... The background color of the WebView is transparent but as soon as

Re: [android-developers] capturing Home key event at application level

2011-02-15 Thread Kostya Vasilyev
15.02.2011 14:41, Jonas Petersson пишет: Well, I have not double checked for a while now, but the onLowMemory() method of my service was certainly called now and then (even though my service wasn't doing anything at all at the time) last I traced it. Does this qualify? Best / Jonas It

Re: [android-developers] Canvas or Gesture??

2011-02-15 Thread Robin Talwar
Ya this is not my first application , i have done some media streaming , played with database , web services so if guided will not take much time to make this application. I am now looking into api demo's FingerPaint application. I can now give the touch paint facility so that user can touch the

Re: [android-developers] capturing Home key event at application level

2011-02-15 Thread Jonas Petersson
2011-02-15 12:58, Kostya Vasilyev skrev: 15.02.2011 14:41, Jonas Petersson пишет: Well, I have not double checked for a while now, but the onLowMemory() method of my service was certainly called now and then (even though my service wasn't doing anything at all at the time) last I traced it.

Re: [android-developers] capturing Home key event at application level

2011-02-15 Thread Kostya Vasilyev
15.02.2011 15:18, Jonas Petersson пишет: This was a while ago (1.1/1.5 IIRC) so there was no startForeground, but I'm pretty sure I used setForeground(true) to be less likely to get killed. Ok, thanks for clarifying. -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- You received

[android-developers] Samsung Galaxy Tab

2011-02-15 Thread Jayanthi
Hi, Can anyone please tell me the graphics resources required for Samsung galaxy applications. 1. Icons and its various size required 2. Screen Size 3. Header Size 4. Footer Size -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: WebView Page Not Found Error Trapping

2011-02-15 Thread Craigbtx
I got it to work public class Main extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Let's display the progress in the activity titlebar, like the

Re: [android-developers] Canvas or Gesture??

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 13:10, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Saving this bitmap and String path = Environment.getExternalStorageDirectory().toString(); OutputStream fOut = new FileOutputStream( new File(path, filename.jpg) ); bitmap.compress(Bitmap.CompressFormat.JPEG, 85, fOut);

Re: [android-developers] Re: How to delete...?

2011-02-15 Thread Sebastian Roth
On Tue, Feb 15, 2011 at 3:19 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: My problem was solved like this.. myDB.execSQL(DELETE FROM favourites where month=' +str1+ ' ); Pls. *don't* use this style of writing SQL queries! JAlexoid (Aleksandr Panzin) had a good

[android-developers] bug in bitmap tileMode=repeat / within layer-list ?

2011-02-15 Thread Marco Alexander Schmitz
hello :) I've got a ListView and items with their own xml. these items do have a xml background. this xml background is a layer-list with 4 items, one of them is a bitmap tileMode=repeat /. the others are just an alpha-gradient and a blue rectangle painted on top. sometimes my tile-bitmap

[android-developers] Re: Unique device id - which one to choose

2011-02-15 Thread gcstang
Using a Hash of all the ID's is most likely the best solution, gather all the ID's, append your own signature if you like (optional) and hash the long concatenation of all the ID's you can gather, I would recommend using SHA. Most likely not all phones will have all available ID's so by using

Re: [android-developers] Re: Unique device id - which one to choose

2011-02-15 Thread Marcin Orlowski
Using a Hash of all the ID's is most likely the best solution, gather all the ID's, append your own signature if you like (optional) and hash the long concatenation of all the ID's you can gather, I would recommend using SHA. I wouldn't hash it on client side. If any of the value is missing

Re: [android-developers] Lat, Longs are not changing even for new locations

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 1:42 AM, rokson kiranrepa...@gmail.com wrote: what can i do for getting updated lat ,longs for new locations? Actually requesting updates will probably help. Can any one help me? http://developer.android.com/guide/topics/location/obtaining-user-location.html

[android-developers] Re: [android-porting] /mnt/secure/asec

2011-02-15 Thread Anand Android
can;t just umount the partition used for media for UMS purpose? what is the exact use of /mnt/secute ? can breifly elaborate on this please ? - Anand On Tue, Feb 15, 2011 at 1:47 PM, Dianne Hackborn hack...@android.comwrote: You can't avoid it, those are files in the SD card. On Mon, Feb

[android-developers] calling an intent that's running passing a parameter

2011-02-15 Thread guich
Hi, Suppose i have two applications. I call the first one, then i press the home button and it goes sleep. Then i call the second one. I want that this second one call the first one, in some way, passing a parameter that would ask the first one to quit itself (currently it is taking just too

Re: [android-developers] Android ZigBee Capabilities

2011-02-15 Thread Rogério de Souza Moraes
Hi Jonathan, I work in a company that is producing a device that uses Android and have ZigBee. http://www.mxt.com.br/products.php Regards, Rogerio 2011/2/11 GimpyCPU jonathan.nad...@gmail.com Greeting, I've been working on a project that would require me to use a Android based (PDA,

Re: [android-developers] calling an intent that's running passing a parameter

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 7:52 AM, guich guiha...@gmail.com wrote: Suppose i have two applications. I call the first one, then i press the home button and it goes sleep. Applications don't go to sleep ... the device does. Then i call the second one. I want that this second one call the first

[android-developers] Density independent values through code for views

2011-02-15 Thread Deepak Kumar
Hi All, I have added views to layout in xml through code(i.e dynamically).And given properties for button such as topMargin,leftMargin etc.Yeah it will appear properly in one device.Because I gave values as per adjustment to the current device(hdpi854) but if I will run the same

Re: [android-developers] bug in bitmap tileMode=repeat / within layer-list ?

2011-02-15 Thread Richard Leggett
I've also experienced tileMode on drawables being ignored (1.6 SDK), generally when extending the existing height of a ViewGroup by adding children after the initial layout pass. It doesn't always exhibit the behaviour. I didn't have time to fully investigate the problem at the SDK code level

Re: [android-developers] Publishing / log.d

2011-02-15 Thread David Caunt
There's a simple solution for this using ProGuard. You can tell it to remove functions where the return value is not used with -assumenosideffects See http://stackoverflow.com/questions/2446248/deactivate-any-calls-to-log-before-publishing-are-there-tools-to-do-this/242#242 On 15

Re: [android-developers] Density independent values through code for views

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 15:03, Deepak Kumar deepak.kumar...@gmail.com wrote:                One of the solution can be multiplying these values with ratio (according to device).Is there any other way to do the same? Don't think there're much alternatives. What I do is keep all the values in dip in

Re: [android-developers] Density independent values through code for views

2011-02-15 Thread Pepijn Van Eeckhoudt
On 15/02/2011 15:03, Deepak Kumar wrote: One of the solution can be multiplying these values with ratio (according to device).Is there any other way to do the same? In code, I define constants in 'dp' and then multiply with DisplayMetrics#density

Re: [android-developers] Density independent values through code for views

2011-02-15 Thread Richard Leggett
You can look into writing a utility method e.g. : public class Util { private static float DIP_SCALE = -1; public static int dipsToPx(int dips, Context context) { if(DIP_SCALE == -1) DIP_SCALE = context.getResources().getDisplayMetrics().density;

[android-developers] Closing Cursors

2011-02-15 Thread Doug Gordon
I'm trying to clean up my cursor management and have taken care of all the cases where I strictly use a cursor within my own classes. But what about cursors passed in a CursorAdapter to a ListView? Does the ListView or adapter take care of closing the cursor when the activity exits? Doug

[android-developers] Android: first open and free mobile platform?

2011-02-15 Thread Dudero
Hello, I have read on the OHA website that one of the goals for Android should be the first complete, open and free mobile platform (http://www.openhandsetalliance.com/) Android was the first? I think some others, like the OpenMoko project was there before?! Greetz dudero -- You received

[android-developers] Cursor Management with ListView

2011-02-15 Thread Doug Gordon
I've got a ListActivity that displays a list of items from a database using a CursorAdapter, which initially contains all items in the table. I also provide an EditText view where the user can enter search text, and as characters are entered, I requery the database using a LIKE or MATCH where

Re: [android-developers] Android: first open and free mobile platform?

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 15:33, Dudero sinfanh...@googlemail.com wrote: I think some others, like the OpenMoko project was there before?! Even if, so what? I do not bother how each of them call their platform. It's marketing buzz. Use to it. For example there's hell lot of apps of certain type on

Re: [android-developers] Android: first open and free mobile platform?

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 15:40, Marcin Orlowski webnet.andr...@gmail.com wrote: the first of the last. I do care size of user base, Platfrom of shall be or in the first of the last -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Cursor Management with ListView

2011-02-15 Thread Kostya Vasilyev
ListView already has an infrastructure for filtering, which invokes the query on a background thread: http://developer.android.com/reference/android/widget/CursorAdapter.html#runQueryOnBackgroundThread(java.lang.CharSequence)

[android-developers] Receive a notification when a call is answered

2011-02-15 Thread EmilDiego
I am creating an application for API Level 7 and above that receives a notification every time a phone call is answered and logs that information to a sqlLite databas. When I run the application in the emulator, I never receive the notifications. Here is the class i created. It's simple logs a

[android-developers] let users select a audio file on tmobile mytouch 4g - activity not found exception

2011-02-15 Thread Kai
hi, I have a button that when a user clicks it, he should see a list of audio files, then he can select one, and my app knows what he selects. the following codes work fine on g1 and mytouch 3g(aka g2), but always throw a activity not found exception for Intent.ACTION_GET_CONTENT or

[android-developers] Android 2.0.1 Platform source code

2011-02-15 Thread peeyush varshney
Hi, How would i get the Android 2.0.1 Platform /sdk/android-2.0.1.html SDK. -- Thank Regards Peeyush Varshney -- 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

Re: [android-developers] Android 2.0.1 Platform source code

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 16:25, peeyush varshney varshney.peey...@gmail.com wrote: How would i get the Android 2.0.1 Platform SDK. Use SDK Manager: http://developer.android.com/sdk/index.html -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Mobile Ad Serving Technologies for direct ad sales - which is best?

2011-02-15 Thread pawpaw17
Guys, I'm trying to pick an ad serving technology that will allow me to service ads that I sell directly in my Android app. Hoping is would work for Android, iPhone, W7P, etc. Any ideas which technology is good for this? Thanks so much for any opinions. Best, pawpaw17 -- You received this

[android-developers] Re: Custom View question

2011-02-15 Thread Mikey
Any ideas anyone? I went to test at least the top left corner of the campus image (where the bitmap's 0,0 lines up with the screen's 0,0, i.e. before the image is panned or zoomed at all) while driving onto campus this morning, then realized I stupidly put latitude in the translate x and longitude

Re: [android-developers] Mobile Ad Serving Technologies for direct ad sales - which is best?

2011-02-15 Thread Marcin Orlowski
I'm trying to pick an ad serving technology that will allow me to service ads that I sell directly in my Android app. Hoping is would work for Android, iPhone, W7P, etc. Any ideas which technology is good for this? All you need is just plain server software which would deliver your ad

[android-developers] Display Radio Buttons when you click a button in the same page

2011-02-15 Thread subrat kumar panda
Hi all, i am having problem regarding : there is a button on a page, when you click the button it view 2 radio buttons in the same page. i have done all what i collect from goole. if anybode here have the knowlwdge to solve it out, please send me the code Thanks Regards Subrat -- You received

Re: [android-developers] Display Radio Buttons when you click a button in the same page

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 9:48 AM, subrat kumar panda evergreen.sub...@gmail.com wrote: i am having problem regarding : there is a button on a page, when you click the button it view 2 radio buttons in the same page. What exactly is the problem? This is not very clear. if anybode here have

Re: [android-developers] Display Radio Buttons when you click a button in the same page

2011-02-15 Thread Kostya Vasilyev
view.setVisibility(View.VISIBLE) ( previously set to android:visibility=gone in the xml ) -- Kostya 15.02.2011 18:48, subrat kumar panda пишет: Hi all, i am having problem regarding : there is a button on a page, when you click the button it view 2 radio buttons in the same page. i have done

[android-developers] Display map overlay always on top

2011-02-15 Thread viktor
Hi, how I can show itemizedoverlay ahead of other? I have Next and Previous buttons, if I pressed one of them I want to move cursor to the next or previous overlay. That overlay have to displayed on top of other. Thanks. -- You received this message because you are subscribed to the Google

Re: [android-developers] Display map overlay always on top

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 10:09 AM, viktor victor.scherb...@gmail.com wrote: Hi, how I can show itemizedoverlay ahead of other? I have Next and Previous buttons, if I pressed one of them I want to move cursor to the next or previous overlay. That overlay have to displayed on top of other.

Re: [android-developers] Density independent values through code for views

2011-02-15 Thread Deepak Kumar
Thanks for the code.It is proper for view alignment within layout in different devices.But for textSize of textview its not happening properly. I am using following code:- TextView txtForIcon=new TextView(this); txtForIcon.setLayoutParams(new

[android-developers] Re: Display map overlay always on top

2011-02-15 Thread viktor
You mean, if item last(index) in Overlays Collection, it have to display on top? I don't understand this issue, if it is true, that means that API always regroup all items when it was tapped. On 15 Лют, 18:16, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 10:09 AM, viktor

Re: [android-developers] Re: Display map overlay always on top

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 10:32 AM, viktor victor.scherb...@gmail.com wrote: You mean, if item last(index) in Overlays Collection, it have to display on top? Sorry, I don't understand what you're asking. I don't understand this issue, if it is true, that means that API always regroup all

[android-developers] Re: Display map overlay always on top

2011-02-15 Thread viktor
---It doesn't regroup - it just draws the focused item last. OK, it is clear for me now. I try to set focus, but overlay doesn't move to the top. I've forgotten something? On 15 Лют, 18:37, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 10:32 AM, viktor victor.scherb...@gmail.com

Re: [android-developers] Density independent values through code for views

2011-02-15 Thread Dianne Hackborn
That is the correct code. What do you mean by appearing very small? Of course at mdpi it will be significantly smaller than hdpi. On Tue, Feb 15, 2011 at 8:29 AM, Deepak Kumar deepak.kumar...@gmail.comwrote: Thanks for the code.It is proper for view alignment within layout in different

Re: [android-developers] Re: Display map overlay always on top

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 10:49 AM, viktor victor.scherb...@gmail.com wrote: I try to set focus, but overlay doesn't move to the top. I've forgotten something? How did you try to set focus? -

Re: [android-developers] Density independent values through code for views

2011-02-15 Thread Dianne Hackborn
(For the code you have, at mdpi the density scale is 1, so you just end up with a size of 11, which yes is pretty small.) On Tue, Feb 15, 2011 at 9:07 AM, Dianne Hackborn hack...@android.comwrote: That is the correct code. What do you mean by appearing very small? Of course at mdpi it will

[android-developers] Securing the SharedPreferences file using AESObfuscator in LVL

2011-02-15 Thread rajorshi
I have no experience in cryptography, hence this basic question about the AESObfuscator in Android LVL. The AESObfuscator uses app specific info (say package id), device specific info (say android.provider.Settings.Secure.ANDROID_ID) and a salt to generate a key to encrypt the SharedPreference

Re: [android-developers] Securing the SharedPreferences file using AESObfuscator in LVL

2011-02-15 Thread Dianne Hackborn
Oh and the documentation on LVL obfuscation is to prevent people from easily *modifying* the app to *remove* its LVL checks. This is in many ways a very different issue than trying to protect data that is being stored on the device. The LVL design has the server holding the private key that it

Re: [android-developers] Securing the SharedPreferences file using AESObfuscator in LVL

2011-02-15 Thread Dianne Hackborn
If someone has root, there is little you can do to really protect yourself from them. On Tue, Feb 15, 2011 at 9:10 AM, rajorshi groups.rajor...@gmail.com wrote: I have no experience in cryptography, hence this basic question about the AESObfuscator in Android LVL. The AESObfuscator uses app

Re: [android-developers] Publishing / log.d

2011-02-15 Thread Dianne Hackborn
On Tue, Feb 15, 2011 at 3:35 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: So what about that statament: Debug logs are compiled in but stripped at runtime? http://developer.android.com/reference/android/util/Log.html It's a lie. Well I think it is trying to say that they aren't shown

[android-developers] Re: Securing the SharedPreferences file using AESObfuscator in LVL

2011-02-15 Thread rajorshi
But, if someone can edit my preferences file to modify the stored validity time stamp, grace period and max. retry count to very reasonably values, he can prevent my app from ever contacting the server after the first attempts or make it retry all the time. This effectively removes LVL checks.

[android-developers] Re: Display map overlay always on top

2011-02-15 Thread viktor
I get the Overlay by index from Overlays. and set with: ItemizedOverlay.setFocus(Item item); It works now, but if I scroll or zoom a map the focussed overlay gone again. On 15 Лют, 19:13, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 10:49 AM, viktor victor.scherb...@gmail.com

[android-developers] Re: Securing the SharedPreferences file using AESObfuscator in LVL

2011-02-15 Thread rajorshi
Sorry for typo. I meant ... if someone can edit my preferences file to modify the stored validity time stamp, grace period and max. retry count to reasonably large values, ... ~rajorshi On Feb 15, 10:46 pm, rajorshi groups.rajor...@gmail.com wrote: But, if someone can edit my preferences file

Re: [android-developers] Re: Display map overlay always on top

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 11:47 AM, viktor victor.scherb...@gmail.com wrote: It works now, but if I scroll or zoom a map the focussed overlay gone again. Make sure you're not clearing out again anywhere else ... work fine for me ...

[android-developers] Re: Camera preview Api

2011-02-15 Thread Joe McCann
I recommend using getExternalStorageDirectory() http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory() On Feb 15, 3:10 am, Jayanthi jaia...@gmail.com wrote: Hi,    I am trying to save images in sd card which is taken from camera in emulator, the

[android-developers] Re: It's not the browser?

2011-02-15 Thread kypriakos
Not a bad speculation anyway .. thanks for the pointers I will snoop around more and see where that takes me. I will keep the list posted on results etc. I am also running Mobile Opera and Opera Mini but they don't implement cross origin resource sharing like the native browser and Dolphin (I

Re: [android-developers] Re: Securing the SharedPreferences file using AESObfuscator in LVL

2011-02-15 Thread Dianne Hackborn
Not if you use this correctly -- you keep the result you got back from the server, which is signed with the private key. If you don't have that (verifying the cert) then the app isn't licensed. That result contains time, device id, and other information that is needed to verify it. Sorry I

[android-developers] Re: It's not the browser?

2011-02-15 Thread DanH
Are you getting old data, or no data at all? If old data it may be that a cache somewhere along the way (could be in the phone or in a router somewhere) is just sending the old data in response to the URL. The way to circumvent this, of course, is to generate a new URL for each interaction. On

  1   2   3   4   >