[android-developers] ListView: row content independent clickable areas

2012-10-29 Thread Marcin Orlowski
Hi,

I am trying to achieve listview row layout that would let me use click
areas (views i could bind OnClickListener to) no matter on real row
content. I do not want to use OnTouchListener, so my attempt is based on
using RelativeLayout and overlay real row content with click areas. But
for some odd reasons I am unable to make it work, desipie recent beta of
ADT shows the layout as expected. When deployed on device it does not work.

Any notes, ideas or hints highly appreciated.

I asked that question on StackOveflow:
http://stackoverflow.com/questions/13108968/listview-row-content-independent-clickable-areasso
here's copy of that question:


--


I got listview's row layout like this (this is stripped down version of my
real layout so do not comment of things like single elements wrapped in
LinearLayout etc. - it just to illustrate the issue - final version got
more elements there):

[image: Inline images 1]


XML file is below for reference, but I shortly describe what I want to
achieve:

   - blue box (icon) and usually long text here TextView are row real
   content (item_main_container). It can be anything - it shall be
   irrelevant. This layer content is not clickable.
   - the red and green boxes are views I bind row's OnCliclListeners to
   (wrapped in item_click_area_container)- I just want user to be able to
   tap on the row, no matter what's item_main_container's content really is
   (so these red/green are transparent in the app). These are set transparent
   on the image so you can see item_main_content thru it). Please note red
   and green represent *separate* actions. I need to be able to have more
   elements on that layers (i.e. 4 or 5) to handle separate actions depending
   on where user tapped.
   - the yellow area (button_bar_container) holds buttons user may want to
   tap.

So basically item_click_area_container overlays item_main_container, but
not button_bar_container, which is above
item_click_area_containerotherwise user would not be able to tap on
any of its button.

Layout outline looks like this:

[image: Inline images 2]


*QUESTIONS*

   1. Why this is not working as expected and/or how to fix that?
   2. Is there any better way of having content independent click areas
   than using approach like mine item_click_area_container without using
   OnTouchListener?


--

*Layout XML*

?xml version=1.0 encoding=utf-8?LinearLayout
xmlns:android=http://schemas.android.com/apk/res/android;
android:id=@+id/item_container
android:layout_width=fill_parent
android:layout_height=fill_parent
android:orientation=vertical

RelativeLayout
android:layout_width=fill_parent
  android:layout_height=wrap_content

LinearLayout
android:id=@+id/item_main_container
android:layout_width=fill_parent
android:layout_height=wrap_content

ImageView
   android:id=@+id/item_avatar
   android:layout_width=40dp
   android:layout_height=40dp
   android:background=#ff
   android:src=@drawable/icon_help/

LinearLayout
   android:layout_width=fill_parent
   android:layout_height=wrap_content
   android:orientation=vertical

   TextView android:id=@+id/item_body
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:text=Usually long text here...
 android:textColor=#ff/
/LinearLayout

/LinearLayout

LinearLayout
   android:id=@+id/item_click_area_container
   android:layout_width=fill_parent
   android:layout_height=100dp
LinearLayout
   android:id=@+id/green_click
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   android:layout_weight=1
   android:background=#7700ff00
/LinearLayout
LinearLayout
   android:id=@+id/red_click
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   android:layout_weight=2
   android:background=#77ff
/LinearLayout
/LinearLayout

/RelativeLayout

LinearLayout
   android:id=@+id/button_bar_container
   android:layout_width=fill_parent
   android:layout_height=50dp
   android:layout_marginTop=3dp
   android:background=#00
/LinearLayout
/LinearLayout

-- 
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 options, visit this group at

Re: [android-developers] Re: tablet siz

2012-08-05 Thread Marcin Orlowski
So is i.e. LG 9,7 one. But relying on this is pointless and wrong for most
cases. Tables with ~10 and resolution 1024x768 exists as well.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] AlertDialog in Fragment

2012-08-05 Thread Marcin Orlowski
Read about activity/fragment lifecycle. You can clearly be notified when
user goes away from it, so you can i.e. flag this to your other code or
cancel a task etc. You may also try to block back for a while (see
onBackPressed()).

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Lost Password of Keystore

2012-08-05 Thread Marcin Orlowski
 Send yourself an e-mail with the keystore attached and include your
password,

 Thats crazy. Your mail message may pass through several untrusted routers
 so a lot of people may have access to both, the keystore and the unlock
 password.

 Sounds like you suffer from paranoia. If you're worried about the NSA
 intercepting your keystore, then yes. Don't put it in the cloud. On the
 other hand, the NSA and their black helicopters could just hover over your
 house and beam it up, Scotty style.

 Using GMail with https is pretty secure.


Looks like you suffer from illogical thinking. Assumption 'I am noone
important, why anyone would even bother to hack my mail' is plain silly. It
is as silly as buying high end secure vault and then keep its key under the
wiper. And no, gmail is NOT secure more than other mailboxes, nor https
makes any difference here. Your account may simply be hacked just because
someone managed to do that. And why yours? Why not. Randomly chosen victim,
and then you doomed because of your unwise assumptions. oh, and he keeps
the keystore and password? nice. and credit cards numbers, PIN and CC too.
Good boy... - imagine the rest...

Keeping multiple copies of your keystore is one thing, and you could keep
it in gmail as long as you keep the password elsewhere. Not see any problem
to store it in many password wallet apps (even on your phone, with i.e. OI
Safe or anything). Disaster recovery planning is crucial. If you did it
wrong, then you end with no recovery. Simple as that.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

 -John Coryat

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Block Apk File Read.

2012-07-25 Thread Marcin Orlowski
You can't. Google on it. ASAP!

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 25 July 2012 12:22, yogendra G yogi2...@gmail.com wrote:

 Hi All,

 How can i block reading or pulling out apk file from android device using
 eclipse file explorer.

 Please revert me back for the same ASAP.

 Br,
 Yogi...

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android makefile to generae the static executable

2012-07-17 Thread Marcin Orlowski
You ask in wrong place.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Generating apk on Windows and OSX

2012-06-28 Thread Marcin Orlowski
peek logcat for any light. As long as APK is valid (and so is cert) it
shall be no difference whetever it was build on mac or windows

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] list_selector_background_focused.9.png missing in ldpi

