[android-developers] Set scroll to jquery mobile popup in android 2.2
I am using jquery mobile popup in my phonegap android app.I need to set the height to the popup and to scroll when the content exceeds in the popup.I have tried some code its working fine in android 4.0 but not working in android 2.2. click here Close Window rdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgfretwetsvgcnncchdrtrytyfjfhjgf css: .ui-popup { position: relative; overflow: scroll; } Script for setting height: $( "#popupBasic" ).css( "height","100px"); Please kindly guide me.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
[android-developers] textbox problem in android 4.0
Hi,I have designed the android phonegap app using jquery mobile.In android 4.0 when the textbox gets focused and trying to scroll the page,the textbox moves above header and footer.Please help me to solve this problem.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
Re: [android-developers] video uploaded from galaxy tab not playing
Thanks for your reply.Its playing in vlc media player,but not in strobe media player.But i captured video from other mobile devices, and its playing well in strobe media player.Please guide me. On Thursday, October 4, 2012 6:55:32 PM UTC+5:30, Lokesh wrote: > > Did u try running it with some other media player in the same tab? > On Oct 4, 2012 6:29 PM, "mohana priya" > > wrote: > >> I captured video from samsung galaxy tab (android), and tried to upload >> to server. i tried to play the video captured in galaxy tab in strobe media >> player,I can able to hear the audio,but video is invisible. >> >> When I try from other mobile devices, it's playing fine. Please kindly >> guide me. 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-d...@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] video uploaded from galaxy tab not playing
I captured video from samsung galaxy tab (android), and tried to upload to server. i tried to play the video captured in galaxy tab in strobe media player,I can able to hear the audio,but video is invisible. When I try from other mobile devices, it's playing fine. Please kindly guide me. 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
[android-developers] unable to open the local database in android
I have service in android,from that service i started an activity.I called the method inside the activity from service.In that method,i open the database and tried to insert the values.Without using database,its working fine.But my app getting force closed when i used database plugin(java file)-->service-->Activity(here i try to insert the data in database) **service.java** public class MyService extends Service { @Override public IBinder onBind(Intent intent) { return null; } @Override public void onCreate() { Log.d(TAG, "onCreate"); } @Override public void onDestroy() { Log.d(TAG, "onDestroy"); } public void onStart(Intent intent, int startid) { Timer mTimer = new Timer(user); mTimer.scheduleAtFixedRate(new mainTask(), 5000,6);//1 hour=3600 s } private class mainTask extends TimerTask { public void run() { toastHandler.sendEmptyMessage(0); } } private final Handler toastHandler = new Handler() { public void handleMessage(Message msg) { StorageHelper s=new StorageHelper(); String a= s.UpdateValues(userid); } }; } **Activity.java** public class StorageHelper extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } public String UpdateValues(int userid) { try { DBAdapter1 database=new DBAdapter1(this); database.open(); long id=database.insert(71,4,"yes"); database.close(); } catch (SQLException e) { } return "success"; } } **Note** when i open the database in oncreate its working,But inside the updatavalues() database cannot open to insert. try { DBAdapter1 database=new DBAdapter1(this); database.open(); long id=database.insert(71,4,"yes"); database.close(); } catch (SQLException e) { } i got two type of force close Error number 1 07-09 15:16:27.859: E/AndroidRuntime(1211): FATAL EXCEPTION: main 07-09 15:16:27.859: E/AndroidRuntime(1211): java.lang.NullPointerException 07-09 15:16:27.859: E/AndroidRuntime(1211): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java: 203) 07-09 15:16:27.859: E/AndroidRuntime(1211): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java: 98) 07-09 15:16:27.859: E/AndroidRuntime(1211): at com.app.mobilyzer.DBAdapter1.open(DBAdapter1.java:68) 07-09 15:16:27.859: E/AndroidRuntime(1211): at com.app.mobilyzer.StorageHelper.UpdateValues(StorageHelper.java:33) 07-09 15:16:27.859: E/AndroidRuntime(1211): at com.app.mobilyzer.MyService$1.handleMessage(MyService.java:121) 07-09 15:16:27.859: E/AndroidRuntime(1211): at android.os.Handler.dispatchMessage(Handler.java:99) 07-09 15:16:27.859: E/AndroidRuntime(1211): at android.os.Looper.loop(Looper.java:123) 07-09 15:16:27.859: E/AndroidRuntime(1211): at android.app.ActivityThread.main(ActivityThread.java:4627) 07-09 15:16:27.859: E/AndroidRuntime(1211): at java.lang.reflect.Method.invokeNative(Native Method) 07-09 15:16:27.859: E/AndroidRuntime(1211): at java.lang.reflect.Method.invoke(Method.java:521) 07-09 15:16:27.859: E/AndroidRuntime(1211): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:868) 07-09 15:16:27.859: E/AndroidRuntime(1211): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 07-09 15:16:27.859: E/AndroidRuntime(1211): at dalvik.system.NativeStart.main(Native Method) Error number 2 07-09 15:16:36.889: E/AndroidRuntime(1237): FATAL EXCEPTION: main 07-09 15:16:36.889: E/AndroidRuntime(1237): java.lang.RuntimeException: Unable to start service com.app.mobilyzer.MyService@44fc6280 with null: java.lang.NullPointerException 07-09 15:16:36.889: E/AndroidRuntime(1237): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3063) 07-09 15:16:36.889: E/AndroidRuntime(1237): at android.app.ActivityThread.access$3600(ActivityThread.java:125) 07-09 15:16:36.889: E/AndroidRuntime(1237): at android.app.ActivityThread$H.handleMessage(Activi
[android-developers] How to change the design size of the application for each and every mobiles
I have designed my phonegap android application using html and javascript.This application is for mobile.So i want to know how to get the same design size in all the mobiles.Is there any settings available.Please tell me the solution.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
[android-developers] application with same size in all the mobile
I have created the phonegap android application.I need to get the application with same design size in all the mobile.Please tell me the solution.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
[android-developers] how to retrieve contact image from contacts in android phonegap application
Hello Android developers.In my android phonegap application, i want to retrieve the contact image from contacts in the android mobile using javascript.Please tell me how to do so.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
[android-developers] types of emulators
Hello android developers.For Motorola,Samsung etc. is there different emulator for each in android.If so please tell me how to get the emulator for Motorola.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
[android-developers] emulator for motorola droid x
Hello android developers.can u please tell me How and where to download the motorola droid x emulator for android application with phonegap.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
[android-developers] Re: How to call the activity class
Thanks for your reply.My application is phonegap in android.I need to call the activity class from the class which extends plugin in android phonegap application.How to do so.I have used the intent.but startactivity(intent) is undefined inside the plugins.Please tell me the solution.Thanks in Advance. On Nov 25, 9:40 pm, Kumar Bibek wrote: > Your question is not clear. > > Please clarify by giving more details. > > On Nov 25, 7:21 pm, mohana priya wrote: > > > Hello android developers.I need to call the activity class inside the > > java class,because i need to do the application in phonegap.Please > > tell me the solution.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
[android-developers] How to call the activity class
Hello android developers.I need to call the activity class inside the java class,because i need to do the application in phonegap.Please tell me the solution.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
[android-developers] to start an activity
Hello android developers.I want to know whether we can start the activity life cycle manually in android.Please reply me.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
[android-developers] video stream using rtmp
Hello In my android application i need to publish the video file to the server using rtmp client.I want to know whether it is possible to do streaming in android using rtmp.If so how to do.Please give me the code.Kindly help me.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
[android-developers] video file publishing in android
Hello android developers.I need to create an application for video file publishing to the server in android using rtmp client. Here is the sample code which i have tried http://code.google.com/p/android-rtmp-client/downloads/detail?name=rtmp_client_src.zip&can=2&q= first i have tried this sample code in java using rtmp client and it works fine.The same code i have tried in android by creating the object of the java class,but am getting the error caused by java.lang.NullPointerException at org.apache.harmony.nio.internal.SelectorImpl.wakeup(SelectorImpl.java: 418) at org.apache.mina.transport.socket.nio.NioSocketConnector.wakeup(NioSocketConnector.java :295) at org.apache.mina.core.polling.AbstractPollingIoConnector.connect0(AbstractPollingIoConnector. java:345) at org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java: 262) at org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java: 172) at org.red5.server.net.rtmp.RTMPClient.startConnector(RTMPClient.java: 80) at org.red5.server.net.rtmp.BaseRTMPClientHandler.connect(BaseRTMPClientHandler.java: 244) at com.ryong21.example.publisher.PublishClient.start(PublishClient.java: 79) at com.ryong21.example.publisher.Publisher.main(Publisher.java:35) at com.ryong21.example.RtmpclientActivity.onCreate(RtmpclientActivity.java: 37) Please tell me where i am wrong or else give any sample code for video file publishing using rtmp client in android.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
[android-developers] video publishing
I am new to video publish in android.I need the code to publish the video in server using android (rtmp) .Please tell the solution.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
[android-developers] Re: capture video
Thanks for your reply.I used your sample for capturing video.But when i run the application in my emulator i am getting the alert,sorry this video cannot be played.Please tell me the solution.Thanks in Advance. On Oct 12, 11:36 am, Indicator Veritatis wrote: > See the SimpleVideo example in the download files for Chapter 10 of > Android In Action, which source files you can download > fromhttp://code.google.com/p/android-in-action/ > > On Oct 11, 10:28 pm, mohana priya wrote: > > > I am created new instance of class for camera.I need to know how to > > capture video in android.Please tell me how to do so .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
[android-developers] Re: capture video
Thanks for Your reply Sir.I used your sample for capturing the video.But when i run the application in my emulator i am getting the alertsorry.this video cannot be played.Please tell the solution what to do so.Thanks in Advance. On Oct 12, 11:36 am, Indicator Veritatis wrote: > See the SimpleVideo example in the download files for Chapter 10 of > Android In Action, which source files you can download > fromhttp://code.google.com/p/android-in-action/ > > On Oct 11, 10:28 pm, mohana priya wrote: > > > I am created new instance of class for camera.I need to know how to > > capture video in android.Please tell me how to do so .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
[android-developers] capture video
I am created new instance of class for camera.I need to know how to capture video in android.Please tell me how to do so .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
[android-developers] Video streaming
Hello android developers.In my android application i need to capture the video instead of capturing picture.Please tell how to do so.Please tell me the solution.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
[android-developers] phone gap
what is the difference between android phone gap and blackberry phonegap -- 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] fragment in android
I am new to android.i need to divide the android screen using fragment.But i dont know how to do.If anybody know how to code please tell me. -- 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] frame in spinner control
I am using tabs in my application.When am clicking the spinner i need to get the frame in right side of the spinner .I want to create the frame dynamically.Any one tell me the solution. -- 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] frames in button click event
I am using tabs in my application.When am clicking the button i need to get the frame in right side of the button.I want to create the frame dynamically.Any one tell me the solution. -- 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: application should not exists
Yes how to recover that On Sep 1, 6:44 am, James wrote: > Then things will be clear if you run log cat, There must be some > exceptions uncaught in your code :-) > > On Aug 31, 2:12 pm, mohana priya wrote: > > > Thanks for your reply but am getting error as force close. > > > On Aug 30, 12:49 pm, James <030440...@163.com> wrote: > > > > It's just paused, not closed. When the call finishes and you come > > > back. Camera would resume. > > > This is the android way of multi-task. > > > > On Aug 29, 9:15 pm,mohanapriya wrote: > > > > > Am in a camera and if any interruption occurs or if i need to attend > > > > the calls the application gets close.But for me the application should > > > > not get closed.Any one give some suggestions for this problem .I need > > > > the coding. > > -- 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] Live Video Streaming
I am new to android.I need to know how to code for rtmp client in android for video live streaming.Any one tell me the idea how to do.. -- 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: application should not exists
Thanks for your reply but am getting error as force close. On Aug 30, 12:49 pm, James <030440...@163.com> wrote: > It's just paused, not closed. When the call finishes and you come > back. Camera would resume. > This is the android way of multi-task. > > On Aug 29, 9:15 pm, mohanapriya wrote: > > > Am in a camera and if any interruption occurs or if i need to attend > > the calls the application gets close.But for me the application should > > not get closed.Any one give some suggestions for this problem .I need > > the coding. > > -- 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] exit camera
am in a camera mode and if any interruption occurs or if need to attend the calls the application gets closed or exception occurs.But for me application should not get closed.Any one give suggestions through coding -- 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