android-sdk-2.3

How do I build the Android SDK with hidden and internal APIs available?

岁酱吖の 提交于 2019-12-17 02:17:22
问题 I want to rebuild the Android SDK (or rather only the android.jar) to include hidden and internal APIs. I could not find any documentation or discussion doing on how to go about this. I have an Ubuntu CyanogenMod build environment already setup that is able to build cm7. Now, I read that make SDK will build the SDK but I want to build an SDK that includes methods and fields that are marked as hidden using @hide. Is this possible? What I want to do is make changes to an application that uses

POST and DELETE a booking using OutlookClient and Outlook Calendar API

為{幸葍}努か 提交于 2019-12-13 05:31:59
问题 I'm using Outlook-SDK-Android (MS) to talk with Outlook Calendar REST API. So far I've been able to get the events from my calendar using: import com.microsoft.services.outlook.fetchers.OutlookClient; OutlookClient mClient; ... mClient = new OutlookClient(outlookBaseUrl, mResolver); final List<Event> events = mClient .getMe() //.getUsers() //.getById("meetingRoom@company.com") // This gives me back 403 :( .getCalendarView() .addParameter("startDateTime", startDate) .addParameter("endDateTime"

Problem with videoView on Android

大憨熊 提交于 2019-12-13 02:56:58
问题 I had a problem using 2 VideoViews on Android. I know that I can't use 2 VideoViews at the same time. Here is my workflow. Create 2 videoViews. Hide 1 of them. Prefetch the first videoView. Play the first VideoView. In a different thread I prefetch the second video In some point I switch the videoViews. The second Video is working fine. When the second video is completed then I switch to the first video. The video starts playing from beginning instead of the last state of the first video. I

SQLiteOpenHelper: onCreate() method not called on physical device

余生长醉 提交于 2019-12-12 20:18:21
问题 I have done many tests on an android emulator running in version 4.4. On my app I create a sqlite database with one table using SQLiteOpenHelper: package com.findwords.modeles; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteException; import android.database.sqlite.SQLiteOpenHelper; import com.findwords.MainActivity; import com.findwords.controleurs.MenuController; import java.io.FileOutputStream; import java.io.IOException;

MapView cannot be resolved or is not a field

拥有回忆 提交于 2019-12-12 03:15:55
问题 Hi I am new to Android programming and working on Eclipse. I am having an error "MapView cannot be resolved or is not a field" in the following program: import java.util.List; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Point; import android.graphics.RectF; import android.location.Location; import android.os.Bundle; import android.view.MotionEvent;

Android SDK Not Installing Packages

て烟熏妆下的殇ゞ 提交于 2019-12-12 03:07:29
问题 I am having trouble using the android SDK, and I am running it 'As Administrator' when I start it up. Here is a good example, just now I selected the item 'EDK 1.2 by Sony Ericsson Mobile Communications AB' It says it was installing, and at the end I have it in my list twice like this, EDK 1.2 by Sony Ericsson Mobile Communications AB 10 1 Not Installed EDK 1.2 by Sony Ericsson Mobile Communications AB 10 1 Installed It seems to be confused. In this case when I refreshed the list it said that

How to install an application into the Windows CE 7 image?

 ̄綄美尐妖づ 提交于 2019-12-11 20:38:57
问题 I was looking for a guideline on how to install or better said how to integrate an application into the Windows CE 7 run-time image. Concretely I need to install Android SDK into the Win CE 7 Image. If it is not possible then does anybody can say if is it possible to install it after first boot. The same question can be applied on Java JRE for embedded devices. In my situation I have ARM 7 based board with enough resources to run Win CE 7. In fact I managed to install it. Now I need Java on

Passing object from one application to another

谁说胖子不能爱 提交于 2019-12-11 17:48:26
问题 I need to pass a custom object from an activity of one application to the main activity of another. Will I be able to accomplish this using intent.putExtra as shown: putExtra("key",obj); It was showing error since putExtra method does not support this. How can this be achieved? Any help is appreciated. EDIT The following class' instance, I need to pass to another application. I would have the object 'obj' as follows, which I need to pass: CounterAndNotifier obj = new CounterAndNotifier(5,

I can't run the Android Emulator

a 夏天 提交于 2019-12-11 08:38:35
问题 I'm completely new to Android and Android Studio. I was just coding. So I was running the previous version of Android Emulator and it worked perfectly fine. However, when I downloaded the latest Android Emulator 27.1.12, my Emulator couldn't run properly. Issue: The code is running fine, but the Emulator can't display my application. When I click on the Emulator screen, I can still hear the Audio of my app. So I think the problem would be with my computer's hardware. Because the Emulator

Open Android SDK Manager Visual studio 2015

余生长醉 提交于 2019-12-11 03:52:51
问题 How can I open the Android SDK Manager in the last Visual studio to update the android sdk version? I know it's a simple question, but I did not find documentation about how to do it or the access to open the manager. 回答1: I have installed Xamarin, so Android SDK manager can be opened in Visual Studio from Tools->Android->Android SDK Manager 回答2: You just run it directly off your hardrive. It can be found here: C:\Program Files (x86)\Android\android-sdk\SDK Manager.exe 回答3: Go to Tools-