2012-06-22 Thread Marcin Orlowski
I suspect it's by mistake. Fill a bug at b.android.com

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 21 June 2012 21:33, powder366 jonas.hey...@gmail.com wrote:

 Hi,

 I noticed that the file list_selector_background_focused.9.png is
 missing in directory ldpi, but exists in mdpi, hdpi and xhdpi

 platforms/android-15/data/res/drawable-mdpi
 platforms/android-15/data/res/drawable-hdpi
 platforms/android-15/data/res/drawable-ldpi   - missing
 platforms/android-15/data/res/drawable-xhdpi

 Does anyone know why?

 Regards Jonas.

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Problem in IMEI ID

2012-06-03 Thread Marcin Orlowski
IMEI is 16 digits only.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] android sdk in another link

2012-05-30 Thread Marcin Orlowski
download it at home and take to the office next day on cd or pendrive?

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 30 May 2012 11:22, Jags jag...@gmail.com wrote:

 that i do at home, i wanted to utilize some free time at office to
 research and learn


 On Wednesday, May 30, 2012 2:24:54 PM UTC+5:30, TreKing wrote:

 On Wed, May 30, 2012 at 3:08 AM, Jags jag...@gmail.com wrote:

 in my organization dl.google.com is blocked. ... is other way of
 downloading sdk ...


 Access the internets somewhere outside your organization ... ?

 --**--**
 --**---
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] resolution of the system clock

2012-05-30 Thread Marcin Orlowski
assuming that you can get system time in millis, assume it is millis. it's
irrelevant if hw clock is ticking in higher frequency or not.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 30 May 2012 07:17, bob b...@coolfone.comze.com wrote:

 What is the resolution of the system clock of a typical Android device?
  (such as a Galaxy Tab)

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to root android phone

2012-05-30 Thread Marcin Orlowski
On 29 May 2012 18:24, Kristopher Micinski krismicin...@gmail.com wrote:

 You can't really root a phone programatically ... Wow... thankfully.


Actually you could root some older android versions 'silently' w/o need of
user interaction (nor knowledge). Some malware were reported to utilize
this hole.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] what if package is uninstalled while another package holds its Context?

2012-05-29 Thread Marcin Orlowski
On 29 May 2012 17:19, Latimerius l4t1m3r...@googlemail.com wrote:

 On Tue, May 29, 2012 at 4:37 PM, Kostya Vasilyev kmans...@gmail.com
 wrote:
  The assets of package B are probably open and memory mapped by package
 A's
  process.

 I don't know...I thought of this but I wasn't able to confirm it.  A
 can access files after B's uninstallation that were never read or even
 opened before B's uninstallation.  Unlike the test, in the actual app
 where I bumped into this, B is an APK of almost a megabyte, I mean
 it's not small, and still A was able to read in files (tens or
 hundreds kB in size) after uninstallation that had never been accessed
 before uninstallation.


Weren't these files A's assets? If so, the were in A's .apk file, so even
you uninstall or remove (rm) that file, filesystem still got it unless all
handles refering to it are closed. That's how linux fs works.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Enable NFC Polling when Device is Locked

2012-05-25 Thread Marcin Orlowski
IIRC it's by design: http://developer.android.com/guide/topics/nfc/nfc.html:

Android-powered devices are usually looking for NFC tags when the screen
is unlocked

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Menu from GLSurfaceView

2012-05-25 Thread Marcin Orlowski
if you need own menu (drawn on surface) then your event listener have to
tell the rendered to draw one when all criterias are met (and you have to
make own menu of course)

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 24 May 2012 20:18, michael 28naveenku...@gmail.com wrote:

 Hi,  I'm working on a project where I'm displaying a room using
 GLSurfaceView and Renderer,
 and I want to display a menu when user click on that room (anywhere)
 by using onTouchEvent.
 So please help me with the code needed to put in the case of
 ACTION_DOWN.

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Changing application name for the launcher

2012-05-13 Thread Marcin Orlowski
Application name is defined in your Manifest file, in android:label
attribute of application block.
If usually points to @strings/app_name as Mark indicated, but you can i.e.
put string directly
there or refer to any string resource you want.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 13 May 2012 15:05, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote:

 Hi there,

 I have created a game with an Eclipse project called AwesomeGame, and
 the problem is that when installing it on the device it is also called
 AwesomeGame, but I rather like to change it to Awesome Game with an
 space between words.

 Where is the right place to change this???

 Thanks a lot in advance,


 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android to PHP error- Unidentified Index

2012-05-13 Thread Marcin Orlowski
 error my be in my device and not the code itself. Thanks, and if you habe
more ideas please let me know.

Just add to you php code some debugging. Basically I'd just write $_POST to
a file to see what is in it:

file_put_contents( 'post_log.txt', print_r( $_POST, true), *FILE_APPEND* );

do you request from device and then check what in post_log.txt file.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 13 May 2012 17:06, Jeresam515 jeremyschiff...@gmail.com wrote:


Thanks all, Matt I can not seem to get it to work under your code
 either, same error. Thanks for correcting my mistake in the query Marcin.
 I'm starting to think the error my be in my device and not the code itself.
 Thanks, and if you habe more ideas please let me know.

  --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android to PHP error- Unidentified Index

2012-05-13 Thread Marcin Orlowski
Just a note, that to make this thread useful for others, searching for help
in future, it's a good habbit to tell where the problem was and how you
fixed it (if it was not trivial)

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 13 May 2012 18:20, Jeresam515 jeremyschiff...@gmail.com wrote:

 Thanks all, I have gotten it to work.

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Options missing in Android SDK Manager when started from Eclipse

2012-05-10 Thread Marcin Orlowski
Try asking there: http://tools.android.com/feedback (i.e. on adt-dev
group)http://groups.google.com/group/adt-dev

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 9 May 2012 17:06, Sebastian Krysmanski maya.li...@googlemail.com wrote:

 Hi,

 is there a special reason why the Tools menu in the Android SDK Manager
 is missing most of its menu items (including Options...) when started
 from Eclipse.

 https://lh3.googleusercontent.com/-ZOUJfrEBGvY/T6qHRimqz7I/AAg/BWnAnhmqak8/s1600/android-sdk-manager-eclipse.png


 https://lh5.googleusercontent.com/-uAYoDSx9Atc/T6qHkc2VvPI/AAo/Vm_SxTp04-s/s1600/android-sdk-manager-standalone.png








 I've verified this behavior on Windows 7 and Linux (Ubuntu) with the
 newest tools installed.

 Regards
 Sebastian

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] [Market] Commenting unpublished application

