Regarding Rotation event

by Dilip Dilip » Tue, 09 Mar 2010 23:28:09 GMT


Sponsored Links
 Hi All,
  is there any way i can recieve rotation event(change in orientation)  in
my .cpp file.

Thanks and Regards,
     Dileep

--



Other Threads

1. Android based application for healthcare

hey all,
We are graduate student, currently working on our masters project on
an android platform for a healthcare domain. Since there are not many
pacemaker reated applications on an android phone, we decided to work
on the same. Our project scenario is something like this-

Pacemaker patients are not suppose to get exposed to EMR affected
areas. The pacemaker will immediately stop functioning if exposed to
EMR. So our application will be alerting the patients based on the
intensity of the EMR . So here, we will be using-
1. A pacemaker simulator which will periodically check the heartbeat
and if the heart does not function properly, the pacemaker will
regulate it.
2. The handset has an in-built sensor, which can sense the intensity
of the EMR.
3. Also using Google maps we can pin the nearby locations which has
high intensity EMR.

Now, some of the things that we have to do-
1. Implement the pacemaker simulator, since we are not able to access
the source code for the already available ones.
2. Implement the EMR sensor , to sense the EMR intensity.
3. Alert the patient as soon as he/she enters the danger zone.
4. Also show all the nearby EMR affected areas.

Our questions are-
1. Is the project feasible ?? As a masters project can we go ahead and
start working on this.
2. How do we find out all the EMr affected areas nearby ? Which means
how do we connect Google maps API with the sensor program ??

It would be great if you could help us out with these questions. We
are really looking forward to working on an Android platform .


Thanks
AAJ.

-- 

2. Big Issue with running and testing app on phone while still being connected to PC

Hi there,

I have a huge problem testing my app on my HTC Wildfire. It was working fine
until recently, but now I always get a force close error when I run or debug
a new version of the app.

When I try to run the app on the emulator it still works, when I disconnect
the phone from the PC, the app also runs on the phone (including all
changes)... I was working on a xml file when this happened. If someone could
help me out here, that would be great...because this is really weird and I
really don't know what I should do now...

Thanks in advance...

This is the logcat output I get from the phone:

07-28 00:54:56.707: ERROR/AndroidRuntime(14315): Uncaught handler: thread
main exiting due to uncaught exception
07-28 00:54:56.727: ERROR/AndroidRuntime(14315): java.lang.RuntimeException:
Unable to start activity
ComponentInfo{com.mobilevideoeditor.moved/com.mobilevideoeditor.moved.GalleryView}:
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.mobilevideoeditor.moved/com.mobilevideoeditor.moved.EditGalleryView}:
java.lang.NullPointerException
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2621)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.ActivityThread.access$2200(ActivityThread.java:126)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.os.Handler.dispatchMessage(Handler.java:99)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.os.Looper.loop(Looper.java:123)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.ActivityThread.main(ActivityThread.java:4603)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
java.lang.reflect.Method.invokeNative(Native Method)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
java.lang.reflect.Method.invoke(Method.java:521)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
dalvik.system.NativeStart.main(Native Method)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315): Caused by:
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.mobilevideoeditor.moved/com.mobilevideoeditor.moved.EditGalleryView}:
java.lang.NullPointerException
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.ActivityThread.startActivityNow(ActivityThread.java:2411)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:648)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.widget.TabHost.setCurrentTab(TabHost.java:320)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.widget.TabHost.addTab(TabHost.java:213)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
com.mobilevideoeditor.moved.GalleryView.onCreate(GalleryView.java:33)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2544)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     ... 11 more
07-28 00:54:56.727: ERROR/AndroidRuntime(14315): Caused by:
java.lang.NullPointerException
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
com.mobilevideoeditor.moved.EditGalleryView.init_phone_video_grid(EditGalleryView.java:78)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
com.mobilevideoeditor.moved.EditGalleryView.onCreate(EditGalleryView.java:62)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-28 00:54:56.727: ERROR/AndroidRuntime(14315):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2544)

-- 

3. Official T-Shirt Ready

4. C2DM "NotRegistered" error when sending a message

5. Pour one out: T-Mobile G1 no longer for sale

6. desire stuck di lingkaran merah

7. trying to save to internal memory; length of content always returns 0