Hi all,
I want to create a custom view.In which i want to have a background image,2
buttons,1 textview.
Can anybody tell me how to start with.
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to an
Try with other ctrl button ... if u have laptop ctrl+fn+F11 this should work
...
On Sun, Jun 20, 2010 at 7:59 AM, Jian Chen wrote:
> Guys,
>
> as u know, since android 1.6, there are not dirs on dirs like HVGA-L.
> Instead, there is only one dir like HVGA.
> That is, HVGA-P and HVGA-L are merged
Hi all,
in my application i have a functionality where a user can take photo and
poet it to a web server or select a photo from galerry and upload.
So initially i used to get below exception for the very* first time* i used
to select a photo:
Android: OutofMemoryError: bitmap size exceeds VM bud
Hi all
what is the thing called which is similar to progress dialog ... but for
image ( or say image view)
and how can i integrate that in the code ..
i am attaching the code files
__
--
You
Below is the code for posting data on a server ...
my problem is i want to show a progress dialog when i click on submit button
and dismiss it when data is posted ...
i have written code for that .. but the thing is the progress dialog comes
and goes ... and its hardly noticeable ..
i hope u
, Jun 12, 2010 at 4:59 PM, Mark Murphy wrote:
> On 06/12/2010 12:15 AM, pawan nimje wrote:
> > Hi All,
> >
> > When I click on a button i want to make entire screen disabled ... i.e
> > there are other buttons and text area ..which should get disabled ...on
> >
I tried this method [ Bitmap.createScaledBitmap].. its working ..but the
problem is aspect ratio is not maintained ...
On Thu, Jun 10, 2010 at 1:12 PM, Goran Genter wrote:
>
>
> On Jun 10, 6:20 am, pawan nimje wrote:
> >
> > Can you suggest some method to pre-scale the
Hi All,
When I click on a button i want to make entire screen disabled ... i.e there
are other buttons and text area ..which should get disabled ...on
a particular button click ..is it possible ??
--
You received this message because you are subscribed to the Google
Groups "Android Developers" g
> > From: android-developers@googlegroups.com [mailto:
> android-develop...@googlegroups.com] On Behalf Of pawan nimje
> > Sent: Thursday, June 10, 2010 2:39 AM
> > To: Android Developers
> > Subject: [android-developers] Placing a bitmap image in ImageView
> >
> >
Hi All,
I have a Bitmap image (bm) and a an ImageView (iv) of 50 by 50
when i do iv.setImageBitmap(bm) ... only a portion of the entire image is
seen ..How can i see the whole image in the 50 dip by 50 dip ImageView ..
any suggestion will do ..
--
You received this message because you are subs
Sounds cool ... will try ..
On Wed, Jun 9, 2010 at 12:37 PM, String wrote:
> On Jun 9, 5:03 am, pawan nimje wrote:
>
> > any kind of suggestion will do ..
>
> In your onClick event put your color changing code and a call to
> Handler.sendEmptyMessageDelayed(). The la
Hi All,
I have* two activities*,
*1st one* has a ques and 4 options.
*2nd one* is like a result page (... displaying if your ans is correct or
not ...and showing the right ans ..)
Now what i want is when a user clicks :
on a right option [or wrong option] ..i want to turn that Image button int
i dont know how to pass bitmap ... but what you can do is have a public
static bitmap in act A and access it from act B .. hopefully this should
solve the purpose ..
On Mon, Jun 7, 2010 at 11:54 AM, mike wrote:
> hi guys,
>
> i have a Bitmap image and i want to forward the bitmap to another
> ac
Hi all
I am opening camera from my application...and the orientation of camera is
Landscape... but i actually want it to be portrait ...
im using code from here:
http://snippets.dzone.com/user/Jbeer
any kind of help will do...
Thanks
--
You received this message because you are subscribed to
Hi All,
How can i use web cam with android emulator ??
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-d
hope this is what you meant.
On Sun, May 23, 2010 at 9:33 AM, John Gaby wrote:
> When my application starts, I call:
>
> this.requestWindowFeature(Window.FEATURE_NO_TITLE);
>
> to get rid of the title bar. I then create a custom ViewGroup and
> when set that view to be the content view via a
Hi All once again,
In xml we have android:layout_gravity ...
how can i set this for any view [say image button] ... from code ... plz
help ...any kind if suggestion will do ..
code:
ibMap = new ImageButton(getApplicationContext());
ibMap.setLayoutParams(new LayoutParams(width,height));
ibMap.
Hi All once again,
In xml we have android:layout_gravity ...
how can i set this for any view [say image button] ... from code ... plz
help ...any kind if suggestion will do ..
code:
ibMap = new ImageButton(getApplicationContext());
ibMap.setLayoutParams(new LayoutParams(width,height));
ibMap.
lemented by HttpPost
>
> On 14 May, 12:40, pawan nimje wrote:
> > I want to send a post request. This is what i have done-
> >
> > HttpClient client = new DefaultHttpClient();
> > HttpPost httpost = new HttpPost(POST_URL);
> > StringEntity se = new Strin
I want to send a post request. This is what i have done-
HttpClient client = new DefaultHttpClient();
HttpPost httpost = new HttpPost(POST_URL);
StringEntity se = new StringEntity(j.toString());
httpost.setEntity(se);
httpost.setHeader("Accept", "application/json");
httpost.setHeader("Content-type
I want to send a post request. This is what i have done-
HttpClient client = new DefaultHttpClient();
HttpPost httpost = new HttpPost(POST_URL);
StringEntity se = new StringEntity(j.toString());
httpost.setEntity(se);
httpost.setHeader("Accept", "application/json");
httpost.setHeader("Content-type
Hi All,
I have Activity based tabs...i.e i have used TabActivity,tabhost etc
Now when we switch between the tabs, for the 1st time the oncreate is called
and then after the onResume methode is called
I want to know what event/function, of the activity, is called when i click
on the the tab w
Hi All,
I have Activity based tabs...i.e i have used TabActivity,tabhost etc
Now when we switch between the tabs, for the 1st time the oncreate is called
and then after the onResume methode is called
I want to know what event/function, of the activity, is called when i click
on the the tab w
Hi All,
Check the image attached and let me know if its possible ...
6 tabs ... 4 above and 2 below ...
and if yes .. how??
PS : i have created 4 tabs [all above :) ] using extends TabActivity,tabhost
etc .
--
You received this message because you are subscribed to the Google
Groups "Android
Hi All,
Check the image attached and let me know if its possible ...
6 tabs ... 4 above and 2 below ...
and if yes .. how??
PS : i have created 4 tabs [all above :) ] using extends TabActivity,tabhost
etc .
--
You received this message because you are subscribed to the Google
Groups "Android
:47 PM, TreKing wrote:
> On Mon, May 10, 2010 at 11:46 AM, pawan nimje wrote:
>
>> hey Treking ... is there any way to find out the contents of Activity
>> Stack ..
>
>
> There should be a most recently used list somewhere - dig around the
> documentation (ApplicationI
sorry and thank u ...
On Mon, May 10, 2010 at 10:03 PM, TreKing wrote:
> On Mon, May 10, 2010 at 11:09 AM, pawan nimje wrote:
>
>> wat code should i write to make my back button behave like the emulators
>> ...
>
>
> finish().
>
> And please don't
10, 2010 at 11:24 AM, pawan nimje wrote:
>
>> I want to go back to previous activity
>> What code should i write for back button
>>
>
> How about finish() ?
>
>
>> plz dont suggest
>>
>> Intent i = new Intent(Constants.CountryContext, selectcountr
By
Intent i = new Intent(Constants.CountryContext, selectcountry.class);
>
startActivity(i);
>
i meant
Intent i = new Intent(getApplicationContext(), SomeClass.class);
>
startActivity(i);
On Mon, May 10, 2010 at 9:59 PM, TreKing wrote:
> On Mon, May 10, 2010 at 11:24 AM, pawan
I want to go back to previous activity
What code should i write for back button
plz dont suggest
Intent i = new Intent(Constants.CountryContext, selectcountry.class);
startActivity(i);
This creates the whole activity again ... which i dont want ..
i want somthing like emulators back button ..
Hi all
I have 3 activities
1: Welcome screen
2:List of country
3:Details abt that country
Now i want to from activity 3 to 2
Currently wat im doing is
Intent i = new Intent(getApplicationContext(), selectcountry.class);
startActivity(i);
This way the onCreate methode of 2nd activity is ca
Hi All,
Currently I have a TabHost implemented with 3 tabs each containing a
separate activity. My question is how do I switch between tabs from within
one of the activities that is located inside the tab host.
ie say i have a button inside one of the tabs[tab 1], when i click on this
button it s
Hi all,
i have a listview [custom (2 textview and 1 image) ] and i have a
filter(featues 1) for it
i.e when i type "a" in a textview (other than the above 2 mentioned) the
list contains only those name starting with a .
and i also have ascending / descending (features 2) button which when
c
Hi All,
Currently I have a TabHost implemented with 3 tabs each containing a
separate activity. My question is how do I switch between tabs from within
one of the activities that is located inside the tab host.
ie say i have a button inside one of the tabs[tab 1], when i click on this
button it s
>
> Hi all,
>
> i have a listview [custom (2 textview and 1 image) ] and i have a
> filter(featues 1) for it
>
> i.e when i type "a" in a textview (other than the above 2 mentioned) the
> list contains only those name starting with a .
>
> and i also have ascending / descending (features 2) bu
Hi all,
i have a listview [custom (2 textview and 1 image) ] and i have a
filter(featues 1) for it
i.e when i type "a" in a textview (other than the above 2 mentioned) the
list contains only those name starting with a .
and i also have ascending / descending (features 2) button which when
c
;
> On May 7, 9:42 am, pawan nimje wrote:
> > Hi i have a image in drawable folder and i need to get dimensions of that
> image.
> >
> > i tried BitmapFactory,getHeight etc but it is retunning me null
> >
> > plz help
> >
> > --
>
> BitmapF
will try that ...
On Fri, May 7, 2010 at 5:28 PM, Mark Murphy wrote:
> pawan nimje wrote:
> > Hi i have a image in drawable folder and i need to get dimensions of that
> image.
> >
> > i tried BitmapFactory,getHeight etc but it is retunning me null
>
&
Hi i have a image in drawable folder and i need to get dimensions of that image.
i tried BitmapFactory,getHeight etc but it is retunning me null
plz help
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
layout_height="fill_parent"
android:background="@color/white"
>
--->
On Fri, May 7, 2010 at 12:41 AM, TreKing wrote:
> On Thu, May 6, 2010 at 1:04 PM, pawan nimje wrote:
>
>> plz help ...
>
>
> With what? You didn
Hi All,
I have a textview and an imagebutton.
textview has the description about the image[which is there in imagebutton]
Now on clickin the image button i want the imagebutton to occupy the whole
screen and on clicking this i want the imagebutton back to normal position
plz help ...
--
You r
Hi kumar bibek,
thnx man ... it worked ..
btw where r u from..
-Pawan Nimje
On Thu, May 6, 2010 at 12:24 AM, Kumar Bibek wrote:
> Set this property for the List view
>
> #colorCacheHint = #
>
> Thanks and Regards,
> Kumar Bibek
>
> On May 5, 11:41 pm, pa
hi,
the below given listview goes black[not permanently] on touch and scroll.
plz help
On Fri, Apr 30, 2010 at 11:40 PM, pawan nimje wrote:
> hey thanks pal
>
> it worked
>
>
> On Fri, Apr 30, 2010 at 11:22 PM, Mark Murphy wrote:
>
>> pawan nimje wrote:
>>
hey thanks pal
it worked
On Fri, Apr 30, 2010 at 11:22 PM, Mark Murphy wrote:
> pawan nimje wrote:
> > Hi all,
> >
> > I am adding listview programmatically.
> > My code is as follow.
> >
> > <--- start
> >
> > LinearLayout ll
Hi all,
I am adding listview programmatically.
My code is as follow.
<--- start
LinearLayout llIn2 = new LinearLayout(this);
llIn2.setOrientation(LinearLayout.VERTICAL);
llIn2.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,
LayoutParams.FILL_PARENT));
ListView lv = new ListView(
Hey pankaj can you mail me your project i'll look into it n may i can
help you ..
-Pawan Nimje
On Thu, Apr 22, 2010 at 4:32 PM, Pankaj Deshpande
wrote:
> Hi all,
> I am working on a tab activity, and want images on each tab. I set
> indicators as a view and set Image
Hi,
I am having a custom listview [list with image and 2 textbox] and i
want to apply filter for it.
desc of cust listview:
1:Image i.e flag of country
2:1st textbox (name of country)
3:2nd textbox (name of continent)
so when i write " i " in a textbox [different from the ones mentioned
above
Hi,
I am having a custom listview [list with image and 2 textbox] and i
want to apply filter for it.
desc of cust listview:
1:Image i.e flag of country
2:1st textbox (name of country)
3:2nd textbox (name of continent)
so when i write " i " in a textbox [different from the ones mentioned
above
48 matches
Mail list logo