2012-05-02 Thread Marcin Orlowski
I always though unpublishing app takes it away from users so they neither
can install it or update. And I also thought unpublished apps are simply
gone from user perspective so they cannot see them in Market. But now I see
one of my apps is still being commented (even today) even it is unpublished
for couple of days What do I miss?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] building ffmpeg-0.10.2 with ndk-r7c

2012-04-23 Thread Marcin Orlowski
ask on android-ndk group

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 23 April 2012 16:09, r

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Please include DiskLruCache to next version of support package

2012-04-20 Thread Marcin Orlowski
post it there - http://b.android.com

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] DexClassLoader

2012-03-25 Thread Marcin Orlowski
On 25 March 2012 07:12, moutaz al-azab azabk...@gmail.com wrote:


 I am trying to play with DexClassLoader
 http://developer.android.com/reference/dalvik/system/DexClassLoader.htmland
 http://www.java2s.com/Open-Source/Android/android-core/platform-libcore/dalvik/system/DexClassLoader.java.htmI
  am wondering how can I use DexClassLoader.I am not expert in Android and
 I dont know how to use it, does anyone has an idea?


You do not know how to use so i wonder if you know why you think you want
to use it? Do you really got any need for that? I doubt slightly...

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] DexClassLoader

2012-03-25 Thread Marcin Orlowski
And do not do crossposts in future!

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Greetings

2012-03-22 Thread Marcin Orlowski
Good advice for novice like you. Prior asking any beginer's question here,
google for your problem (i.e. error message from logcat) or subject
you got problems with android tutorial (i.e. sql adapter android
tutorial). In most cases you will find what you lack.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gps not working in phonegap-1.5.0 android

2012-03-20 Thread Marcin Orlowski
This group is not about phonegap development. you will get better support
on phonegap list/forum/group (whatever they offer), not here.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Recording app demo videos

2012-03-19 Thread Marcin Orlowski
Hi,

I am going to shoot short video demonstrating our new app and my planned
approach is to use Galaxy Nexus for this. I read I can use MHL cable to
have HDMI output, so that's looks ok. The only problem is that once MHL is
plugged, phone switches to landscape mode and it does not look like you can
disable this from user standpoint, therefore I plan to enforce portrait
orientation in all my activities for the shooting and then rotate recorded
video 90 degs cw to get it as portrait. As for recorder i thought about
something like AVerTV HD DVR once I verify its HDMI is not dummy and will
work.

Anyone records videos of own apps by capturing device output? I'd be more
than happy to hear your comments/advices here.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Handling bigger forms, displaying error messages

2012-03-19 Thread Marcin Orlowski
In general big forms sucks :) split them into smaller parts. as for errros
you can i.e. popup dialog saying form content is invalid and to let user
know where culprit is, change background color of corresponding widgets to
some sort of red. or you can add small text info below each form and keep
it GONE by default and unfold on errors.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Eclipse Problem

2012-03-17 Thread Marcin Orlowski
On 17 March 2012 11:48, ANNE LOKESH lokesh1...@gmail.com wrote:

 Thank You,


 but didn't got rectified does eclipse support windows7..???


Sure. Works fine here win 7/64bit.

PS: you seem to have broken ? key...

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] On Reciving SMS Calling Web Service.

2012-03-17 Thread Marcin Orlowski
Register for SMS broadcasts. Once you got SMS, get the mesaage body and
parse its content. if you wind what you look for, then fire up the code
talking to web service.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Installation 64-bit Windows 7

2012-03-16 Thread Marcin Orlowski

 I suspect it does not matter, but I'm inclined to put the sdk in C:
 \Program Files\Android\android-sdk. If nothing else, this seems more


Don't put SDK in path which contains spaces in any segment.
It was problematic for quite long time (*maybe* it's fixed now, but I do
not bother checking).
I keep all the stuff in C:\Android + subfolders *wihouth* spaces in names
and there's no
problem


consistent with my Eclipse (64-bit) installation.


Luckily eclipse does not need any installation. Just unzip its archive and
you are ready to go.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Eclipse Problem

2012-03-16 Thread Marcin Orlowski
Ensure you are using latest eclipse (3.7?) and latest ADT (v17beta4 is
quite stable). if it is your
layout and it holds no custom views you shall be fine. if it will still be
crashing, you have to open
it in plain text view, remove all items and put each by each back, checking
which one blows
visual editor up.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 15 March 2012 16:31, lokesh lokesh1...@gmail.com wrote:

 When ever i open xml layout in eclipse , eclipse is totally closing
 without saving.


 can any one tell me whats the problem and how to resolve it..


 Thanks in advance...

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Force update

2012-03-13 Thread Marcin Orlowski
On 13 March 2012 11:30, hazem omies hazem.om...@gmail.com wrote:

 how to make force update for application when its start ?


You should not really. All you can do is tell the user there's update
available and forward him to Market for download. If your app rely on
server side and server side changes made current version broken tell it
to the user and refuse any other activity. But in neither case you can
force user to upgrade.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] give me example of ASYNCTASK

2012-03-13 Thread Marcin Orlowski
 give me a short demo of AsynTask with dialog.

No. leaarn how to use google.
http://lmgtfy.com/?q=async+task+example+android And how to use please.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] ICS Code Different???

2012-03-13 Thread Marcin Orlowski
* *when i try run those code at ICS API 15 it shows me nothing. but when i
change the project to API 7 (Eclair) and run it,
 it show me the result.is there any different between Eclair and ICS code?

tried looking at logs (i.e via logcat view)?

Regards,
Marcin Orlowski
*
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] cpu usage information

2012-03-13 Thread Marcin Orlowski
On 12 March 2012 18:11, oneking onekingg...@gmail.com wrote:

 How to make a pie chart that tells me cpu usage or memory ram?

 This is a example:

 http://gadgetsdna.com/wp-content/uploads/2010/03/SystemPanel-fo-Android-3-280x500.png


The same way as you would make pie chart of any other data. you need: a)
data to visualise (be it cpu usage or anything else) b) pie chart drawing
routine (your own or 3rd party). Once you got that, combine them together
and voila. You got what you needed.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Button animation

