[android-developers] Re: Strange behaviour with mediaplayer and seekTo (on start-up)

2013-04-05 Thread paresh mayani
Did you solved this issue? On Wednesday, 16 June 2010 10:23:49 UTC+5:30, Mathias Lin wrote: I'm implementing a custom video player because I need custom video controls. I have an app with only one activity, which on start-up shall starts playing a video right away. Now, the problem I

[android-developers] Re: Different layout for Different screen sizes.

2013-01-22 Thread paresh mayani
I doubt the density of the device you are playing with. I would suggest you to check the density of the device by using: DisplayMetrics dm = context.getResources().getDisplayMetrics();int densityDpi = dm.densityDpi; Check for more info:

[android-developers] Android - How do we make notification visible once application is installed?

2011-03-18 Thread paresh mayani
Hi, As per my this question, i have written the below code to show notification and also made a notification steady at the notification bar. private void showNotification() { CharSequence title = Hello; CharSequence message = Notification Demo; NotificationManager

[android-developers] Android - How do we make notification visible once application is installed?

2011-03-18 Thread paresh mayani
Hi, As per my this question, i have written the below code to show notification and also made a notification steady at the notification bar. private void showNotification() { CharSequence title = Hello; CharSequence message = Notification Demo; NotificationManager

Re: [android-developers] Re: pdf reader

2010-12-29 Thread paresh mayani
If i m not having third party pdf application installed in the android device then? ?? On 29 Dec 2010 13:26, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: This is my onclick code public void onClick(View v) { // TODO Auto-generated method stub Intent i = new

[android-developers] Re: Display Calendar Instance

2010-11-23 Thread paresh mayani
Thanx for the support, but can you let me know where i found the Android source for the Calendar instance pls pls let me know On Nov 23, 9:38 pm, TreKing treking...@gmail.com wrote: On Mon, Nov 22, 2010 at 5:47 AM, paresh mayani pareshmay...@gmail.comwrote: what i should do to display

[android-developers] Display Calendar Instance

2010-11-22 Thread paresh mayani
Hello all, i have referred the example given on: http://goo.gl/1uxXv , But it is not showing the exact DatePicker dialog as given in the book example, what i should do to display the same dialog box or Calendar instance in my application ?? pls Help me -- You received this message because you

[android-developers] Android calendar control

2010-11-17 Thread paresh mayani
Hello, I have referred the article (at http://www.developer.com/article.php/3850276 ) for implementing the native calendar control, but i would like to display calendar also on the screen and also User can able to select date, and after selecting date user can also be able to event on that

[android-developers] Re: Rapidly load data on Re-launch of an Activity

2010-11-16 Thread paresh mayani
immediately after the user leaves the activity, so there is still value here. -- Kostya 12.11.2010 16:05, paresh mayani пишет: Hello all, Actually, i am fetching XML from the web, parsing it and display it on the screen. The problem which i am getting is that the activity tries

[android-developers] Re: Rapidly load data on Re-launch of an Activity

2010-11-16 Thread paresh mayani
database. That will be considerably faster. On Nov 12, 6:05 pm, paresh mayani pareshmay...@gmail.com wrote: Hello all, Actually, i am fetching XML from the web, parsing it and display it on the screen. The problem which i am getting is that the activity tries to load the data from web

[android-developers] Rapidly load data on Re-launch of an Activity

2010-11-12 Thread paresh mayani
Hello all, Actually, i am fetching XML from the web, parsing it and display it on the screen. The problem which i am getting is that the activity tries to load the data from web each time the activity is called.(Actually, my mobile app requires frequent trips to the server) So i am in search of

[android-developers] Wireless settings dialog

2010-10-10 Thread paresh mayani
Hello, i am checking networking connection using the below code: public static boolean haveInternet(Context ctx) { NetworkInfo info = (NetworkInfo) ((ConnectivityManager) ctx.getSystemService(Context.CONNECTIVITY_SERVICE)).getActiveNetworkInfo(); if (info == null || !info.isConnected()) {

[android-developers] Android - Sliding Drawer to slide from Left-to-Right

2010-09-25 Thread paresh mayani
Hello all, I am trying to implement Sliding Drawer in my application using the below xml layout: LinearLayout android:id=@+id/LinearLayout01 android:layout_width=fill_parent android:layout_height=fill_parent xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Android - Large Application size (Memory) issue

2010-09-01 Thread paresh mayani
Hello all, I am facing the Memory related issues and i am searching the possible solution to this issues since last 2 weeks. Right now i have developed an android application for the personal perpose, whose size is 54 MB, from which 52 MB of only Images/Photos. So i want to install it on Android