Android on Meizu M8

by MeizuM8 » Wed, 08 Jul 2009 05:23:14 GMT

Sponsored Links
 Hello Guys,

Is there someone who could help us out on porting Android on the Meizu
M8 phone?
The topic is out here: 
I hope to hear from You guys soon.

Best Regards,



Other Threads

1. Android App Stores:


Is there any place other than Android Market - android apps could be listed

Any recommendations or tips ?

Kumar    _/|\_
"making a profound difference with knowledge and creativity..."


2. Problem showing name of GeoPoint

Hello there,

I have a problem that I am not able to show the name of the marker on
google map.
Actually I am making the application in which we show multiple marker,
but my problem is that I have to show place name also at that marker
To achieve this I did coding in such a way
public class HelloItemizedOverLay extends ItemizedOverlay {

private ArrayList<OverlayItem> overlayItem = new ArrayList<OverlayItem>

public HelloItemizedOverLay(Drawable defaultMarker) {

    protected OverlayItem createItem(int i) {
        return overlayItem.get(i);

    public int size() {
        return overlayItem.size();

    public void addOverlay(OverlayItem overlay) {

and in this I add multiple OverlayItem by this way

boolean flag = false;
        for (int i = 0; i < size; i++) {
            if (null == place)
            double lat = Double.parseDouble(xx.getLatitude());
            double lon = Double.parseDouble(xx.getLongitude());
            GeoPoint point = new GeoPoint(((int) (lat * 1E6)), ((int)
(lon * 1E6)));
            if (!flag) {
                flag = true;
            String name = "Hello" + i;
            OverlayItem overlayItem = new OverlayItem(point, name,


But it is not showing the marker
Then I tried using motion event in the class HelloItemizedOverLay

    public boolean onTouchEvent(MotionEvent event, MapView mapView) {
        if (event.getAction() == MotionEvent.ACTION_UP) {
            GeoPoint p = mapView.getProjection().fromPixels((int)
event.getX(), (int) event.getY());
            Iterator<OverlayItem> iterator = overlayItem.iterator();
            if (Logger.ENABLE_CONSOLE_DEBUG) {
                Logger.printMessage(this.getClass().getSimpleName() +
"--OnTouchEvent() -- Point found " + p.getLatitudeE6() + "  " +
p.getLongitudeE6(), Logger.INFO);
            while (iterator.hasNext()) {
                OverlayItem item =;
                GeoPoint gp = item.getPoint();
                if (gp.getLatitudeE6() == p.getLatitudeE6() &&
gp.getLongitudeE6() == p.getLongitudeE6()) {
                    Toast.makeText(context, item.getTitle(),

        return false;

But looks like that toast will only be shown when user click on the
exact pixel.

What I want that when user touch the marker drawable toast should be
Can anyone help me to do this.



3. Red square on android map

4. Fw: SOLD WTS Sprint HTC Hero BNIBUnlocked...

5. Good active install rate?

6. IMPORTANT - display.getOrientation() does not work on all devices

7. arrays to be accessed by both JAVA n C thru JNI in an Android app