2012-03-13 Thread Marcin Orlowski
On 12 March 2012 16:47, Tytanit tyta...@gmail.com wrote:

 I need help - i am new to android, and i couldn't solve my problem at
 my own, so i'm posting here -
 I've got an image animation,  a few buttons, and an animation files
 ( xml) written. What i want to do, is to make a button animation ( i
 don't know to bound a button with an animation) , following image
 animation with a little delay - what functions should i use? What
 should the code look like?


View button = (View)findViewById( R.id.my_button );
button.startAnimation( AnimationUtils.loadAnimation(
R.anim.anim_for_my_button ) );

you can safely stick to View instead of i.e. ImageButton in case of
applying animation.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] want android source code

2012-03-13 Thread Marcin Orlowski
On 12 March 2012 18:19, VICKY vigneshv2...@gmail.com wrote:

 hello sir/madam,
 i need source code for predictive text input in
 android ..


http://source.android.com/source/downloading.html

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] NDK NewsReader

2012-03-13 Thread Marcin Orlowski
On 13 March 2012 03:08, April Randolph april.rando...@gmail.com wrote:

 Setting up my NDK environment and running into privilege and/or


NDK stuff shall go to ndk list:
http://groups.google.com/group/android-ndk, not this one.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Parcelable : Passing object from one activity to another activity

2012-03-13 Thread Marcin Orlowski
 On 12 March 2012 02:45, kahou kaho...@gmail.com wrote:

 Hi,

 I would like to pass an object from one activity to another activity.
 Everything looks fine except it can't pass the ArrayList inside that
 object.


Some types are not supported by default parcelable implementation IIRC. You
have to write your own implementation and cope with it in writeToParcel() /
parcelable constructor. The simplies approach is may be to simple iterate
over array write each entry to parcel. Of course it depends on what you got
in your ArrayList, if it's something build for by-default-supported types
they you are simply done.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Target activity Launchmode - singleTask

2012-03-13 Thread Marcin Orlowski

 Is there any API/work around to know the target Activites lauchnmode,
 so that I can avoid calling target actitvity and display an error
 message to user.


You may need to write your own chooser (if you use it) and then use
PackageManager to find that out and filter out apps that you do not want
user to call. Alternatively, depending on what apps you call for results, I
believe it might be also suitable to check for presence of certain packages
on user device and warn him about described problem in advance.

Is there any flag/configuration that overrides target activity's launchmode
 ie singeltask?


Don't think so regular app could do that.


Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] dynamically change the content of android mobile

2012-03-13 Thread Marcin Orlowski

 Yes i am using json webservice.please see this link
 192.168.100.9:8000/sample1.php


Are you trolling, or what?

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 13 March 2012 11:10, ramalakshmi krishna.veni...@gmail.com wrote:





 Hi!
 Yes i am using json webservice.please see this link
 192.168.100.9:8000/sample1.php
 please explain me how can i use the child thread.
 I think its my solution.but I cant.can you explain me with an example.

 --
 ramalakshmi




 --
 ramalakshmi

  --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Getting graphical buttons to line up in xml

2012-03-13 Thread Marcin Orlowski
On 13 March 2012 13:57, decastro reis...@gmail.com wrote:

 I have a custom popup window with a custom image background in which I
 need to place a custom button with its own background image. I want the
 poput window to be scaled so as to take up a fixed fraction of the screen
 width. My question now is how do I make sure that the buttons line up with
 the appropriate parts of the background image of the popup window. I have
 been experimenting with all sorts of widths and heights and I can not make
 it look consistent on all my test devices. Can anyone give me some pointers?


get position and size of the object you want bind to (with
parentView.getMeasuredWidth(); etc) and then use it to position your
PopupWindow around.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Setting android:layout_alignParentTop from code?

2012-02-21 Thread Marcin Orlowski
Hi,

I am trying to set android:layout_alignParentTop and
android:layout_alignParentLeft on view I create from code but I do not see
a way to achieve that. Am I missing something or these params can only be
set in XML?

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Problem with manual positioning of RelativeLayout childs

2012-02-21 Thread Marcin Orlowski
Hi,

I got a relative layout to which I want to add some manually positioned
childs. The thing I failed
to do correctly now is the latter - enforcing certain position of the
child. If anyone knows
what I am doing wrong...

My parent layout:

RelativeLayout
android:id=@+id/container
android:layout_width=fill_parent
android:layout_height=110dp 
/RelativeLayout

the child empty linear layout, inflated (because I am not sure I can
set layout_alignParentXXX from code...) from this XML (box.xml):

LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=50dp
android:layout_height=50dp
android:layout_alignParentTop=true
android:layout_alignParentLeft=true

/LinearLayout

My idea of placing it whenever I want is to adjust layout_marginTop and
layout_marginLeft.
This is what I do:

   RelativeLayout containerView = (RelativeLayout)findViewById(
R.id.container );
   LinearLayout l = (LinearLayout)this.getLayoutInflater().inflate(
R.layout.box, null);

   l.setBackgroundColor( getResources().getColor( R.color.red ) );

   MarginLayoutParams params = new ViewGroup.MarginLayoutParams(50, 50);
   params.setMargins(50, 70, 0, 0);
   l.setLayoutParams( params );

   containerView.addView( l );

In result I got layout added but at left/top corner (0,0) not at (50,70). I
also tried

   containerView.addView( l, params );

but no effect. Ideas?

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Problem with manual positioning of RelativeLayout childs

2012-02-21 Thread Marcin Orlowski
The culprit was this line:

  MarginLayoutParams params = new ViewGroup.MarginLayoutParams(50, 50);

since my parent is RelativeLayout, it should like this:

RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(50,
50);

and it all works now. Thanks guys.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Setting android:layout_alignParentTop from code?

2012-02-21 Thread Marcin Orlowski
On 21 February 2012 14:53, Marcin Orlowski webnet.andr...@gmail.com wrote:


 I am trying to set android:layout_alignParentTop and
 android:layout_alignParentLeft on view I create from code but I do not see
 a way to achieve that. Am I missing something or these params can only be
 set in XML?


For archiving purposes:

