Share internet connection

by Giorgio M. » Fri, 06 Mar 2009 22:53:43 GMT


Sponsored Links
 Can i share the connection between android and my pc?

I'd like to connect to the internet with my android using the PC internet
connection.

thanks

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Dalvik vm /system/lib/libmedia_jni errors

I have been running into this error causing a bootloop at the TMobile-
G1 anyone have any ideas

D/AndroidRuntime(  220): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  220): CheckJNI is OFF
D/AndroidRuntime(  220): --- registering native functions ---
I/Zygote  (  220): Preloading classes...
D/dalvikvm(  220): GC freed 763 objects / 42176 bytes in 6ms
D/dalvikvm(  220): GC freed 279 objects / 17272 bytes in 5ms
D/dalvikvm(  220): GC freed 207 objects / 12368 bytes in 7ms
D/dalvikvm(  220): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  220): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  220): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  220): Shared lib '/system/lib/libmedia_jni.so' already
loaded in sa
me CL 0x0
D/dalvikvm(  220): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  220): Shared lib '/system/lib/libmedia_jni.so' already
loaded in sa
me CL 0x0
D/dalvikvm(  220): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  220): Shared lib '/system/lib/libmedia_jni.so' already
loaded in sa
me CL 0x0
D/dalvikvm(  220): GC freed 453 objects / 28496 bytes in 10ms
D/dalvikvm(  220): GC freed 3667 objects / 181832 bytes in 21ms
D/dalvikvm(  220): GC freed 11190 objects / 394616 bytes in 36ms
D/dalvikvm(  220): GC freed 10103 objects / 420936 bytes in 42ms
D/dalvikvm(  220): GC freed 10982 objects / 460728 bytes in 43ms
D/dalvikvm(  220): GC freed 563 objects / 23896 bytes in 26ms
D/dalvikvm(  220): GC freed 15404 objects / 556960 bytes in 54ms
D/dalvikvm(  220): GC freed 10424 objects / 443872 bytes in 49ms
D/dalvikvm(  220): GC freed 6023 objects / 251448 bytes in 41ms
W/zipro   (  220): Bad offset to local header: 809316 (at 588)
D/asset   (  220): failed to open Zip archive '/system/framework/
framework-res.a
pk'
W/asset   (  220): Unable to find resources file resources.arsc
W/dalvikvm(  220): Exception Landroid/content/res/Resources
$NotFoundException; t
hrown during Landroid/text/AutoText;.<clinit>
D/AndroidRuntime(  220): Shutting down VM
W/dalvikvm(  220): threadid=3: thread exiting with uncaught exception
(group=0x4
000fe70)
D/dalvikvm(  220): DestroyJavaVM waiting for non-daemon threads to
exit
D/dalvikvm(  220): DestroyJavaVM shutting VM down
D/dalvikvm(  220): VM cleaning up
D/dalvikvm(  220): LinearAlloc 0x0 used 1172572 of 4194304 (27%)
D/skia    (  220): purging 6K from font cache [1 entries]
D/AndroidRuntime(  221):

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. BOOT_COMPLETED BroadcastReceiver and AlarmManager not working

Hi,

I have a broadcast receiver to handle BOOT_COMPLETED intent. In that
if we keep AlarmManager.set method is not working.

AlarmBootReceiver:
public void onReceive(Context context, Intent intent) {
Log.d("AlarmBootReceiver", " boot receiver 1 ");
                AlarmManager mgr=(AlarmManager)context.getSystemService
(Context.ALARM_SERVICE);
                Intent i=new Intent(context, OnAlarmReceiver.class);
                PendingIntent pi=PendingIntent.getBroadcast(context, 0, i, 0);

                Calendar calendar = Calendar.getInstance();
                calendar.setTimeInMillis(System.currentTimeMillis());
                calendar.add(Calendar.SECOND, 30);
                SimpleDateFormat sdf = new SimpleDateFormat();
                sdf.applyPattern("k:m:s");
                Log.d("AlarmRingerBootReceiver", " second " + sdf.format
(calendar.getTimeInMillis()));
                mgr.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), 
pi);
}
AlarmReceiver: (it never gets triggered)

public void onReceive(Context context, Intent intent) {
                Log.d("AlarmReceiver", "it is not working ...");
}

Manifest file:

<uses-permission
android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
        <application android:label="@string/app_name">
                        <receiver android:name=".OnBootReceiver">
                                        <intent-filter>
                                                        <action 
android:name="android.intent.action.BOOT_COMPLETED" />
                                                        <category 
android:name="android.intent.category.LAUNCHER" />
                                        </intent-filter>
                        </receiver>
                        <receiver android:name=".OnAlarmReceiver" 
android:exported="true">
                        </receiver>
        </application>

Tried all combinations of android:exported="true" and other
attributes.

Please help.....

Thanks,
RJ

--~--~---------~--~----~------------~-------~--~----~

3. hebrew font

4. QVGA is really suitable to Android or not?

5. doing the tutorial for HelloDatePicker

6. trouble getting HelloGallery example for android sdk 1.5 to work

7. How to open or register a new file extension in Android?