LinearLayout l = new LinearLayout(this);
RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(50,
50);
params.addRule(RelativeLayout.ALIGN_PARENT_LEFT);
params.addRule(RelativeLayout.ALIGN_PARENT_TOP);
l.setLayoutParams( params );

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Setting android:layout_alignParentTop from code?

2012-02-21 Thread Marcin Orlowski
Hi,

Yep, addRule() is what I need. I already found that. Thanks anyway.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*



On 21 February 2012 15:52, Kookamonga site...@yahoo.ca wrote:

 I think I can be a bit more helpful. You basically have to use the
 addRule method of RelativeLayout.LayoutParams as shown here:


 http://android-coding.blogspot.com/2011/06/set-relativelayoutalignparenttoprelativ.html

 On Feb 21, 9:43 am, Kookamonga site...@yahoo.ca wrote:
  https://www.google.com/webhp?ion=1#hl=enoutput=searchsclient=psy-a...
 
  On Feb 21, 8:53 am, Marcin Orlowski webnet.andr...@gmail.com wrote:
 
 
 
 
 
 
 
   Hi,
 
   I am trying to set android:layout_alignParentTop and
   android:layout_alignParentLeft on view I create from code but I do not
 see
   a way to achieve that. Am I missing something or these params can only
 be
   set in XML?
 
   Regards,
   Marcin Orlowski
 
   *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule
 handy...
   *Date In Tray* http://bit.ly/dateintraypro - current date at
 glance...
   WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
   *Google+*http://bit.ly/webnetmobile-gpand
   *Twitter http://webnetmobile.com/twitter/*

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Adjusting listview row's items depending on final layout

2012-02-14 Thread Marcin Orlowski
Hi,

I got a listview and each rows is built from two textviews. I now would
like to enforce certain behaviour of these textviews depending on their
layout - if text in 1st textview took 1 row, then I want to set 2nd's
maxLines to 3. If 1st's took 2 rows, then 2nd maxLines should be 2. I want
to do that to take benefig of ellipsis feature. My question is how can I
acheive what I want it smart and efficient way? It'd be perfect to be able
to do so in adapter's getView() but there's no layout yet at that moment.
Hints?

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
*Google+*http://bit.ly/webnetmobile-gpand
*Twitter http://webnetmobile.com/twitter/*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re:[android-developers] faster android games

2011-12-31 Thread Marcin Orlowski
You should read what obfuscation is and how proguard works first.
 On Dec 31, 2011 11:39 PM, bob b...@coolfone.comze.com wrote:

 Can I make my android games faster by somehow telling proguard not to
 obfuscate my stuff?

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] ACTION_TIME_CHANGED and ACTION_DATE_CHANGED old time detection

2011-11-07 Thread Marcin Orlowski
On 7 November 2011 09:51, Eugene Paschenko epasche...@gmail.com wrote:

 I am using ACTION_TIME_CHANGED and ACTION_DATE_CHANGED. onReceiver
 calling after time was changed and I call System.currentTimeMillis()
 and got new time. How I can get old time or delta time?


You can't as there's no old time concept there. You simply get
notification that time has changed and that's it.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] New SDK Manager (14) do not recognise JDK JAVA path on windows 7

2011-10-20 Thread Marcin Orlowski
No. It works here. Ensure you got java related env vars set correctly.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*



On 19 October 2011 19:49, Alanbluefox alanblue...@gmail.com wrote:

 I have windows 7 computer and I try to upgrade to the new SDK (from 13
 to 14). But the SDK manager told me he can't find the JAVA path.
 However All the other program could find it! I could run javac on
 command line, and my eclipse could RUN my test java program. So it's
 only the SDK who does not work anymore!  I am stucked; Could anyone
 check it? Do you have the same problem?

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android 4, new developer section.

2011-10-20 Thread Marcin Orlowski
isn't info below each option sufficient?

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*



On 21 October 2011 03:04, sblantipodi perini.dav...@dpsoftware.org wrote:

 Hi, in ICS I have seen a developer section under the settings with
 many options.
 Is there a guide that explains what this options are used for?

 Thanks.

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] SDK problem

2011-10-07 Thread Marcin Orlowski
Use zipped SDK, not .exe (with installer). Known issue.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*



On 6 October 2011 18:56, Wojciech wojciech270...@gmail.com wrote:

 Hi everyone who's reading this. I've recently tried to install all
 packages as it's specified but my sdk can't find the path to jdk. I'm
 running win 7 64 bits and Eclipse can handle that. How to I add
 another environment variable or modify existing one?

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Setting Screen Orientation in Service!!

2011-10-05 Thread Marcin Orlowski
And why you want to enforce certain screen orientation for non UI element
like service? It's makes no much sense. If you really need certain
orientation for your *Activity*, enforce it there, either via code or
manifest. Otherwise keep your hands off of this unless you love users to
give you names.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*



On 4 October 2011 19:05, Sebastian Tomaszewski stomasze101...@gmail.comwrote:

 Guys,
 Would you by any chance know if there is a way to set a Screen Orientation
 in Service?   What I want is to set my android device to a specific
 Orientation at all times.   The orientation that I am setting it too is not
 available currently on my device, but I can set it programmatically   My
 thought was to set the Service in the background at all times which will
 keep that orientation.   I don't want to root my device... Unless you guys
 think that there are some other ways to do this...

 Any suggestions?  Please let me know.


 Thank you and Best Regards,


 Sebo

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] android upgrading to 3.0?

2011-10-03 Thread Marcin Orlowski
Then you can't now unless other carriers did that and someone ripped what's
needed for your device. Search xda-developers forum

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Plugin development for Gtalk

2011-09-13 Thread Marcin Orlowski
On 13 September 2011 10:13, Anndy see.n...@gmail.com wrote:

 Hi Guys,

 Is there a way supported for external community to extend the
 capabilities of gtalk by writing plugins for it? These plugins can use
 the currently active session of gtalk and help adding more and more
 capabilities to gtalk.


AFAIK no. You might want to port/use one of existing XMPP IM apps

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to create private folders in sdcard?

2011-09-13 Thread Marcin Orlowski
  Then can you please help me out with an example.

 Please quote the right way
 Just create an empty file in your folder named .nomedia


You are NOT making folder private. It just makes Gallery skipping. Other
apps may ignore .nomedia file and still show the images. If you want data
private you may (depending on what data really is and how private is shall
be) store it in app folder, not SD card or use own file format or use own
file container or...

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] apk android 2.2 to 2.1

2011-09-13 Thread Marcin Orlowski
On 11 September 2011 08:32, puppystad maartenhond...@gmail.com wrote:

 Hy,

 I want to download use a android 2.2 app, but i have android 2.1. When
 i ll install the app ther is a parseer error. Is ther a converter from
 2.2 to 2.1 apk?


Yes. It's called firmware upgrade.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Which JDK version I need?

2011-08-17 Thread Marcin Orlowski
On 16 August 2011 11:48, Harris Hussain harris.huss...@gmail.com wrote:

 I have Windows Vista 32-bit. Which JDK version I have top Install ??


The latest?

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] will SDK 7 speedup development ?

2011-08-01 Thread Marcin Orlowski
what bugs exactly? i faced none so far

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Conversion to dalvik format failed with error 1 - is dexing logged?

2011-07-31 Thread Marcin Orlowski
Conclusion: if you face this, blame proguard that comes with r12 tools
(v4.4). Simplest solution is to grab v4.6 from proguard website and just
replace files in SDK\tools\proguard\lib from these found in 4.6 archive.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Resources.getColor() return type is too small

2011-07-31 Thread Marcin Orlowski
On 31 July 2011 15:13, Olivier Guilyardi l...@samalyse.com wrote:

How comes Resources.getColor() returns an int? This can't hold the maximum
 value
 of 0x because Java int is signed.


Java does not offer unsigned so you're right, you will get negative value
if you i.e. Log.i(() it, but that's not really important as it's just matter
of *interpretation* of the value. All bits of 0x are the same no
matter if you *treat* it as signed or unsigned int and this is what matters.

PS: but if you want example of how to incorrectly cope with such case see
android:versionCode - it's int and Market will complain if you set it to
i.e. 201107311521, which is kinda lame.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Conversion to dalvik format failed with error 1 - is dexing logged?

2011-07-31 Thread Marcin Orlowski
On Jul 31, 2011 4:04 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 http://code.google.com/p/android/issues/detail?id=18359

you mean .bat change? did not worked for me (plus afaik it's wrong
approach). still it's worth updating proguard anyway - 4.4 is dated
february, and 4.6 is lastest

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Conversion to dalvik format failed with error 1 - is dexing logged?

2011-07-30 Thread Marcin Orlowski
Hi,

Is there any easy way (with Eclipse) to find out what exactly caused this
error? Project was building for ages just fine, and now it causes this error
when I try to export signed apk. I am wondering what code exactly is a
culprit (is it logged anywhere?). The app uses only one external lib but
it's libGoogleAnalytics.jar and I used it since v1.0 without problems. Of
course I've tried updating it (to v1.12) and removing it completely from the
project but it all still fails. Tried clearing project, disabling Skip
packaging and dexing... and any combinations I imagined - no success. The
only things (unfortunately more than one) that changed since my last release
are: SDK/ADT, Eclipse (was 3,6 now 3.7) and I switched to Win 7/64 bit from
XP/32 bit. Any hints (I cannot rollback to previous SDK at the moment)?

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Conversion to dalvik format failed with error 1 - is dexing logged?

2011-07-30 Thread Marcin Orlowski
On 30 July 2011 15:28, Marcin Orlowski webnet.andr...@gmail.com wrote:

 Hi,

 Is there any easy way (with Eclipse) to find out what exactly caused this
 error? Project was building for ages just fine, and now it causes this error
 when I try to export signed apk. I am wondering what code exactly is a
 culprit (is it logged anywhere?). The app uses only one external lib but
 it's libGoogleAnalytics.jar and I used it since v1.0


I narrowed this down to be ProGuard related.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Need help diagnosing problem

2011-07-30 Thread Marcin Orlowski
tried using ACRA? may help to catch the bug (as users are usually less than
useful)
 On Jul 30, 2011 6:28 PM, bob b...@coolgroups.com wrote:


 My stuff is getting really low ratings partly because it doesn't work
 on certain phones.

 Can someone take a look at my app here and help me figure it out?


https://market.android.com/details?id=com.coolfone.sonicboomfeature=search_result

 If you have an HTC Eris, this would be especially helpful.

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Extending Interface of Dynamically Loaded Dex File

2011-07-29 Thread Marcin Orlowski
On Jul 28, 2011 9:42 PM, Matt mattg...@gmail.com wrote:


  maybe this will be of any helphttp://
android-developers.blogspot.com/2011/07/custom-class-loading-i...

 Thanks for the pointer.  But that page describes the method I am using
 to load and run the plugin, but doesn't say much about where the
 interface classes should be loaded or how I could update the interface
 that the loaded classes implement without making changes to the client.

I'd contact that guy who wrote the that article...

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Extending Interface of Dynamically Loaded Dex File

2011-07-28 Thread Marcin Orlowski
On Jul 27, 2011 8:05 PM, Matthew Yeo mattg...@gmail.com wrote:

 Hello,

 I have created an application that dynamically loads plugin style
 functionality using a DexClassLoader.  My application is organized as
 follows:

maybe this will be of any help
http://android-developers.blogspot.com/2011/07/custom-class-loading-in-dalvik.html

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Capture Screen Programmatically?

2011-07-26 Thread Marcin Orlowski
You must be rooted on most devices to get access to /dev/fb.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android 2.3.3

2011-07-26 Thread Marcin Orlowski
This is developer forum not not HTC support board. Contact HTC support

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*Groups Android Developers group.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Film Use of Android Device

2011-07-26 Thread Marcin Orlowski
On 26 July 2011 00:47, lbendlin l...@bendlin.us wrote:

 If you have a rooted phone and a large SD card  you could run a background
 service that grabs the /dev/graphics/fb0  raw images and stores them for
 later conversion. Or you convert it on the fly to png - but that might
 stretch it already.


ShotMe app does that. Not 30fps but useable.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] starting service from launch icon

2011-07-25 Thread Marcin Orlowski
Don't set any layout for the activity. Use NoDisplay theme.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] socket program for ndk based

2011-07-25 Thread Marcin Orlowski
Ask on android-ndk group

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*



On 25 July 2011 12:43, vigneshwaran s vigns.w...@gmail.com wrote:

 hello everyone

 i need simple client server socket program android in ndk based.
 can any one post the simple program or send me a link .


 with regards
 vigneshwaran s

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] filter?

2011-07-25 Thread Marcin Orlowski
On Jul 25, 2011 9:23 PM, bob b...@coolgroups.com wrote:

 What does filter mean in this function?

my blind guess it enables bilinear filtering (or so) which slightly
decreases performance, but gives better results especially when scalling
down. but you shall peek in the sources anyway to verify.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] apk submodules

2011-07-25 Thread Marcin Orlowski
On Jul 25, 2011 4:49 PM, nalitzis adolfo.bulf...@gmail.com wrote:

 Here's my problem: when the app is finished, it will be distributed in
 the android market. Is it possible to include the subcomponents as
 separate apk on the market?

'include' is rather opposite to 'separate' :)

 If yes, how can the main container check
 if the subcomponents are installed on the device?

depends on what is your app and the plugins really doing and what is yoyr
api.

 And if they are not
 installed on the device, how can ask the user to download and install
 them?

ask plugin devs to add certain string to i.e. name of their plugins and just
invoke Market with search on that - shall list all plugins

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] starting Activity in tabbed UI from onTabChangedListener()

2011-07-24 Thread Marcin Orlowski
Hi

I got tabbed UI, where I use own tab layout by utilising
TabSpecs.setContent() to provide custom layout. As I wanted tab content to
be Activites not Views, I set onTabChangedListener() to do the job, with no
much success:

public class MainActivity extends TabActivity {
 onCreate() {

mTabHost = (TabHost)findViewById(android.R.id.tabhost);
mLocalActivityManager = getLocalActivityManager();
mTabHost.setup(mLocalActivityManager);
}
}

and listener:

public void onTabChanged(String tag) {
intent = new Intent().setClass( context, NextActivity.class);
mLocalActivityManager.startActivity(tag, intent);
}

Listener's onTabChanged() is called, but nothing else happens, nor crashes,
nor logs. Hints?

PS: I also failed to follow reasoning why seting intent (so the content tabs
points to) equals setting view of tab itself (it all falls under
ContentStrategy in TabHost).
PPS: Fragments, I know, I know.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: starting Activity in tabbed UI from onTabChangedListener()

2011-07-24 Thread Marcin Orlowski
Thanks. This is temporary approach which I am going to rewrite for fragments
later, but as for now, sucks or not, it have to be that way., hence my
question (despite of knowing what deprecated means ;)

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: starting Activity in tabbed UI from onTabChangedListener()

2011-07-24 Thread Marcin Orlowski

 See what mLocalActivityManager.startActivity() returns. You have to
 attach returned Window (or its root View) to your tab


Thanks. That's was what I missed. For reference (lamest approach):

final Window window = mLocalActivityManager.startActivity(tag, intent);
mTabContent.removeAllViews();
mTabContent.addView( window.getDecorView() );

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-07-22 Thread Marcin Orlowski
On 22 July 2011 10:11, gjs garyjamessi...@gmail.com wrote:

I was sort of hoping it might also be applicable to supporting
 different apk's for different languages/internationalization/
 localization but perhaps that is just too many permutations to split
 the filtering.


Assets usually takes much more space than your translation files, so IMHO
users won't really benefit from such split based on languages.

Wish ADT helps with split-build though.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Info about android

2011-07-11 Thread Marcin Orlowski
On 9 July 2011 10:00, fox alessandra.tara...@gmail.com wrote:

 I'm a SW developper and I'm very interesting to upgrade my
 knoledgement about Android.

 I have experence in GSM developper application and GSM Protocol stack.

 Please Could you indicate me where I can find information (document
 and code) about Android and Telephony GSM services.


as usually, at http://developer.android.com

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] service icon

2011-07-10 Thread Marcin Orlowski
On 10 July 2011 13:59, kamiseq kami...@gmail.com wrote:


 I added an icon to my service but is not visible or at least I cannot
 find it :/ can someone give my example where I could use it


I believe it shall appear at system settings - applications - running
services.
But I'd suggest to leave this attribute unset (thus falling back to app's
icon)
to not confuse your users too much.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Unable to run the streaming video - URGENT CRITICAL

2011-07-09 Thread Marcin Orlowski
On Jul 8, 2011 12:20 PM, BZ zaverch...@gmail.com wrote:

 Its urgent and critical

no, it isn't.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] More Market questions

2011-07-03 Thread Marcin Orlowski
On Jul 3, 2011 4:08 PM, Spooky spooky1...@gmail.com wrote:

 Sorry for this...more Market questions.

 1) Is the download count that users see in the Market app based
   on total installs, or active installs?

looks like total

 2) If it's based on active installs, and given that active
   install counts are still broken (showed zero for a while when
   I had confirmed that at least one user has definitely not
   uninstalled), how does anyone maintain a consistent number?
   Or do they?  Statistics on active installs also show no
   installs from India, which means it's missed at least one
   (Yes, I've already been told that the statistics are basically
   useless...still curious how all of this is SUPPOSED to work.)
   :-)

it's updated with some sort of delay.

 3) Here's a big one:  in individual categories/subcategories (in
   my case, Apps/Photography), how many installs (or would that
   be active installs) does an app need to survive?

0

 4) Same question, except regarding the number of ratings/comments,
   not installs.

0

 5) If there is such a number, and an app falls below it, is there
   a way to revive it, re-publish it in the Market, etc.?  Or is
   it just dead?

it stays (most likely) forever, unless you unpublish it (or google remove it
for any tos violation).

 6) Am I correct in my assessment that most users only leave
   comments when they're either very satisfied or very
   disssatisfied?  (i.e., far fewer comments from users who fit
   between those two)

i do not see any sane pattern in my case. Great app acompanied with just 3
stars is one example.

 7) And finally, is there a way to view what the user sees on
   their device in the Market for my app via a web page?  Or do
   I only have the developer's console?

the see the same you see on your device.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Screen sizes and precise element placement.

2011-06-30 Thread Marcin Orlowski

 PS: I have also another question that is a little bit connected: how
 to distinguish 480x800 and 480x854, or 240x400 and 240x432 to provide
 different drawables for them?


There's no difference in DPI between 480x800 and 480x854 or 240x400 and
240x432
so you can't. And you also should not bother (as long as your layout is
designed
right)

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Screen sizes and precise element placement.

2011-06-30 Thread Marcin Orlowski
On 30 June 2011 11:58, Serdel adam.lichwierow...@gmail.com wrote:


 PS: I have read the 'Supporting Multiple Screens' article from
 dev.android.com, so please don't paste the link. I tried to read it
 carefully but if you think I must have missed sth. than feel free to
 point out where is the answer to my problem on that site.


Why not start using dip instead of dp? read device's screen density,
multiply your dip values by it and you got dp values that matches your
screen. Could be you miss one pixel or so due to some rounding, but it shall
be much less hassle contrary to what you are recently doing.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Fireworks app

2011-06-30 Thread Marcin Orlowski
On 30 June 2011 09:37, Ali Chousein ali.chous...@gmail.com wrote:

 Congratulations!!! I also uploaded to Youtube the most fantastic goal
 I ever scored in indoor soccer. Would you like to watch it?


Do I need iPad?

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How get button event in Notification panel?

2011-06-29 Thread Marcin Orlowski
On Jun 29, 2011 8:17 AM, shubh shubhampatn...@gmail.com wrote:

 hi thanks Murphy,

 so is there any other way to get two events from Notification panel.

not on pre 3.x

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-06-29 Thread Marcin Orlowski
iconia does not mount as usb drive same way most devices do, so i'd blame
their drivers here if oddities occur.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to deal with bulk licensing?

2011-06-29 Thread Marcin Orlowski
i'd go with own server (assuming 'bulk' means figures justyfying all the
efforts) or with special builf just for them. creating one shareable email
is wrong as you got no control on number of installations
On Jun 28, 2011 11:58 PM, Justin Anderson magouyaw...@gmail.com wrote:
 You could do the following:

 - Have them create a company-wide gmail account: companyn...@gmail.com
 - On launch of your app, make sure that the specified account is on the
 device
 - If it is not do the normal license checking
 - If it is, bypass the normal license check and unlock the app

 Admittedly, it is not the most elegant approach... but it is a lot less
work
 than implementing your own license server.

 Perhaps you could do the above as an interim solution while you look for
 something more robust like building your own license server.

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Tue, Jun 28, 2011 at 2:52 PM, Ab abe.oppenh...@gmail.com wrote:

 A company would like to purchase a large number of licenses of my
 application. They do not want to have individual device users make the
 purchase on their individual Google accounts. Also, I would prefer not
 to build them an unlocked apk out of fear of it being distributed. Do
 I have any intelligent option other then implementing some sort of
 license server, providing them with license keys, and associating
 license keys to device ids?

 I searched a lot for solutions, but could not find anything. Any
 advice would be helpful.

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Noob Questions (Probably Embarressing)

2011-06-29 Thread Marcin Orlowski
On Mon, Jun 27, 2011 at 11:12 PM, MissNoob madam.ge...@gmail.com wrote:

  I'm a complete noob, so I apologise in advance if my questions reveal
 my total ignorance of what I am doing.  :-)



You are asking so basic and elementary question that imho right answer for
you is: hire someone who knows what it is all about. You are not a
programmer and you will not work it out yourself.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to read/write launcher.db?

2011-06-29 Thread Marcin Orlowski
You can't unless launcher offers ContentProvied for this (most likely it
does not). Or be rooted for that.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Is it possible to fix the orientation of a particular view in Honeycomb?

2011-06-29 Thread Marcin Orlowski
On 28 June 2011 12:10, Neil wan...@gmail.com wrote:

 Hi guys,

 In my activity I have a SurfaceView which I want to lock the
 orientation when rotating the device. But I still want other views in
 the activity to be rotated with the device which means I can not use
 Activity.setRequestedOrientation to lock the orientation. So is there
 a way to achieve this?


I am afraid you can't lock just view with framework but rotate the activity.
You may want to listen to orientation change and rotate the view in code, so
no matter what's device orientation, your view will remains 'unchanged'. And
do not foget to care rotation right (so user can rotate the activity around
the clock, not just 90 degs)

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to change application not STOPPED in 3.1

2011-06-29 Thread Marcin Orlowski
On 29 June 2011 11:23, James Wang jameswangc...@gmail.com wrote:


 So if my app include only services and there is no shortcut for it in
 launcher, user have no way to let it back, right?

How can I to resolve such problem?


Add one?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] install package programingly without any system prompt

2011-06-29 Thread Marcin Orlowski
On 29 June 2011 14:02, Ellen ellen...@hotmail.com wrote:


 I need to install the apks only by one choice at the very begining,
 then it will install all of them automatically without any prompt
 during the process. What should I do?


Nothing. You can't silently install any app.

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android apps in php

2011-06-28 Thread Marcin Orlowski
On 28 June 2011 10:18, Kostya Vasilyev kmans...@gmail.com wrote:

 Huh?


sarcasm is what you just missed :)

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Finding out more Cancel information in Developer Console

2011-06-27 Thread Marcin Orlowski
  I'm pretty sure one of the questions ask when they cancel is Why?

 Yes - uninstalling an app via the Market client prompts the user to
indicate why they uninstalled.

you can skip this 'form' though as it is optional

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Comments and Contacting Users

2011-06-27 Thread Marcin Orlowski
On 26 June 2011 23:58, Adam Ratana adam.rat...@gmail.com wrote:

 How do you review your own _paid_ app?


Just buy it :)

This would be handy to respond
 to some comments, but Im not able to purchase my own app to do so.  Or
 were you just referring to free apps?


There's many things that fall into would be handy category, but it's
Android Market,
so it's most handy when it works at all :)

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Comments and Contacting Users

2011-06-27 Thread Marcin Orlowski
On 27 June 2011 17:37, Adam Ratana adam.rat...@gmail.com wrote:

 Yes, as I said I cannot buy it, for me, the market does not allow me to
 purchase from myself, that's the message I receive.  I'll try removing all
 market updates.


Register new account and use it for the purchase. Anyway, I wonder what is
this restriction really for...

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Comments and Contacting Users

2011-06-26 Thread Marcin Orlowski
On Jun 26, 2011 2:20 AM, Daniel Drummond dmdrummo...@gmail.com wrote:

 probably to ensure the integrity of the reviews

would be good to have any design there...

 (no comeback for giving a bad review).

you can clear your review and the write new one. same for rating - see
Market menu on app's details page

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

  1   2   3   4   5   6   7   8   >